Fix network headers stdint.h namespace (bug 21455).
[glibc.git] / ChangeLog
bloba37bdd584acfb64996214b9ded1eb59e3c632810
1 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
3         [BZ #21455]
4         * bits/stdint-intn.h: New file.
5         * bits/stdint-uintn.h: Likewise.
6         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
7         bits/stdint-uintn.h.
8         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
9         <stdint.h>.
10         * posix/sys/types.h: Include <bits/stdint-intn.h>.
11         (__int8_t_defined): Do not define here.
12         (int8_t): Likewise.
13         (int16_t): Likewise.
14         (int32_t): Likewise.
15         (int64_t): Likewise.
16         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
17         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
18         <stdint.h>.
19         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
20         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
21         <bits/stdint-uintn.h>.
22         (int8_t): Do not define here.
23         (int16_t): Likewise.
24         (int32_t): Likewise.
25         (int64_t): Likewise.
26         (uint8_t): Likewise.
27         (uint16_t): Likewise.
28         (uint32_t): Likewise.
29         (uint64_t): Likewise.
30         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
31         variable.
32         (test-xfail-XPG42/netdb.h/conform): Likewise.
33         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
34         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
35         (test-xfail-UNIX98/netdb.h/conform): Likewise.
36         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
40         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
41         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
42         the above.
43         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
44         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
48         [BZ #21445]
49         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
51         [BZ #21457]
52         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
53         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
54         __glibc_reserved1.
55         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
56         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
57         (struct _fpxreg): Likewise.
58         [!__x86_64__] (struct _fpstate): Rename field reserved to
59         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
60         [__x86_64__] (struct _fpstate): Rename field padding to
61         __glibc_reserved1.
62         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
63         Rename field reserved2 to __glibc_reserved2.
64         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
65         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
66         __glibc_reserved1.
67         [__x86_64__] (struct _libc_fpstate): Rename field padding to
68         __glibc_reserved1.
70 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
72         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
73         variable name.
75 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
77         [BZ #21391]
78         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
79         Only call init_cpu_features.
80         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
81         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
82         * sysdeps/i386/dl-procinfo.h: Removed.
83         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
84         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
85         <sysdeps/x86/dl-procinfo.h>.
86         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
87         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
88         Include <sysdeps/x86/dl-procinfo.h> instead of
89          <sysdeps/generic/dl-procinfo.h>.
90         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
91         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
92         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
93         (bit_cpu_MOVBE): Likewise.
94         (bit_cpu_BMI1): Likewise.
95         (bit_cpu_BMI2): Likewise.
96         (index_cpu_BMI1): Likewise.
97         (index_cpu_BMI2): Likewise.
98         (index_cpu_LZCNT): Likewise.
99         (index_cpu_MOVBE): Likewise.
100         (index_cpu_POPCNT): Likewise.
101         (reg_BMI1): Likewise.
102         (reg_BMI2): Likewise.
103         (reg_LZCNT): Likewise.
104         (reg_MOVBE): Likewise.
105         (reg_POPCNT): Likewise.
106         * sysdeps/x86/dl-hwcap.h: New file.
107         * sysdeps/x86/dl-procinfo.h: Likewise.
108         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
109         (_dl_x86_platforms): Likewise.
111 2017-05-03  DJ Delorie  <dj@redhat.com>
113         [BZ #21411]
114         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
116 2017-05-03  Phil Blundell  <pb@pbcl.net>
118         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
119         comments.
121 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
123         [BZ #20116]
124         * nptl/pthread_create.c: Expand comments to describe
125         semaphore-like and mutex-like uses of PD->lock.
127 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
129         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
130         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
131         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
132         auto-generation list.
133         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
134         epoll_wait.
135         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
136         Remove epoll_wait.
138         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
139         osf_select.
140         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
141         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
142         osf_select from auto-generation list.
143         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
144         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
145         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
146         * sysdeps/unix/sysv/linux/select.c: New file.
148         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
149         * sysdeps/unix/sysv/linux/poll.c: New file.
150         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
151         auto-generation list.
153 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
155         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
156         New macro.
158 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
160         [BZ #21179]
161         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
162         R_SPARC_REGISTER relocations.
164 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
166         * include/unistd.h (__pread): Add libc_hidden_proto.
167         (__pread64): Likewise.
168         (__pwrite): Likewise.
169         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
170         (__pread64): Remove.
171         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
172         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
173         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
175 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
179 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
181         * nptl/tst-cancel4-common.c: Use libsupport.
182         * nptl/tst-cancel4-common.h: Likewise.
183         * nptl/tst-cancel4.c (tf_read): Likewise.
184         (tf_readv): Likewise.
185         (tf_write): Likewise.
186         (tf_writev): Likewise.
187         (tf_sleep): Likewise.
188         (tf_usleep): Likewise.
189         (tf_nanosleep): Likewise.
190         (tf_select): Likewise.
191         (tf_pselect): Likewise.
192         (tf_poll): Likewise.
193         (tf_ppoll): Likewise.
194         (tf_wait): Likewise.
195         (tf_waitpid): Likewise.
196         (tf_waitid): Likewise.
197         (tf_sigpause): Likewise.
198         (tf_sigsuspend): Likewise.
199         (tf_sigwait): Likewise.
200         (tf_sigwaitinfo): Likewise.
201         (tf_sigtimedwait): Likewise.
202         (tf_pause): Likewise.
203         (tf_accept): Likewise.
204         (tf_send): Likewise.
205         (tf_recv): Likewise.
206         (tf_recvfrom): Likewise.
207         (tf_recvmsg): Likewise.
208         (tf_open): Likewise.
209         (tf_close): Likewise.
210         (tf_pread): Likewise.
211         (tf_pwrite): Likewise.
212         (tf_preadv): Likewise.
213         (tf_pwritev): Likewise.
214         (tf_fsync): Likewise.
215         (tf_fdatasync): Likewise.
216         (tf_msync): Likewise.
217         (tf_sendto): Likewise.
218         (tf_sendmsg): Likewise.
219         (tf_creat): Likewise.
220         (tf_connect): Likewise.
221         (tf_tcdrain): Likewise.
222         (tf_msgrcv): Likewise.
223         (tf_msgsnd): Likewise.
224         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
225         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
227         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
228         expected arguments.
229         (do_test): Adapt to use libsupport.
231 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
233         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
235         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
236         (PF_MAX): Set to 44.
237         (AF_SMC): New macro.
239         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
240         kernel version to 4.11.
242 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
244         [BZ #21280]
245         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
246         signal of subnormals and adjust the exponent of power of 2 down
247         when low part has opposite sign.
249 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
251         * sysdeps/powerpc/powerpc64le/Implies: New file.
252         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
253         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
254         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
255         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
256         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
257         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
258         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
259         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
260         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
261         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
262         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
263         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
264         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
265         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
266         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
267         * sysdeps/powerpc/preconfigure: New file.
268         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
269         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
271 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
273         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
274         inclusion.
275         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
276         Remove.
278 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
280         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
281         (XPG3): Rename standard to XPG4.
282         * conform/Makefile: Likewise.
283         * conform/list-header-symbols.pl: Likewise.
284         * conform/data/aio.h-data: Likewise.
285         * conform/data/arpa/inet.h-data: Likewise.
286         * conform/data/complex.h-data: Likewise.
287         * conform/data/ctype.h-data: Likewise.
288         * conform/data/dlfcn.h-data: Likewise.
289         * conform/data/fcntl.h-data: Likewise.
290         * conform/data/fenv.h-data: Likewise.
291         * conform/data/float.h-data: Likewise.
292         * conform/data/fmtmsg.h-data: Likewise.
293         * conform/data/ftw.h-data: Likewise.
294         * conform/data/grp.h-data: Likewise.
295         * conform/data/inttypes.h-data: Likewise.
296         * conform/data/iso646.h-data: Likewise.
297         * conform/data/langinfo.h-data: Likewise.
298         * conform/data/libgen.h-data: Likewise.
299         * conform/data/limits.h-data: Likewise.
300         * conform/data/locale.h-data: Likewise.
301         * conform/data/math.h-data: Likewise.
302         * conform/data/mqueue.h-data: Likewise.
303         * conform/data/ndbm.h-data: Likewise.
304         * conform/data/net/if.h-data: Likewise.
305         * conform/data/netdb.h-data: Likewise.
306         * conform/data/netinet/in.h-data: Likewise.
307         * conform/data/poll.h-data: Likewise.
308         * conform/data/pthread.h-data: Likewise.
309         * conform/data/pwd.h-data: Likewise.
310         * conform/data/sched.h-data: Likewise.
311         * conform/data/search.h-data: Likewise.
312         * conform/data/semaphore.h-data: Likewise.
313         * conform/data/signal.h-data: Likewise.
314         * conform/data/spawn.h-data: Likewise.
315         * conform/data/stdbool.h-data: Likewise.
316         * conform/data/stdint.h-data: Likewise.
317         * conform/data/stdio.h-data: Likewise.
318         * conform/data/stdlib.h-data: Likewise.
319         * conform/data/string.h-data: Likewise.
320         * conform/data/strings.h-data: Likewise.
321         * conform/data/stropts.h-data: Likewise.
322         * conform/data/sys/mman.h-data: Likewise.
323         * conform/data/sys/resource.h-data: Likewise.
324         * conform/data/sys/select.h-data: Likewise.
325         * conform/data/sys/socket.h-data: Likewise.
326         * conform/data/sys/stat.h-data: Likewise.
327         * conform/data/sys/statvfs.h-data: Likewise.
328         * conform/data/sys/time.h-data: Likewise.
329         * conform/data/sys/timeb.h-data: Likewise.
330         * conform/data/sys/types.h-data: Likewise.
331         * conform/data/sys/uio.h-data: Likewise.
332         * conform/data/sys/un.h-data: Likewise.
333         * conform/data/sys/wait.h-data: Likewise.
334         * conform/data/syslog.h-data: Likewise.
335         * conform/data/termios.h-data: Likewise.
336         * conform/data/tgmath.h-data: Likewise.
337         * conform/data/time.h-data: Likewise.
338         * conform/data/ucontext.h-data: Likewise.
339         * conform/data/unistd.h-data: Likewise.
340         * conform/data/utmpx.h-data: Likewise.
341         * conform/data/varargs.h-data: Likewise.
342         * conform/data/wchar.h-data: Likewise.
343         * conform/data/wctype.h-data: Likewise.
345 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
347         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
348         version to 7 branch.
350 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
352         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
353         earlyclobber to output operand of sqrt insn.
354         (__ieee754_sqrtf): Ditto.
356 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
358         [BZ #21426]
359         * misc/bits/types/struct_iovec.h: New file.
360         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
361         * include/bits/types/struct_iovec.h: New file.
362         * bits/uio.h (struct iovec): Replace by inclusion of
363         <bits/types/struct_iovec.h>.
364         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
365         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
366         of <sys/uio.h>.
367         * nptl/tst-cancel4.c: Include <sys/uio.h>
368         * posix/test-errno.c: Likewise.
369         * support/resolv_test.c: Likewise.
370         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
371         Remove.
372         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
373         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
374         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
376         * conform/data/sys/socket.h-data (*_t): Allow.
378 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
380         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
381         assignment.
383 2017-04-24  Daurnimator  <quae@daurnimator.com>
384             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
386         [BZ #21340]
387         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
388         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
389         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
390         valid flags.
391         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
392         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
393         POSIX_SPAWN_SETSID.
394         * sysdeps/posix/spawni.c (__spawni): Likewise.
395         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
396         * NEWS: Add note about POSIX_SPAWN_SETSID support.
398 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
400         * sysdeps/generic/math_private.h: Move the declaration of many
401         functions to sysdeps/generic/math_private_calls.h.
402         * sysdeps/generic/math_private_calls.h: New file with the
403         declarations of the functions removed from math_private.h
404         macroized by floating-point type.
406 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
408         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
409         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
410         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
411         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
412         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
413         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
415 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
417         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
418         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
419         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
420         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
421         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
422         New Define.
424 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
426         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
427         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
428         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
429         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
430         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
431         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
433 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
435         * sysdeps/s390/multiarch/ifunc-resolve.h
436         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
437         * sysdeps/s390/multiarch/8bit-generic.c
438         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
439         define ifunc resolvers.
441 2017-04-21  Florian Weimer  <fweimer@redhat.com>
443         [BZ #20424]
444         * manual/memory.texi (Replacing malloc): New section.
445         (Allocating Storage For Program Data): Reference it.
446         (The GNU Allocator): Likewise.
448 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
450         * stdlib/Versions (__strtod_internal): List explicitly, not as
451         wildcard.
452         (__strtof_internal): Likewise.
453         (__strtold_internal): Likewise.
454         (__strtol_internal): Likewise.
455         (__strtoll_internal): Likewise.
456         (__strtoul_internal): Likewise.
457         (__strtoull_internal): Likewise.
458         (__strtoq_internal): Likewise.
459         (__strtouq_internal): Likewise.
460         * wcsmbs/Versions (__wcstod_internal): Likewise.
461         (__wcstof_internal): Likewise.
462         (__wcstold_internal): Likewise.
463         (__wcstol_internal): Likewise.
464         (__wcstoll_internal): Likewise.
465         (__wcstoul_internal): Likewise.
466         (__wcstoull_internal): Likewise.
468 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
470         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
471         struct timespec definition.
473 2017-04-19  Florian Weimer  <fweimer@redhat.com>
475         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
477 2017-04-19  Florian Weimer  <fweimer@redhat.com>
479         * inet/rcmd.c (rresvport_af): Fix typo in comment.
480         * inet/rexec.c (rexec_af): Likewise.
482 2017-04-19  Zack Weinberg  <zackw@panix.com>
484         * posix/tst-mmap-offset.c: Include stdint.h.
485         * resolv/tst-ns_name_compress.c: Include string.h.
486         * resolv/tst-resolv-edns.c: Include resolv.h.
488 2017-04-19  Florian Weimer  <fweimer@redhat.com>
490         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
491         with __glibc_likely.
492         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
493         Replace __builtin_expect with __glibc_unlikely.
494         * resolv/res_init.c (__res_vinit): Likewise.
495         * resolv/res_query.c (__libc_res_nquery): Likewise.
496         * resolv/res_send.c (__libc_res_nsend): Likewise.
498 2017-04-19  Florian Weimer  <fweimer@redhat.com>
500         [BZ #15722]
501         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
502         with SOCK_CLOEXEC.
503         * resolv/res_send.c (send_vc, reopen): Likewise.
504         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
505         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
506         Likewise.
507         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
508         * inet/rexec.c (rexec_af): Add comment.
509         * inet/rcmd.c (rresvport_af): Likewise.
511 2017-04-19  Florian Weimer  <fweimer@redhat.com>
513         * nscd/connections.c (have_accept4): Removed definition.
514         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
515         accept4 works.
516         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
517         ia64 because that was the first version with accept4 support.
518         * support/Makefile (libsupport-routines): Add xaccept4.
519         * support/xsocket.h (xaccept4): Declare.
520         * support/xaccept4.c: New file.
521         * socket/tst-accept4.c: New file.
522         * socket/Makefile (tests): Add tst-accept4.
523         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
524         definition.
525         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
526         comment.
527         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
528         implementation is available.
529         (accept4): Use the system call if available, otherwise use the
530         socket call.
531         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
532         Set to 3.2.18.
533         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
534         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
535         accept4 is unconditionally available in later 3.2 stable kernels.
536         (__ASSUME_ACCEPT4_SYSCALL): Define.
537         * sysdeps/unix/sysv/linux/kernel-features.h
538         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
539         definitions.
540         * sysdeps/unix/sysv/linux/i386/kernel-features.h
541         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
543 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
545         * conform/Makefile (tests-special): Do not make addition of
546         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
547         (generated): Do not make addition of $(conformtest-header-base)
548         conditional on [$(cross-compiling) = no].
550         [BZ #21267]
551         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
552         if defined by <asm/socket.h> and not previously defined.
553         (IOCSIZE_SHIFT): Likewise.
554         (IOC_IN): Likewise.
555         (IOC_INOUT): Likewise.
556         (IOC_OUT): Likewise.
558 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
560         [BZ #21396]
561         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
562         Prefer_No_AVX512 if AVX512ER isn't available.
563         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
564         (index_arch_Prefer_No_AVX512): Likewise.
565         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
566         AVX512 version if Prefer_No_AVX512 is set.
567         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
568         Likewise.
569         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
570         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
571         Likewise.
572         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
573         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
574         Likewise.
575         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
576         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
577         Likewise.
579 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
581         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
582         Prefer_No_VZEROUPPER if AVX512ER is available.
583         * sysdeps/x86/cpu-features.h
584         (bit_cpu_AVX512PF): New.
585         (bit_cpu_AVX512ER): Likewise.
586         (bit_cpu_AVX512CD): Likewise.
587         (bit_cpu_AVX512BW): Likewise.
588         (bit_cpu_AVX512VL): Likewise.
589         (index_cpu_AVX512PF): Likewise.
590         (index_cpu_AVX512ER): Likewise.
591         (index_cpu_AVX512CD): Likewise.
592         (index_cpu_AVX512BW): Likewise.
593         (index_cpu_AVX512VL): Likewise.
594         (reg_AVX512PF): Likewise.
595         (reg_AVX512ER): Likewise.
596         (reg_AVX512CD): Likewise.
597         (reg_AVX512BW): Likewise.
598         (reg_AVX512VL): Likewise.
600 2017-04-18  Florian Weimer  <fweimer@redhat.com>
602         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
603         O_CLOEXEC is defined.
604         * include/fcntl.h (__have_o_cloexec): Remove declaration.
605         * io/Makefile (aux): Remove.
606         * io/have_o_cloexec.c: Remove file.
607         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
608         defined and works.
609         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
610         defined.
611         * login/utmp_file.c (O_flags): Remove definition.
612         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
613         O_CLOEXEC works.
614         (pututline_file): Likewise.
615         * malloc/mtrace.c: Assume that O_CLOEXEC works.
616         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
617         definition.
618         (internal_setgrent): Assume that O_CLOEXEC works.
619         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
620         Remove definition.
621         (internal_setgrent): Assume that O_CLOEXEC works.
622         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
623         definition.
624         (internal_setpwent): Assume that O_CLOEXEC works.
625         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
626         definition.
627         (internal_setspent): Assume that O_CLOEXEC works.
628         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
629         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
630         O_CLOEXEC is defined and works.
631         * nss/Makefile (libnss_files-routines): Remove
632         files-have_o_cloexec.
633         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
634         defined.
635         * nss/nss_files/files-XXX.c (internal_setent): Assume that
636         O_CLOEXEC is defined and works.
637         * nss/nss_files/files-alias.c (internal_setent): Likewise.
638         * nss/nss_files/files-have_o_cloexec.c: Remove.
639         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
640         defined.
641         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
642         and works.
643         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
644         definition.
645         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
646         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
647         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
648         (__opendirat, __opendir): Adjust opendir_oflags call.
649         (check_have_o_cloexec): Remove.
650         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
651         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
652         defined.
653         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
654         Remove definition.
656 2017-04-18  Florian Weimer  <fweimer@redhat.com>
658         * include/unistd.h (__have_dup3): Remove declaration.
659         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
660         dup3 is available.
661         * libio/freopen64.c (freopen64): Likewise.
662         * socket/Makefile (aux): Remove have_sock_cloexec.
663         * socket/have_sock_cloexec.c: Remove file.
664         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
665         definition.
666         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
667         Likewise.
668         * sysdeps/nacl/kernel-features.h: Update comment.
670 2017-04-18  Florian Weimer  <fweimer@redhat.com>
672         * include/unistd.h (__have_pipe2): Remove declaration.
673         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
674         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
675         available.
676         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
677         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
678         Remove definition.
680 2017-04-18  Florian Weimer  <fweimer@redhat.com>
682         * malloc/malloc.c (cfree): Turn into compat symbol.
683         (__cfree): Remove alias.
684         * stdlib/stdlib.h (cfree): Remove declaration.
685         * malloc/malloc.h (cfree): Likewise.
686         * manual/memory.texi (Freeing after Malloc): Remove cfree.
687         * malloc/Versions (GLIBC_2.26): Add.
689 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
691         * sysdeps/powerpc/powerpc64/multiarch/Makefile
692         (sysdep_routines): Add strrchr-power8.
693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
694         (strrchr): Add __strrchr_power8 to list of strrchr functions.
695         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
696         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
697         (strrchr): Add __strrchr_power8 to ifunc list.
698         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
700 2017-04-17  Rabin Vincent  <rabinv@axis.com>
702         [BZ #21357]
703         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
704         Call free() outside of mutex.
706 2017-04-13  Florian Weimer  <fweimer@redhat.com>
708         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
709         is defined.
710         * elf/rtld.c (process_envvars): Likewise.
711         * sysdeps/posix/shm_open.c (shm_open): Likewise.
712         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
713         O_NOFOLLOW directly.
714         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
716 2017-04-13  Florian Weimer  <fweimer@redhat.com>
718         [BZ #21369]
719         Remove EDNS fallback.
720         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
721         handling.
722         * resolv/res_send.c (send_dg): Likewise.
723         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
724         "tcp." prefixes.
725         (do_test): Send a "formerr."-prefixed query in an attempt to
726         trigger EDNS fallback.
728 2017-04-13  Florian Weimer  <fweimer@redhat.com>
730         [BZ #21361]
731         Limit EDNS buffer size to 1200 bytes.
732         * include/resolv.h (__res_nopt): Remove declaration.
733         * resolv/Makefile (tests): tst-resolv-edns.
734         (tst-resolv-edns): Link with -lresolv, -lpthread.
735         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
736         interval [512, 1200].
737         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
738         we can resize the buffer.
739         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
740         (__res_nopt): Declare.
741         * resolv/tst-resolv-edns.c: New file.
742         * resolv/resolv_test.h (struct resolv_edns_info): Define.
743         (struct resolv_response_context): Add edns member.
744         * resolv/resolv_test.c (struct query_info): Add edns member.
745         (parse_query): Extract EDNS information from the query.
746         (server_thread_udp_process_one): Propagate EDNS data.
747         (server_thread_tcp_client): Likewise.
749 2017-04-13  Florian Weimer  <fweimer@redhat.com>
751         [BZ #21359]
752         * resolv/ns_name.c (ns_name_pack): Do not require an additional
753         byte in the destination buffer.  Avoid out-of-bounds pointer
754         arithmetic.
755         * resolv/Makefile (tests): Add tst-ns_name_compress.
756         (tst-ns_name_compress): Link with -lresolv.
757         * resolv/tst-ns_name_compress.c: New file.
758         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
759         (response): Recognize LONG_NAME.
760         (do_test): Add LONG_NAME tests.
761         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
762         for ns_name_unpack.  Add tests for ns_name_pton and
763         ns_name_compress.
765 2017-04-13  Florian Weimer  <fweimer@redhat.com>
767         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
768         (res_nisourserver): Remove definition.
769         (p_section, res_npquery, res_nisourserver): Remove declaration.
770         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
771         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
772         ... here.
773         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
774         <resolv.h>.
775         * resolv/res_query.c: Likewise.
776         * resolv/res_debug.c (p_section): Define as static.
778 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
780         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
781         strncat-power8.
782         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
783         __strncat_power8 to ifunc list.
784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
785         (strncat): Add __strncat_power8 to list of strncat functions.
786         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
788 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
790         [BZ #21270]
791         * posix/tst-mmap-offset.c (do_prepare): New function.
792         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
793         (do_test_bz21270): New function.
794         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
795         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
796         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
797         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
798         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
799         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
800         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
801         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
802         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
803         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
804         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
805         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
806         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
807         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
808         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
809         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
810         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
811         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
812         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
813         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
814         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
815         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
816         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
817         from auto-generation list.
818         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
819         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
820         * sysdeps/unix/sysv/linux/mmap.c: New file.
821         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
822         offsets and support for mmap2 syscall.
824         * posix/globtest.sh: Add cleanup routine on trap 0.
826 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
828         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
829         implementation-specific function name and remove unneeded
830         macros definition.
831         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
832         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
833         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
834         name if not defined and pass as parameter to macros accordingly.
835         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
836         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
838         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
839         implementation-specific function name and remove unneeded
840         macros definition.
841         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
842         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
843         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
846         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
847         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
848         name if not defined and pass as parameter to macros accordingly.
849         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
850         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
851         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
852         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
853         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
854         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
856         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
857         implementation-specific function name and remove unneeded macros
858         definition.
859         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
860         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
861         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
862         function name if not defined and pass as parameter to macros
863         accordingly.
864         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
865         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
867         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
868         implementation-specific function name and remove unneeded macros
869         definition.
870         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
871         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
872         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
873         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
874         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
875         not defined and pass as parameter to macros accordingly.
876         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
877         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
878         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
879         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
881         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
882         strcasestr implementation name and remove unneeded macros definition.
883         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
884         strstr implementation name and remove unneeded macros definition.
885         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
886         name if not defined and pass as parameter to macros accordingly.
887         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
889         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
890         implementation-specific function name and remove unneeded macros
891         definition.
892         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
893         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
894         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
895         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
896         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
897         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
898         function name if not defined and pass as parameter to macros
899         accordingly.
900         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
901         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
902         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
903         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
905         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
906         the strlen implementation name and remove unneeded macros definition.
907         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
908         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
909         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
910         the strnlen implementation name and remove unneeded macros definition.
911         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
912         name if not defined and pass as parameter to macros accordingly.
913         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
914         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
915         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
917         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
918         the implementation-specific function name and remove unneeded
919         macros definition.
920         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
921         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
922         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
923         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
924         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
925         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
926         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
927         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
928         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
929         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
930         name if not defined and pass as parameter to macros accordingly.
931         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
932         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
933         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
934         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
935         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
936         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
937         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
938         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
940         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
941         implementation-specific function name and remove unneeded macros
942         definition.
943         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
944         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
945         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
946         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
947         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
948         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
949         function name if not defined.
950         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
951         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
953 2017-04-11  Paul Clarke  <pc@us.ibm.com>
955         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
956         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
957         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
958         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
960 2017-04-11  Florian Weimer  <fweimer@redhat.com>
961             Zack Weinberg  <zackw@panix.com>
963         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
964         readdir64 as thread-safe.  Update warning about readdir_r.
966 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
968         * sysdeps/unix/sysv/linux/x86/Implies: New file.
969         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
970         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
971         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
972         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
973         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
974         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
976 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
978         * sysdeps/i386/dl-procinfo.c: Include
979         <sysdeps/x86/dl-procinfo.c>.
980         * sysdeps/x86_64/dl-procinfo.c: Likewise.
981         * sysdeps/x86/dl-procinfo.c: New file.
983 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
985         * sysdeps/generic/math_private.h: Remove declarations of
986         many functions that are already declared in math.h.
987         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
988         declaration for __frexpl.
989         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
990         the declarations for __scalbnl and fabsl.
992 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
994         [BZ #20831]
995         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
996         of __mprotect to change protection on the excess portion
997         to disallow all access.
999 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
1001         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
1002         HAS_CPU_FEATURE to check for SSE.
1003         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1004         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
1005         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
1006         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
1007         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
1008         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
1009         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
1010         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
1011         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1012         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
1013         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1014         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
1015         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
1016         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
1017         (index_cpu_SSE): Likewise.
1018         (reg_SSE): Likewise.
1020 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
1022         * posix/getopt1.c: Include <config.h>, not "config.h".
1024 2017-04-07  Zack Weinberg  <zackw@panix.com>
1026         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
1027         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
1028         Mention in top-of-file boilerplate that these files are shared
1029         with gnulib.
1030         * posix/getopt.h, posix/bits/getopt_posix.h:
1031         Mention in top-of-file boilerplate that these files are NOT shared
1032         with gnulib, unlike the rest of the getopt implementation.
1034         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
1035         New files, intended to be shared with gnulib.
1036         * posix/bits/getopt_posix.h:
1037         New file, not intended to be shared with gnulib.
1038         * posix/getopt.h: Now just includes features.h,
1039         bits/getopt_core.h, and bits/getopt_ext.h.  Will
1040         no longer be shared with gnulib.
1041         * include/bits/getopt_core.h, include/bits/getopt_ext.h
1042         * include/bits/getopt_posix.h: New wrappers.
1043         * posix/Makefile: Install new headers.
1044         * posix/unistd.h, libio/stdio.h:
1045         Include bits/getopt_posix.h instead of getopt.h.
1047         * include/libc-symbols.h: For gnulib compatibility, define
1048         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
1049         _GL_ATTRIBUTE_CONST.
1050         * posix/getopt.c (_getopt_initialize): Mark argc and argv
1051         parameters with _GL_UNUSED.
1053         * posix/getopt.c: When used standalone, define __libc_use_alloca
1054         as always false and alloca to abort if called.
1055         (process_long_option): Rewrite handling of ambiguous long options
1056         to use a single boolean vector, not a linked list; use
1057         __libc_use_alloca to decide whether to allocate this using alloca.
1058         * posix/tst-getopt_long1.c: Adjust text of expected error message.
1060         * posix/getopt.c (process_long_option): New function split out
1061         from _getopt_internal_r.
1062         (_getopt_internal_r): Replace both copies of the long-option
1063         processing code with calls to process_long_option.
1064         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
1065         (do_test): Differentiate argv[0] in the two subtests.
1067         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
1068         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
1069         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
1071         * posix/getopt.h: Add backup definition of __nonnull for
1072         consistency with gnulib.  Define __getopt_argv_const to const
1073         if not already defined.
1074         (getopt): Update doc comment from gnulib.  Prototype
1075         unconditionally.  Add __nonnull annotation.
1076         (__posix_getopt): Add __nonnull annotation.
1077         (getopt_long, getopt_long_only): Use __getopt_argv_const in
1078         prototypes for consistency with gnulib.  Add __nonnull
1079         annotations.
1080         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
1081         (getopt_internal): Change 'argv' argument to type 'char **'.
1082         Remove now-unnecessary casts.
1083         (getopt, __posix_getopt): Eliminate repetition with a macro.
1084         Cast 'argv' to 'char **' when calling _getopt_internal.
1085         * posix/getopt1.c (getopt_long, getopt_long_only):
1086         Use __getopt_argv_const for consistency with gnulib.
1087         Cast 'argv' to 'char **' when calling _getopt_internal.
1088         (_getopt_long_r, _getopt_long_only_r):
1089         Change 'argv' argument to type 'char **'.
1090         (main): Constify 'long_options'.
1091         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
1092         (_getopt_long_r, _getopt_long_only_r):
1093         Change 'argv' argument to type 'char **'.
1095         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
1096         (locked_vfxprintf): New helper function. Handle arbitrary
1097         multibyte strings, not just ASCII.
1098         * include/stdio.h: Declare __fxprintf_nocancel.
1099         * posix/getopt.c: When _LIBC is defined, define fprintf to
1100         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
1101         to _IO_funlockfile.  When neither _LIBC nor
1102         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
1103         funlockfile as no-ops.
1104         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
1105         the standalone error-printing code can now be used for libc as
1106         well.  Add an flockfile/funlockfile pair around one case where
1107         the error message is printed in several chunks.  Don't use fputc.
1108         * posix/tst-getopt-cancel.c: New test.
1109         * posix/Makefile: Run it.
1111         * posix/getopt.c (_getopt_internal_r): Don't increment
1112         d->optind a second time when reporting ambiguous -W options.
1114         * posix/getopt_int.h: Include getopt.h.
1115         Use impl-namespace names for all arguments to _getopt_internal and
1116         _getopt_internal_r.
1117         Declare __ordering enum outside the struct.
1118         Harmonize comments with gnulib.
1119         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
1120         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
1121         #ifdef TEST block and make unconditional.  Do not define NULL.
1122         * posix/getopt.c: Partial merge from gnulib, covering the
1123         initial includes and global declarations, commentary, and
1124         a couple of semantically-neutral code changes.
1126         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
1127         Use '...' instead of `...' for quotation marks inside
1128         comments and strings.
1130         * config.h.in (USE_NONOPTION_FLAGS): Remove.
1131         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
1132         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
1133         * posix/getopt_int.h: Likewise.
1134         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
1135         __libc_argc and __libc_argv externs, which were only used by
1136         #ifdef USE_NONOPTION_FLAGS blocks.
1137         * posix/getopt_init.c: Remove file.
1138         * posix/Makefile (routines): Remove getopt_init.
1139         * include/getopt.h: Don't declare __getopt_initialize_environment.
1140         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
1141         a comment.
1143 2017-04-07  Florian Weimer  <fweimer@redhat.com>
1145         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
1147 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1149         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
1150         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
1151         to __wrap_.udiv.
1152         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
1153         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
1155         * sysdeps/i386/symbol-hacks.h: New file.
1156         * sysdeps/m68k/symbol-hacks.h: New file.
1157         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
1158         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
1159         * sysdeps/unix/sysv/linux/i386/Makefile
1160         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
1161         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1162         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1163         * sysdeps/unix/sysv/linux/m68k/Makefile
1164         [$(subdir) = csu] (sysdep_routines): Likewise.
1165         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1166         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1168         [$(subdir) = csu] (sysdep_routines): Likewise.
1169         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1170         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1171         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1172         [$(subdir) = csu] (sysdep_routines): Likewise.
1173         [$(subdir) = csu] (sysdep-only-routines): Likewise.
1174         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1175         * sysdeps/wordsize-32/Makefile: Remove file.
1176         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
1177         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
1179 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
1181         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
1182         (TEST_FUNCTION_ARGV): New.
1184 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1186         * elf/next.c: Import support/test-driver.c instead of
1187         test-skeleton.c and delete TEST_FUNCTION macro definition.
1188         * elf/nodelete.c: Likewise.
1189         * elf/order2.c: Likewise.
1190         * elf/tst-_dl_addr_inside_object.c: Likewise.
1191         * elf/tst-addr1.c: Likewise.
1192         * elf/tst-align.c: Likewise.
1193         * elf/tst-align2.c: Likewise.
1194         * elf/tst-audit11.c: Likewise.
1195         * elf/tst-audit12.c: Likewise.
1196         * elf/tst-audit2.c: Likewise.
1197         * elf/tst-audit9.c: Likewise.
1198         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
1199         * elf/tst-deep1.c: Likewise.
1200         * elf/tst-dl-iter-static.c: Likewise.
1201         * elf/tst-dlmodcount.c: Likewise.
1202         * elf/tst-dlmopen1.c: Likewise.
1203         * elf/tst-dlmopen2.c: Likewise.
1204         * elf/tst-dlmopen3.c: Likewise.
1205         * elf/tst-dlopen-aout.c: Likewise.
1206         * elf/tst-dlopenrpath.c: Likewise.
1207         * elf/tst-dlsym-error.c: Likewise.
1208         * elf/tst-execstack-needed.c: Likewise.
1209         * elf/tst-execstack-prog.c: Likewise.
1210         * elf/tst-execstack.c: Likewise.
1211         * elf/tst-global1.c: Likewise.
1212         * elf/tst-gnu2-tls1.c: Likewise.
1213         * elf/tst-latepthread.c: Likewise.
1214         * elf/tst-leaks1.c: Likewise.
1215         * elf/tst-linkall-static.c: Likewise.
1216         (do_test): New function.
1217         * elf/tst-nodelete-opened.c: Likewise.
1218         * elf/tst-nodelete.cc: Likewise.
1219         * elf/tst-nodelete2.c: Likewise.
1220         * elf/tst-noload.c: Likewise.
1221         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
1222         * elf/tst-order-main.c: Likewise.
1223         * elf/tst-pathopt.c: Likewise.
1224         * elf/tst-pie2.c: Likewise.
1225         * elf/tst-piemod1.c: Likewise.
1226         * elf/tst-prelink.c: Likewise.
1227         * elf/tst-protected1a.c: Likewise.
1228         * elf/tst-protected1b.c: Likewise.
1229         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
1230         and define _GNU_SOURCE macro.
1231         (cmdline_process_function): New function.
1232         * elf/tst-relsort1.c: Likewise.
1233         * elf/tst-stackguard1.c: Likewise, import getopt.h,
1234         and define _GNU_SOURCE macro.
1235         (cmdline_process_function): New function.
1236         * elf/tst-thrlock.c: Likewise.
1237         * elf/tst-tls-dlinfo.c: Likewise.
1238         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
1239         * elf/tst-tls1.c: Likewise.
1240         * elf/tst-tls10.c: Likewise.
1241         * elf/tst-tls11.c: Likewise.
1242         * elf/tst-tls12.c: Likewise.
1243         * elf/tst-tls13.c: Likewise.
1244         * elf/tst-tls14.c: Likewise.
1245         * elf/tst-tls15.c: Likewise.
1246         * elf/tst-tls16.c: Likewise.
1247         * elf/tst-tls17.c: Likewise.
1248         * elf/tst-tls18.c: Likewise.
1249         * elf/tst-tls19.c: Likewise.
1250         * elf/tst-tls2.c: Likewise.
1251         * elf/tst-tls3.c: Likewise.
1252         * elf/tst-tls4.c: Likewise.
1253         * elf/tst-tls5.c: Likewise.
1254         * elf/tst-tls6.c: Likewise.
1255         * elf/tst-tls7.c: Likewise.
1256         * elf/tst-tls8.c: Likewise.
1257         * elf/tst-tls9.c: Likewise.
1258         * elf/tst-tlsalign-extern.c: Likewise.
1259         * elf/tst-tlsalign.c: Likewise.
1260         * elf/tst-unique1.c: Likewise.
1261         * elf/tst-unique2.c: Likewise.
1262         * elf/vismain.c: Likewise.
1264 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1266         * string/test-strnlen.c (do_page_tests): New function
1267         to check length of strings ending at the page boundary.
1268         (test_main): Added call to the do_page_tests function.
1270 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1271             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1273         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1274         (sysdep_routines): Add strnlen-power8.
1275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1276         (strnlen): Add __strnlen_power8 to list of strnlen functions.
1277         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
1278         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
1279         (__strnlen): Add __strnlen_power8 to ifunc list.
1280         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
1282 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1284         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
1285         the TEST_FUNCTION macro definition.
1286         * wcsmbs/tst-mbrtowc2.c: Likewise.
1287         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1288         * wcsmbs/tst-wchar-h.c: Likewise.
1289         * wcsmbs/tst-wcpncpy.c: Likewise.
1290         * wcsmbs/tst-wcrtomb.c: Likewise.
1291         * wcsmbs/tst-wcsnlen.c: Likewise.
1292         * wcsmbs/tst-wcstof.c: Likewise.
1294 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1296         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
1297         CALL_THREAD_FCT macro usage.
1298         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
1299         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
1300         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
1302         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
1303         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1304         (__ASSUME_REQUEUE_PI): Likewise.
1305         * sysdeps/unix/sysv/linux/kernel-features.h
1306         (__ASSUME_REQUEUE_PI): Likewise.
1307         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1308         (__ASSUME_REQUEUE_PI): Likewise.
1309         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1310         (__ASSUME_REQUEUE_PI): Likewise.
1311         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1312         (__ASSUME_REQUEUE_PI): Likewise.
1314 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1316         * resolv/tst-resolv-canonname.c: New file.
1317         * resolv/Makefile (tests): Add tst-resolv-canonname.
1318         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
1320 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1322         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
1323         Declare.
1324         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
1325         (NS_MAXCDNAME): Remove definition.
1326         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1327         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
1328         (NS_MAXCDNAME): Remove definition.
1329         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
1331 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1333         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
1334         call whose result is not used.
1336 2017-04-04  Florian Weimer  <fweimer@redhat.com>
1338         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
1339         * resolv/Makefile (tests): Add tst-ns_name.
1340         (tst-ns_name): Link with -lresolv.
1341         (tst-ns_name.out): Depend on the input data file.
1343 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1345         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
1346         Clobber also r14.
1348 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
1350         [BZ #21253]
1351         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
1352         slack space by 32KiB.
1354 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
1356         [BZ #21338]
1357         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
1358         instead of incorrect do_set_arena_test
1360 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1362         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
1363         * math/bits/math-finite.h: Likewise.
1365 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
1367         [BZ #21289]
1368         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
1370 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1372         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
1373         non expected inotify_add_watch and quotactl return.
1375 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1377         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
1378         to int32_t.
1379         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
1380         as returning int32_t.
1382 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1384         * math/math.h: Include bits/math-finite.h once per
1385         floating-point type.
1386         * math/bits/math-finite.h: Macroize all declarations by
1387         floating-point type.
1389 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1391         [BZ #21182]
1392         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
1393         near end of a page.
1394         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
1395         overflow calculation.
1397 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
1399         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
1400         (IMPL) Call with 1 instead of 0 as argument.
1402 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1404         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1405         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1406         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1407         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1408         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1409         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1410         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1411         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1412         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1413         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1414         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1415         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1416         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1417         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1418         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1419         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1420         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1421         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1422         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1423         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1424         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1425         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1426         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1427         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1428         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1429         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1430         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1431         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1432         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1433         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1434         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1435         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1436         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1437         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1438         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1439         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1440         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1441         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1442         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1443         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1444         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1445         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1446         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1447         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1448         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1449         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1450         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1451         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1452         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1453         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1454         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1455         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1456         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1457         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1458         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1459         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1460         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1461         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1462         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1463         defined.
1464         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1465         __NR_setgroups32 if defined.
1466         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1467         if defined.
1468         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1469         __NR_setresgid32 is defined.
1470         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1471         __NR_setresuid32 if defined.
1472         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1473         __NR_setreuid32 if defined.
1474         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1475         defined.
1476         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
1477         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
1478         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
1479         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
1480         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
1481         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
1482         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
1483         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
1484         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
1485         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
1486         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
1487         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
1488         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
1489         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
1490         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
1491         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
1492         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
1493         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
1494         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
1495         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
1496         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
1497         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
1498         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
1499         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
1500         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
1501         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
1502         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
1503         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
1504         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
1505         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
1506         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
1507         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
1508         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
1509         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
1510         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
1511         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
1512         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
1513         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
1514         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
1515         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
1516         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
1517         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
1518         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
1519         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
1520         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
1521         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
1522         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
1523         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
1524         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
1525         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
1526         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
1527         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
1528         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
1529         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
1530         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
1531         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
1532         INLINE_SYSCALL_ERROR_RETURN_VALUE.
1533         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
1534         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
1535         defined.
1536         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
1537         __NR_setgroups32 if defined.
1538         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
1539         if defined.
1540         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
1541         __NR_setresgid32 is defined.
1542         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
1543         __NR_setresuid32 if defined.
1544         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
1545         __NR_setreuid32 if defined.
1546         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
1547         defined.
1549 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
1551         [BZ #21277]
1552         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
1553         unconditionally.
1554         (IMAXBEL): Likewise.
1555         (IUTF8): Likewise.
1557 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1559         * sysdeps/aarch64/libm-test-ulps: Update.
1561 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
1563         * README.tunables: Updated descriptions.
1564         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
1565         * scripts/gen-tunables.awk: Updated the code related to the
1566         commit.
1568 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
1570         * benchtests/Makefile (string-benchset): Add memcpy-random.
1571         * benchtests/bench-memcpy-random.c: New file.
1573 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1575         * stdio-common/printf.h (register_printf_modifier): Change the
1576         order of __wur and __THROW.
1577         (register_printf_type): Likewise.
1579 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
1581         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
1582         test_main ().
1583         (CMDLINE_PROCESS): Use function instead of defined macro.
1584         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
1585         <suppport/support.h> to use set_fortify_handler().
1586         * string/bug-envz1.c: Import support/test-driver.c instead of
1587         test-skeleton.c.
1588         * string/bug-strcoll2.c: Likewise.
1589         * string/bug-strtok1.c: Likewise.
1590         * string/stratcliff.c: Likewise.
1591         * string/test-ffs.c: Likewise.
1592         * string/test-memccpy.c: Likewise.
1593         * string/test-memchr.c: Likewise.
1594         * string/test-memcmp.c: Likewise.
1595         * string/test-memcpy.c: Likewise.
1596         * string/test-memmem.c: Likewise.
1597         * string/test-memmove.c: Likewise.
1598         * string/test-memrchr.c: Likewise.
1599         * string/test-memset.c: Likewise.
1600         * string/test-rawmemchr.c: Likewise.
1601         * string/test-strcasecmp.c: Likewise.
1602         * string/test-strcasestr.c: Likewise.
1603         * string/test-strcat.c: Likewise.
1604         * string/test-strchr.c: Likewise.
1605         * string/test-strcmp.c: Likewise.
1606         * string/test-strcpy.c: Likewise.
1607         * string/test-string.h: Likewise.
1608         * string/test-strlen.c: Likewise.
1609         * string/test-strncasecmp.c: Likewise.
1610         * string/test-strncat.c: Likewise.
1611         * string/test-strncmp.c: Likewise.
1612         * string/test-strncpy.c: Likewise.
1613         * string/test-strnlen.c: Likewise.
1614         * string/test-strpbrk.c: Likewise.
1615         * string/test-strrchr.c: Likewise.
1616         * string/test-strspn.c: Likewise.
1617         * string/test-strstr.c: Likewise.
1618         * string/tst-bswap.c: Likewise.
1619         * string/tst-cmp.c: Likewise.
1620         * string/tst-endian.c: Likewise.
1621         * string/tst-inlcall.c: Likewise.
1622         * string/tst-strcoll-overflow.c: Likewise.
1623         * string/tst-strfry.c: Likewise.
1624         * string/tst-strlen.c: Likewise.
1625         * string/tst-strtok.c: Likewise.
1626         * string/tst-strtok_r.c: Likewise.
1627         * string/tst-strxfrm.c: Likewise.
1628         * string/tst-strxfrm2.c: Likewise.
1629         * string/tst-svc.c: Likewise.
1630         * string/tst-svc2.c: Likewise.
1632 2017-03-22  Zack Weinberg  <zackw@panix.com>
1634         * stdio-common/bug25.c: Include stdlib.h.
1635         * support/tst-support_format_dns_packet.c: Include stdio.h,
1636         stdlib.h, and string.h.
1637         * support/tst-support_record_failure.c: Include string.h.
1638         * support/tst-support_record_failure-2.sh: Adjust line number
1639         expectations and correct a typo in an error message.
1641 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
1643         [BZ #21258]
1644         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
1645         Define only if _dl_runtime_resolve is defined to
1646         _dl_runtime_resolve_sse_vex.
1647         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
1648         Fallthrough to _dl_runtime_resolve_sse_vex.
1650 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
1652         * INSTALL: Regenerated.
1654 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
1656         * config.h.in: Add LINK_OBSOLETE_NSL.
1657         * config.make.in: Add build-obsolete-nsl.
1658         * configure.ac: Add obsolete-nsl option.
1659         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
1660         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
1661         * include/rpcsvc/nislib.h: Likewise.
1662         * include/rpcsvc/ypclnt.h: Likewise.
1663         * manual/install.texi: Document --enable-obsolete-nsl.
1664         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
1665         * nis/nis_add.c: Replace libnsl_hidden_def with
1666         libnsl_hidden_nolink_def.
1667         * nis/nis_addmember.c: Likewise.
1668         * nis/nis_call.c: Likewise.
1669         * nis/nis_clone_obj.c: Likewise.
1670         * nis/nis_defaults.c: Likeise.
1671         * nis/nis_domain_of_r.c: Likewise.
1672         * nis/nis_error.c: Likewise.
1673         * nis/nis_file.c: Likewise.
1674         * nis/nis_free.c: Likewise.
1675         * nis_local_names.c: Likewise.
1676         * nis/nis_lookup.c: Likewise.
1677         * nis/nis_modify.c: Likewise.
1678         * nis/nis_print.c: Likewise.
1679         * nis/nis_remove.c: Likewise.
1680         * nis/nis_table.c: Likewise.
1681         * nis/nis_util.c: Likewise.
1682         * nis/nis_xdr.c: Likewise.
1683         * nis/yp_xdr.c: Likewise.
1684         * nis/ypclnt.c: Likewise.
1685         * nis/ypupdate_xdr.c: Likewise.
1686         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
1687         * nis/nis_clone_dir.c: Likewise.
1688         * nis/nis_clone_res.c: Likewise.
1689         * nis/nis_creategroup.c: Likewise.
1690         * nis/nis_destroygroup.c: Likewise.
1691         * nis/nis_domain_of.c: Likewise.
1692         * nis/nis_getservlist.c: Likewise.
1693         * nis/nis_ismember.c: Likewise.
1694         * nis/nis_mkdir.c: Likewise.
1695         * nis/nis_ping.c: Likewise.
1696         * nis/nis_print_group_entry.c: Likewise.
1697         * nis/nis_removemember.c: Likewise.
1698         * nis/nis_rmdir.c: Likewise.
1699         * nis/nis_server.c: Likewise.
1700         * nis/nis_subr.c: Likewise.
1701         * nis/nis_verifygroup.c: Likewise.
1703 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
1705         * malloc/tst-interpose-aux.c (check_for_allocations):
1706         Move compiler barrier before free.
1708 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
1710         [BZ #21279]
1711         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1712         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1713         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
1714         x86_64-x32-linux.
1715         (mq_attr.mq_maxmsg): Likewise.
1716         (mq_attr.mq_msgsize): Likewise.
1717         (mq_attr.mq_curmsgs): Likewise.
1719         [BZ #21278]
1720         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
1721         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
1722         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
1723         mips-o32-linux.
1725         [BZ #21268]
1726         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
1727         if [__USE_MISC]
1728         (NL3): Likewise.
1730 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
1732         [BZ #21275]
1733         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
1734         __stack to __stackbase.
1735         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
1736         checks so we can include defined(__ia64__) first.
1738 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
1740         * sysdeps/unix/sysv/linux/ttyname.h: New file.
1741         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
1742         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
1743         Call is_pty when the link does not exist or does not match, fail
1744         with ENODEV when it returns true.
1745         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
1746         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
1747         Call is_pty when the link does not exist or does not match, fail
1748         with ENODEV when it returns true.
1750 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
1752         [BZ #16437]
1753         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
1754         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1755         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
1756         x86_64-x32-linux.
1757         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
1758         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
1759         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
1761         [BZ #21261]
1762         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
1763         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
1764         names for all fields.
1765         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
1766         for jmp_buf field renaming.
1767         (_JMPBUF_UNWINDS_ADJ): Likewise.
1769         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
1770         with allow-header.
1772 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
1774         * malloc/malloc.c (unlink): Add consistency check between size and
1775         next->prev->size, to further harden against 1-byte overflows.
1777 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
1779         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
1780         CPU_FEATURES_CPU_P.
1782 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
1784         [BZ #21259]
1785         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
1786         unconditionally, not just for [__USE_MISC].
1788         [BZ #17786]
1789         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
1790         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
1791         mips-o32-linux.
1793         [BZ #21260]
1794         * sysdeps/unix/sysv/linux/alpha/Makefile
1795         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1796         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
1798         * conform/conformtest.pl ($cross): New variable.
1799         (--cross): New command-line option.
1800         (runtest): Skip test execution when cross-compiling.
1801         * conform/Makefile (conformtest-cross): New variable.
1802         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
1803         conformtest.pl.
1805         * conform/conformtest.pl ($xfail_str): New variable.
1806         (--xfail=): New command-line option.
1807         (top level): Handle expectations starting xfail[cond]-.
1808         * conform/Makefile (conformtest-xfail): New variable.
1809         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
1810         conformtest.pl.
1812 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1814         * conform/conformtest.pl: Use compilation instead of execution
1815         tests for testing values of constants and usability in #if.
1817 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1819         * math/auto-libm-test-in: Mark some catan and catanh as
1820         xfail-rounding:ibm128-libgcc.
1821         * math/auto-libm-test-out-catan: Regenerate.
1822         * math/auto-libm-test-out-catanh: Likewise.
1824 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
1826         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
1827         (__END_NAMESPACE_STD): Likewise.
1828         (__USING_NAMESPACE_STD): Likewise.
1829         (__BEGIN_NAMESPACE_C99): Likewise.
1830         (__END_NAMESPACE_C99): Likewise.
1831         (__USING_NAMESPACE_C99): Likewise.
1832         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
1833         undefine macro.
1834         (_Mdouble_END_NAMESPACE): Likewise.
1835         * ctype/ctype.h: Do not handle C++ namespaces.
1836         * libio/bits/stdio-ldbl.h: Likewise.
1837         * libio/stdio.h: Likewise.
1838         * locale/locale.h: Likewise.
1839         * math/bits/mathcalls.h: Likewise.
1840         * setjmp/setjmp.h: Likewise.
1841         * signal/signal.h: Likewise.
1842         * stdlib/bits/stdlib-float.h: Likewise.
1843         * stdlib/bits/stdlib-ldbl.h: Likewise.
1844         * stdlib/stdlib.h: Likewise.
1845         * string/string.h: Likewise.
1846         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
1847         * time/bits/types/clock_t.h: Likewise.
1848         * time/bits/types/struct_tm.h: Likewise.
1849         * time/bits/types/time_t.h: Likewise.
1850         * time/time.h: Likewise.
1851         * wcsmbs/bits/wchar-ldbl.h: Likewise.
1852         * wcsmbs/uchar.h: Likewise.
1853         * wcsmbs/wchar.h: Likewise.
1854         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
1855         * wctype/wctype.h: Do not handle C++ namespaces.
1856         * scripts/begin-end-check.pl: Remove.
1857         * Makefile (installed-headers): Likewise.
1858         (tests-special): Do not add $(objpfx)begin-end-check.out.
1859         ($(objpfx)begin-end-check.out): Remove.
1861 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
1862             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1864         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
1865         (DL_PLATFORM_INIT): New define.
1866         (dl_platform_init): New function.
1867         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
1868         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
1869         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
1870         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
1871         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
1873 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
1875         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
1876         instead of PIC.
1878 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1880         [BZ #21094]
1881         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
1882         24+24+24-bit pi for wider range of values around pi/2.
1883         * math/auto-libm-test-in: Add more tests of cos and tan.
1884         * math/auto-libm-test-out-cos: Regenerated.
1885         * math/auto-libm-test-out-tan: Likewise.
1887 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
1889         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
1890         (RTLD_START): Don't record stack end address in _dl_start_user.
1892 2017-03-15  Alexey Neyman  <stilor@att.net>
1894         [BZ #21088]
1895         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
1896         around definitions match those around use.
1898 2017-03-15  Alexey Neyman  <stilor@att.net>
1900         * configure.ac: Avoid empty subexpression in grep.
1901         * configure: Regenerate.
1903 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1905         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
1906         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
1907         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
1908         (test_wrp_rv): Fix format.
1909         (test_wrp_rv2): New macro.
1910         (do_test): Handle mlock return on 64 bits kernels with 32 bits
1911         binaries.
1913 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
1915         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
1916         Use a union when storing pointers.
1917         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
1918         cast result when passing to INIT_VEC_PTRS_LOOP.
1919         (VECTOR_WRAPPER_fFF_3): Likewise.
1920         (VECTOR_WRAPPER_fFF_4): Likewise.
1922 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1924         * include/bits/mathcalls-helper-functions.h: New file.
1925         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
1926         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
1927         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
1928         math/bits/mathcalls-helper-functions.h.
1929         * math/bits/mathcalls-helper-functions.h: New file.
1930         * math/math.h: Include bits/mathcalls-helper-functions.h for
1931         float, double, and long double.
1933 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1935         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
1936         instead of feraiseexcept.
1938 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1940         [BZ #21243]
1941         * support/temp_file.c (support_delete_temp_files): Add comment
1942         about ignored errors.
1944 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1946         [BZ #21244]
1947         * support/xclose.c: New file.
1948         * support/Makefile (libsupport-routines): Add xclose.
1949         * support/xunistd.h (xclose): Declare.
1950         * support/resolv_test.c (server_thread_tcp_client)
1951         (server_thread_tcp, make_server_sockets, resolv_test_start)
1952         (resolv_test_end): Call xclose instead of close.
1953         * support/support_enter_network_namespace.c
1954         (support_enter_network_namespace): Likewise.
1955         * support/support_run_diff.c (write_to_temp_file): Likewise.
1957 2017-03-15  Florian Weimer  <fweimer@redhat.com>
1959         * support/support_format_dns_packet.c (support_format_dns_packet):
1960         Handle CNAME records in the response.  Extract RDATA names from
1961         rdata, not the whole packet.  Check AAAA record length.
1962         * support/tst-support_format_dns_packet.c: New file.
1963         * support/Makefile (tests): Add tst-support_format_dns_packet.
1964         (tst-support_format_dns_packet): Link against libresolv.
1966 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1968         [BZ #21232]
1969         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
1970         posix_fadvise64 weak_alias for static build.
1972 2017-03-14  Andreas Schwab  <schwab@suse.de>
1974         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
1975         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
1976         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
1977         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
1978         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
1979         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
1980         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
1981         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
1983 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1985         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
1986         posix error code.
1987         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
1989 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1991         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
1992         no_isolate usage for SH.
1994 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
1996         [BZ #15105]
1997         [BZ #19463]
1998         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
1999         * inet/rcmd.c (rcmd_af): Likewise.
2000         * inet/rexec.c   (rexec_af): Likewise.
2001         * intl/dcigettext.c (_LIBC): Likewise.
2002         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
2003         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
2004         * locale/setlocale.c (setlocale): Likewise.
2005         * posix/spawn_faction_addopen.c
2006         (posix_spawn_file_actions_addopen): Likewise.
2007         * stdlib/putenv.c (putenv): Use __strndup.
2008         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
2009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
2010         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
2011         (__Need_M_And_C) Remove define/undef.
2012         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
2013         (__malloc_and_calloc_defined): Remove define.
2014         * string/bits/string2.h (__strdup): Remove define.
2015         (strdup): Likewise.
2016         (__strndup): Likewise.
2017         (strndup): Likewise.
2019 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
2021         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
2022         macro.
2023         (IPV6_ADDR_PREFERENCES): Likewise.
2024         (IPV6_MINHOPCOUNT): Likewise.
2025         (IPV6_ORIGDSTADDR): Likewise.
2026         (IPV6_RECVORIGDSTADDR): Likewise.
2027         (IPV6_TRANSPARENT): Likewise.
2028         (IPV6_UNICAST_IF): Likewise.
2029         (IPV6_RECVFRAGSIZE): Likewise.
2031 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
2033         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
2035 2017-03-12  Alexey Neyman <stilor@att.net>
2037         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
2038         in R_SH_DIR32 case is always false when inlined from
2039         dl-conflict.c. Ifdef out to prevent GCC from insertin an
2041 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
2043         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2044         (__ASSUME_RECV_SYSCALL): Replace duplicate by
2045         __ASSUME_SEND_SYSCALL.
2047 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
2049         * sunrpc/Makefile: don't build and install rpcsvc header
2050         files, rpcgen and librpcsvc.a by default.
2052 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
2054         * math/auto-libm-test-out-catan: Regenerated.
2055         * math/auto-libm-test-out-catanh: Likewise.
2056         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2058 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
2060         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
2061         for long double with corrected test expectations.
2063 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2065         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
2066         Define.
2067         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
2068         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
2069         * sysdeps/unix/sysv/linux/nios2/sysdep.h
2070         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2071         * sysdeps/unix/sysv/linux/tile/sysdep.h
2072         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
2073         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2074         (__ASSUME_RECV_SYSCALL): Define.
2075         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2076         (__ASSUME_RECV_SYSCALL): Likewise.
2077         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2078         (__ASSUME_RECV_SYSCALL): Likewise.
2079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2080         (__ASSUME_RECV_SYSCALL): Likewise.
2081         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2082         (__ASSUME_RECV_SYSCALL): Likewise.
2083         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2084         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
2085         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2086         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2087         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2088         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2089         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
2090         auto-generation list.
2091         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2092         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2093         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
2094         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2095         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2096         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
2097         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
2098         __ASSUME_SENDTO_SYSCALL.
2099         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
2100         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
2101         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
2103         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
2104         auto-generation list.
2105         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2106         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2107         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2108         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2109         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2110         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2111         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2112         * sysdeps/unix/sysv/linux/kernel-features.h
2113         (__ASSUME_SENDTO_SYSCALL): Define by default.
2114         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2115         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
2116         __NR_sendto.
2117         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2118         (__ASSUME_SENDTO_SYSCALL): Likewise.
2119         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2120         (__ASSUME_SENDTO_SYSCALL): Likewise.
2121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2122         (__ASSUME_SENDTO_SYSCALL): Remove definition.
2123         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2124         (__ASSUME_SENDTO_SYSCALL): Likewise.
2125         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
2126         (__ASSUME_SENDTO_SYSCALL): Likewise.
2127         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
2129         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
2130         auto-generation list.
2131         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2132         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2133         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2134         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2135         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2136         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2137         (__ASSUME_RECV_SYSCALL): New define.
2138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2139         (__ASSUME_RECV_SYSCALL): Likewise.
2140         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2141         (__ASSUME_RECV_SYSCALL): Likewise.
2142         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2143         (__ASSUME_RECV_SYSCALL): Likewise.
2144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2145         (__ASSUME_RECV_SYSCALL): Likewise.
2146         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2147         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2149         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2150         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2151         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
2152         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
2153         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
2154         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
2155         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
2156         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
2157         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
2159         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
2160         auto-generation list.
2161         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2162         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2163         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2164         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2165         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2166         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2167         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2168         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2169         (__ASSUME_RECVFROM_SYSCALL): Define by default.
2170         * sysdeps/unix/sysv/linux/kernel-features.h
2171         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
2172         __NR_recvfrom.
2173         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2174         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2175         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2176         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2177         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2178         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
2179         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2180         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2181         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2182         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2183         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2184         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2185         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
2187         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
2188         auto-generation list.
2189         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2190         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2191         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2192         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2193         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2194         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2195         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2196         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
2197         * sysdeps/unix/sysv/linux/kernel-features.h
2198         (__ASSUME_CONNECT_SYSCALL): Define.
2199         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2200         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
2201         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2202         (__ASSUME_CONNECT_SYSCALL): Likewise.
2203         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2204         (__ASSUME_CONNECT_SYSCALL): Likewise.
2205         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2206         (__ASSUME_CONNECT_SYSCALL): Likewise.
2208         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
2209         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
2210         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
2211         auto-generation list.
2212         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
2213         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
2214         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
2215         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
2216         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
2217         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2218         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
2219         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2220         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2221         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2222         * sysdeps/unix/sysv/linux/kernel-features.h
2223         (__ASSUME_ACCEPT_SYSCALL): New define.
2224         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2225         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2226         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
2227         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2228         (__ASSUME_ACCEPT_SYSCALL): Define.
2229         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2230         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2231         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2232         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
2233         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2234         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2235         (__ASSUME_ACCEPT_SYSCALL): Undefine.
2236         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2237         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
2239 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
2240             Zack Weinberg  <zackw@panix.com>
2242         * posix/test-errno.c: New file.
2243         * posix/Makefile (tests): Add test-errno.
2244         * sysdeps/unix/sysv/linux/test-errno.c: New file.
2245         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
2247 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
2249         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2251 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2253         * time/tzset.c (compute_offset): Open-code min macro.
2254         (min, max, sign): Remove.
2256 2017-03-07  Florian Weimer  <fweimer@redhat.com>
2258         [BZ #15576]
2259         Remove TZNAME_MAX limit from sysconf.
2260         * include/time.h (__tzname_cur_max, __tzname_max): Remove
2261         declaration.
2262         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
2263         compute_tzname_max.
2264         (compute_tzname_max): Remove.
2265         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
2266         (update_vars): Do not update __tzname_cur_max.
2267         (tzset_internal): Remove argument.
2268         (__tzset): Adjust call to tzset_internal.
2269         (__tz_convert): Likewise.
2271         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
2272         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
2273         * manual/conf.texi (Sysconf Definition): Update comment.
2275 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2277         [BZ #21209]
2278         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
2279         AT_SECURE processes.
2280         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
2281         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
2282         (test_child): Likewise.
2283         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
2285 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2287         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
2289 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2291         * sysdeps/s390/atomic-machine.h
2292         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
2293         (__arch_compare_and_exchange_val_8_acq,
2294         __arch_compare_and_exchange_val_16_acq,
2295         __arch_compare_and_exchange_val_32_acq,
2296         __arch_compare_and_exchange_val_64_acq):
2297         Delete macro.
2298         (atomic_compare_and_exchange_val_acq,
2299         atomic_compare_and_exchange_val_rel,
2300         atomic_compare_and_exchange_bool_acq,
2301         catomic_compare_and_exchange_bool_acq,
2302         atomic_exchange_acq, atomic_exchange_rel,
2303         atomic_exchange_and_add_acq,
2304         atomic_exchange_and_add_rel,
2305         catomic_exchange_and_add, atomic_or_val,
2306         atomic_or, catomic_or, atomic_bit_test_set,
2307         atomic_and_val, atomic_and, catomic_and):
2308         Define macros with help of C11 atomic builtins.
2310 2017-03-03  Justus Winter <justus@gnupg.org>
2312         * sysdeps/mach/hurd/ftruncate64.c: New file.
2313         * sysdeps/mach/hurd/truncate64.c: Likewise.
2315 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2317         * time/tzfile.c (NOID): Do not define.
2318         * time/tzset.c (NOID): Likewise.
2320 2017-03-03  Florian Weimer  <fweimer@redhat.com>
2322         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
2324 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2326         * elf/get-dynamic-info.h: Remove header file inclusion guard.
2328 2017-03-02  Florian Weimer  <fweimer@redhat.com>
2330         [BZ #21015]
2331         * manual/install.texi (Configuring and compiling): Document
2332         --enable-bind-now.
2333         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
2334         (build-shlib-helper): Use $(LDFLAGS-lib.so).
2335         (format.lds): Likewise.
2336         [bind-now] (LDFLAGS-c.so): Remove.
2337         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
2338         be R_X86_64_GLOB_DAT.
2339         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
2340         relocation can be R_386_GLOB_DAT.
2341         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
2342         relocaiton can be R_ALPHA_GLOB_DAT.
2343         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
2345 2017-03-01  Zack Weinberg  <zackw@panix.com>
2347         * include/libc-pointer-arith.h: New file.  Define
2348         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
2349         PTR_ALIGN_DOWN here.
2350         * include/libc-internal.h: Definitions of above macros
2351         moved from here.  Don't include libc-diag.h anymore either.
2352         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
2353         Don't include libc-internal.h.
2355         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
2356         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
2357         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
2358         * string/strcoll_l.c, sysdeps/nacl/brk.c
2359         * sysdeps/unix/clock_settime.c
2360         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
2361         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
2362         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
2363         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
2364         Don't include libc-internal.h.
2366         * elf/get-dynamic-info.h, iconv/loop.c
2367         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
2368         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
2369         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
2370         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
2371         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
2372         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
2373         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
2374         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
2375         * sysdeps/ieee754/ldbl-128/k_tanl.c
2376         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
2377         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
2378         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
2379         Include libc-diag.h instead of libc-internal.h.
2381         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
2382         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
2383         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
2384         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
2385         * sysdeps/unix/sysv/linux/spawni.c
2386         * sysdeps/x86_64/nptl/tls.h:
2387         Include libc-pointer-arith.h instead of libc-internal.h.
2389         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
2390         * sysdeps/x86_64/atomic-machine.h:
2391         Add multiple include guard.
2393         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
2394         * string/strcasestr.c: No need to include config.h.
2395         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
2396         sys/auxv.h. Don't include sysdep.h.
2397         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
2399         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
2400         DL_LOOKUP_ADDRESS.
2401         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
2402         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
2403         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
2404         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
2405         of ARTIFICIAL_LIMIT.
2406         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
2407         declaration of __clone2.
2409 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2411         * scripts/backport-support.sh (latest_commit): New file.
2413 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2415         [BZ #20257]
2416         * inet/Makefile (routines): Add deadline.
2417         (tests-static): Add tst-deadline.
2418         * inet/net-internal.h (struct deadline_current_time)
2419         (__deadline_current_time, struct deadline, __deadline_is_infinite)
2420         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
2421         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
2422         * inet/deadline.c: New file.
2423         * inet/tst-deadline.c: Likewise.
2424         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
2425         tst-udp-timeout, tst-udp-garbage.
2426         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
2427         explicitly.
2428         (tst-udp-garbage): Likewise.  Also link against thread library.
2429         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
2430         struct layout is part of the ABI.
2431         (clntudp_call): Rework timeout handling.
2432         * sunrpc/tst-udp-garbage.c: New file.
2433         * sunrpc/tst-udp-nonblocking.c: Likewise.
2434         * sunrpc/tst-udp-timeout.c: Likewise.
2436 2017-02-28  Florian Weimer  <fweimer@redhat.com>
2438         [BZ #5010]
2439         * sunrpc/svc.c (svc_is_mapped): Remove.
2440         (svc_unregister): Obtain mapped status while the service is still
2441         registered.
2442         * sunrpc/Makefile [have-thread-library] (tests): Add
2443         tst-svc_register.
2444         (tst-svc_register): Link against libc.so explicitly and the thread
2445         library.
2446         * sunrpc/tst-svc_register.c: New file.
2448 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
2450         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
2451         * sysdeps/pthread/bits/sigthread.h: Likewise.
2453 2017-02-27  Florian Weimer  <fweimer@redhat.com>
2455         [BZ #21115]
2456         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
2457         * sunrpc/Makefile (tests): Add tst-udp-error.
2458         (tst-udp-error): Link against libc.so explicitly.
2459         * sunrpc/tst-udp-error: New file.
2461 2017-02-25  Zack Weinberg  <zackw@panix.com>
2463         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
2464         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
2466         * sysdeps/generic/math_ldbl.h
2467         * sysdeps/ia64/fpu/math_ldbl.h
2468         * sysdeps/ieee754/ldbl-128/math_ldbl.h
2469         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2470         * sysdeps/ieee754/ldbl-96/math_ldbl.h
2471         * sysdeps/powerpc/fpu/math_ldbl.h
2472         * sysdeps/x86_64/fpu/math_ldbl.h:
2473         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
2474         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
2475         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
2476         Add copyright notices.
2478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
2479         Don't use EXTRACT_WORDS64.
2481         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
2482         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
2483         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
2484         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
2485         Include math_ldbl.h, not math_private.h.
2487 2017-02-25  Zack Weinberg  <zackw@panix.com>
2489         * include/libc-diag.h: New file.  Define ignore_value,
2490         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
2491         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
2493         * include/libc-internal.h: Definitions of above macros moved from
2494         here.  Include libc-diag.h.  Add copyright notice.
2496         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
2497         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
2498         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
2499         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
2500         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
2501         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
2502         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
2503         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
2504         Include libc-diag.h instead of libc-internal.h.
2506         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
2507         call to unsetenv (NULL).
2508         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
2509         call to pthread_mutexattr_destroy (NULL).
2511 2017-02-25  Zack Weinberg  <zackw@panix.com>
2513         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
2514         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
2515         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
2516         gets was removed from C++ in C++14.
2517         * include/stdio.h: Remove redundant declaration of gets.
2518         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
2519         be declared, since we are testing it.
2520         * stdio-common/Makefile (tst-gets.c): Compile with
2521         -Wno-deprecated-declarations.
2522         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
2523         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
2524         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
2525         Compile with -Wno-deprecated-declarations.
2527 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2529         * math/libm-test-support.c (check_ulp): Use LIT() around literal
2530         numbers.
2532 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2534         * resolv/tst-resolv-qtypes.c (domain):
2535         Change type to const pointer to const char.
2537 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
2539         * math/Makefile (libm-tests-generated): Remove variable.
2540         (libm-tests-base-normal): New variable.
2541         (libm-tests-base-finite): Likewise.
2542         (libm-tests-base-inline): Likewise.
2543         (libm-tests-base): Likewise.
2544         (libm-tests-normal): Likewise.
2545         (libm-tests-finite): Likewise.
2546         (libm-tests-inline): Likewise.
2547         (libm-tests-vector): Likewise.
2548         (libm-tests): Define in terms of these new variables.
2549         (libm-tests-for-type): New variable.
2550         (libm-tests.o): Move definition.
2551         (tests): Move addition of $(libm-tests).
2552         (generated): Update for new and removed libm test files.
2553         ($(objpfx)libm-test.c): Remove target.
2554         ($(objpfx)libm-have-vector-test.h): Likewise.
2555         (CFLAGS-test-double-vlen2.c): Remove variable.
2556         (CFLAGS-test-double-vlen4.c): Likewise.
2557         (CFLAGS-test-double-vlen8.c): Likewise.
2558         (CFLAGS-test-float-vlen4.c): Likewise.
2559         (CFLAGS-test-float-vlen8.c): Likewise.
2560         (CFLAGS-test-float-vlen16.c): Likewise.
2561         (CFLAGS-test-float.c): Likewise.
2562         (CFLAGS-test-float-finite.c): Likewise.
2563         (CFLAGS-libm-test-support-float.c): Likewise.
2564         (CFLAGS-test-double.c): Likewise.
2565         (CFLAGS-test-double-finite.c): Likewise.
2566         (CFLAGS-libm-test-support-double.c): Likewise.
2567         (CFLAGS-test-ldouble.c): Likewise.
2568         (CFLAGS-test-ldouble-finite.c): Likewise.
2569         (CFLAGS-libm-test-support-ldouble.c): Likewise.
2570         (libm-test-inline-cflags): New variable.
2571         (CFLAGS-test-ifloat.c): Remove variable.
2572         (CFLAGS-test-idouble.c): Likewise.
2573         (CFLAGS-test-ildouble.c): Likewise.
2574         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
2575         dependencies.
2576         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
2577         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
2578         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
2579         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
2580         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
2581         Likewise.
2582         (dependencies on libm-test-support-*.o): Remove.
2583         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
2584         rules using iterators.
2585         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
2586         Likewise.
2587         ($(objpfx)libm-test-support-$(o).o): Likewise.
2588         ($(addprefix $(objpfx),$(filter-out $(tests-static)
2589         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
2590         instead.
2591         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
2592         define rule instead.
2593         * math/README.libm-test: Update.
2594         * math/libm-test-acos.inc: Include libm-test-driver.c.
2595         (do_test): New function.
2596         * math/libm-test-acosh.inc: Include libm-test-driver.c.
2597         (do_test): New function.
2598         * math/libm-test-asin.inc: Include libm-test-driver.c.
2599         (do_test): New function.
2600         * math/libm-test-asinh.inc: Include libm-test-driver.c.
2601         (do_test): New function.
2602         * math/libm-test-atan.inc: Include libm-test-driver.c.
2603         (do_test): New function.
2604         * math/libm-test-atan2.inc: Include libm-test-driver.c.
2605         (do_test): New function.
2606         * math/libm-test-atanh.inc: Include libm-test-driver.c.
2607         (do_test): New function.
2608         * math/libm-test-cabs.inc: Include libm-test-driver.c.
2609         (do_test): New function.
2610         * math/libm-test-cacos.inc: Include libm-test-driver.c.
2611         (do_test): New function.
2612         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
2613         (do_test): New function.
2614         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
2615         (do_test): New function.
2616         * math/libm-test-carg.inc: Include libm-test-driver.c.
2617         (do_test): New function.
2618         * math/libm-test-casin.inc: Include libm-test-driver.c.
2619         (do_test): New function.
2620         * math/libm-test-casinh.inc: Include libm-test-driver.c.
2621         (do_test): New function.
2622         * math/libm-test-catan.inc: Include libm-test-driver.c.
2623         (do_test): New function.
2624         * math/libm-test-catanh.inc: Include libm-test-driver.c.
2625         (do_test): New function.
2626         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
2627         (do_test): New function.
2628         * math/libm-test-ccos.inc: Include libm-test-driver.c.
2629         (do_test): New function.
2630         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
2631         (do_test): New function.
2632         * math/libm-test-ceil.inc: Include libm-test-driver.c.
2633         (do_test): New function.
2634         * math/libm-test-cexp.inc: Include libm-test-driver.c.
2635         (do_test): New function.
2636         * math/libm-test-cimag.inc: Include libm-test-driver.c.
2637         (do_test): New function.
2638         * math/libm-test-clog.inc: Include libm-test-driver.c.
2639         (do_test): New function.
2640         * math/libm-test-clog10.inc: Include libm-test-driver.c.
2641         (do_test): New function.
2642         * math/libm-test-conj.inc: Include libm-test-driver.c.
2643         (do_test): New function.
2644         * math/libm-test-copysign.inc: Include libm-test-driver.c.
2645         (do_test): New function.
2646         * math/libm-test-cos.inc: Include libm-test-driver.c.
2647         (do_test): New function.
2648         * math/libm-test-cosh.inc: Include libm-test-driver.c.
2649         (do_test): New function.
2650         * math/libm-test-cpow.inc: Include libm-test-driver.c.
2651         (do_test): New function.
2652         * math/libm-test-cproj.inc: Include libm-test-driver.c.
2653         (do_test): New function.
2654         * math/libm-test-creal.inc: Include libm-test-driver.c.
2655         (do_test): New function.
2656         * math/libm-test-csin.inc: Include libm-test-driver.c.
2657         (do_test): New function.
2658         * math/libm-test-csinh.inc: Include libm-test-driver.c.
2659         (do_test): New function.
2660         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
2661         (do_test): New function.
2662         * math/libm-test-ctan.inc: Include libm-test-driver.c.
2663         (do_test): New function.
2664         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
2665         (do_test): New function.
2666         * math/libm-test-erf.inc: Include libm-test-driver.c.
2667         (do_test): New function.
2668         * math/libm-test-erfc.inc: Include libm-test-driver.c.
2669         (do_test): New function.
2670         * math/libm-test-exp.inc: Include libm-test-driver.c.
2671         (do_test): New function.
2672         * math/libm-test-exp10.inc: Include libm-test-driver.c.
2673         (do_test): New function.
2674         * math/libm-test-exp2.inc: Include libm-test-driver.c.
2675         (do_test): New function.
2676         * math/libm-test-expm1.inc: Include libm-test-driver.c.
2677         (do_test): New function.
2678         * math/libm-test-fabs.inc: Include libm-test-driver.c.
2679         (do_test): New function.
2680         * math/libm-test-fdim.inc: Include libm-test-driver.c.
2681         (do_test): New function.
2682         * math/libm-test-floor.inc: Include libm-test-driver.c.
2683         (do_test): New function.
2684         * math/libm-test-fma.inc: Include libm-test-driver.c.
2685         (do_test): New function.
2686         * math/libm-test-fmax.inc: Include libm-test-driver.c.
2687         (do_test): New function.
2688         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
2689         (do_test): New function.
2690         * math/libm-test-fmin.inc: Include libm-test-driver.c.
2691         (do_test): New function.
2692         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
2693         (do_test): New function.
2694         * math/libm-test-fmod.inc: Include libm-test-driver.c.
2695         (do_test): New function.
2696         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
2697         (do_test): New function.
2698         * math/libm-test-frexp.inc: Include libm-test-driver.c.
2699         (do_test): New function.
2700         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
2701         (do_test): New function.
2702         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
2703         (do_test): New function.
2704         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
2705         (do_test): New function.
2706         * math/libm-test-hypot.inc: Include libm-test-driver.c.
2707         (do_test): New function.
2708         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
2709         (do_test): New function.
2710         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
2711         (do_test): New function.
2712         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
2713         (do_test): New function.
2714         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
2715         (do_test): New function.
2716         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
2717         (do_test): New function.
2718         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
2719         (do_test): New function.
2720         * math/libm-test-isinf.inc: Include libm-test-driver.c.
2721         (do_test): New function.
2722         * math/libm-test-isless.inc: Include libm-test-driver.c.
2723         (do_test): New function.
2724         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
2725         (do_test): New function.
2726         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
2727         (do_test): New function.
2728         * math/libm-test-isnan.inc: Include libm-test-driver.c.
2729         (do_test): New function.
2730         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
2731         (do_test): New function.
2732         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
2733         (do_test): New function.
2734         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
2735         (do_test): New function.
2736         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
2737         (do_test): New function.
2738         * math/libm-test-iszero.inc: Include libm-test-driver.c.
2739         (do_test): New function.
2740         * math/libm-test-j0.inc: Include libm-test-driver.c.
2741         (do_test): New function.
2742         * math/libm-test-j1.inc: Include libm-test-driver.c.
2743         (do_test): New function.
2744         * math/libm-test-jn.inc: Include libm-test-driver.c.
2745         (do_test): New function.
2746         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
2747         (do_test): New function.
2748         * math/libm-test-llogb.inc: Include libm-test-driver.c.
2749         (do_test): New function.
2750         * math/libm-test-llrint.inc: Include libm-test-driver.c.
2751         (do_test): New function.
2752         * math/libm-test-llround.inc: Include libm-test-driver.c.
2753         (do_test): New function.
2754         * math/libm-test-log.inc: Include libm-test-driver.c.
2755         (do_test): New function.
2756         * math/libm-test-log10.inc: Include libm-test-driver.c.
2757         (do_test): New function.
2758         * math/libm-test-log1p.inc: Include libm-test-driver.c.
2759         (do_test): New function.
2760         * math/libm-test-log2.inc: Include libm-test-driver.c.
2761         (do_test): New function.
2762         * math/libm-test-logb.inc: Include libm-test-driver.c.
2763         (do_test): New function.
2764         * math/libm-test-lrint.inc: Include libm-test-driver.c.
2765         (do_test): New function.
2766         * math/libm-test-lround.inc: Include libm-test-driver.c.
2767         (do_test): New function.
2768         * math/libm-test-modf.inc: Include libm-test-driver.c.
2769         (do_test): New function.
2770         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
2771         (do_test): New function.
2772         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
2773         (do_test): New function.
2774         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
2775         (do_test): New function.
2776         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
2777         (do_test): New function.
2778         * math/libm-test-nextup.inc: Include libm-test-driver.c.
2779         (do_test): New function.
2780         * math/libm-test-pow.inc: Include libm-test-driver.c.
2781         (do_test): New function.
2782         * math/libm-test-remainder.inc: Include libm-test-driver.c.
2783         (do_test): New function.
2784         * math/libm-test-remquo.inc: Include libm-test-driver.c.
2785         (do_test): New function.
2786         * math/libm-test-rint.inc: Include libm-test-driver.c.
2787         (do_test): New function.
2788         * math/libm-test-round.inc: Include libm-test-driver.c.
2789         (do_test): New function.
2790         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
2791         (do_test): New function.
2792         * math/libm-test-scalb.inc: Include libm-test-driver.c.
2793         (do_test): New function.
2794         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
2795         (do_test): New function.
2796         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
2797         (do_test): New function.
2798         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
2799         (do_test): New function.
2800         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
2801         (do_test): New function.
2802         * math/libm-test-signbit.inc: Include libm-test-driver.c.
2803         (do_test): New function.
2804         * math/libm-test-significand.inc: Include libm-test-driver.c.
2805         (do_test): New function.
2806         * math/libm-test-sin.inc: Include libm-test-driver.c.
2807         (do_test): New function.
2808         * math/libm-test-sincos.inc: Include libm-test-driver.c.
2809         (do_test): New function.
2810         * math/libm-test-sinh.inc: Include libm-test-driver.c.
2811         (do_test): New function.
2812         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
2813         (do_test): New function.
2814         * math/libm-test-tan.inc: Include libm-test-driver.c.
2815         (do_test): New function.
2816         * math/libm-test-tanh.inc: Include libm-test-driver.c.
2817         (do_test): New function.
2818         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
2819         (do_test): New function.
2820         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
2821         (do_test): New function.
2822         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
2823         (do_test): New function.
2824         * math/libm-test-trunc.inc: Include libm-test-driver.c.
2825         (do_test): New function.
2826         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
2827         (do_test): New function.
2828         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
2829         (do_test): New function.
2830         * math/libm-test-y0.inc: Include libm-test-driver.c.
2831         (do_test): New function.
2832         * math/libm-test-y1.inc: Include libm-test-driver.c.
2833         (do_test): New function.
2834         * math/libm-test-yn.inc: Include libm-test-driver.c.
2835         (do_test): New function.
2836         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
2837         (HAVE_VECTOR): Remove macro.
2838         (START): Do not call HAVE_VECTOR.
2839         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
2840         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
2841         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
2842         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
2843         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
2844         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
2845         * math/test-math-vector.h (FUNC_TEST): New macro.
2846         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
2847         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
2848         (double-vlen4-funcs): Likewise.
2849         (double-vlen4-avx2-funcs): Likewise.
2850         (double-vlen8-funcs): Likewise.
2851         (float-vlen4-funcs): Likewise.
2852         (float-vlen8-funcs): Likewise.
2853         (float-vlen8-avx2-funcs): Likewise.
2854         (float-vlen16-funcs): Likewise.
2855         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
2856         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
2857         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
2858         macro.
2859         (TEST_VECTOR_sin): Likewise.
2860         (TEST_VECTOR_sincos): Likewise.
2861         (TEST_VECTOR_log): Likewise.
2862         (TEST_VECTOR_exp): Likewise.
2863         (TEST_VECTOR_pow): Likewise.
2864         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
2865         Likewise.
2866         (TEST_VECTOR_sin): Likewise.
2867         (TEST_VECTOR_sincos): Likewise.
2868         (TEST_VECTOR_log): Likewise.
2869         (TEST_VECTOR_exp): Likewise.
2870         (TEST_VECTOR_pow): Likewise.
2871         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
2872         Likewise.
2873         (TEST_VECTOR_sinf): Likewise.
2874         (TEST_VECTOR_sincosf): Likewise.
2875         (TEST_VECTOR_logf): Likewise.
2876         (TEST_VECTOR_expf): Likewise.
2877         (TEST_VECTOR_powf): Likewise.
2878         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
2879         Likewise.
2880         (TEST_VECTOR_sinf): Likewise.
2881         (TEST_VECTOR_sincosf): Likewise.
2882         (TEST_VECTOR_logf): Likewise.
2883         (TEST_VECTOR_expf): Likewise.
2884         (TEST_VECTOR_powf): Likewise.
2885         * math/gen-libm-have-vector-test.sh: Remove file.
2886         * math/libm-test.inc: Likewise.
2887         * math/libm-test-support-double.c: Likewise.
2888         * math/libm-test-support-float.c: Likewise.
2889         * math/libm-test-support-ldouble.c: Likewise.
2890         * math/test-double-finite.c: Likewise.: Likewise.
2891         * math/test-double.c: Likewise.
2892         * math/test-float-finite.c: Likewise.
2893         * math/test-float.c: Likewise.
2894         * math/test-idouble.c: Likewise.
2895         * math/test-ifloat.c: Likewise.
2896         * math/test-ildouble.c: Likewise.
2897         * math/test-ldouble-finite.c: Likewise.
2898         * math/test-ldouble.c: Likewise.
2899         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
2900         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
2901         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
2902         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2903         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
2904         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
2905         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
2906         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
2907         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
2908         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2910 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2911            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2913         * math/Makefile: Add wrappers to gen-libm-calls.
2914         * math/w_acos_template.c: New file.
2915         * math/w_acosh_template.c: Likewise.
2916         * math/w_asin_template.c: Likewise.
2917         * math/w_atan2_template.c: Likewise.
2918         * math/w_atanh_template.c: Likewise.
2919         * math/w_cosh_template.c: Likewise.
2920         * math/w_exp10_template.c: Likewise.
2921         * math/w_exp2_template.c: Likewise.
2922         * math/w_exp_template.c: Likewise.
2923         * math/w_fmod_template.c: Likewise.
2924         * math/w_hypot_template.c: Likewise.
2925         * math/w_j0_template.c: Likewise.
2926         * math/w_j1_template.c: Likewise.
2927         * math/w_jn_template.c: Likewise.
2928         * math/w_lgamma_r_template.c: Likewise.
2929         * math/w_lgamma_template.c: Likewise.
2930         * math/w_log10_template.c: Likewise.
2931         * math/w_log2_template.c: Likewise.
2932         * math/w_log_template.c: Likewise.
2933         * math/w_pow_template.c: Likewise.
2934         * math/w_remainder_template.c: Likewise.
2935         * math/w_sinh_template.c: Likewise.
2936         * math/w_sqrt_template.c: Likewise.
2937         * math/w_tgamma_template.c: Likewise.: Likewise.
2938         * sysdeps/generic/math-type-macros-double.h
2939         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
2940         the new wrappers.
2941         * sysdeps/generic/math-type-macros-float.h: Likewise.
2942         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2944 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
2946         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
2947         New enum constant and macro.
2949         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2950         kernel version to 4.10.
2952 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
2954         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
2956 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2960 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2962         * sysdeps/powerpc/tst-set_ppr.c: New file.
2963         Implement test cases for __ppc_set_ppr_* functions.
2964         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
2965         in the list of tests.
2967 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
2969         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
2970         instead of test-skeleton.c.
2971         (do_test): Replaced pthread_create and pthread_join with
2972         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
2973         Removed unneeded status variable.
2974         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
2975         instead of test-skeleton.c.
2976         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
2978 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
2980         [BZ #20313]
2981         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2982         201605L, for Unicode 9.
2984 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
2986         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
2987         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2988         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2989         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2990         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
2991         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2993 2017-02-19  Zack Weinberg  <zackw@panix.com>
2995         * rt/tst-mqueue4.c: Include stdint.h.
2997 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
2999         * sysdeps/arm/libm-test-ulps: Update.
3000         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3001         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3002         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3004 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3006         [BZ #21029]
3007         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
3008         * sysdeps/unix/sysv/linux/i386/Makefile
3009         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
3010         (uses-6-syscall-arguments): Remove.
3011         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
3012         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
3013         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
3014         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
3015         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
3016         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
3017         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
3018         [$(subdir) = misc] (cflags-pselect.o): Likewise.
3019         [$(subdir) = misc] (cflags-pselect.os): Likewise.
3020         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
3021         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
3022         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
3023         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
3024         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
3025         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
3026         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
3027         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
3028         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
3029         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
3030         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
3031         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
3032         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
3033         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
3034         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
3035         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
3036         Likewise.
3037         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
3038         Likewise.
3039         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
3040         Likewise.
3041         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
3042         Likewise.
3043         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
3044         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
3045         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
3046         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
3047         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
3048         ebp on inline assembly.
3049         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
3050         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
3051         Set if CAN_USE_REGISTER_ASM_EBP is set.
3053 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
3055         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
3056         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
3058 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
3060         * math/auto-libm-test-in: Add tests of catan and catanh.
3061         * math/auto-libm-test-out-catan: New generated file.
3062         * math/auto-libm-test-out-catanh: Likewise.
3063         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
3064         Move tests with finite inputs, except divide-by-zero cases, to
3065         auto-libm-test-in.
3066         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
3067         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
3068         (libm-test-funcs-noauto): Remove catan and catanh.
3069         * sysdeps/i386/fpu/libm-test-ulps: Update.
3070         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3073         * math/auto-libm-test-in: Add tests of casin and casinh.
3074         * math/auto-libm-test-out-casin: New generated file.
3075         * math/auto-libm-test-out-casinh: Likewise.
3076         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
3077         Move tests with finite inputs to auto-libm-test-in.
3078         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
3079         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
3080         (libm-test-funcs-noauto): Remove casin and casinh.
3081         * sysdeps/i386/fpu/libm-test-ulps: Update.
3082         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3085         * math/auto-libm-test-in: Add tests of cacos and cacosh.
3086         * math/auto-libm-test-out-cacos: New generated file.
3087         * math/auto-libm-test-out-cacosh: Likewise.
3088         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
3089         Move tests with finite inputs to auto-libm-test-in.
3090         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
3091         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
3092         (libm-test-funcs-noauto): Remove cacos and cacosh.
3093         * sysdeps/i386/fpu/libm-test-ulps: Update.
3094         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
3095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3097         Revert:
3098         2017-02-16  Zack Weinberg  <zackw@panix.com>
3100         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3101         Don't include init-arch.h.
3102         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3103         Don't include init-arch.h.
3105 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3107         [BZ #21171]
3108         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
3109         +Inf and raise divide-by-zero when x is negative.
3110         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
3111         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
3112         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
3113         -Inf and raise divide-by-zero when x = +-0.
3114         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
3115         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
3116         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
3117         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
3118         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
3119         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3120         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3122 2017-02-16  Zack Weinberg  <zackw@panix.com>
3124         * scripts/build-many-glibcs.py (bot_build_mail): If the
3125         bot_config does not contain all of the necessary email-
3126         related settings, just print a warning and continue.
3128 2017-02-16  Zack Weinberg  <zackw@panix.com>
3130         * crypt/md5.h: Test _LIBC with #if defined, not #if.
3131         * dirent/opendir-tst1.c: Include sys/stat.h.
3132         * dirent/tst-fdopendir.c: Include sys/stat.h.
3133         * dirent/tst-fdopendir2.c: Include stdlib.h.
3134         * dirent/tst-scandir.c: Include stdbool.h.
3135         * elf/tst-auditmod1.c: Include link.h and stddef.h.
3136         * elf/tst-tls15.c: Include stdlib.h.
3137         * elf/tst-tls16.c: Include stdlib.h.
3138         * elf/tst-tls17.c: Include stdlib.h.
3139         * elf/tst-tls18.c: Include stdlib.h.
3140         * iconv/tst-iconv6.c: Include endian.h.
3141         * iconvdata/bug-iconv11.c: Include limits.h.
3142         * io/test-utime.c: Include stdint.h.
3143         * io/tst-faccessat.c: Include sys/stat.h.
3144         * io/tst-fchmodat.c: Include sys/stat.h.
3145         * io/tst-fchownat.c: Include sys/stat.h.
3146         * io/tst-fstatat.c: Include sys/stat.h.
3147         * io/tst-futimesat.c: Include sys/stat.h.
3148         * io/tst-linkat.c: Include sys/stat.h.
3149         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
3150         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
3151         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
3152         * io/tst-openat.c: Include stdbool.h.
3153         * io/tst-readlinkat.c: Include sys/stat.h.
3154         * io/tst-renameat.c: Include sys/stat.h.
3155         * io/tst-symlinkat.c: Include sys/stat.h.
3156         * io/tst-unlinkat.c: Include stdbool.h.
3157         * libio/bug-memstream1.c: Include stdlib.h.
3158         * libio/bug-wmemstream1.c: Include stdlib.h.
3159         * libio/tst-fwrite-error.c: Include stdlib.h.
3160         * libio/tst-memstream1.c: Include stdlib.h.
3161         * libio/tst-memstream2.c: Include stdlib.h.
3162         * libio/tst-memstream3.c: Include stdlib.h.
3163         * malloc/tst-interpose-aux.c: Include stdint.h.
3164         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
3165         * nptl/tst-basic7.c: Include limits.h.
3166         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
3167         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
3168         * nptl/tst-cancel4_1.c: Include stddef.h.
3169         * nptl/tst-cancel4_2.c: Include stddef.h.
3170         * nptl/tst-cond16.c: Include limits.h.
3171         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3172         * nptl/tst-cond18.c: Include limits.h.
3173         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
3174         * nptl/tst-cond4.c: Include stdint.h.
3175         * nptl/tst-cond6.c: Include stdint.h.
3176         * nptl/tst-stack2.c: Include limits.h.
3177         * nptl/tst-stackguard1.c: Include stddef.h.
3178         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
3179         * nptl/tst-tls4moda.c: Include stddef.h.
3180         Don't include stdio.h, unistd.h, or tls.h.
3181         * nptl/tst-tls4modb.c: Include stddef.h.
3182         Don't include stdio.h, unistd.h, or tls.h.
3183         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
3184         * posix/tst-getaddrinfo2.c: Include stdio.h.
3185         * posix/tst-getaddrinfo5.c: Include stdio.h.
3186         * posix/tst-pathconf.c: Include sys/stat.h.
3187         * posix/tst-posix_fadvise-common.c: Include stdint.h.
3188         * posix/tst-preadwrite-common.c: Include sys/stat.h.
3189         * posix/tst-regex.c: Include stdint.h.
3190         Don't include spawn.h or spawn_int.h.
3191         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
3192         * posix/tst-vfork3.c: Include sys/stat.h.
3193         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
3194         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
3195         * resolv/tst-resolv-search.c: Include stdlib.h.
3196         * stdio-common/tst-fmemopen2.c: Include stdint.h.
3197         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
3198         * stdlib/test-canon.c: Include sys/stat.h.
3199         * stdlib/tst-tls-atexit.c: Include stdbool.h.
3200         * string/test-memchr.c: Include stdint.h.
3201         * string/tst-cmp.c: Include stdint.h.
3202         * sysdeps/pthread/tst-timer.c: Include stdint.h.
3203         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
3204         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
3205         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
3206         Don't include init-arch.h.
3207         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
3208         Don't include init-arch.h.
3209         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
3210         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
3211         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
3212         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
3213         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
3214         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
3215         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
3216         * time/clocktest.c: Include stdint.h.
3217         * time/tst-posixtz.c: Include stdint.h.
3218         * timezone/tst-timezone.c: Include stdint.h.
3220 2017-02-16  Zack Weinberg  <zackw@panix.com>
3222         * string/string.h [__USE_MISC]: Include strings.h.
3223         (__bzero, bcmp, bcopy, bzero, index, rindex)
3224         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
3225         (ffs, ffsl, ffsll): Don't declare.
3226         * string/strings.h: Do not suppress the file if string.h has
3227         already been included.
3228         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
3229         annotations.
3230         (index, rindex): Define inline forwarders even if
3231         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
3232         (ffs): Use __attribute_const__.
3233         (ffsl, ffsll): Declare here.
3234         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
3235         have now been standardized.
3236         * include/string.h (__bzero): Declare here.
3238         * bits/types.h: Move to posix/bits.
3239         * include/bits/types.h: New wrapper.
3241 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3243         * string/bits/string2.h (strcmp): Remove define.
3244         (__strcmp_cg): Likewise.
3245         (strncmp): Likewise.
3247 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
3249         * include/string.h: Add __cplusplus check.
3251 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3253         [BZ #21134]
3254         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
3255         "divide by zero" exception when the input is zero.
3256         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
3257         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
3258         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
3259         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
3260         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3262 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
3264         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
3265         and include ...
3266         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
3267         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
3268         to, and include ...
3269         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
3270         file.
3271         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
3272         and include ...
3273         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
3274         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
3275         and include ...
3276         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
3277         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
3278         and include ...
3279         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
3280         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
3281         and include ...
3282         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
3283         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
3284         to, and include ...
3285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
3286         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
3287         and include ...
3288         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
3290 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
3292         * math/libm-test-support.h: Do not include <math-tests-arch.h>
3293         here.
3294         * math/libm-test-support.c (libm_test_init): Do not call
3295         INIT_ARCH_EXT here.
3296         * math/libm-test-driver.c: Include <math-tests-arch.h>.
3297         (main): Call INIT_ARCH_EXT.
3299 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3301         [BZ #21130]
3302         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
3303         with the "invalid" exception raised when x is -Inf.
3304         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
3306 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
3308         * string/bits/string2.h (strchr): Remove define.
3310 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
3312         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
3313         tst-avx512.
3314         (test-extras): Add tst-avx-aux and tst-avx512-aux.
3315         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
3316         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
3317         ($(objpfx)tst-sse): New rule.
3318         ($(objpfx)tst-avx): Likewise.
3319         ($(objpfx)tst-avx512): Likewise.
3320         (CFLAGS-tst-avx-aux.c): New.
3321         (CFLAGS-tst-avxmod.c): Likewise.
3322         (CFLAGS-tst-avx512-aux.c): Likewise.
3323         (CFLAGS-tst-avx512mod.c): Likewise.
3324         * sysdeps/x86_64/tst-avx-aux.c: New file.
3325         * sysdeps/x86_64/tst-avx.c: Likewise.
3326         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
3327         * sysdeps/x86_64/tst-avx512.c: Likewise.
3328         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
3329         * sysdeps/x86_64/tst-avxmod.c: Likewise.
3330         * sysdeps/x86_64/tst-sse.c: Likewise.
3331         * sysdeps/x86_64/tst-ssemod.c: Likewise.
3333 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3335         * math/auto-libm-test-in: Add more tests of csin and csinh.
3336         * math/auto-libm-test-out-csin: Regenerated.
3337         * math/auto-libm-test-out-csinh: Likewise.
3338         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
3339         auto-libm-test-in.
3340         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
3342 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3344         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
3345         libm-compat-calls-auto.
3346         (libm-compat-calls): Likewise.
3347         (libm-compat-calls-auto): Rename to libm-compat-calls and add
3348         w_lgamma_compatF and k_standardF (merged from the items above).
3349         (libm-routines): Use libm-compat-calls, instead of
3350         libm-compat-calls-auto, with type-foreach.
3352 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
3354         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
3355         macro.
3356         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
3357         (CFLAGS-test-ifloat.c): ... this.  Remove
3358         -U__LIBC_INTERNAL_MATH_INLINES.
3359         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
3360         (CFLAGS-test-idouble.c): ... this.  Remove
3361         -U__LIBC_INTERNAL_MATH_INLINES.
3362         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
3363         (CFLAGS-test-ildouble.c): ... this.  Remove
3364         -U__LIBC_INTERNAL_MATH_INLINES.
3366 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
3368         * math/libm-test-support.c: New file.  Content from
3369         math/libm-test-driver.c.
3370         * math/libm-test-support.h: Likewise.
3371         * math/libm-test-support-double.c: New file.
3372         * math/libm-test-support-float.c: Likewise.
3373         * math/libm-test-support-ldouble.c: Likewise.
3374         * math/libm-test-driver.c: Remove main comment and header
3375         includes.  Include libm-test-support.h.
3376         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
3377         (flag_test_errno): Remove static.
3378         (flag_test_exceptions): Likewise.
3379         (flag_test_finite): Likewise.
3380         (flag_test_inline): Likewise.
3381         (flag_test_mathvec): Likewise.
3382         (test_msg): Likewise.
3383         (NO_EXCEPTION): Remove.
3384         (INVALID_EXCEPTION): Likewise.
3385         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
3386         (OVERFLOW_EXCEPTION): Likewise.
3387         (UNDERFLOW_EXCEPTION): Likewise.
3388         (INEXACT_EXCEPTION): Likewise.
3389         (INVALID_EXCEPTION_OK): Likewise.
3390         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3391         (OVERFLOW_EXCEPTION_OK): Likewise.
3392         (UNDERFLOW_EXCEPTION_OK): Likewise.
3393         (NO_INEXACT_EXCEPTION): Likewise.
3394         (EXCEPTIONS_OK): Likewise.
3395         (IGNORE_ZERO_INF_SIGN): Likewise.
3396         (TEST_NAN_SIGN): Likewise.
3397         (TEST_NAN_PAYLOAD): Likewise.
3398         (NO_TEST_INLINE): Likewise.
3399         (XFAIL_TEST): Likewise.
3400         (ERRNO_UNCHANGED): Likewise.
3401         (ERRNO_EDOM): Likewise.
3402         (ERRNO_ERANGE): Likewise.
3403         (IGNORE_RESULT): Likewise.
3404         (NON_FINITE): Likewise.
3405         (TEST_SNAN): Likewise.
3406         (NO_TEST_MATHVEC): Likewise.
3407         (__CONCATX): Likewise.
3408         (TYPE_MIN): Likewise.
3409         (TYPE_TRUE_MIN): Likewise.
3410         (TYPE_MAX): Likewise.
3411         (MIN_EXP): Likewise.
3412         (MAX_EXP): Likewise.
3413         (MANT_DIG): Likewise.
3414         (FSTR_MAX): Likewise.
3415         (ulp_idx): Likewise.
3416         (qtype_str): Remove static.
3417         (TEST_COND_binary32): Remove.
3418         (TEST_COND_binary64): Likewise.
3419         (TEST_COND_binary128): Likewise.
3420         (TEST_COND_ibm128): Likewise.
3421         (TEST_COND_intel96): Likewise.
3422         (TEST_COND_m68k96): Likewise.
3423         (TEST_COND_ibm128_libgcc): Likewise.
3424         (XFAIL_IBM128_LIBGCC): Likewise.
3425         (PAYLOAD_DIG): Likewise.
3426         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
3427         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
3428         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
3429         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
3430         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
3431         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
3432         (TEST_COND_long32): Likewise.
3433         (TEST_COND_long64): Likewise.
3434         (TEST_COND_before_rounding): Likewise.
3435         (TEST_COND_after_rounding): Likewise.
3436         (ulps_file_name): Likewise.
3437         (ulps_file): Likewise.
3438         (output_ulps): Likewise.
3439         (output_dir): Likewise.
3440         (noErrors): Likewise.
3441         (noTests): Likewise.
3442         (noExcTests): Likewise.
3443         (noErrnoTests): Likewise.
3444         (verbose): Likewise.
3445         (output_max_error): Likewise.
3446         (output_points): Likewise.
3447         (ignore_max_ulp): Likewise.
3448         (max_error): Likewise.
3449         (real_max_error): Likewise.
3450         (imag_max_error): Likewise.
3451         (prev_max_error): Likewise.
3452         (prev_real_max_error): Likewise.
3453         (prev_imag_max_error): Likewise.
3454         (max_valid_error): Likewise.
3455         (TYPE_DECIMAL_DIG): Likewise.
3456         (TYPE_HEX_DIG): Likewise.
3457         (fmt_ftostr): Likewise.
3458         (compare_ulp_data): Likewise.
3459         (find_ulps): Likewise.
3460         (init_max_error): Likewise.
3461         (set_max_error): Likewise.
3462         (print_float): Likewise.
3463         (print_screen): Likewise.
3464         (print_screen_max_error): Likewise.
3465         (update_stats): Likewise.
3466         (print_function_ulps): Likewise.
3467         (print_complex_function_ulps): Likewise.
3468         (fpstack_test): Likewise.
3469         (print_max_error): Likewise.
3470         (print_complex_max_error): Likewise.
3471         (test_single_exception): Likewise.
3472         (test_exceptions): Likewise.
3473         (test_single_errno): Likewise.
3474         (test_errno): Likewise.
3475         (ULPDIFF): Likewise.
3476         (ulp): Likewise.
3477         (check_float_internal): Likewise.
3478         (check_float): Likewise.
3479         (check_complex): Likewise.
3480         (check_int): Likewise.
3481         (check_long): Likewise.
3482         (check_bool): Likewise.
3483         (check_longlong): Likewise.
3484         (check_intmax_t): Likewise.
3485         (check_uintmax_t): Likewise.
3486         (enable_test): Likewise.
3487         (matherr): Likewise.
3488         (initialize): Likewise.
3489         (options): Likewise.
3490         (doc): Remove static.
3491         (argp): Likewise.
3492         (parse_opt): Remove.
3493         (check_ulp): Likewise.
3494         (libm_test_init): Likewise.
3495         (libm_test_finish): Likewise.
3496         * math/Makefile (libm-test-support): New variable.
3497         (test-extras): Add libm-test-support files.
3498         (extra-test-objs): Likewise.
3499         (CFLAGS-libm-test-support-float.c): New variable.
3500         (CFLAGS-libm-test-support-double.c): Likewise.
3501         (CFLAGS-libm-test-support-ldouble.c): Likewise.
3502         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
3503         libm-test-support objects.
3505 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3507         * math/Makefile (libm-calls): Move w_exp...
3508         (libm-compat-calls-auto): Here.
3510         * math/w_expl.c: Add suffix "_compat" to filename.
3511         * sysdeps/ia64/fpu/w_expl.c: Likewise.
3512         * sysdeps/ia64/fpu/w_expf.c: Likewise.
3513         * sysdeps/ia64/fpu/w_exp.c: Likewise.
3514         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3515         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3516         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3517         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
3518         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3520         * math/w_expl_compat.c: New file, copied from above.
3521         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
3522         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
3523         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
3524         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
3525         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
3526         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
3527         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
3528         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
3530         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
3531         to filename.
3532         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
3534         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
3535         copied from above and adjusted for the new filenames.
3536         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
3538 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3540         * math/Makefile (libm-calls): Move w_lgammaF...
3541         (libm-compat-calls-auto): Here.
3543         * math/w_lgamma.c: Add suffix "_compat2" to filename.
3544         * math/w_lgammaf.c: Likewise.
3545         * math/w_lgammal.c: Likewise.
3547         * math/w_lgamma_compat2.c: New file, copied from above.
3548         * math/w_lgammaf_compat2.c: Likewise.
3549         * math/w_lgammal_compat2.c: Likewise.
3551 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3553         * math/Makefile (libm-calls): Move w_lgammaF_r...
3554         (libm-compat-calls-auto): Here.
3556         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
3557         * math/w_lgammaf_r.c: Likewise.
3558         * math/w_lgammal_r.c: Likewise.
3559         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
3560         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
3561         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
3563         * math/w_lgamma_r_compat.c: New file, copied from above.
3564         * math/w_lgammaf_r_compat.c: Likewise.
3565         * math/w_lgammal_r_compat.c: Likewise.
3566         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
3567         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
3568         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
3570         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
3571         to filename.
3572         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
3574         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
3575         copied from above and adjusted for the new filenames.
3576         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
3578 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
3580         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
3581         calculation in SYSCALL_ERROR_HANDLER().
3583 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
3585         * manual/contrib.texi: Fix typo.
3587 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3589         [BZ #21109]
3590         * elf/dl-tunable-types.h (tunable_callback_t): Accept
3591         tunable_val_t as argument.
3592         * elf/dl-tunables.c (__tunable_set_val): Add comment.
3593         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
3594         argument.
3595         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
3597 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
3599         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
3600         Add PTRACE_EVENT_STOP.
3601         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
3602         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3603         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3604         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3605         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
3606         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
3608 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
3610         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
3611         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
3612         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
3613         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
3614         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
3615         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
3616         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
3617         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
3618         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
3619         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
3621         [BZ #21112]
3622         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
3623         12 bits zero.
3624         (cp_l): Update for new value of cp_h.
3625         * math/auto-libm-test-in: Add another test of pow.
3626         * math/auto-libm-test-out-pow: Regenerated.
3628 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3630         * manual/contrib.texi: Fix typo.
3632 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3634         [BZ #15998]
3635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3636         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
3637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3639 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3641         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
3642         STRCHR as __strchr_power8.
3643         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
3644         strlen as __strlen_power8.
3646 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3648         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
3649         unaligned load for shorter strings.
3650         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3652 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3654         * math/libm-test-driver.c (flag_test_errno): New variable.
3655         (flag_test_exceptions): Likewise.
3656         (flag_test_finite): Likewise.
3657         (flag_test_inline): Likewise.
3658         (flag_test_mathvec): Likewise.
3659         (test_msg): Likewise.
3660         (ulp_idx): Likewise.
3661         (qtype_str): Likewise.
3662         (ULP_IDX): Remove macro.
3663         (QTYPE_STR): Likewise.
3664         (find_ulps): Use ulp_idx not ULP_IDX.
3665         (print_function_ulps): Use qtype_str, printed with %s, not
3666         QTYPE_STR, printed with concatentation to format string.
3667         (print_complex_function_ulps): Likewise.
3668         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
3669         (test_errno): Use flag_test_errno not TEST_ERRNO.
3670         (enable_test): Use flag_test_inline, flag_test_finite and
3671         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
3672         TEST_MATHVEC.
3673         (libm_test_init): New function.  Factored out of main.
3674         (libm_test_finish): Likewise.
3675         (main): Call libm_test_init and libm_test_finish and move most
3676         code to those functions.
3678         * math/libm-test-driver.c (STRX): New macro.
3679         (STR): Likewise.
3680         (STR_FLOAT): Likewise.
3681         (STR_VEC_LEN): Likewise.
3682         (TEST_MSG): Likewise.  Define here instead of expecting to be
3683         defined by including file.
3684         * math/test-double-finite.c (TEST_MSG): Remove macro.
3685         * math/test-double-vlen2.h (TEST_MSG): Likewise.
3686         * math/test-double-vlen4.h (TEST_MSG): Likewise.
3687         * math/test-double-vlen8.h (TEST_MSG): Likewise.
3688         * math/test-double.c (TEST_MSG): Likewise.
3689         * math/test-float-finite.c (TEST_MSG): Likewise.
3690         * math/test-float-vlen16.h (TEST_MSG): Likewise.
3691         * math/test-float-vlen4.h (TEST_MSG): Likewise.
3692         * math/test-float-vlen8.h (TEST_MSG): Likewise.
3693         * math/test-float.c (TEST_MSG): Likewise.
3694         * math/test-idouble.c (TEST_MSG): Likewise.
3695         * math/test-ifloat.c (TEST_MSG): Likewise.
3696         * math/test-ildouble.c (TEST_MSG): Likewise.
3697         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
3698         * math/test-ldouble.c (TEST_MSG): Likewise.
3700         * math/libm-test.inc: Move all tests of individual functions to
3701         libm-test-*.inc and #include libm-test-*.c files.
3702         (acos_test_data): Remove.
3703         (acos_test): Likewise.
3704         (acosh_test_data): Likewise.
3705         (acosh_test): Likewise.
3706         (asin_test_data): Likewise.
3707         (asin_test): Likewise.
3708         (asinh_test_data): Likewise.
3709         (asinh_test): Likewise.
3710         (atan_test_data): Likewise.
3711         (atan_test): Likewise.
3712         (atanh_test_data): Likewise.
3713         (atanh_test): Likewise.
3714         (atan2_test_data): Likewise.
3715         (atan2_test): Likewise.
3716         (cabs_test_data): Likewise.
3717         (cabs_test): Likewise.
3718         (cacos_test_data): Likewise.
3719         (cacos_test): Likewise.
3720         (cacosh_test_data): Likewise.
3721         (cacosh_test): Likewise.
3722         (canonicalize_test_data): Likewise.
3723         (canonicalize_test): Likewise.
3724         (carg_test_data): Likewise.
3725         (carg_test): Likewise.
3726         (casin_test_data): Likewise.
3727         (casin_test): Likewise.
3728         (casinh_test_data): Likewise.
3729         (casinh_test): Likewise.
3730         (catan_test_data): Likewise.
3731         (catan_test): Likewise.
3732         (catanh_test_data): Likewise.
3733         (catanh_test): Likewise.
3734         (cbrt_test_data): Likewise.
3735         (cbrt_test): Likewise.
3736         (ccos_test_data): Likewise.
3737         (ccos_test): Likewise.
3738         (ccosh_test_data): Likewise.
3739         (ccosh_test): Likewise.
3740         (ceil_test_data): Likewise.
3741         (ceil_test): Likewise.
3742         (cexp_test_data): Likewise.
3743         (cexp_test): Likewise.
3744         (cimag_test_data): Likewise.
3745         (cimag_test): Likewise.
3746         (clog_test_data): Likewise.
3747         (clog_test): Likewise.
3748         (clog10_test_data): Likewise.
3749         (clog10_test): Likewise.
3750         (conj_test_data): Likewise.
3751         (conj_test): Likewise.
3752         (copysign_test_data): Likewise.
3753         (copysign_test): Likewise.
3754         (cos_test_data): Likewise.
3755         (cos_test): Likewise.
3756         (cosh_test_data): Likewise.
3757         (cosh_test): Likewise.
3758         (cpow_test_data): Likewise.
3759         (cpow_test): Likewise.
3760         (cproj_test_data): Likewise.
3761         (cproj_test): Likewise.
3762         (creal_test_data): Likewise.
3763         (creal_test): Likewise.
3764         (csin_test_data): Likewise.
3765         (csin_test): Likewise.
3766         (csinh_test_data): Likewise.
3767         (csinh_test): Likewise.
3768         (csqrt_test_data): Likewise.
3769         (csqrt_test): Likewise.
3770         (ctan_test_data): Likewise.
3771         (ctan_test): Likewise.
3772         (ctanh_test_data): Likewise.
3773         (ctanh_test): Likewise.
3774         (erf_test_data): Likewise.
3775         (erf_test): Likewise.
3776         (erfc_test_data): Likewise.
3777         (erfc_test): Likewise.
3778         (exp_test_data): Likewise.
3779         (exp_test): Likewise.
3780         (exp10_test_data): Likewise.
3781         (exp10_test): Likewise.
3782         (pow10_test): Likewise.
3783         (exp2_test_data): Likewise.
3784         (exp2_test): Likewise.
3785         (expm1_test_data): Likewise.
3786         (expm1_test): Likewise.
3787         (fabs_test_data): Likewise.
3788         (fabs_test): Likewise.
3789         (fdim_test_data): Likewise.
3790         (fdim_test): Likewise.
3791         (floor_test_data): Likewise.
3792         (floor_test): Likewise.
3793         (fma_test_data): Likewise.
3794         (fma_test): Likewise.
3795         (fmax_test_data): Likewise.
3796         (fmax_test): Likewise.
3797         (fmaxmag_test_data): Likewise.
3798         (fmaxmag_test): Likewise.
3799         (fmin_test_data): Likewise.
3800         (fmin_test): Likewise.
3801         (fminmag_test_data): Likewise.
3802         (fminmag_test): Likewise.
3803         (fmod_test_data): Likewise.
3804         (fmod_test): Likewise.
3805         (fpclassify_test_data): Likewise.
3806         (fpclassify_test): Likewise.
3807         (frexp_test_data): Likewise.
3808         (frexp_test): Likewise.
3809         (fromfp_test_data): Likewise.
3810         (fromfp_test): Likewise.
3811         (fromfpx_test_data): Likewise.
3812         (fromfpx_test): Likewise.
3813         (getpayload_test_data): Likewise.
3814         (getpayload_test): Likewise.
3815         (hypot_test_data): Likewise.
3816         (hypot_test): Likewise.
3817         (ilogb_test_data): Likewise.
3818         (ilogb_test): Likewise.
3819         (iscanonical_test_data): Likewise.
3820         (iscanonical_test): Likewise.
3821         (iseqsig_test_data): Likewise.
3822         (iseqsig_test): Likewise.
3823         (isfinite_test_data): Likewise.
3824         (isfinite_test): Likewise.
3825         (finite_test): Likewise.
3826         (isgreater_test_data): Likewise.
3827         (isgreater_test): Likewise.
3828         (isgreaterequal_test_data): Likewise.
3829         (isgreaterequal_test): Likewise.
3830         (isinf_test_data): Likewise.
3831         (isinf_test): Likewise.
3832         (isless_test_data): Likewise.
3833         (isless_test): Likewise.
3834         (islessequal_test_data): Likewise.
3835         (islessequal_test): Likewise.
3836         (islessgreater_test_data): Likewise.
3837         (islessgreater_test): Likewise.
3838         (isnan_test_data): Likewise.
3839         (isnan_test): Likewise.
3840         (isnormal_test_data): Likewise.
3841         (isnormal_test): Likewise.
3842         (issignaling_test_data): Likewise.
3843         (issignaling_test): Likewise.
3844         (issubnormal_test_data): Likewise.
3845         (issubnormal_test): Likewise.
3846         (isunordered_test_data): Likewise.
3847         (isunordered_test): Likewise.
3848         (iszero_test_data): Likewise.
3849         (iszero_test): Likewise.
3850         (j0_test_data): Likewise.
3851         (j0_test): Likewise.
3852         (j1_test_data): Likewise.
3853         (j1_test): Likewise.
3854         (jn_test_data): Likewise.
3855         (jn_test): Likewise.
3856         (lgamma_test_data): Likewise.
3857         (lgamma_test): Likewise.
3858         (gamma_test): Likewise.
3859         (llogb_test_data): Likewise.
3860         (llogb_test): Likewise.
3861         (lrint_test_data): Likewise.
3862         (lrint_test): Likewise.
3863         (llrint_test_data): Likewise.
3864         (llrint_test): Likewise.
3865         (log_test_data): Likewise.
3866         (log_test): Likewise.
3867         (log10_test_data): Likewise.
3868         (log10_test): Likewise.
3869         (log1p_test_data): Likewise.
3870         (log1p_test): Likewise.
3871         (log2_test_data): Likewise.
3872         (log2_test): Likewise.
3873         (logb_test_data): Likewise.
3874         (logb_test): Likewise.
3875         (lround_test_data): Likewise.
3876         (lround_test): Likewise.
3877         (llround_test_data): Likewise.
3878         (llround_test): Likewise.
3879         (modf_test_data): Likewise.
3880         (modf_test): Likewise.
3881         (nearbyint_test_data): Likewise.
3882         (nearbyint_test): Likewise.
3883         (nextafter_test_data): Likewise.
3884         (nextafter_test): Likewise.
3885         (nextup_test_data): Likewise.
3886         (nextup_test): Likewise.
3887         (nextdown_test_data): Likewise.
3888         (nextdown_test): Likewise.
3889         (nexttoward_test_data): Likewise.
3890         (nexttoward_test): Likewise.
3891         (pow_test_data): Likewise.
3892         (pow_test): Likewise.
3893         (remainder_test_data): Likewise.
3894         (remainder_test): Likewise.
3895         (drem_test): Likewise.
3896         (remquo_test_data): Likewise.
3897         (remquo_test): Likewise.
3898         (rint_test_data): Likewise.
3899         (rint_test): Likewise.
3900         (round_test_data): Likewise.
3901         (round_test): Likewise.
3902         (roundeven_test_data): Likewise.
3903         (roundeven_test): Likewise.
3904         (scalb_test_data): Likewise.
3905         (scalb_test): Likewise.
3906         (scalbn_test_data): Likewise.
3907         (scalbn_test): Likewise.
3908         (ldexp_test): Likewise.
3909         (scalbln_test_data): Likewise.
3910         (scalbln_test): Likewise.
3911         (setpayload_test_data): Likewise.
3912         (setpayload_test): Likewise.
3913         (setpayloadsig_test_data): Likewise.
3914         (setpayloadsig_test): Likewise.
3915         (signbit_test_data): Likewise.
3916         (signbit_test): Likewise.
3917         (sin_test_data): Likewise.
3918         (sin_test): Likewise.
3919         (sincos_test_data): Likewise.
3920         (sincos_test): Likewise.
3921         (sinh_test_data): Likewise.
3922         (sinh_test): Likewise.
3923         (sqrt_test_data): Likewise.
3924         (sqrt_test): Likewise.
3925         (tan_test_data): Likewise.
3926         (tan_test): Likewise.
3927         (tanh_test_data): Likewise.
3928         (tanh_test): Likewise.
3929         (tgamma_test_data): Likewise.
3930         (tgamma_test): Likewise.
3931         (totalorder_test_data): Likewise.
3932         (totalorder_test): Likewise.
3933         (totalordermag_test_data): Likewise.
3934         (totalordermag_test): Likewise.
3935         (trunc_test_data): Likewise.
3936         (trunc_test): Likewise.
3937         (ufromfp_test_data): Likewise.
3938         (ufromfp_test): Likewise.
3939         (ufromfpx_test_data): Likewise.
3940         (ufromfpx_test): Likewise.
3941         (y0_test_data): Likewise.
3942         (y0_test): Likewise.
3943         (y1_test_data): Likewise.
3944         (y1_test): Likewise.
3945         (yn_test_data): Likewise.
3946         (yn_test): Likewise.
3947         (significand_test_data): Likewise.
3948         (significand_test): Likewise.
3949         * math/Makefile (auto-libm-test-out-files): Remove variable.
3950         (libm-test-funcs-noauto): New variable.
3951         (libm-test-funcs-all): Likewise.
3952         (libm-test-c-auto): Likewise.
3953         (libm-test-c-noauto): Likewise.
3954         (libm-tests-generated): Add $(libm-test-c-auto) and
3955         $(libm-test-c-noauto).
3956         (generated): Do not add auto-libm-test-out.
3957         (libm-test-c-auto-obj): New variable.
3958         (libm-test-c-noauto-obj): Likewise.
3959         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
3960         ($(libm-test-c-noauto-obj)): New static pattern rule.
3961         ($(libm-test-c-auto-obj)): Likewise.
3962         (libm-test-incs): New variable.
3963         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
3964         and pass it to gen-libm-have-vector-test.sh.
3965         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
3966         be passed on command line.
3967         * math/libm-test-acos.inc: New file.  Content from
3968         math/libm-test.inc.
3969         * math/libm-test-acosh.inc: Likewise.
3970         * math/libm-test-asin.inc: Likewise.
3971         * math/libm-test-asinh.inc: Likewise.
3972         * math/libm-test-atan.inc: Likewise.
3973         * math/libm-test-atan2.inc: Likewise.
3974         * math/libm-test-atanh.inc: Likewise.
3975         * math/libm-test-cabs.inc: Likewise.
3976         * math/libm-test-cacos.inc: Likewise.
3977         * math/libm-test-cacosh.inc: Likewise.
3978         * math/libm-test-canonicalize.inc: Likewise.
3979         * math/libm-test-carg.inc: Likewise.
3980         * math/libm-test-casin.inc: Likewise.
3981         * math/libm-test-casinh.inc: Likewise.
3982         * math/libm-test-catan.inc: Likewise.
3983         * math/libm-test-catanh.inc: Likewise.
3984         * math/libm-test-cbrt.inc: Likewise.
3985         * math/libm-test-ccos.inc: Likewise.
3986         * math/libm-test-ccosh.inc: Likewise.
3987         * math/libm-test-ceil.inc: Likewise.
3988         * math/libm-test-cexp.inc: Likewise.
3989         * math/libm-test-cimag.inc: Likewise.
3990         * math/libm-test-clog.inc: Likewise.
3991         * math/libm-test-clog10.inc: Likewise.
3992         * math/libm-test-conj.inc: Likewise.
3993         * math/libm-test-copysign.inc: Likewise.
3994         * math/libm-test-cos.inc: Likewise.
3995         * math/libm-test-cosh.inc: Likewise.
3996         * math/libm-test-cpow.inc: Likewise.
3997         * math/libm-test-cproj.inc: Likewise.
3998         * math/libm-test-creal.inc: Likewise.
3999         * math/libm-test-csin.inc: Likewise.
4000         * math/libm-test-csinh.inc: Likewise.
4001         * math/libm-test-csqrt.inc: Likewise.
4002         * math/libm-test-ctan.inc: Likewise.
4003         * math/libm-test-ctanh.inc: Likewise.
4004         * math/libm-test-erf.inc: Likewise.
4005         * math/libm-test-erfc.inc: Likewise.
4006         * math/libm-test-exp.inc: Likewise.
4007         * math/libm-test-exp10.inc: Likewise.
4008         * math/libm-test-exp2.inc: Likewise.
4009         * math/libm-test-expm1.inc: Likewise.
4010         * math/libm-test-fabs.inc: Likewise.
4011         * math/libm-test-fdim.inc: Likewise.
4012         * math/libm-test-floor.inc: Likewise.
4013         * math/libm-test-fma.inc: Likewise.
4014         * math/libm-test-fmax.inc: Likewise.
4015         * math/libm-test-fmaxmag.inc: Likewise.
4016         * math/libm-test-fmin.inc: Likewise.
4017         * math/libm-test-fminmag.inc: Likewise.
4018         * math/libm-test-fmod.inc: Likewise.
4019         * math/libm-test-fpclassify.inc: Likewise.
4020         * math/libm-test-frexp.inc: Likewise.
4021         * math/libm-test-fromfp.inc: Likewise.
4022         * math/libm-test-fromfpx.inc: Likewise.
4023         * math/libm-test-getpayload.inc: Likewise.
4024         * math/libm-test-hypot.inc: Likewise.
4025         * math/libm-test-ilogb.inc: Likewise.
4026         * math/libm-test-iscanonical.inc: Likewise.
4027         * math/libm-test-iseqsig.inc: Likewise.
4028         * math/libm-test-isfinite.inc: Likewise.
4029         * math/libm-test-isgreater.inc: Likewise.
4030         * math/libm-test-isgreaterequal.inc: Likewise.
4031         * math/libm-test-isinf.inc: Likewise.
4032         * math/libm-test-isless.inc: Likewise.
4033         * math/libm-test-islessequal.inc: Likewise.
4034         * math/libm-test-islessgreater.inc: Likewise.
4035         * math/libm-test-isnan.inc: Likewise.
4036         * math/libm-test-isnormal.inc: Likewise.
4037         * math/libm-test-issignaling.inc: Likewise.
4038         * math/libm-test-issubnormal.inc: Likewise.
4039         * math/libm-test-isunordered.inc: Likewise.
4040         * math/libm-test-iszero.inc: Likewise.
4041         * math/libm-test-j0.inc: Likewise.
4042         * math/libm-test-j1.inc: Likewise.
4043         * math/libm-test-jn.inc: Likewise.
4044         * math/libm-test-lgamma.inc: Likewise.
4045         * math/libm-test-llogb.inc: Likewise.
4046         * math/libm-test-llrint.inc: Likewise.
4047         * math/libm-test-llround.inc: Likewise.
4048         * math/libm-test-log.inc: Likewise.
4049         * math/libm-test-log10.inc: Likewise.
4050         * math/libm-test-log1p.inc: Likewise.
4051         * math/libm-test-log2.inc: Likewise.
4052         * math/libm-test-logb.inc: Likewise.
4053         * math/libm-test-lrint.inc: Likewise.
4054         * math/libm-test-lround.inc: Likewise.
4055         * math/libm-test-modf.inc: Likewise.
4056         * math/libm-test-nearbyint.inc: Likewise.
4057         * math/libm-test-nextafter.inc: Likewise.
4058         * math/libm-test-nextdown.inc: Likewise.
4059         * math/libm-test-nexttoward.inc: Likewise.
4060         * math/libm-test-nextup.inc: Likewise.
4061         * math/libm-test-pow.inc: Likewise.
4062         * math/libm-test-remainder.inc: Likewise.
4063         * math/libm-test-remquo.inc: Likewise.
4064         * math/libm-test-rint.inc: Likewise.
4065         * math/libm-test-round.inc: Likewise.
4066         * math/libm-test-roundeven.inc: Likewise.
4067         * math/libm-test-scalb.inc: Likewise.
4068         * math/libm-test-scalbln.inc: Likewise.
4069         * math/libm-test-scalbn.inc: Likewise.
4070         * math/libm-test-setpayload.inc: Likewise.
4071         * math/libm-test-setpayloadsig.inc: Likewise.
4072         * math/libm-test-signbit.inc: Likewise.
4073         * math/libm-test-significand.inc: Likewise.
4074         * math/libm-test-sin.inc: Likewise.
4075         * math/libm-test-sincos.inc: Likewise.
4076         * math/libm-test-sinh.inc: Likewise.
4077         * math/libm-test-sqrt.inc: Likewise.
4078         * math/libm-test-tan.inc: Likewise.
4079         * math/libm-test-tanh.inc: Likewise.
4080         * math/libm-test-tgamma.inc: Likewise.
4081         * math/libm-test-totalorder.inc: Likewise.
4082         * math/libm-test-totalordermag.inc: Likewise.
4083         * math/libm-test-trunc.inc: Likewise.
4084         * math/libm-test-ufromfp.inc: Likewise.
4085         * math/libm-test-ufromfpx.inc: Likewise.
4086         * math/libm-test-y0.inc: Likewise.
4087         * math/libm-test-y1.inc: Likewise.
4088         * math/libm-test-yn.inc: Likewise.
4089         * math/README.libm-test: Update.
4091         * math/gen-auto-libm-tests.c: Update comment about use of program.
4092         (generate_output): Add argument FUNCTION.
4093         (main): Require extra argument.  Pass function name to
4094         generate_output.
4095         * math/Makefile (generated): Add auto-libm-test-out.
4096         (libm-test-funcs-auto): New variable.
4097         (auto-libm-test-out-files): New variable.
4098         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
4099         Concatenate those files to form $(objpfx)auto-libm-test-out and
4100         use it as input to gen-libm-test.pl.
4101         * math/README.libm-test: Update.
4102         * math/auto-libm-test-out: Remove.
4103         * math/auto-libm-test-out-acos: New generated file.
4104         * math/auto-libm-test-out-acosh: Likewise.
4105         * math/auto-libm-test-out-asin: Likewise.
4106         * math/auto-libm-test-out-asinh: Likewise.
4107         * math/auto-libm-test-out-atan: Likewise.
4108         * math/auto-libm-test-out-atan2: Likewise.
4109         * math/auto-libm-test-out-atanh: Likewise.
4110         * math/auto-libm-test-out-cabs: Likewise.
4111         * math/auto-libm-test-out-carg: Likewise.
4112         * math/auto-libm-test-out-cbrt: Likewise.
4113         * math/auto-libm-test-out-ccos: Likewise.
4114         * math/auto-libm-test-out-ccosh: Likewise.
4115         * math/auto-libm-test-out-cexp: Likewise.
4116         * math/auto-libm-test-out-clog: Likewise.
4117         * math/auto-libm-test-out-clog10: Likewise.
4118         * math/auto-libm-test-out-cos: Likewise.
4119         * math/auto-libm-test-out-cosh: Likewise.
4120         * math/auto-libm-test-out-cpow: Likewise.
4121         * math/auto-libm-test-out-csin: Likewise.
4122         * math/auto-libm-test-out-csinh: Likewise.
4123         * math/auto-libm-test-out-csqrt: Likewise.
4124         * math/auto-libm-test-out-ctan: Likewise.
4125         * math/auto-libm-test-out-ctanh: Likewise.
4126         * math/auto-libm-test-out-erf: Likewise.
4127         * math/auto-libm-test-out-erfc: Likewise.
4128         * math/auto-libm-test-out-exp: Likewise.
4129         * math/auto-libm-test-out-exp10: Likewise.
4130         * math/auto-libm-test-out-exp2: Likewise.
4131         * math/auto-libm-test-out-expm1: Likewise.
4132         * math/auto-libm-test-out-fma: Likewise.
4133         * math/auto-libm-test-out-hypot: Likewise.
4134         * math/auto-libm-test-out-j0: Likewise.
4135         * math/auto-libm-test-out-j1: Likewise.
4136         * math/auto-libm-test-out-jn: Likewise.
4137         * math/auto-libm-test-out-lgamma: Likewise.
4138         * math/auto-libm-test-out-log: Likewise.
4139         * math/auto-libm-test-out-log10: Likewise.
4140         * math/auto-libm-test-out-log1p: Likewise.
4141         * math/auto-libm-test-out-log2: Likewise.
4142         * math/auto-libm-test-out-pow: Likewise.
4143         * math/auto-libm-test-out-sin: Likewise.
4144         * math/auto-libm-test-out-sincos: Likewise.
4145         * math/auto-libm-test-out-sinh: Likewise.
4146         * math/auto-libm-test-out-sqrt: Likewise.
4147         * math/auto-libm-test-out-tan: Likewise.
4148         * math/auto-libm-test-out-tanh: Likewise.
4149         * math/auto-libm-test-out-tgamma: Likewise.
4150         * math/auto-libm-test-out-y0: Likewise.
4151         * math/auto-libm-test-out-y1: Likewise.
4152         * math/auto-libm-test-out-yn: Likewise.
4154         * math/Makefile (generated): Do not include libm-test.stmp.
4155         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
4156         on $(objpfx)libm-test.stmp.
4157         ($(objpfx)libm-test.stmp): Remove rule.
4158         ($(objpfx)libm-test-ulps.h): New rule.
4159         ($(objpfx)libm-test.c): Likewise.
4160         ($(objpfx)libm-have-vector-test.h): Likewise.
4161         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
4162         individual generated files, not libm-test.stmp.
4164         * math/gen-libm-test.pl ($output_dir): Remove variable.
4165         ($srcdir): Likewise.
4166         ($opt_a): New variable.
4167         ($opt_c): Likewise.
4168         ($opt_C): Likewise.
4169         ($opt_H): Likewise.
4170         (-n): Make option take argument and use it as NewUlps output.
4171         (-a): New option.  Use its argument for auto-libm-test-out input.
4172         (-c): New option.  Use its argument for libm-test.inc input.
4173         (-C): New option.  Use its argument for libm-test.c output.
4174         (-H): New option.  Use its argument for libm-test-ulps.h output.
4175         (top level): Only process inputs needed to generate outputs
4176         specified by command-line options.  Only generate outputs
4177         specified by command-line options.
4178         * math/README.libm-test: Update example gen-libm-test.pl command.
4179         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
4180         commands.
4181         (regen-ulps): Likewise.
4183 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
4185         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
4186         * include/string.h (index): Remove define.
4187         (rindex): Likewise.
4188         * misc/getttyent.c (__getttyent): Rename index to strchr.
4189         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
4190         * sunrpc/rpc_main.c (mkfile_output): Likewise.
4192 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4194         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
4195         * math/libm-test.inc: Move all contents, other than tests of
4196         individual functions, to libm-test-driver.c.
4197         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
4198         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
4199         [!FE_UPWARD] (FE_UPWARD): Likewise.
4200         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
4201         (NO_EXCEPTION): Likewise.
4202         (INVALID_EXCEPTION): Likewise.
4203         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
4204         (OVERFLOW_EXCEPTION): Likewise.
4205         (UNDERFLOW_EXCEPTION): Likewise.
4206         (INEXACT_EXCEPTION): Likewise.
4207         (INVALID_EXCEPTION_OK): Likewise.
4208         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
4209         (OVERFLOW_EXCEPTION_OK): Likewise.
4210         (UNDERFLOW_EXCEPTION_OK): Likewise.
4211         (NO_INEXACT_EXCEPTION): Likewise.
4212         (EXCEPTIONS_OK): Likewise.
4213         (IGNORE_ZERO_INF_SIGN): Likewise.
4214         (TEST_NAN_SIGN): Likewise.
4215         (TEST_NAN_PAYLOAD): Likewise.
4216         (NO_TEST_INLINE): Likewise.
4217         (XFAIL_TEST): Likewise.
4218         (ERRNO_UNCHANGED): Likewise.
4219         (ERRNO_EDOM): Likewise.
4220         (ERRNO_ERANGE): Likewise.
4221         (IGNORE_RESULT): Likewise.
4222         (NON_FINITE): Likewise.
4223         (TEST_SNAN): Likewise.
4224         (NO_TEST_MATHVEC): Likewise.
4225         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
4226         (__CONCATX): Likewise.
4227         (TYPE_MIN): Likewise.
4228         (TYPE_TRUE_MIN): Likewise.
4229         (TYPE_MAX): Likewise.
4230         (MIN_EXP): Likewise.
4231         (MAX_EXP): Likewise.
4232         (MANT_DIG): Likewise.
4233         (FSTR_MAX): Likewise.
4234         (ULP_IDX): Likewise.
4235         (QTYPE_STR): Likewise.
4236         (TEST_COND_binary32): Likewise.
4237         (TEST_COND_binary64): Likewise.
4238         (TEST_COND_binary128): Likewise.
4239         (TEST_COND_ibm128): Likewise.
4240         (TEST_COND_intel96): Likewise.
4241         (TEST_COND_m68k96): Likewise.
4242         (TEST_COND_ibm128_libgcc): Likewise.
4243         (XFAIL_IBM128_LIBGCC): Likewise.
4244         (PAYLOAD_DIG): Likewise.
4245         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
4246         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
4247         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
4248         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
4249         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
4250         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
4251         (TEST_COND_long32): Likewise.
4252         (TEST_COND_long64): Likewise.
4253         (TEST_COND_before_rounding): Likewise.
4254         (TEST_COND_after_rounding): Likewise.
4255         (lit_pi_3_m_4_d): Likewise.
4256         (lit_pi_3_m_4_ln10_m_d): Likewise.
4257         (lit_pi_2_ln10_m_d): Likewise.
4258         (lit_pi_4_ln10_m_d): Likewise.
4259         (lit_pi_ln10_d): Likewise.
4260         (lit_pi_2_d): Likewise.
4261         (lit_pi_4_d): Likewise.
4262         (lit_pi): Likewise.
4263         (lit_e): Likewise.
4264         (ulps_file_name): Likewise.
4265         (ulps_file): Likewise.
4266         (output_ulps): Likewise.
4267         (output_dir): Likewise.
4268         (noErrors): Likewise.
4269         (noTests): Likewise.
4270         (noExcTests): Likewise.
4271         (noErrnoTests): Likewise.
4272         (verbose): Likewise.
4273         (output_max_error): Likewise.
4274         (output_points): Likewise.
4275         (ignore_max_ulp): Likewise.
4276         (plus_zero): Likewise.
4277         (minus_zero): Likewise.
4278         (plus_infty): Likewise.
4279         (minus_infty): Likewise.
4280         (qnan_value_pl): Likewise.
4281         (qnan_value): Likewise.
4282         (snan_value_pl): Likewise.
4283         (snan_value): Likewise.
4284         (max_value): Likewise.
4285         (min_value): Likewise.
4286         (min_subnorm_value): Likewise.
4287         (snan_value_ld): Likewise.
4288         (max_error): Likewise.
4289         (real_max_error): Likewise.
4290         (imag_max_error): Likewise.
4291         (prev_max_error): Likewise.
4292         (prev_real_max_error): Likewise.
4293         (prev_imag_max_error): Likewise.
4294         (max_valid_error): Likewise.
4295         (TYPE_DECIMAL_DIG): Likewise.
4296         (TYPE_HEX_DIG): Likewise.
4297         (fmt_ftostr): Likewise.
4298         (compare_ulp_data): Likewise.
4299         (find_ulps): Likewise.
4300         (init_max_error): Likewise.
4301         (set_max_error): Likewise.
4302         (print_float): Likewise.
4303         (print_screen): Likewise.
4304         (print_screen_max_error): Likewise.
4305         (update_stats): Likewise.
4306         (print_function_ulps): Likewise.
4307         (print_complex_function_ulps): Likewise.
4308         (fpstack_test): Likewise.
4309         (print_max_error): Likewise.
4310         (print_complex_max_error): Likewise.
4311         (test_single_exception): Likewise.
4312         (test_exceptions): Likewise.
4313         (test_single_errno): Likewise.
4314         (test_errno): Likewise.
4315         (ULPDIFF): Likewise.
4316         (ulp): Likewise.
4317         (check_float_internal): Likewise.
4318         (check_float): Likewise.
4319         (check_complex): Likewise.
4320         (check_int): Likewise.
4321         (check_long): Likewise.
4322         (check_bool): Likewise.
4323         (check_longlong): Likewise.
4324         (check_intmax_t): Likewise.
4325         (check_uintmax_t): Likewise.
4326         (enable_test): Likewise.
4327         (struct test_f_f_data): Likewise.
4328         (struct test_ff_f_data): Likewise.
4329         (struct test_fj_f_data): Likewise.
4330         (struct test_fi_f_data): Likewise.
4331         (struct test_fl_f_data): Likewise.
4332         (struct test_if_f_data): Likewise.
4333         (struct test_fff_f_data): Likewise.
4334         (struct test_fiu_M_data): Likewise.
4335         (struct test_fiu_U_data): Likewise.
4336         (struct test_c_f_data): Likewise.
4337         (struct test_f_f1_data): Likewise.
4338         (struct test_fF_f1_data): Likewise.
4339         (struct test_ffI_f1_data): Likewise.
4340         (struct test_c_c_data): Likewise.
4341         (struct test_cc_c_data): Likewise.
4342         (struct test_f_i_data): Likewise.
4343         (struct test_ff_i_data): Likewise.
4344         (struct test_f_l_data): Likewise.
4345         (struct test_f_L_data): Likewise.
4346         (struct test_fFF_11_data): Likewise.
4347         (struct test_Ff_b1_data): Likewise.
4348         (IF_ROUND_INIT_): Likewise.
4349         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
4350         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4351         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4352         (IF_ROUND_INIT_FE_UPWARD): Likewise.
4353         (ROUND_RESTORE_): Likewise.
4354         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
4355         (ROUND_RESTORE_FE_TONEAREST): Likewise.
4356         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
4357         (ROUND_RESTORE_FE_UPWARD): Likewise.
4358         (RM_): Likewise.
4359         (RM_FE_DOWNWARD): Likewise.
4360         (RM_FE_TONEAREST): Likewise.
4361         (RM_FE_TOWARDZERO): Likewise.
4362         (RM_FE_UPWARD): Likewise.
4363         (COMMON_TEST_SETUP): Likewise.
4364         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4365         (COMMON_TEST_CLEANUP): Likewise.
4366         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4367         (RUN_TEST_f_f): Likewise.
4368         (RUN_TEST_LOOP_f_f): Likewise.
4369         (RUN_TEST_fp_f): Likewise.
4370         (RUN_TEST_LOOP_fp_f): Likewise.
4371         (RUN_TEST_2_f): Likewise.
4372         (RUN_TEST_LOOP_2_f): Likewise.
4373         (RUN_TEST_ff_f): Likewise.
4374         (RUN_TEST_LOOP_ff_f): Likewise.
4375         (RUN_TEST_LOOP_fj_f): Likewise.
4376         (RUN_TEST_fi_f): Likewise.
4377         (RUN_TEST_LOOP_fi_f): Likewise.
4378         (RUN_TEST_fl_f): Likewise.
4379         (RUN_TEST_LOOP_fl_f): Likewise.
4380         (RUN_TEST_if_f): Likewise.
4381         (RUN_TEST_LOOP_if_f): Likewise.
4382         (RUN_TEST_fff_f): Likewise.
4383         (RUN_TEST_LOOP_fff_f): Likewise.
4384         (RUN_TEST_fiu_M): Likewise.
4385         (RUN_TEST_LOOP_fiu_M): Likewise.
4386         (RUN_TEST_fiu_U): Likewise.
4387         (RUN_TEST_LOOP_fiu_U): Likewise.
4388         (RUN_TEST_c_f): Likewise.
4389         (RUN_TEST_LOOP_c_f): Likewise.
4390         (RUN_TEST_f_f1): Likewise.
4391         (RUN_TEST_LOOP_f_f1): Likewise.
4392         (RUN_TEST_fF_f1): Likewise.
4393         (RUN_TEST_LOOP_fF_f1): Likewise.
4394         (RUN_TEST_fI_f1): Likewise.
4395         (RUN_TEST_LOOP_fI_f1): Likewise.
4396         (RUN_TEST_ffI_f1_mod8): Likewise.
4397         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
4398         (RUN_TEST_Ff_b1): Likewise.
4399         (RUN_TEST_LOOP_Ff_b1): Likewise.
4400         (RUN_TEST_Ffp_b1): Likewise.
4401         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4402         (RUN_TEST_c_c): Likewise.
4403         (RUN_TEST_LOOP_c_c): Likewise.
4404         (RUN_TEST_cc_c): Likewise.
4405         (RUN_TEST_LOOP_cc_c): Likewise.
4406         (RUN_TEST_f_i): Likewise.
4407         (RUN_TEST_LOOP_f_i): Likewise.
4408         (RUN_TEST_f_i_tg): Likewise.
4409         (RUN_TEST_LOOP_f_i_tg): Likewise.
4410         (RUN_TEST_ff_b): Likewise.
4411         (RUN_TEST_LOOP_ff_b): Likewise.
4412         (RUN_TEST_ff_i_tg): Likewise.
4413         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4414         (RUN_TEST_f_b): Likewise.
4415         (RUN_TEST_LOOP_f_b): Likewise.
4416         (RUN_TEST_f_b_tg): Likewise.
4417         (RUN_TEST_LOOP_f_b_tg): Likewise.
4418         (RUN_TEST_f_l): Likewise.
4419         (RUN_TEST_LOOP_f_l): Likewise.
4420         (RUN_TEST_f_L): Likewise.
4421         (RUN_TEST_LOOP_f_L): Likewise.
4422         (RUN_TEST_fFF_11): Likewise.
4423         (RUN_TEST_LOOP_fFF_11): Likewise.
4424         (VEC_SUFF): Likewise.
4425         (STR_CONCAT): Likewise.
4426         (STR_CON3): Likewise.
4427         (HAVE_VECTOR): Likewise.
4428         (START): Likewise.
4429         (END): Likewise.
4430         (END_COMPLEX): Likewise.
4431         (ALL_RM_TEST): Likewise.
4432         (matherr): Likewise.
4433         (initialize): Likewise.
4434         (options): Likewise.
4435         (doc): Likewise.
4436         (parse_opt): Likewise.
4437         (argp): Likewise.
4438         (check_ulp): Likewise.
4439         (main): Likewise.
4440         (do_test): New function.  Call tests of individual functions
4441         previously called from main.
4443         * math/libm-test.inc: Remove comment listing functions tested and
4444         not tested.
4446 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4448         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
4449         (allocate_stack): Remove COLORING_INCREMENT usage.
4450         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
4451         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
4453 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
4455         * manual/libm-err-tab.pl (@all_functions): Change to
4456         %all_functions.  Initialize as empty.
4457         (parse_ulps): Add to %all_functions based on functions found in
4458         ulps files.  Ignore results for non-default rounding modes and
4459         vector functions.
4460         (print_platforms): Use %all_platforms.
4461         * manual/math.texi (Errors in Math Functions): Document omissions
4462         from the table.
4464         * math/Makefile (before-compile): Remove.
4466 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
4468         [BZ #21075]
4469         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
4470         unused assignment.
4471         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4473 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4475         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
4476         Add __glibc_unlikely hint.
4478 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4480         [BZ #16640]
4481         * sysdeps/i386/i686/strtok.S: Remove file.
4482         * sysdeps/i386/i686/strtok_r.S: Likewise.
4483         * sysdeps/i386/strtok.S: Likewise.
4484         * sysdeps/i386/strtok_r.S: Likewise.
4485         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
4486         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
4487         * sysdeps/x86_64/strtok.S: Likewise.
4488         * sysdeps/x86_64/strtok_r.S: Likewise.
4490         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
4491         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
4492         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4493         (__ASSUME_FADVISE64_AS_64_64): Define.
4494         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
4495         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
4496         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
4497         __ALIGNMENT_ARG usage.
4498         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
4499         __NR_fadvise64_64 if it is not defined.
4501 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4503         * version.h (RELEASE): Set to "development"
4504         (VERSION): Set to 2.25.90.
4505         * NEWS: Add 2.26 section.
4507         * version.h (RELEASE): Set to "stable"
4508         (VERSION): Set to 2.25.
4509         * include/features.h (__GLIBC_MINOR__): Set to 25.
4511         * manual/contrib.texi: Add more contributors from this release
4512         and past releases.
4514         * NEWS (2.25): Add list of bugs fixed.
4516         * NEWS: Add missing news items.
4518 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4520         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4521         parent if child exited in that manner.  Print WEXITSTATUS
4522         instead of the raw status.
4523         (do_test_prep): Rename to do_test.
4524         (do_test): Return the result of run_executable_sgid.
4525         (TEST_FUNCTION_ARGV): Adjust.
4527 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
4528             Florian Weimer  <fweimer@redhat.com>
4529             Carlos O'Donell  <carlos@redhat.com>
4531         [BZ #20915]
4532         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
4533         Do not initialize DTV.
4534         * nptl/allocatestack.c (init_one_static_tls): Likewise.
4536 2017-02-03  David S. Miller  <davem@davemloft.net>
4538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
4539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4540         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
4541         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4542         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
4543         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4544         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
4545         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4546         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
4547         (libm-sysdep_routines): Update.
4548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
4549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
4550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
4551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
4552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
4553         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
4554         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
4555         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
4556         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
4557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
4558         Likewise.
4559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
4561         Likewise.
4562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
4564         Likewise.
4565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
4567         Likewise.
4568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4570         (libm-sysdep_routines): Update.
4572 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
4574         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
4575         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
4576         against unrelocated shared library.
4577         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4579 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4581         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
4582         * elf/tst-env-setuid-tunables.c
4583         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
4584         GLIBC_TUNABLES is removed in a setgid process.
4586         [BZ #21073]
4587         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
4588         * elf/dl-tunables.c (tunables_strdup): Remove.
4589         (get_next_env): Also return the previous envp.
4590         (parse_tunables): Erase tunables of category
4591         TUNABLES_SECLEVEL_SXID_ERASE.
4592         (maybe_enable_malloc_check): Make MALLOC_CHECK_
4593         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
4594         (__tunables_init)[TUNABLES_FRONTEND ==
4595         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
4596         after parsing.
4597         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
4598         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
4599         * elf/dl-tunables.h (struct _tunable): Change member is_secure
4600         to security_level.
4601         * elf/dl-tunables.list: Add security_level annotations for all
4602         tunables.
4603         * scripts/gen-tunables.awk: Recognize and generate enum values
4604         for security_level.
4605         * elf/tst-env-setuid.c: New test case.
4606         * elf/tst-env-setuid-tunables: new test case.
4607         * elf/Makefile (tests-static): Add them.
4609 2017-02-01  Richard Henderson  <rth@twiddle.net>
4611         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
4612         adjusting the byte count.
4614 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
4616         * conform/Makefile (linknamespace-libs): Define.
4618         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
4619         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
4620         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
4621         operands.
4623 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
4625         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
4627 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4629         [BZ #21081]
4630         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
4631         (L(stosb)): Add VZEROUPPER before ret.
4633 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
4634             Alexey Makhalov <amakhalov@vmware.com>
4635             Florian Weimer <fweimer@redhat.com>
4637         [BZ #20116]
4638         * nptl/pthread_create.c: Document concurrency notes.
4639         Enhance thread creation notes.
4640         (create_thread): Use bool *stopped_start.
4641         (START_THREAD_DEFN): Comment ownership of PD.
4642         (__pthread_create_2_1): Add local bool stopped_start and use
4643         that instead of pd->stopped_start where appropriate.
4644         * nptl/createthread.c (create_thread): Use bool *stopped_start.
4645         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
4646         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
4647         * nptl/tst-create-detached.c: New file.
4648         * nptl/Makefile (tests): Add tst-create-detached.
4649         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4650         Reference the enhanced thread creation notes.
4651         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
4652         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
4653         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
4654         (__pthread_current_priority): Likewise.
4655         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
4656         xpthread_attr_init, xpthread_attr_setdetachstate, and
4657         xpthread_attr_setstacksize.
4658         * support/xpthread_attr_destroy.c: New file.
4659         * support/xpthread_attr_init.c: New file.
4660         * support/xpthread_attr_setdetachstate.c: New file.
4661         * support/xpthread_attr_setstacksize.c: New file.
4662         * support/xthread.h: Define prototypes for xpthread_attr_destroy
4663         xpthread_attr_init, xpthread_attr_setdetachstate, and
4664         xpthread_attr_setstacksize.
4666 2017-01-27  Florian Weimer  <fweimer@redhat.com>
4668         * nptl/Makefile (tests): Add tst-robust-fork.
4669         * nptl/tst-robust-fork.c: New file.
4670         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
4671         xpthread_mutex_consistent, xpthread_mutex_destroy,
4672         xpthread_mutex_init, xpthread_mutexattr_destroy,
4673         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
4674         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
4675         xpthread_mutexattr_settype.
4676         * support/xmmap.c: New file.
4677         * support/xmunmap.c: Likewise.
4678         * support/xpthread_mutex_consistent.c: Likewise.
4679         * support/xpthread_mutex_destroy.c: Likewise.
4680         * support/xpthread_mutex_init.c: Likewise.
4681         * support/xpthread_mutexattr_destroy.c: Likewise.
4682         * support/xpthread_mutexattr_init.c: Likewise.
4683         * support/xpthread_mutexattr_setprotocol.c: Likewise.
4684         * support/xpthread_mutexattr_setpshared.c: Likewise.
4685         * support/xpthread_mutexattr_setrobust.c: Likewise.
4686         * support/xpthread_mutexattr_settype.c: Likewise.
4687         * support/xthread.h (xpthread_mutexattr_destroy)
4688         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
4689         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
4690         (xpthread_mutexattr_settype, xpthread_mutex_init)
4691         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
4692         * support/xunistd.h (xmmap, xmunmap): Likewise.
4694 2017-01-25  Florian Weimer  <fweimer@redhat.com>
4696         * string/Makefile (xtests): Add comment.
4697         (LOCALES): Add en_GB.UTF-8.
4698         (tst-strcoll-overflow.out): Depend on generated locales.
4699         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
4700         (SIZE, TIMEOUT): Update comments.
4701         (do_test): Define as static.  Fail test if setlocale fails.
4702         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
4703         messages.
4704         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
4705         TIMEOUT at 300 seconds should be enough to run this test
4706         successfully.
4708 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
4710         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
4711         /* FALLTHRU */ comments.
4713 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
4715         [BZ #21053]
4716         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
4717         constants instead of the old R* ones.
4718         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
4719         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
4720         (NGREG): ... to this, to fit in with other architectures.
4721         (gpregset_t): Use new NGREG macro.
4722         [__USE_GNU]: Remove condition; all architectures other than tile
4723         are unconditional.
4724         (R*): Rename to REG_R*.
4726 2017-01-20  DJ Delorie  <dj@redhat.com>
4728         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
4729         (tunable_set_val_if_valid_range_signed) ... this, and ...
4730         (tunable_set_val_if_valid_range_unsigned) ... this.
4731         (tunable_initialize): Call the correct one of the above based on type.
4733 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
4735         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
4736         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4737         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4738         * sysdeps/microblaze/libm-test-ulps: Likewise.
4739         * sysdeps/sh/libm-test-ulps: Likewise.
4741         * math/README.libm-test: Update list of characters for input and
4742         output types.
4744 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4746         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
4747         (__lll_unlock_elision): Fix adapt_count decrement.
4749 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
4751         * README.pretty-printers (Known issues): Warn about printers not
4752         always covering everything.
4753         * nptl/nptl-printers.py (MutexPrinter): Change output.
4754         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
4756 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4758         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
4759         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4760         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
4761         (__lll_lock_elision): Do not test futex before starting a
4762         transaction.  Use __glibc_likely instead of __builtin_expect.
4763         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
4764         (__lll_trylock_elision): Do not test futex before starting a
4765         transaction.  Use __glibc_likely instead of __builtin_expect.
4767 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4769         * po/Makefile (update-translations): New target.
4771 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4773         [BZ #21061]
4774         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
4776 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4778         * elf/dl-tunables (get_next_env): Always advance envp.
4779         * stdlib/tst-empty-env.c: New test case.
4780         * stdlib/Makefile (tests): Use it.
4782 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
4784         [BZ #21047]
4785         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
4786         name for instruction.
4787         [!__SOFTFP__] (_FPU_SETCW): Likewise.
4789 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4791         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
4792         for make install.
4794 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4796         * po/bg.po: Merge from Translation Project.
4797         * po/fr.po: Likewise.
4798         * po/ko.po: Likewise.
4799         * po/nl.po: Likewise.
4800         * po/sv.po: Likewise.
4802 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
4804         * manual/install.texi (Tools for Compilation): Update GCC version
4805         known to work to build glibc.
4806         * INSTALL: Regenerated.
4808 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4810         [BZ #21006]
4811         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
4813 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
4815         [BZ #21045]
4816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
4817         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
4818         to __sigprocmask.
4820 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
4822         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
4823         wrap-around.
4824         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
4826         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
4828 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4830         * NEWS: Fix typo.
4832 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4834         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
4835         barriers and comments.
4836         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
4837         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4838         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4840 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4842         [BZ #19402]
4843         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
4844         mutexes.
4846 2016-01-13  Torvald Riegel  <triegel@redhat.com>
4848         [BZ #20985]
4849         * nptl/Makefile: Adapt.
4850         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4851         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4852         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
4853         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
4854         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
4855         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
4856         lll_robust* functions and adapt.
4857         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4858         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
4859         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4860         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4861         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
4862         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4863         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
4864         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
4865         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
4866         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
4867         __lll_robust_timedlock, __lll_robust_unlock): Remove.
4868         * nptl/lowlevelrobustlock.c: Remove file.
4869         * nptl/lowlevelrobustlock.sym: Likewise.
4870         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
4871         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
4873 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4875         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4877 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4879         * po/cs.po: Merge translations from the Translation Project.
4880         * po/de.po: Likewise.
4881         * po/pl.po: Likewise.
4882         * po/ru.po: Likewise.
4883         * po/tr.po: Likewise.
4884         * po/uk.po: Likewise.
4885         * po/vi.po: Likewise.
4886         * po/zh_CN.po: Likewise.
4888 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
4890         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
4892         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
4893         object.
4895 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4897         [BZ #16458]
4898         * bits/uintn-identity.h: New file.
4899         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
4900         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
4901         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
4902         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
4903         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
4904         * string/endian.h: Include <bits/uintn-identity.h>.
4905         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
4906         __uint16_identity.
4907         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
4908         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
4909         __uint32_identity.
4910         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
4911         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
4912         __uint64_identity.
4913         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
4914         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
4915         __uint16_identity.
4916         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
4917         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
4918         __uint32_identity.
4919         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
4920         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
4921         __uint64_identity.
4922         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
4923         * string/Makefile (headers): Add bits/uintn-identity.h.
4924         (tests): Add test-endian-types.
4925         * string/test-endian-types.c: New file.
4926         * inet/Makefile (tests): Add test-hnto-types.
4927         * inet/test-hnto-types.c: New file.
4929 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4931         * po/be.po: Update from Translation Project.
4932         * po/bg.po: Likewise.
4933         * po/ca.po: Likewise.
4934         * po/cs.po: Likewise.
4935         * po/da.po: Likewise.
4936         * po/de.po: Likewise.
4937         * po/el.po: Likewise.
4938         * po/eo.po: Likewise.
4939         * po/es.po: Likewise.
4940         * po/fi.po: Likewise.
4941         * po/fr.po: Likewise.
4942         * po/gl.po: Likewise.
4943         * po/hr.po: Likewise.
4944         * po/hu.po: Likewise.
4945         * po/ia.po: Likewise.
4946         * po/id.po: Likewise.
4947         * po/it.po: Likewise.
4948         * po/ja.po: Likewise.
4949         * po/ko.po: Likewise.
4950         * po/lt.po: Likewise.
4951         * po/nb.po: Likewise.
4952         * po/nl.po: Likewise.
4953         * po/pl.po: Likewise.
4954         * po/pt_BR.po: Likewise.
4955         * po/ru.po: Likewise.
4956         * po/rw.po: Likewise.
4957         * po/sk.po: Likewise.
4958         * po/sl.po: Likewise.
4959         * po/sv.po: Likewise.
4960         * po/tr.po: Likewise.
4961         * po/uk.po: Likewise.
4962         * po/vi.po: Likewise.
4963         * po/zh_CN.po: Likewise.
4964         * po/zh_TW.po: Likewise.
4966 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
4968         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
4969         -Wformat-truncation instead of -Wformat-length.
4970         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
4971         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
4972         GCC 7.
4973         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
4974         (do_test): Ignore -Wformat-truncation for GCC 7.
4976         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
4977         buffer used to print long int value.
4979         * elf/sotruss-lib.c (init): Increase space allocated for pid by
4980         one byte.  Print it with %ld, cast to long int.
4982 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4984         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
4985         (re.fullmatch, subprocess.run): Likewise.
4987 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4989         * po/libc.pot: Regenerate.
4991 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4993         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
4994         (min_strlen): Likewise.
4995         (disable_tunable): Likewise.
4996         (maybe_disable_malloc_check): Rename to
4997         maybe_enable_malloc_check.
4998         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
4999         if /etc/suid-debug file exists.
5000         (__tunables_init): Update caller.
5001         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
5002         secure.
5004 2016-01-10  Torvald Riegel  <triegel@redhat.com>
5006         * nptl/DESIGN-rwlock.txt: Remove.
5007         * nptl/lowlevelrwlock.sym: Remove.
5008         * nptl/Makefile: Add new tests.
5009         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
5010         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
5011         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
5012         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
5013         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
5014         PTHREAD_RWLOCK_FUTEX_USED): New.
5015         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
5016         implementation.
5017         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
5018         (__pthread_rwlock_rdlock): Adapt.
5019         * nptl/pthread_rwlock_timedrdlock.c
5020         (pthread_rwlock_timedrdlock): Adapt.
5021         * nptl/pthread_rwlock_timedwrlock.c
5022         (pthread_rwlock_timedwrlock): Adapt.
5023         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
5024         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
5025         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
5026         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
5027         (__pthread_rwlock_wrlock): Adapt.
5028         * nptl/tst-rwlock10.c: Adapt.
5029         * nptl/tst-rwlock11.c: Adapt.
5030         * nptl/tst-rwlock17.c: New file.
5031         * nptl/tst-rwlock18.c: New file.
5032         * nptl/tst-rwlock19.c: New file.
5033         * nptl/tst-rwlock2b.c: New file.
5034         * nptl/tst-rwlock8.c: Adapt.
5035         * nptl/tst-rwlock9.c: Adapt.
5036         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5037         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5038         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5039         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5040         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5041         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5042         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5043         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5044         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5045         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5046         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5047         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5048         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
5049         (pthread_rwlock_t): Adapt.
5050         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5051         (pthread_rwlock_t): Adapt.
5052         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
5053         * nptl/nptl-printers.py (): Adapt.
5054         * nptl/nptl_lock_constants.pysym: Adapt.
5055         * nptl/test-rwlock-printers.py: Adapt.
5056         * nptl/test-rwlockattr-printers.c: Adapt.
5057         * nptl/test-rwlockattr-printers.py: Adapt.
5059 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
5061         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
5062         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
5063         (fma_test_data): Likewise.
5064         (hypot_test_data): Likewise.
5065         (log1p_test_data): Likewise.
5066         (modf_test_data): Likewise.
5067         (pow_test_data): Likewise.
5068         (remainder_test_data): Likewise.
5069         (remquo_test_data): Likewise.
5070         (scalb_test_data): Likewise.
5071         (scalbn_test_data): Likewise.
5072         (scalbln_test_data): Likewise.
5073         * math/gen-libm-test.pl (parse_args): Transform
5074         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
5075         on the rounding mode.
5077 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
5079         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
5080         xfail-rounding:ibm128-libgcc automatically to tests overflowing
5081         and those that can underflow to zero.
5082         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
5083         add others.
5084         * math/auto-libm-test-out: Regenerated.
5086         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
5087         supported.
5088         (feholdexcept_tests): Skip tests requiring exceptions or rounding
5089         modes support if not supported.
5091         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
5092         Add libc.so PLT entry.
5093         (__tls_get_addr): Make ld.so PLT entry optional.
5095 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5097         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
5098         * string/bits/string3.h: ... here.
5100 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5102         [BZ #21028]
5103         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
5104         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
5105         if EXCEPTION_TESTS returns false.
5107 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5109         [BZ #20558]
5110         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
5111         strings_fortified.h.
5112         [__USE_MISC] (bzero): Likewise.
5113         [__USE_MISC] (explicit_bzero): Likewise.
5114         * string/strings.h: Include strings_fortified.h.
5115         * string/Makefile (headers): Add strings_fortified.h.
5116         * string/bits/strings_fortified.h: New file.
5117         * include/bits/strings_fortified.h: Likewise.
5119 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
5121         * elf/tst-tls13.c (TIMEOUT): Remove.
5122         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
5123         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
5124         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
5125         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
5126         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
5128         [BZ #21026]
5129         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
5130         (readahead): New syscall entry.
5132 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5134         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
5135         around tests of strncat with large sizes.
5137         * malloc/tst-malloc.c: Include <libc-internal.h>.
5138         (do_test): Disable -Walloc-size-larger-than= around tests of
5139         malloc with negative sizes.
5140         * malloc/tst-mcheck.c: Include <libc-internal.h>.
5141         (do_test): Disable -Walloc-size-larger-than= around tests of
5142         malloc and realloc with negative sizes.
5143         * malloc/tst-realloc.c: Include <libc-internal.h>.
5144         (do_test): Disable -Walloc-size-larger-than= around tests of
5145         realloc with negative sizes.
5147         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
5148         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
5149         allowed to 16 ulps.
5150         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
5151         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
5152         * math/auto-libm-test-out: Regenerated.
5154 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5156         * math/Makefile (libm-calls): Move wrappers...
5157         (libm-compat-call-auto): Here.
5158         (libm-routines): Add items in libm-compat-calls-auto.
5159         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
5160         the filenames of the wrappers that have been renamed.
5161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
5162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
5164         * math/w_acos.c: Add _compat suffix to filename.
5165         * math/w_acosf.c: Likewise.
5166         * math/w_acosh.c: Likewise.
5167         * math/w_acoshf.c: Likewise.
5168         * math/w_acoshl.c: Likewise.
5169         * math/w_acosl.c: Likewise.
5170         * math/w_asin.c: Likewise.
5171         * math/w_asinf.c: Likewise.
5172         * math/w_asinl.c: Likewise.
5173         * math/w_atan2.c: Likewise.
5174         * math/w_atan2f.c: Likewise.
5175         * math/w_atan2l.c: Likewise.
5176         * math/w_atanh.c: Likewise.
5177         * math/w_atanhf.c: Likewise.
5178         * math/w_atanhl.c: Likewise.
5179         * math/w_cosh.c: Likewise.
5180         * math/w_coshf.c: Likewise.
5181         * math/w_coshl.c: Likewise.
5182         * math/w_exp10.c: Likewise.
5183         * math/w_exp10f.c: Likewise.
5184         * math/w_exp10l.c: Likewise.
5185         * math/w_exp2.c: Likewise.
5186         * math/w_exp2f.c: Likewise.
5187         * math/w_exp2l.c: Likewise.
5188         * math/w_fmod.c: Likewise.
5189         * math/w_fmodf.c: Likewise.
5190         * math/w_fmodl.c: Likewise.
5191         * math/w_hypot.c: Likewise.
5192         * math/w_hypotf.c: Likewise.
5193         * math/w_hypotl.c: Likewise.
5194         * math/w_j0.c: Likewise.
5195         * math/w_j0f.c: Likewise.
5196         * math/w_j0l.c: Likewise.
5197         * math/w_j1.c: Likewise.
5198         * math/w_j1f.c: Likewise.
5199         * math/w_j1l.c: Likewise.
5200         * math/w_jn.c: Likewise.
5201         * math/w_jnf.c: Likewise.
5202         * math/w_jnl.c: Likewise.
5203         * math/w_log10.c: Likewise.
5204         * math/w_log10f.c: Likewise.
5205         * math/w_log10l.c: Likewise.
5206         * math/w_log2.c: Likewise.
5207         * math/w_log2f.c: Likewise.
5208         * math/w_log2l.c: Likewise.
5209         * math/w_log.c: Likewise.
5210         * math/w_logf.c: Likewise.
5211         * math/w_logl.c: Likewise.
5212         * math/w_pow.c: Likewise.
5213         * math/w_powf.c: Likewise.
5214         * math/w_powl.c: Likewise.
5215         * math/w_remainder.c: Likewise.
5216         * math/w_remainderf.c: Likewise.
5217         * math/w_remainderl.c: Likewise.
5218         * math/w_scalb.c: Likewise.
5219         * math/w_scalbf.c: Likewise.
5220         * math/w_scalbl.c: Likewise.
5221         * math/w_sinh.c: Likewise.
5222         * math/w_sinhf.c: Likewise.
5223         * math/w_sinhl.c: Likewise.
5224         * math/w_sqrt.c: Likewise.
5225         * math/w_sqrtf.c: Likewise.
5226         * math/w_sqrtl.c: Likewise.
5227         * math/w_tgamma.c: Likewise.
5228         * math/w_tgammaf.c: Likewise.
5229         * math/w_tgammal.c: Likewise.
5231         * math/w_acos_compat.c: New file copied from above and
5232         adjusted for new #includes path
5233         * math/w_acosf_compat.c: Likewise.
5234         * math/w_acosh_compat.c: Likewise.
5235         * math/w_acoshf_compat.c: Likewise.
5236         * math/w_acoshl_compat.c: Likewise.
5237         * math/w_acosl_compat.c: Likewise.
5238         * math/w_asin_compat.c: Likewise.
5239         * math/w_asinf_compat.c: Likewise.
5240         * math/w_asinl_compat.c: Likewise.
5241         * math/w_atan2_compat.c: Likewise.
5242         * math/w_atan2f_compat.c: Likewise.
5243         * math/w_atan2l_compat.c: Likewise.
5244         * math/w_atanh_compat.c: Likewise.
5245         * math/w_atanhf_compat.c: Likewise.
5246         * math/w_atanhl_compat.c: Likewise.
5247         * math/w_cosh_compat.c: Likewise.
5248         * math/w_coshf_compat.c: Likewise.
5249         * math/w_coshl_compat.c: Likewise.
5250         * math/w_exp10_compat.c: Likewise.
5251         * math/w_exp10f_compat.c: Likewise.
5252         * math/w_exp10l_compat.c: Likewise.
5253         * math/w_exp2_compat.c: Likewise.
5254         * math/w_exp2f_compat.c: Likewise.
5255         * math/w_exp2l_compat.c: Likewise.
5256         * math/w_fmod_compat.c: Likewise.
5257         * math/w_fmodf_compat.c: Likewise.
5258         * math/w_fmodl_compat.c: Likewise.
5259         * math/w_hypot_compat.c: Likewise.
5260         * math/w_hypotf_compat.c: Likewise.
5261         * math/w_hypotl_compat.c: Likewise.
5262         * math/w_j0_compat.c: Likewise.
5263         * math/w_j0f_compat.c: Likewise.
5264         * math/w_j0l_compat.c: Likewise.
5265         * math/w_j1_compat.c: Likewise.
5266         * math/w_j1f_compat.c: Likewise.
5267         * math/w_j1l_compat.c: Likewise.
5268         * math/w_jn_compat.c: Likewise.
5269         * math/w_jnf_compat.c: Likewise.
5270         * math/w_jnl_compat.c: Likewise.
5271         * math/w_log10_compat.c: Likewise.
5272         * math/w_log10f_compat.c: Likewise.
5273         * math/w_log10l_compat.c: Likewise.
5274         * math/w_log2_compat.c: Likewise.
5275         * math/w_log2f_compat.c: Likewise.
5276         * math/w_log2l_compat.c: Likewise.
5277         * math/w_log_compat.c: Likewise.
5278         * math/w_logf_compat.c: Likewise.
5279         * math/w_logl_compat.c: Likewise.
5280         * math/w_pow_compat.c: Likewise.
5281         * math/w_powf_compat.c: Likewise.
5282         * math/w_powl_compat.c: Likewise.
5283         * math/w_remainder_compat.c: Likewise.
5284         * math/w_remainderf_compat.c: Likewise.
5285         * math/w_remainderl_compat.c: Likewise.
5286         * math/w_scalb_compat.c: Likewise.
5287         * math/w_scalbf_compat.c: Likewise.
5288         * math/w_scalbl_compat.c: Likewise.
5289         * math/w_sinh_compat.c: Likewise.
5290         * math/w_sinhf_compat.c: Likewise.
5291         * math/w_sinhl_compat.c: Likewise.
5292         * math/w_sqrt_compat.c: Likewise.
5293         * math/w_sqrtf_compat.c: Likewise.
5294         * math/w_sqrtl_compat.c: Likewise.
5295         * math/w_tgamma_compat.c: Likewise.
5296         * math/w_tgammaf_compat.c: Likewise.
5297         * math/w_tgammal_compat.c: Likewise.
5299         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
5300         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
5301         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
5302         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
5303         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
5304         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
5305         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
5306         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
5307         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
5308         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
5309         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
5310         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
5311         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
5312         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
5313         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
5314         * sysdeps/ia64/fpu/w_powl.c: Likewise.
5315         * sysdeps/ia64/fpu/w_powf.c: Likewise.
5316         * sysdeps/ia64/fpu/w_pow.c: Likewise.
5317         * sysdeps/ia64/fpu/w_logl.c: Likewise.
5318         * sysdeps/ia64/fpu/w_logf.c: Likewise.
5319         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
5320         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
5321         * sysdeps/ia64/fpu/w_log2.c: Likewise.
5322         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
5323         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
5324         * sysdeps/ia64/fpu/w_log10.c: Likewise.
5325         * sysdeps/ia64/fpu/w_log.c: Likewise.
5326         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
5327         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
5328         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
5329         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
5330         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
5331         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
5332         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
5333         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
5334         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
5335         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
5336         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
5337         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
5338         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
5339         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
5340         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
5341         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
5342         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
5343         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
5344         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
5345         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
5346         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
5347         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
5348         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
5349         * sysdeps/ia64/fpu/w_asin.c: Likewise.
5350         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
5351         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
5352         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
5353         * sysdeps/ia64/fpu/w_acos.c: Likewise.
5354         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
5355         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
5356         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
5357         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
5358         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
5359         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
5360         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
5361         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
5362         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
5363         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
5364         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
5365         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
5366         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
5367         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
5368         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
5369         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
5370         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
5371         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
5372         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
5373         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
5374         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
5375         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
5376         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
5377         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
5378         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
5379         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
5380         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
5381         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
5382         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
5383         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
5384         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
5385         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
5386         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
5387         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
5388         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
5389         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
5390         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
5391         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
5392         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
5393         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
5394         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
5395         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
5396         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
5397         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
5398         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
5399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
5400         Likewise.
5401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
5402         Likewise.
5403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
5404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
5405         Likewise.
5406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
5407         Likewise.
5408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
5409         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5410         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5411         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5412         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5413         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5414         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
5416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
5417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
5418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
5419         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5420         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5421         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5422         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5424         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
5425         and adjusted for new #includes path
5426         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
5427         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
5428         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
5429         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
5430         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
5431         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
5432         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
5433         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
5434         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
5435         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
5436         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
5437         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
5438         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
5439         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
5440         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
5441         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
5442         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
5443         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
5444         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
5445         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
5446         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
5447         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
5448         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
5449         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
5450         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
5451         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
5452         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
5453         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
5454         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
5455         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
5456         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
5457         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
5458         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
5459         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
5460         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
5461         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
5462         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
5463         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
5464         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
5465         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
5466         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
5467         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
5468         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
5469         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
5470         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
5471         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
5472         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
5473         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
5474         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
5475         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
5476         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
5477         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
5478         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
5479         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
5480         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
5481         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
5482         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
5483         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
5484         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
5485         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
5486         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
5487         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
5488         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
5489         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
5490         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
5491         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
5492         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
5493         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
5494         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
5495         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
5496         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
5497         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
5498         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
5499         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
5500         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
5501         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
5502         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
5503         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
5504         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
5505         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
5506         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
5507         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
5508         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
5509         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
5510         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
5511         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
5512         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
5513         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
5514         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
5515         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
5516         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
5517         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
5518         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
5519         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
5520         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
5521         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
5522         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
5523         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
5524         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
5525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
5526         Likewise.
5527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
5528         Likewise.
5529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
5530         Likewise.
5531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
5532         Likewise.
5533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
5534         Likewise.
5535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
5536         Likewise.
5537         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
5538         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
5539         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
5540         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
5541         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
5542         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
5543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
5544         Likewise.
5545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
5546         Likewise.
5547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
5548         Likewise.
5549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
5550         Likewise.
5551         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
5552         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
5553         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
5554         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
5556 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
5558         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
5559         __jmp_buf_internal_tag.
5561         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
5562         preserve NaN payload if [__mips_nan2008].
5563         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
5565         [BZ #21022]
5566         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
5568 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5570         * sysdeps/i386/fpu/libm-test-ulps: Update.
5572 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5574         * sysdeps/ia64/strcat.c: Remove file.
5575         * sysdeps/powerpc/strcat.c: Likewise.
5576         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
5577         C implementation.
5578         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
5579         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
5581 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5582             Steven Munroe  <sjmunroe@us.ibm.com>
5583             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5585         [BZ #20822]
5586         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
5587         (__lll_lock_elision): Access adapt_count via C11 atomics.
5588         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5589         (__lll_trylock_elision): Likewise.
5590         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
5591         (__lll_unlock_elision):  Update adapt_count variable inside the
5592         critical section using C11 atomics.
5594 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5596         * math/test-fenvinline.c (do_test): Disable tests of raised
5597         exceptions if !EXCEPTION_TESTS (FLOAT).
5599 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5601         [BZ #19390]
5602         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
5603         maximum string size.
5604         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
5605         in pointer addition.
5606         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
5607         Likewise.
5609 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
5611         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
5612         passed to tst-ldconfig-X.sh.
5614 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
5616         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
5618 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5620         [BZ #21019]
5621         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
5622         New syscall entry.
5623         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
5624         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
5625         lseek.
5627         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
5628         power4 glibc for powerpc-linux-gnu.
5630 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5632         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
5633         semctl.
5635 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5637         * math/test-nearbyint-except.c: Include <stdbool.h>.
5638         (any_supported): New variable.
5639         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
5640         set any_supported.
5641         (do_test): Return 77 if no floating-point type supported
5642         exceptions.
5644         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
5645         condition on [__mips_hard_float].
5647 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5649         [BZ #21014]
5650         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
5651         in pointer addition.
5652         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
5654 2017-01-02  Torvald Riegel  <triegel@redhat.com>
5656         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
5657         new condvar.
5659 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
5661         * scripts/build-many-glibcs.py (Context.checkout): Default
5662         binutils version to 2.28 branch.
5664 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5666         * support/support_format_netent.c (support_format_netent): Work
5667         around alpha struct netent definition difference.
5669 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5671         * support/xwrite.c (xwrite): Use %td for pointer difference.
5673 2017-01-01  Florian Weimer  <fweimer@redhat.com>
5675         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
5676         have-tunables only.
5677         (tests-static): Add tst-malloc-usable-static-tunables for
5678         have-tunables only.
5680 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
5682         * scripts/config.guess: Update to version 2017-01-01.
5683         * scripts/config.sub: Update to version 2017-01-01.
5685         * NEWS: Update copyright dates.
5686         * catgets/gencat.c (print_version): Likewise.
5687         * csu/version.c (banner): Likewise.
5688         * debug/catchsegv.sh: Likewise.
5689         * debug/pcprofiledump.c (print_version): Likewise.
5690         * debug/xtrace.sh (do_version): Likewise.
5691         * elf/ldconfig.c (print_version): Likewise.
5692         * elf/ldd.bash.in: Likewise.
5693         * elf/pldd.c (print_version): Likewise.
5694         * elf/sotruss.sh: Likewise.
5695         * elf/sprof.c (print_version): Likewise.
5696         * iconv/iconv_prog.c (print_version): Likewise.
5697         * iconv/iconvconfig.c (print_version): Likewise.
5698         * locale/programs/locale.c (print_version): Likewise.
5699         * locale/programs/localedef.c (print_version): Likewise.
5700         * login/programs/pt_chown.c (print_version): Likewise.
5701         * malloc/memusage.sh (do_version): Likewise.
5702         * malloc/memusagestat.c (print_version): Likewise.
5703         * malloc/mtrace.pl: Likewise.
5704         * manual/libc.texinfo: Likewise.
5705         * nptl/version.c (banner): Likewise.
5706         * nscd/nscd.c (print_version): Likewise.
5707         * nss/getent.c (print_version): Likewise.
5708         * nss/makedb.c (print_version): Likewise.
5709         * posix/getconf.c (main): Likewise.
5710         * scripts/test-installation.pl: Likewise.
5711         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5713         * All files with FSF copyright notices: Update copyright dates
5714         using scripts/update-copyrights.
5715         * intl/plural.c: Regenerated.
5716         * locale/programs/charmap-kw.h: Likewise.
5717         * locale/programs/locfile-kw.h: Likewise.
5719 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5721         [BZ #20593]
5722         Update DNS RR type definitions.
5723         * scripts/gen-rrtypes.py: New file.
5724         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
5725         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
5726         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
5727         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
5728         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
5729         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
5730         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
5731         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
5732         ns_t_ta, ns_t_dlv.
5733         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
5734         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
5735         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
5736         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
5737         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
5738         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
5739         Define.
5740         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
5741         entry for ns_t_zxfr.
5743 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5745         [BZ #18784]
5746         CVE-2015-5180
5747         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
5748         T_UNSPEC.  Adjust value.
5749         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
5750         * resolv/res_query.c (__libc_res_nquery): Likewise.
5751         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
5752         QTYPEs.
5753         * resolv/tst-resolv-qtypes.c: New file.
5754         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
5755         (tst-resolv-qtypes): Link against libresolv and libpthread.
5757 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5759         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
5761 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5763         * manual/tunables.texi: New chapter.
5764         * manual/Makefile (chapters): Add it.
5765         * manual/probes.texi (@node): Point to the Tunables chapter.
5767         * Makeconfig (have-tunables): Check for non-negative instead
5768         of positive.
5769         * configure.ac: Add 'valstring' as a valid value for
5770         --enable-tunables.
5771         * configure: Regenerate.
5772         * elf/Makefile (have-tunables): Check for non-negative instead
5773         of positive.
5774         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
5775         dl-tunables.c.
5776         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
5777         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5778         (tunables_strdup): Likewise.
5779         (disable_tunables): Likewise.
5780         (parse_tunables): Likewise.
5781         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
5782         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
5783         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
5784         (TUNABLES_FRONTEND_yes): New macro, define as
5785         TUNABLES_FRONTEND_valstring by default.
5786         * manual/install.texi: Document new acceptable values for
5787         --enable-tunables.
5788         * INSTALL: Regenerate.
5790         * config.make.in (have-loop-to-function): Define.
5791         * elf/Makefile (CFLAGS-dl-tunables.c): Add
5792         -fno-tree-loop-distribute-patterns.
5793         * elf/dl-tunables.c: Include libc-internals.h.
5794         (GLIBC_TUNABLES): New macro.
5795         (tunables_strdup): New function.
5796         (parse_tunables): New function.
5797         (min_strlen): New function.
5798         (__tunables_init): Use the new functions and macro.
5799         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
5800         * malloc/tst-malloc-usable-tunables.c: New test case.
5801         * malloc/tst-malloc-usable-static-tunables.c: New test case.
5802         * malloc/Makefile (tests, tests-static): Add tests.
5804         * manual/install.texi: Add --enable-tunables option.
5805         * INSTALL: Regenerate.
5806         * README.tunables: New file.
5807         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
5808         (before-compile): Generate dl-tunable-list.h early.
5809         * config.h.in: Add HAVE_TUNABLES.
5810         * config.make.in: Add have-tunables.
5811         * configure.ac: Add --enable-tunables option.
5812         * configure: Regenerate.
5813         * csu/init-first.c (__libc_init_first): Move
5814         __libc_init_secure earlier...
5815         * csu/init-first.c (LIBC_START_MAIN):... to here.
5816         Include dl-tunables.h, libc-internal.h.
5817         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
5818         binaries.
5819         * elf/Makefile (dl-routines): Add dl-tunables.
5820         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
5821         namespace.
5822         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
5823         only when !HAVE_TUNABLES.
5824         * elf/rtld.c (process_envvars): Likewise.
5825         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
5826         (_dl_sysdep_start): Call __tunables_init.
5827         * elf/dl-tunable-types.h: New file.
5828         * elf/dl-tunables.c: New file.
5829         * elf/dl-tunables.h: New file.
5830         * elf/dl-tunables.list: New file.
5831         * malloc/tst-malloc-usable-static.c: New test case.
5832         * malloc/Makefile (tests-static): Add it.
5833         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
5834         Define TUNABLE_NAMESPACE.
5835         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
5836         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
5837         callback functions.
5838         (ptmalloc_init): Set tunable values.
5839         * scripts/gen-tunables.awk: New file.
5840         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
5841         (_dl_sysdep_start): Call __tunables_init.
5843 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5845         * resolv/resolv.h (RES_BLAST): Deprecate.
5846         * resolv/res_debug.c (p_option): Remove RES_BLAST.
5847         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
5848         to RES_BLAST.
5850 2016-12-27  Florian Weimer  <fweimer@redhat.com>
5852         [BZ #19582]
5853         Deprecate RES_USE_INET6.
5854         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
5855         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
5856         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
5857         RES_USE_INET6.
5858         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
5859         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
5860         (_nss_nisplus_gethostbyaddr_r): Likewise.
5861         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
5862         of res_use_inet6.
5863         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
5864         instead of RES_USE_INET6.
5865         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
5866         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
5867         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
5868         Likewise.
5869         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
5870         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
5871         Likewise.
5872         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
5873         (_nss_dns_gethostbyname_r): Likewise.
5874         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
5875         alternate RES_USE_INET6 handling.
5876         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
5877         instead of RES_USE_INET6.
5878         * resolv/res_init.c (res_setoptions): Likewise.
5879         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
5880         * resolv/resolv-internal.h: New file.
5881         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
5882         make the deprecation warning non-fatal.
5883         * resolv/README (Using the resolver in multi-threaded code): Drop
5884         reference to RES_USE_INET6.
5885         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
5886         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
5888 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5890         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
5891         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
5892         tst-resolv-search.
5893         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
5894         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
5895         with libresolv and libpthread.
5896         * resolv/tst-bug18665.c: New file.
5897         * resolv/tst-bug18665-tcp: Likewise.
5898         * resolv/tst-res_use_inet6: Likewise.
5899         * resolv/tst-resolv-basic: Likewise.
5900         * resolv/tst-resolv-network: Likewise.
5901         * resolv/tst-resolv-search: Likewise.
5902         * support/Makefile (libsupport-routines): Add check_addrinfo,
5903         check_dns_packet, check_hostent, check_netent, resolv_test,
5904         support_format_address_family, support_format_addrinfo,
5905         support_format_dns_packet, support_format_herrno,
5906         support_format_hostent, support_format_netent, support_run_diff,
5907         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
5908         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
5909         xstrdup, xwrite.
5910         * support/check_addrinfo.c: New file.
5911         * support/check_dns_packet.c: Likewise.
5912         * support/check_hostent.c: Likewise.
5913         * support/check_netent.c: Likewise.
5914         * support/check_nss.h: Likewise.
5915         * support/format_nss.h: Likewise.
5916         * support/resolv_test.c: Likewise.
5917         * support/resolv_test.h: Likewise.
5918         * support/run_diff.h: Likewise.
5919         * support/support_format_address_family.c: Likewise.
5920         * support/support_format_addrinfo.c: Likewise.
5921         * support/support_format_dns_packet.c: Likewise.
5922         * support/support_format_herrno.c: Likewise.
5923         * support/support_format_hostent.c: Likewise.
5924         * support/support_format_netent.c: Likewise.
5925         * support/support_run_diff.c: Likewise.
5926         * support/xaccept.c: Likewise.
5927         * support/xbind.c: Likewise.
5928         * support/xconnect.c: Likewise.
5929         * support/xfclose.c: Likewise.
5930         * support/xfopen.c: Likewise.
5931         * support/xgetsockname.c: Likewise.
5932         * support/xlisten.c: Likewise.
5933         * support/xmemstream.c: Likewise.
5934         * support/xmemstream.h: Likewise.
5935         * support/xpoll.c: Likewise.
5936         * support/xpthread_once.c: Likewise.
5937         * support/xrecvfrom.c: Likewise.
5938         * support/xsendto.c: Likewise.
5939         * support/xsetsockopt.c: Likewise.
5940         * support/xstdio.h: Likewise.
5941         * support/xstrdup.c: Likewise.
5942         * support/support.h (xstrdup): Declare.
5943         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
5944         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
5945         * support/xthread.h (xpthread_once): Likwise.
5946         * support/xunistd.h (xwrite): Declare.
5948 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5950         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
5951         (test_verbose): Declare.
5952         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
5953         * support/support_test_main.c (default_options): Likewise.
5954         (usage, support_test_main): Handle 'v'.
5955         (test_verbose): Define.
5956         * support/tst-support_record_failure.c (do_test): Use
5957         test_verbose.
5958         * support/tst-support_record_failure-2.sh (different_status): Add
5959         --verbose test.
5961 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5963         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
5964         test failures are recorded.
5965         * support/check.c (support_print_failure_impl): Call
5966         support_record_failure.
5967         (support_exit_failure_impl): Call support_record_failure if status
5968         indicates failure.
5969         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
5970         * support/xasprintf.c (xasprintf): Likewise.
5971         * support/xfork.c (xfork): Likewise.
5972         * support/xpthread_check_return.c (xpthread_check_return):
5973         Likewise.
5974         * support/xsocket.c (xsocket): Likeweise.
5975         * support/xwaitpid.c (xwaitpid): Likewise.
5976         * support/support_record_failure.c (struct test_failures): Adjust
5977         to coding style.
5978         * support/support_test_verify_impl.c (support_test_verify_impl):
5979         Adjust error messages.
5980         * support/tst-support_record_failure-2.sh (different_status):
5981         Adjust error messages.
5983 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5985         * support/namespace.h: New file.
5986         * support/support_become_root.c: Likewise.
5987         * support/support_enter_network_namespace.c: Likewise.
5988         * support/tst-support-namespace.c: Likewise.
5989         * support/xsocket.c: Likewise.
5990         * support/xsocket.h: Likewise.
5991         * support/Makefile (libsupport-routines): Add support_become_root,
5992         support_enter_network_namespace, xsocket.
5993         (tests): Add tst-support-namespace.
5995 2016-12-31  Florian Weimer  <fweimer@redhat.com>
5997         [BZ #17252]
5998         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
5999         __USE_GNU.
6001 2016-12-31  Torvald Riegel  <triegel@redhat.com>
6003         [BZ #13165]
6004         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
6005         use new algorithm.
6006         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
6007         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
6008         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
6009         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
6010         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
6011         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
6012         __condvar_cleanup_waiting, __condvar_dec_grefs,
6013         __pthread_cond_wait_common): New.
6014         (__condvar_cleanup): Remove.
6015         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
6016         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
6017         Likewise.
6018         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
6019         Likewise.
6020         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
6021         * nptl/tst-cond1.c: Add comment.
6022         * nptl/tst-cond20.c (do_test): Adapt.
6023         * nptl/tst-cond22.c (do_test): Likewise.
6024         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
6025         structure.
6026         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6027         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6028         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6029         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
6030         Likewise.
6031         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6032         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6033         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6034         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6035         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6036         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
6037         Likewise.
6038         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
6039         Likewise.
6040         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
6041         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
6042         (COND_CLOCK_BITS): Adapt.
6043         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
6044         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
6045         __PTHREAD_COND_SHARED_MASK): New.
6046         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
6047         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
6048         * nptl/nptl_lock_constants.pysym: Adapt.
6049         * nptl/test-cond-printers.py: Adapt.
6050         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
6051         cond_compat_check_and_clear): Adapt.
6052         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
6053         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
6054         (__pthread_cond_timedwait): ... and move here.
6055         * nptl/DESIGN-condvar.txt: Remove file.
6056         * nptl/lowlevelcond.sym: Likewise.
6057         * nptl/pthread_cond_timedwait.c: Likewise.
6058         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
6059         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
6060         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
6061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
6062         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
6063         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
6064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
6065         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
6066         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
6067         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
6068         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
6069         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
6070         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
6071         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
6072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
6073         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
6075 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
6077         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6078         (fromfp): New declaration.
6079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6082         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
6083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
6084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
6085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
6086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
6087         * math/math.h: Include <bits/types.h>.
6088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
6089         constant and macro.
6090         (FP_INT_DOWNWARD): Likewise.
6091         (FP_INT_TOWARDZERO): Likewise.
6092         (FP_INT_TONEARESTFROMZERO): Likewise.
6093         (FP_INT_TONEAREST): Likewise.
6094         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
6095         (fromfpf): Likewise.
6096         (fromfpl): Likewise.
6097         (ufromfp): Likewise.
6098         (ufromfpf): Likewise.
6099         (ufromfpl): Likewise.
6100         (fromfpx): Likewise.
6101         (fromfpxf): Likewise.
6102         (fromfpxl): Likewise.
6103         (ufromfpx): Likewise.
6104         (ufromfpxf): Likewise.
6105         (ufromfpxl): Likewise.
6106         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
6107         s_fromfpxF and s_ufromfpxF.
6108         * math/gen-fromfp-tests.py: New file.
6109         * math/gen-fromfp-tests-inputs: Likewise.
6110         * math/libm-test.inc: Include <stdint.h>
6111         (check_intmax_t): New function.
6112         (check_uintmax_t): Likewise.
6113         (struct test_fiu_M_data): New type.
6114         (struct test_fiu_U_data): Likewise.
6115         (RUN_TEST_fiu_M): New macro.
6116         (RUN_TEST_LOOP_fiu_M): Likewise.
6117         (RUN_TEST_fiu_U): Likewise.
6118         (RUN_TEST_LOOP_fiu_U): Likewise.
6119         (fromfp_test_data): New array.
6120         (fromfp_test): New function.
6121         (fromfpx_test_data): New array.
6122         (fromfpx_test): New function.
6123         (ufromfp_test_data): New array.
6124         (ufromfp_test): New function.
6125         (ufromfpx_test_data): New array.
6126         (ufromfpx_test): New function.
6127         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
6128         ufromfpx_test.
6129         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
6130         characters.
6131         * math/test-tgmath-ret.c: Include <stdint.h>.
6132         (rm): New variable.
6133         (width): Likewise.
6134         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
6135         called function.
6136         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
6137         CHECK_RET_CONST_TYPE.
6138         (CHECK_RET_CONST_DOUBLE): Likewise.
6139         (CHECK_RET_CONST_LDOUBLE): Likewise.
6140         (CHECK_RET_CONST): Take extra arguments and pass them to calls
6141         macros.
6142         (fromfp): New CHECK_RET_CONST call.
6143         (ufromfp): Likewise.
6144         (fromfpx): Likewise.
6145         (ufromfpx): Likewise.
6146         (do_test): Call check_return_fromfp, check_return_ufromfp,
6147         check_return_fromfpx and check_return_ufromfpx.
6148         * math/test-tgmath.c: Include <stdint.h>
6149         (NCALLS): Increase to 138.
6150         (F(compile_test)): Initialize i.  Call fromfp functions.
6151         (F(fromfp)): New function.
6152         (F(fromfpx)): Likewise.
6153         (F(ufromfp)): Likewise.
6154         (F(ufromfpx)): Likewise.
6155         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
6156         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
6157         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
6158         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
6159         ufromfpxl.
6160         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
6161         ufromfp and ufromfpx.
6162         * math/fromfp.h: New file.
6163         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
6164         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
6165         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
6166         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
6167         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
6168         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
6169         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
6170         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
6171         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
6172         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
6173         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
6174         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
6175         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
6176         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
6177         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
6178         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
6179         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
6180         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
6181         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
6182         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
6183         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
6184         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
6185         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
6186         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
6187         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
6188         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
6189         ufromfp, fromfpx and ufromfpx.
6190         (CFLAGS-nldbl-fromfp.c): New variable.
6191         (CFLAGS-nldbl-fromfpx.c): Likewise.
6192         (CFLAGS-nldbl-ufromfp.c): Likewise.
6193         (CFLAGS-nldbl-ufromfpx.c): Likewise.
6194         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
6195         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
6196         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
6197         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
6198         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
6199         * sysdeps/nacl/libm.abilist: Update.
6200         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6201         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6202         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6203         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6204         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6205         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6206         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6207         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6208         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6209         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6210         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6211         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6213         Likewise.
6214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6215         Likewise.
6216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6217         Likewise.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6219         Likewise.
6220         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6221         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6222         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6223         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6224         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6226         Likewise.
6227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6228         Likewise.
6229         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6230         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6231         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6233 2016-12-30  Florian Weimer  <fweimer@redhat.com>
6235         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
6236         compat-gethnamaddr.
6237         (CPPFLAGS): Remove.
6238         * resolv/gethnamaddr.c: Rename ...
6239         * resolv/compat-gethnamaddr.c: ... to this file.
6240         (_endhtent): Make static.
6241         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
6242         symbol.
6243         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
6244         compat symbol.
6245         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
6246         symbol.
6247         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
6248         Turn into compat symbol.
6249         * include/resolv.h (_endhtent): Remove declaration.
6251 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
6253         * bits/types.h (__intmax_t): New typedef.
6254         (__uintmax_t): Likewise.
6255         * sysdeps/generic/stdint.h: Include <bits/types.h>.
6256         (intmax_t): Define using __intmax_t.
6257         (uintmax_t): Define using __uintmax_t.
6259         * support/Makefile (tests-special): Make definition conditional on
6260         [$(run-built-tests) = yes].
6261         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
6262         on [$(run-built-tests) = yes].
6264 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6266         * Rules (tests): Add tests-printers-programs to tests to be
6267         built.
6269 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6271         * sysvipc/Makefile (tests): Add test-sysvshm.
6272         * sysvipc/test-sysvshm.c: New file.
6274         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
6275         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
6276         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
6277         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
6278         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
6279         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
6280         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
6281         Likewise.
6282         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
6283         Likewise.
6284         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
6285         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
6286         is defined.
6288         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
6289         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
6290         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
6291         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
6292         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
6293         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
6294         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
6295         Likewise.
6296         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
6297         Likewise.
6298         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
6299         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
6300         defined.
6302         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6303         oldshmctl.
6304         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
6305         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
6306         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
6307         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
6308         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
6309         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
6310         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
6311         Likewise.
6312         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
6313         Likewise.
6314         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
6315         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
6316         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
6317         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
6318         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
6319         implementation.
6320         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
6321         if it is defined.
6323         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
6324         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
6325         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
6326         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
6327         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
6328         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
6329         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
6330         Likewise.
6331         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
6332         Likewise.
6333         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
6334         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
6335         Define to __NR_osf_shmat.
6336         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
6337         defined.
6339         * sysvipc/Makefile (tests): Add test-sysvsem.
6340         * sysvipc/test-sysvsem.c: New file.
6342         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
6343         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
6344         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
6345         Likewise.
6346         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
6347         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
6348         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
6349         Likewise.
6350         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
6351         Likewise.
6352         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
6353         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
6354         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
6355         add a comment about s390 syscall difference from default one.
6356         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
6357         syscall if it is defined.
6359         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
6360         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
6361         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
6362         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
6363         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
6364         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
6365         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
6366         Likewise.
6367         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
6368         Likewise.
6369         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
6370         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
6371         defined.
6373         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
6374         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
6375         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
6376         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
6377         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
6378         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
6379         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
6380         Likewise.
6381         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
6382         Likewise.
6383         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
6384         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
6385         if it is defined.
6387         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6388         oldsemctl.
6389         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
6390         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
6391         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
6392         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
6393         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
6394         implementation.
6395         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
6396         syscall if it is defined.
6397         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
6398         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
6399         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
6400         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
6401         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
6402         Likewise.
6403         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
6405         * sysvipc/Makefile (tests): Add test-sysvmsg.
6406         * sysvipc/test-sysvmsg.c: New file.
6407         * support/check.h (FAIL_UNSUPPORTED): New define.
6409         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
6410         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
6411         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
6412         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
6413         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
6414         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
6415         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
6416         Likewise.
6417         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
6418         Likewise.
6419         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
6420         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
6421         define.
6423         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
6424         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
6425         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
6426         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
6427         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
6428         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
6429         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
6430         Likewise.
6431         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
6432         Likewise.
6433         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
6434         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
6435         if defined.
6437         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
6438         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
6439         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6440         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6441         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6442         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
6443         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6444         Likewise.
6445         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
6446         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
6447         Likewise.
6448         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
6449         if defined.
6450         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
6452         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
6453         oldmsgctl.
6454         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
6455         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
6456         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
6457         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
6458         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
6459         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
6460         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
6461         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
6462         Likewise.
6463         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
6464         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
6465         implementation.
6466         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
6467         if defined.
6469         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
6470         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
6471         definition and define its own.
6472         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
6473         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
6474         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
6475         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
6476         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
6477         definitions to common header.
6478         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
6479         operation from ipc_ops.h.
6481         * sysdeps/unix/sysv/linux/kernel-features.h
6482         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
6483         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6484         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
6485         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6486         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6487         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6488         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6489         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6490         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6491         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6492         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6493         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6494         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6495         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6496         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
6498 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6500         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
6501         overflow in pointer addition.
6503 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6505         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6506         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
6507         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6508         (strchr): Add __strchr_power8 to list of strchr functions.
6509         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
6510         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
6511         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
6512         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
6513         (strchr): Add __strchr_power8 to ifunc list.
6514         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
6515         (__strchrnul): Add __strchrnul_power8 to ifunc list.
6516         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
6517         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
6519 2016-12-28  Florian Weimer  <fweimer@redhat.com>
6521         * support/Makefile (libsupport-routines): Add
6522         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
6523         (tests): Add tst-support_record_failure.
6524         (tests-special): tst-support_record_failure-2.
6525         (tst-support_record_failure-2.out): Depend on
6526         tst-support_record_failure-2.sh and tst-support_record_failure.
6527         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
6528         (support_test_verify_impl, support_record_failure)
6529         (support_report_failure, support_report_failure_reset): Declare.
6530         * support/support_test_main.c (adjust_exit_status): New function.
6531         (support_test_main): Call it to incorporate record test failures.
6532         * support/support_test_verify_impl.c: New file.
6533         * support/support_record_failure.c: Likewise.
6534         * support/tst-support_record_failure.c: Likewise.
6535         * support/tst-support_record_failure-2.sh: Likewise.
6536         * support/xunistd.h: Likewise.
6537         * support/xfork.c: Likewise.
6538         * support/xwaitpid.c: Likewise.
6540 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
6542         * scripts/check-c++-types.sh: Add comments.
6544 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
6546         [BZ #19514]
6547         * resolv/res_send.c: Fix typo in comment.
6548         * sysdeps/i386/i386-mcount.S: Likewise.
6549         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
6550         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6551         * sysdeps/sparc/sparc-mcount.S: Likewise.
6553 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6555         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
6556         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
6557         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
6558         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
6559         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
6560         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
6561         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
6562         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
6564 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6566         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
6568 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6570         [BZ #17252]
6571         * posix/unistd.h (getentropy): Declare.
6573 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6575         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
6576         Remove.
6577         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
6578         (cmd): Remove spoof, nospoof, spoofalert.
6579         (parse_line): Ignore spoof-related lines.
6580         (do_init): Do not process RESOLV_SPOOF_CHECK.
6582 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6584         [BZ #20964]
6585         sunrpc: Always obtain AF_INET addresses from NSS.
6586         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
6587         * sunrpc/rpc_gethostbyname.c: New file.
6588         * sunrpc/Makefile (routines): Add it.
6589         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
6590         * sunrpc/clnt_simp.c (callrpc): Likewise.
6591         * sunrpc/getrpcport.c (getrpcport): Likewise.
6593 2016-12-27  Florian Weimer  <fweimer@redhat.com>
6595         * sunrpc/rpcinfo.c: Remove.
6596         * sunrpc/Makefile: Remove comments referring to rpcinfo.
6598 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6600         [BZ #19387]
6601         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
6602         addition.
6603         * string/test-memchr.c (do_test): Remove alignment limitation.
6604         (test_main): Add test that trigger BZ #19387.
6606 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6608         [BZ #7065]
6609         Enable stack protectore if requested by ./configure.
6610         * Makeconfig (+stack-protector): New variable.
6611         (+cflags): Use it.
6613 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6615         [BZ #7065]
6616         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
6617         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
6618         (__rt_sigreturn_stub): Use inhibit_stack_protector.
6619         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
6620         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
6622 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6624         [BZ #7065]
6625         * login/Makefile (pt_chown-cflags): Remove.
6626         * nscd/Makefile (CFLAGS-nscd): Likewise.
6627         * resolv/Makefile (CFLAGS-libresolv): Likewise.
6629 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6631         [BZ #7065]
6632         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
6633         non-libc-linking testcase.
6635 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6636             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6637             Florian Weimer  <fweimer@redhat.com>
6639         [BZ #7065]
6640         PLT avoidance for __stack_chk_fail*.
6641         * debug/Makefile (CFLAGS-stack_chk_fail.c)
6642         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
6643         * debug/stack_chk_fail.c (__stack_chk_fail): Add
6644         __stack_chk_fail_local alias.
6645         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
6646         (__stack_chk_fail): Turn into hidden reference to
6647         __stack_chk_fail_local.
6649 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6651         [BZ #7065]
6652         * configure.ac: Add check for unsupported stack-protection level.
6653         (libc_cv_predef_stack_protector): Remove.
6654         (no_ssp): New variable.
6655         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
6656         (stack_protector): Set to -fno-stack-protector similarly.
6657         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
6658         (libc_cv_asm_set_directive): Likewise.
6659         (libc_cv_protected_data): Likewise.
6660         (libc_cv_z_combreloc): Likewise.
6661         (libc_cv_hashstyle): Likewise.
6662         (libc_cv_has_glob_dat): Likewise.
6663         (libc_cv_output_format): Likewise.
6664         (libc_cv_output_format): Likewise.
6665         (libc_cv_ehdr_start): Likewise.
6666         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
6667         (LIBC_LINKER_FEATURE): Likewise.
6668         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
6670 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6672         [BZ #7065]
6673         * elf/Makefile (dummy-stack-chk-fail): New.
6674         (librtld.map): Use it.
6676 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6678         [BZ #7065]
6679         Compile the dynamic linker without stack protection.
6680         * elf/Makefile (elide-stack-protector): New.
6681         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
6682         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
6683         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
6684         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
6686 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6688         [BZ #7065]
6689         * config.make.in (have-ssp, no-stack-protector): New.
6690         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
6691         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
6692         (CFLAGS-sbrk.op): Likewise.
6693         (CFLAGS-brk.o): Likewise.
6694         (CFLAGS-brk.op): Likewise.
6695         * string/Makefile (CFLAGS-memcpy.c): Likewise.
6696         (CFLAGS-wordcopy.c): Likewise.
6698 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6700         [BZ #7065]
6701         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
6702         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
6703         * include/libc-symbols.h (inhibit_stack_protector): New macro.
6704         (__ifunc_resolver): Use it.
6705         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
6706         inhibit_stack_protector.
6707         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
6708         * elf/ifuncmain7.c (foo_ifunc): Likewise.
6709         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
6710         (foo_protected_ifunc): Likewise.
6711         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
6712         (foo_protected_ifunc): Likewise.
6713         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6714         * sysdeps/nacl/nacl_interface_query.c
6715         (nacl_interface_query_ifunc): Likewise.
6716         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
6717         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
6718         Likewise.
6719         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
6720         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
6721         the generated vDSO syscall resolver.
6723 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6724             Florian Weimer  <fweimer@redhat.com>
6726         [BZ #7065]
6727         Initialize the stack guard earlier when linking statically.
6728         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
6729         (__pthread_initialize_minimal): Declare.
6730         * csu/libc-start.c (__pthread_initialize_minimal): Remove
6731         declaration.
6732         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
6733         stack canary and apply_irel initialization up.  Call
6734         __pthread_initialize_minimal only if linked in.
6735         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
6736         constant values.
6737         (__pthread_initialize_minimal): Remove.
6738         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
6739         (__pthread_initialize_minimal_internal): Do not call
6740         __libc_setup_tls.
6742 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
6744         [BZ #7065]
6745         * configure.ac (libc_cv_ssp): Move up.
6746         (libc_cv_ssp_strong): Likewise.
6747         (libc_cv_ssp_all): New.
6748         (stack_protector): Augment, adding -fstack-protector-all.
6749         (no_stack_protector): New.
6750         (STACK_PROTECTOR_LEVEL): New.
6751         (AC_ARG_ENABLE(stack-protector)): New configure flag.
6752         * manual/install.texi (--enable-stack-protector): Document it.
6753         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
6755 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
6757         * README.pretty-printers: Must specify CPPFLAGS-* also.
6758         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
6759         (CPPFLAGS-test-mutex-printers.c): Define.
6760         (CPPFLAGS-test-condattr-printers.c): Define.
6761         (CPPFLAGS-test-cond-printers.c): Define.
6762         (CPPFLAGS-test-rwlockattr-printers.c): Define.
6763         (CPPFLAGS-test-rwlock-printers.c): Define.
6765         * nss/Makefile [ifeq (yes,$(have-thread-library))]
6766         (tests): Add tst-cancel-getpwuid_r.
6767         * nss/tst-cancel-getpwuid_r.c: New file.
6769         [BZ #11941]
6770         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
6771         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
6772         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
6773         tst-nodelete-dlclose.
6774         (modules-names): Add tst-nodelete-dlclose-dso and
6775         tst-nodelete-dlclose-plugin.
6776         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
6777         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
6778         ($(objpfx)tst-nodelete-dlclose): Define.
6779         ($(objpfx)tst-nodelete-dlclose.out): Define.
6781 2016-12-23  Florian Weimer  <fweimer@redhat.com>
6783         * scripts/test_printers_common.py: Log GDB output in case of
6784         Python detection failure.
6786 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6788         * configure.ac: Check for python3 or python.
6789         * configure: Regenerated.
6790         * config.make.in (PYTHON): New variable.
6791         * benchtests/Makefile: Don't define PYTHON.
6792         (bench): Define target only if PYTHON was defined.
6793         * Rules: Don't define PYTHON.
6794         Define pretty printer targets only if PYTHON was defined.
6795         (tests-printers): Add to tests-unsupported if PYTHON is not
6796         found.
6797         (python-flags, python-invoke): Remove.
6798         (tests-printers-out): Use PYTHON instead of python-invoke.
6800 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6802         [BZ #20978]
6803         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
6804         Compare name == NULL, not name != NULL.
6806         * manual/texinfo.tex: Update to version 2016-09-18.18 with
6807         trailing whitespace removed.
6808         * scripts/config.guess: Update to version 2016-10-02.
6809         * scripts/config.sub: Update to version 2016-11-19.
6810         * scripts/install-sh: Update to version 2016-01-11.22.
6811         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
6812         * scripts/move-if-change: Update to version 2016-01-11 22:04.
6814 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
6816         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
6817         (do_one_test) Restore original string so iteration works.
6818         * string/string-inlines.c (do_test): Create better input strings.
6819         (test_main) Reduce number of testruns.
6820         * string/string-inlines.c (__old_strsep_1c): New function.
6821         (__old_strsep_2c): Likewise.
6822         (__old_strsep_3c): Likewise.
6823         * string/strsep.c (__strsep): Remove case of small delim string.
6824         Call strcspn directly rather than strpbrk.
6825         * string/bits/string2.h (__strsep): Remove define.
6826         (__strsep_1c): Remove.
6827         (__strsep_2c): Remove.
6828         (__strsep_3c): Remove.
6829         (strsep): Remove.
6830         * sysdeps/unix/sysv/linux/internal_statvfs.c
6831         (__statvfs_getflags): Rename to __strsep.
6833 2016-12-21  Florian Weimer  <fweimer@redhat.com>
6835         * csu/libc-tls.c (_dl_tls_setup): Remove.
6836         * elf/dl-tls.c (_dl_tls_setup): Likewise.
6837         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
6838         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
6840 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6842         [BZ #7065]
6843         * sysdeps/x86_64/Makefile [$(subdir) = elf]
6844         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
6846 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
6847             Florian Weimer  <fweimer@redhat.com>
6849         [BZ #7065]
6850         * csu/Makefile (tests): Empty assignment and document it.
6851         (tests-static): Remove.
6852         * csu/tst-empty.c: Move to...
6853         * misc/tst-empty.c: ... here.  Switch to new test driver.
6854         * csu/tst-atomic.c: Move to...
6855         * misc/tst-atomic.c: ... here.  Switch to new test driver.
6856         * csu/tst-atomic-long.c: Move to...
6857         * misc/tst-atomic-long.c: ... here.
6858         * misc/Makefile (tests): Add tst-empty, tst-atomic,
6859         tst-atomic-long.
6860         (tests-static): Add tst-empty.
6862 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
6864         * manual/nss.texi: Change incorrect @vtable to @table.
6865         * manual/arith.texi: Convert @tables of variables to @vtables
6866         and remove unnecessary indexing.
6867         * manual/filesys.texi: Likewise.
6868         * manual/llio.texi: Likewise.
6869         * manual/memory.texi: Likewise.
6870         * manual/process.texi: Likewise.
6871         * manual/resource.texi: Likewise.
6872         * manual/search.texi: Likewise.
6873         * manual/signal.texi: Likewise.
6874         * manual/socket.texi: Likewise.
6875         * manual/stdio.texi: Likewise.
6876         * manual/sysinfo.texi: Likewise.
6877         * manual/syslog.texi: Likewise.
6878         * manual/terminal.texi: Likewise.
6879         * manual/time.texi: Likewise.
6880         * manual/users.texi: Likewise.
6882 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
6884         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6885         (roundeven): New declaration.
6886         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
6887         macro.
6888         * math/Versions (roundeven): New libm symbol at version
6889         GLIBC_2.25.
6890         (roundevenf): Likewise.
6891         (roundevenl): Likewise.
6892         * math/Makefile (libm-calls): Add s_roundevenF.
6893         * math/libm-test.inc (roundeven_test_data): New array.
6894         (roundeven_test): New function.
6895         (main): Call roundeven_test.
6896         * math/test-tgmath.c (NCALLS): Increase to 134.
6897         (F(compile_test)): Call roundeven.
6898         (F(roundeven)): New function.
6899         * manual/arith.texi (Rounding Functions): Document roundeven,
6900         roundevenf and roundevenl.
6901         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
6902         * include/math.h (roundeven): Use libm_hidden_proto.
6903         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
6904         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
6905         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
6906         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
6907         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
6908         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
6909         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
6910         roundeven.
6911         (CFLAGS-nldbl-roundeven.c): New variable.
6912         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
6913         * sysdeps/nacl/libm.abilist: Update.
6914         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6915         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6916         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6917         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6918         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6919         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6920         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6921         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6922         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6923         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6924         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6925         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6927         Likewise.
6928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6929         Likewise.
6930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6931         Likewise.
6932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6933         Likewise.
6934         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6935         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6936         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6937         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6938         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6939         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6940         Likewise.
6941         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6942         Likewise.
6943         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6944         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6945         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6947 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
6949         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
6950         preprocessor indentation inside #if.
6952 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6954         * math/libm-test.inc (fmt_ftostr): New function.
6955         (print_float, check_float_internal): Replace some uses of
6956         FTOSTR with uses of fmt_ftostr.
6957         (print_max_error, print_complex_max_error, print_function_ulps)
6958         (print_complex_function_ulps): Remove uses of the macros
6959         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
6960         * math/test-double.h (FTOSTR): Define to strfromd.
6961         (PRINTF_EXPR): Delete.
6962         (PRINTF_XEXPR): Likewise.
6963         (PRINTF_NEXPR): Likewise.
6964         * math/test-float.h (FTOSTR): Define to strfromf.
6965         (PRINTF_EXPR): Delete.
6966         (PRINTF_XEXPR): Likewise.
6967         (PRINTF_NEXPR): Likewise.
6968         * math/test-ldouble.h (FTOSTR): Define to strfroml.
6969         (PRINTF_EXPR): Delete.
6970         (PRINTF_XEXPR): Likewise.
6971         (PRINTF_NEXPR): Likewise.
6973 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6975         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6976         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
6977         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6978         (__lll_lock_elision): Decrement adapt_count while unlocking
6979         instead of before locking.
6980         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
6981         (__lll_trylock_elision): Likewise.
6982         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
6983         (__lll_unlock_elision): Likewise.
6985 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6987         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
6988         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
6989         Use __libc_tbegin_retry macro.
6991 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6993         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
6994         Add -msoft-float.
6995         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
6996         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
6997         Use __libc_t* transaction macros instead of __builtin_t*.
6998         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6999         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7001 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7003         * sysdeps/unix/sysv/linux/s390/elision-lock.c
7004         (__lll_lock_elision): Use atomics to load / store adapt_count.
7005         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
7006         (__lll_trylock_elision): Likewise.
7008 2016-12-20  Florian Weimer  <fweimer@redhat.com>
7010         Do not require memset elimination in explicit_bzero test.
7011         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
7012         (enum test_expectation): Add NO_EXPECTATIONS.
7013         (subtests): NO_EXPECTATIONS for ordinary clear.
7014         (check_test_buffer): Handle NO_EXPECTATIONS.
7015         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
7017 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
7019         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7020         (fmaxmag): New declaration.
7021         (fminmag): Likewise.
7022         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
7023         macro.
7024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
7025         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
7026         (fmaxmagf): Likewise.
7027         (fmaxmagl): Likewise.
7028         (fminmag): Likewise.
7029         (fminmagf): Likewise.
7030         (fminmagl): Likewise.
7031         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
7032         * math/s_fmaxmag_template.c: New file.
7033         * math/s_fminmag_template.c: Likewise.
7034         * math/libm-test.inc (fmaxmag_test_data): New array.
7035         (fmaxmag_test): New function.
7036         (fminmag_test_data): New array.
7037         (fminmag_test): New function.
7038         (main): Call fmaxmag_test and fminmag_test.
7039         * math/test-tgmath.c (NCALLS): Increase to 132.
7040         (F(compile_test)): Call fmaxmag and fminmag.
7041         (F(fminmag)): New function.
7042         (F(fmaxmag)): Likewise.
7043         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
7044         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
7045         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
7046         fminmag.
7047         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
7048         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
7049         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
7050         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
7051         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
7052         and fminmag.
7053         (CFLAGS-nldbl-fmaxmag.c): New variable.
7054         (CFLAGS-nldbl-fminmag.c): Likewise.
7055         * sysdeps/nacl/libm.abilist: Update.
7056         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7057         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7058         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7059         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7060         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7061         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7062         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7063         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7064         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7065         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7066         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7067         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7069         Likewise.
7070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7071         Likewise.
7072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7073         Likewise.
7074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7075         Likewise.
7076         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7077         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7078         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7079         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7080         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7082         Likewise.
7083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7084         Likewise.
7085         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7086         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7087         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7089 2016-12-19  Torvald Riegel  <triegel@redhat.com>
7091         [BZ #20973]
7092         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
7093         wake-up in robust mutexes.
7094         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7096 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7098         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
7099         (CFLAGS-bench-fmaxf.c): New rule.
7100         (CFLAGS-bench-fminf.c): Likewise.
7101         * benchtests/fmaxf-inputs: New file.
7102         * benchtests/fminf-inputs: Likewise.
7104         * benchtests/Makefile (bench-math): Add fmin and fmax.
7105         (CFLAGS-bench-fmax.c): New rule.
7106         (CFLAGS-bench-fmin.c): Likewise.
7107         * benchtests/fmax-inputs: New file.
7108         * benchtests/fmin-inputs: Likewise.
7110         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
7111         parenthesis.
7112         (CMDLINE_PROCESS): Define using function instead of macro.
7113         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
7114         of test-skeleton.
7115         * benchtests/bench-memchr.c: Likewise.
7116         * benchtests/bench-memcmp.c: Likewise.
7117         * benchtests/bench-memcpy-large.c: Likewise.
7118         * benchtests/bench-memcpy.c: Likewise.
7119         * benchtests/bench-memmem.c: Likewise.
7120         * benchtests/bench-memmove-large.c: Likewise.
7121         * benchtests/bench-memmove.c: Likewise.
7122         * benchtests/bench-memset-large.c: Likewise.
7123         * benchtests/bench-memset.c: Likewise.
7124         * benchtests/bench-rawmemchr.c: Likewise.
7125         * benchtests/bench-strcasecmp.c: Likewise.
7126         * benchtests/bench-strcasestr.c: Likewise.
7127         * benchtests/bench-strcat.c: Likewise.
7128         * benchtests/bench-strchr.c: Likewise.
7129         * benchtests/bench-strcmp.c: Likewise.
7130         * benchtests/bench-strcpy.c: Likewise.
7131         * benchtests/bench-strcpy_chk.c: Likewise.
7132         * benchtests/bench-strlen.c: Likewise.
7133         * benchtests/bench-strncasecmp.c: Likewise.
7134         * benchtests/bench-strncmp.c: Likewise.
7135         * benchtests/bench-strncpy.c: Likewise.
7136         * benchtests/bench-strnlen.c: Likewise.
7137         * benchtests/bench-strpbrk.c: Likewise.
7138         * benchtests/bench-strrchr.c: Likewise.
7139         * benchtests/bench-strsep.c: Likewise.
7140         * benchtests/bench-strspn.c: Likewise.
7141         * benchtests/bench-strstr.c: Likewise.
7142         * benchtests/bench-strtok.c: Likewise.
7144 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7146         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
7147         stepping identification.
7148         (init_cpu_features): Add handle of Haswell.
7150 2016-11-25  Jim Meyering  <meyering@fb.com>
7152         [BZ #20386]
7153         Let gcc detect assert(a = 1) errors.
7154         * assert/assert.h (assert): Rewrite, retaining the old definintion
7155         when required, but otherwise putting the expression as-is in an "if"
7156         expression (hence, with no added parentheses) within a statement
7157         expression.
7159 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7161         * benchtests/Makefile (binaries-benchset): Depend on libsupport
7162         DSO.
7164 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
7166         * Rules (python-flags, python-invoke): New.
7167         ($(test-printers-out)): Use $(python-flags).
7169 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7171         * manual/arith.texi (Math Error Reporting): Document that sNaN
7172         arguments are not considered domain errors.
7174 2016-12-16  Zack Weinberg <zackw@panix.com>
7175             Florian Weimer <fweimer@redhat.com>
7176             Nick Mathewson <nickm@torproject.org>
7178         * string/explicit_bzero.c: New routine.
7179         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
7180         * string/Makefile (routines, strop-tests, tests): Add them.
7181         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
7182         * string/string.h [__USE_MISC]: Declare explicit_bzero.
7184         * debug/explicit_bzero_chk.c: New routine.
7185         * debug/Makefile (routines): Add it.
7186         * debug/tst-chk1.c: Test fortification of explicit_bzero.
7187         * string/bits/string3.h: Fortify explicit_bzero.
7189         * manual/string.texi: Document explicit_bzero.
7190         * NEWS: Mention addition of explicit_bzero.
7192         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
7193         data before returning, using explicit_bzero.
7194         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
7195         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
7196         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
7198         * include/string.h: Redirect internal uses of explicit_bzero
7199         to __explicit_bzero_chk[_internal].
7200         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
7201         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
7202         * sysdeps/arm/nacl/libc.abilist
7203         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
7204         * sysdeps/unix/sysv/linux/alpha/libc.abilist
7205         * sysdeps/unix/sysv/linux/arm/libc.abilist
7206         * sysdeps/unix/sysv/linux/hppa/libc.abilist
7207         * sysdeps/unix/sysv/linux/i386/libc.abilist
7208         * sysdeps/unix/sysv/linux/ia64/libc.abilist
7209         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
7210         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
7211         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
7212         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7213         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7214         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7215         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7216         * sysdeps/unix/sysv/linux/nios2/libc.abilist
7217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7221         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
7222         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
7223         * sysdeps/unix/sysv/linux/sh/libc.abilist
7224         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
7225         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
7226         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
7227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
7228         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
7229         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
7230         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
7231         Add entries for explicit_bzero and __explicit_bzero_chk.
7233 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7235         * math/fenv.h
7236         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
7237         (FE_SNANS_ALWAYS_SIGNAL): New macro.
7238         * math/test-fe-snans-always-signal.c: New file.
7239         * math/Makefile (tests): Add test-fe-snans-always-signal.
7240         (CFLAGS-test-fe-snans-always-signal.c): New variable.
7241         * manual/arith.texi (Infinity and NaN): Document
7242         FE_SNANS_ALWAYS_SIGNAL.
7244 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7246         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
7247         bracket.
7249 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
7251         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
7252         before calling execv.
7254 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7256         [BZ #20971]
7257         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
7258         overflow in pointer addition.
7259         * string/test-memchr.c (do_test): Add an argument to pass as
7260         the size on memchr.
7261         (test_main): Add check for SIZE_MAX.
7263 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7265         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
7266         (libm-calls): Add w_scalblnF.
7267         * math/w_scalbln.c: Remove.
7268         * math/w_scalblnf.c: Likewise.
7269         * math/w_scalblnl.c: Likewise.
7270         * math/w_scalbln_template.c: New file with type-generic
7271         implementation based on math/w_scalbln.c.
7272         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
7273         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
7275 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7277         [BZ #20947]
7278         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
7279         either is a signaling NaN.
7280         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
7281         follow fmaxl more closely.
7282         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
7283         when either is a signaling NaN.
7284         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
7285         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
7286         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
7287         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
7288         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
7289         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
7290         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
7291         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
7292         (fmin_test_data): Likewise.
7294 2016-12-15  Andreas Schwab  <schwab@suse.de>
7296         * support/support_test_main.c (support_test_main): Don't shadow
7297         file-local variable test_pid.
7299 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
7301         [BZ #20947]
7302         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
7303         either is a signaling NaN.
7304         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
7306 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7308         [BZ #20947]
7309         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
7310         when either is a signaling NaN.
7311         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
7313         * bits/long-double.h: New file.
7314         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
7315         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
7316         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
7317         * sysdeps/mips/bits/long-double.h: Likewise.
7318         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
7319         * math/Makefile (headers): Add bits/long-double.h.
7320         * misc/sys/cdefs.h: Include <bits/long-double.h>.
7321         * stdlib/strtold.c: Include <bits/long-double.h> instead of
7322         <bits/wordsize.h>.
7323         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
7324         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
7325         * math/math.h: Do not include <bits/mathdef.h>.
7326         * sysdeps/aarch64/bits/mathdef.h: Remove file.
7327         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
7328         inclusion.
7329         * sysdeps/ia64/bits/mathdef.h: Remove file.
7330         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
7331         * sysdeps/mips/bits/mathdef.h: Likewise.
7332         * sysdeps/powerpc/bits/mathdef.h: Likewise.
7333         * sysdeps/s390/bits/mathdef.h: Likewise.
7334         * sysdeps/sparc/bits/mathdef.h: Likewise.
7335         * sysdeps/x86/bits/mathdef.h: Likewise.
7336         * sysdeps/s390/s390-32/bits/wordsize.h
7337         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
7338         conditional code.
7339         * sysdeps/s390/s390-64/bits/wordsize.h
7340         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7341         Likewise.
7342         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
7343         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7344         Likewise.
7345         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
7346         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7347         Likewise.
7348         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
7349         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
7350         Likewise.
7352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
7353         <linux/falloc.h>.
7354         (FALLOC_FL_KEEP_SIZE): Remove.
7355         (FALLOC_FL_PUNCH_HOLE): Likewise.
7356         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
7357         (FALLOC_FL_ZERO_RANGE): Likewise.
7359 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7361         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
7363 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7365         * sysdeps/unix/sysv/linux/renameat.c: New file.
7366         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
7368         * sysdeps/unix/sysv/linux/rename.c: New file.
7369         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
7371 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7373         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
7374         * string/strtok.c (strtok): Change to tailcall __strtok_r.
7375         * string/strtok_r.c (__strtok_r): Optimize for performance.
7376         * string/string-inlines.c (__old_strtok_r_1c): New function.
7377         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
7379 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7381         * math/Makefile (gen-libm-calls): Add w_log1pF.
7382         (libm-calls): Remove w_log1pF.
7383         * math/w_log1p.c: Remove.
7384         * math/w_log1pf.c: Likewise.
7385         * math/w_log1pl.c: Likewise.
7386         * math/w_log1p_template.c: New file with type-generic
7387         implementation based on math/w_log1p.c.
7388         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
7389         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
7391 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
7393         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
7395 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
7397         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
7398         kernel version to 4.9.
7400 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
7402         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
7403         ($(inst_libdir)/libm.a): Fix rule to create the target only.
7405 2016-12-13  Andreas Schwab  <schwab@suse.de>
7407         * sysdeps/powerpc/dl-procinfo.c: Don't define
7408         _dl_powerpc_platforms.
7409         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
7410         constants instead of referencing _dl_powerpc_platforms.
7411         (_dl_platform_string): Remove.
7413 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7415         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
7417 2016-12-13  Florian Weimer  <fweimer@redhat.com>
7419         * Rules (binaries-shared-tests, binaries-pie-tests)
7420         (binaries-static-tests): Link with $(link-extra-libs-tests).
7421         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
7422         Remove $(link-extra-libs-tests).
7424 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7426         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7427         (sysdep_routines): Add strncmp_power9.
7428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7429         (strncmp): Add __strncmp_power9 to list of strncmp functions.
7430         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
7431         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
7432         (strncmp): Add __strncmp_power9 to ifunc list.
7433         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
7435 2016-12-12  Florian Weimer  <fweimer@redhat.com>
7437         [BZ #17252]
7438         Add getentropy, getrandom.
7439         * stdlib/sys/random.h: New file.
7440         (headers): Add it.
7441         * stdlib/Makefile (routines): Add getentropy, getrandom.
7442         (tests): Add tst-getrandom.
7443         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
7444         * stdlib/getentropy.c: New file.
7445         * stdlib/getrandom.c: Likewise.
7446         * stdlib/tst-getrandom.c: Likewise.
7447         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
7448         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
7449         * manual/crypt.texi (Unpredictable Bytes): New section.
7450         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
7451         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
7452         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
7453         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7454         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
7455         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7456         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7457         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7458         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7459         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7460         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7461         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7462         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7463         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7464         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7465         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
7466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7467         Likewise.
7468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7469         Likewise.
7470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7472         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7473         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7474         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7475         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7476         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7479         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7480         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7481         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7483 2016-12-10  Florian Weimer  <fweimer@redhat.com>
7485         [BZ #20956]
7486         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
7487         as additional compiler barriers.
7488         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
7489         (fn2, do_test): Declare with external linkage.
7490         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
7491         (do_test): Declare with external linkage.
7492         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
7493         (do_test): Declare with external linkage.
7494         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
7495         (do_test): Declare with external linkage.
7497 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
7499         * support/support_test_main.c (support_test_main): Use correct
7500         timeout.
7502 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
7503             Florian Weimer  <fweimer@redhat.com>
7505         [BZ #16421]
7506         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
7507         and __u6_addr32 members.
7508         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
7509         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
7510         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
7511         Use __u6_addr32.
7512         * inet/tst-checks.c: Use <support/test-driver.c>
7513         * inet/tst-checks-posix.c: New file.
7514         * inet/Makefile (tests): Add it.
7515         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
7517 2016-12-09  Florian Weimer  <fweimer@redhat.com>
7519         New subdirectory support for build and test infrastructure.
7520         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
7521         setting install-lib.
7522         * Makeconfig (link-extra-libs-tests): Define.
7523         (+link-pie-tests, +link-static-tests, +link-tests): Use
7524         link-extra-libs-tests.
7525         (rpath-dirs, all-subdirs): Add support.
7526         (built-modules): Add libsupport.
7527         (libsupport): Define.
7528         * support: New directory.
7529         * support/Makefile: New file.
7530         * support/check.c: Likewise.
7531         * support/check.h: Likewise.
7532         * support/delayed_exit.c: Likewise.
7533         * support/ignore_stderr.c: Likewise.
7534         * support/oom_error.c: Likewise.
7535         * support/set_fortify_handler.c: Likewise.
7536         * support/support.h: Likewise.
7537         * support/temp_file-internal.h: Likewise.
7538         * support/temp_file.c: Likewise.
7539         * support/test-driver.c: Likewise.
7540         * support/test-driver.h: Likewise.
7541         * support/test_main.c: Likewise.
7542         * support/write_message.c: Likewise.
7543         * support/xasprintf.c: Likewise.
7544         * support/xcalloc.c: Likewise.
7545         * support/xmalloc.c: Likewise.
7546         * support/xpthread_barrier_destroy.c: Likewise.
7547         * support/xpthread_barrier_init.c: Likewise.
7548         * support/xpthread_barrier_wait.c: Likewise.
7549         * support/xpthread_cancel.c: Likewise.
7550         * support/xpthread_check_return.c: Likewise.
7551         * support/xpthread_cond_wait.c: Likewise.
7552         * support/xpthread_create.c: Likewise.
7553         * support/xpthread_detach.c: Likewise.
7554         * support/xpthread_join.c: Likewise.
7555         * support/xpthread_mutex_lock.c: Likewise.
7556         * support/xpthread_mutex_unlock.c: Likewise.
7557         * support/xpthread_sigmask.c: Likewise.
7558         * support/xpthread_spin_lock.c: Likewise.
7559         * support/xpthread_spin_unlock.c: Likewise.
7560         * support/xrealloc.c: Likewise.
7561         * support/xsignal.h: Likewise.
7562         * support/xthread.h: Likewise.
7563         * support_tempfile.h: Likewise.
7564         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
7565         (TEST_DATA_LIMIT): Remove unused macro.
7566         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
7567         <support/check.h>.
7568         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
7569         (ignore_stderr, set_fortify_handler): Remove.  Now in
7570         <support/support.h>.
7571         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
7572         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
7573         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
7574         (xpthread_join): Remove.  Now in <support/xthread.h>.
7575         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
7576         Introduce legacy wrappers.
7577         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
7578         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
7579         (write_message): Remove.
7580         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
7581         test-skeleton.c.
7582         * io/test-open-tmpfile: Likewise.
7583         * io/tst-posix_fallocate-common.c: Likewise.
7584         * libio/tst-fseek.c: Likewise.
7585         * malloc/tst-malloc-backtrace.c: Likewise.
7586         * malloc/tst-malloc-fork-deadlock.c: Likewise.
7587         * malloc/tst-malloc-thread-exit.c: Likewise.
7588         * nptl/tst-cancel7.c: Likewise.
7589         * nptl/tst-cleanup0.c: Likewise.
7590         * posix/tst-posix_fadvise-common.c: Likewise.
7591         * rt/tst-shm.c: Likewise.
7592         * time/bug-getdate1.c: Likewise.
7593         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
7594         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
7595         * elf/Makefile (tst-piemod1.so): Link against libsupport.
7597 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
7599         * Rules [$(run-built-tests) != no] (tests-expected): Add
7600         $(tests-printers).
7601         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
7603 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
7605         [BZ #20539]
7606         * math/Makefile (install-lib-ldscripts): Add libm.a.
7607         (install_subdir): Remove.
7608         (install-others): Add.
7609         ($(inst_libdir)/libm.a): Add rule for installation as
7610         linker script.
7611         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
7613 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
7615         * INSTALL: Regenerated.
7616         * Makeconfig: Add comments and whitespace to make the control flow
7617         clearer.
7618         (+link-printers-tests, +link-pie-printers-tests,
7619         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
7620         built-rtld-LDFLAGS, link-libc-rpath,
7621         link-libc-tests-after-rpath-link,
7622         link-libc-printers-tests): New.
7623         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
7624         link-libc-tests): Use the new variables as required.
7625         * Makerules ($(py-const)): New rule.
7626         generated: Add $(py-const).
7627         * README.pretty-printers: New file.
7628         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
7629         (others): Depend on $(py-const).
7630         (tests): Depend on $(tests-printers-programs) or
7631         $(tests-printers-out),
7632         as required.  Pass $(tests-printers) to merge-test-results.sh.
7633         * manual/install.texi: Add requirements for testing the pretty
7634         printers.
7635         * nptl/Makefile (gen-py-const-headers, pretty-printers,
7636         tests-printers, CFLAGS-test-mutexattr-printers.c
7637         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
7638         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
7639         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
7640         * nptl/nptl-printers.py: New file.
7641         * nptl/nptl_lock_constants.pysym: Likewise.
7642         * nptl/test-cond-printers.c: Likewise.
7643         * nptl/test-cond-printers.py: Likewise.
7644         * nptl/test-condattr-printers.c: Likewise.
7645         * nptl/test-condattr-printers.py: Likewise.
7646         * nptl/test-mutex-printers.c: Likewise.
7647         * nptl/test-mutex-printers.py: Likewise.
7648         * nptl/test-mutexattr-printers.c: Likewise.
7649         * nptl/test-mutexattr-printers.py: Likewise.
7650         * nptl/test-rwlock-printers.c: Likewise.
7651         * nptl/test-rwlock-printers.py: Likewise.
7652         * nptl/test-rwlockattr-printers.c: Likewise.
7653         * nptl/test-rwlockattr-printers.py: Likewise.
7654         * scripts/gen-py-const.awk: Likewise.
7655         * scripts/test_printers_common.py: Likewise.
7656         * scripts/test_printers_exceptions.py: Likewise.
7658 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7660         * scripts/build-many-glibcs.py (Context.__init__): Take strip
7661         argument.
7662         (Glibc.build_glibc): Strip installed shared libraries if
7663         requested.
7664         (get_parser): Add --strip option.
7665         (main): Update Context call.
7667 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7668             Dominik Vogt  <vogt@linux.vnet.ibm.com>
7670         [BZ #20847]
7671         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
7672         array bounds for else branch.
7673         (__execvpe): Style fixes.
7674         * posix/tst-vfork3.c (run_script): New function.
7675         (create_script): Likewise.
7676         (do_test): Use run_script internal function.
7677         (do_prepare): Use create_script internal function.
7679 2016-12-07  Andreas Schwab  <schwab@suse.de>
7681         * sysdeps/unix/sysv/linux/x86/elision-conf.h
7682         (__elision_available): Don't declare.
7683         * sysdeps/unix/sysv/linux/x86/elision-conf.c
7684         (__elision_available): Don't define.
7685         (elision_init): Don't set __elision_available.
7687 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
7689         [BZ #20940]
7690         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
7691         return Inf for arguments Inf and sNaN.
7692         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
7693         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7694         Likewise.
7695         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7696         Likewise.
7697         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7698         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
7699         for arguments Inf and sNaN.  When returning a NaN, compute it by
7700         arithmetic on the arguments.
7701         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
7702         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
7703         arguments.
7705 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
7707         [BZ #20916]
7708         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
7709         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
7710         to compute result.
7711         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7712         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
7714 2016-12-05  Torvald Riegel  <triegel@redhat.com>
7716         * include/atomic.h (__atomic_check_size_ls): New.
7717         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
7718         atomic_store_release): Use it.
7719         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
7720         (elision_adapt, ELIDE_LOCK): Use atomics.
7721         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
7722         atomics and improve code comments.
7723         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
7724         (__lll_trylock_elision): Likewise.
7726 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7728         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
7729         programs.
7731 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7733         [BZ #20916]
7734         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
7735         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
7736         arguments to compute result.
7737         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
7738         1 for arguments (sNaN, 0) or (1, sNaN).
7739         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7740         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7742         [BZ #20919]
7743         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
7744         NaN first argument when raised to power 0.
7745         * math/w_pow.c (__pow): Do not check for NaN or zero results from
7746         raising to power zero.
7747         * math/w_powf.c (__powf): Likewise.
7748         * math/w_powl.c (__powl): Likewise.
7749         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
7750         pow (0, 0) or pow (NaN, 0).
7752 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
7754         [BZ #20918]
7755         * configure.ac: Test for static NSS cryptographic libraries and set
7756         libc_cv_static_nss_crypt.
7757         * configure: Regenerate.
7758         * config.make.in (static-nss-crypt): Define.
7759         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
7760         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
7761         (CFLAGS-tst-linkall-static.c): Define.
7762         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
7763         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
7764         ($(objpfx)tst-linkall-static): Define.
7765         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
7766         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
7768 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7770         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
7771         (one-hundred, tst-tls-many-dynamic-modules): Define.
7772         (modules-names): Add $(tst-tls-many-dynamic-modules).
7773         (tst-tls-manydynamic%mod.os): Build with special preprocessor
7774         macros.
7775         (tst-tls-manydynamic): Link against libdl, libpthread.
7776         (tst-tls-manydynamic.out): The test needs the test modules at run
7777         time.
7778         * elf/tst-tls-manydynamic.c: New file.
7779         * elf/tst-tls-manydynamic.h: Likewise.
7780         * elf/tst-tls-manydynamicmod.c: Likewise.
7782 2016-12-02  Florian Weimer  <fweimer@redhat.com>
7784         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
7785         (TLS_DTV_UNALLOCATED): Add.
7786         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
7787         offsets.
7789 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7791         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7793 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
7795         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
7796         Add -fno-optimize-sibling-calls.
7798 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
7800         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
7801         New declaration.
7802         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
7803         macro.
7804         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
7805         New macro.
7806         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
7807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
7808         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
7809         (llogbf): Likewise.
7810         (llogbl): Likewise.
7811         * math/Makefile (gen-libm-calls): Add w_llogbF.
7812         (tests): Add test-fp-llogb-constants.
7813         * math/w_llogb_template.c: New file.  Based on
7814         math/w_ilogb_template.c.
7815         * math/libm-test.inc (llogb_test_data): New array.
7816         (llogb_test): New function.
7817         (main): Call llogb_test.
7818         * math/test-fp-llogb-constants.c: New file.  Based on
7819         math/test-fp-ilogb-constants.c.
7820         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
7821         (do_test): Call check_return_llogb.
7822         * math/test-tgmath.c (NCALLS): Increase to 126.
7823         (F(compile_test)): Call llogb.
7824         (F(llogb)): New function.
7825         * manual/math.texi (Exponents and Logarithms): Document llogb,
7826         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
7827         * manual/libm-err-tab.pl (@all_functions): Add llogb.
7828         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
7829         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
7830         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
7831         (CFLAGS-nldbl-llogb.c): New variable.
7832         * sysdeps/nacl/libm.abilist: Update.
7833         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7834         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7835         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7836         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7837         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7838         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7839         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7840         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7841         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7842         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7843         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7844         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7846         Likewise.
7847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7848         Likewise.
7849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7850         Likewise.
7851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7852         Likewise.
7853         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7854         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7855         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7856         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7857         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7859         Likewise.
7860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7861         Likewise.
7862         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7863         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7864         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7866 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7868         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
7869         _Float128 instead of long double.
7870         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
7872         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
7873         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
7874         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
7875         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
7876         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
7877         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
7878         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
7879         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
7880         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
7881         Likewise.
7883 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7885         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
7886         Remove redirection to __strrchr_ppc.
7888 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7890         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7891         (sysdep_routines): Add strcmp_power9.
7892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7893         (strcmp): Add __strcmp_power9 to list of strcmp functions.
7894         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
7895         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
7896         (strcmp): Add __strcmp_power9 to ifunc list.
7897         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
7899 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
7901         * bits/fp-logb.h: New file.
7902         * sysdeps/ia64/bits/fp-logb.h: Likewise.
7903         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
7904         * sysdeps/x86/bits/fp-logb.h: Likewise.
7905         * math/Makefile (headers): Add bits/fp-logb.h.
7906         * math/math.h: Include <bits/fp-logb.h>.
7907         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
7908         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
7909         * bits/mathdef.h (FP_ILOGB0): Remove.
7910         (FP_ILOGBNAN): Likewise.
7911         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
7912         (FP_ILOGBNAN): Likewise.
7913         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
7914         (FP_ILOGBNAN): Likewise.
7915         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
7916         (FP_ILOGBNAN): Likewise.
7917         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
7918         (FP_ILOGBNAN): Likewise.
7919         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
7920         (FP_ILOGBNAN): Likewise.
7921         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
7922         (FP_ILOGBNAN): Likewise.
7923         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
7924         (FP_ILOGBNAN): Likewise.
7925         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
7926         (FP_ILOGBNAN): Likewise.
7927         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
7928         (FP_ILOGBNAN): Likewise.
7930         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
7931         time module.
7932         (Context.__init__): Initialize self.logsdir_old.
7933         (Context.run_builds): Handle bot action.
7934         (Context.bot_cycle): Copy logs directory before running builds.
7935         (Context.bot_run_self): Take argument for whether to check
7936         subprocess result.  Flush stdout before running subprocess.
7937         (Context.bot): New function.
7938         (get_parser): Allow bot action.
7940 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
7942         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
7943         Import email.mime.text, email.utils and smtplib modules.
7944         (Context.__init__): Initialize self.bot_config_json.
7945         (Context.run_builds): Handle bot-cycle action.
7946         (Context.load_bot_config_json): New function.
7947         (Context.part_build_old): Likewise.
7948         (Context.bot_cycle): Likewise.
7949         (Context.bot_build_mail): Likewise.
7950         (Context.bot_run_self): Likewise.
7951         (get_parser): Allow bot-cycle action.
7953 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
7956         Remove redirection to __stpcpy_ppc.
7958 2016-11-30  Florian Weimer  <fweimer@redhat.com>
7960         Remove __libc_memalign from ld.so because it is unused.
7961         * elf/dl-minimal.c: Update comment on the malloc implementation.
7962         (malloc): Renamed from __libc_memalign, replacing the original
7963         malloc implementation.  Replace the align parameter with
7964         MALLOC_ALIGNMENT.
7965         * elf/Versions (ld): Update comment and remove __libc_memalign.
7966         * sysdeps/nacl/ld.abilist: Likewise.
7967         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
7968         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
7969         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
7970         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
7971         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
7972         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
7973         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
7974         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
7975         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
7976         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
7977         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
7978         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
7979         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
7980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
7981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7983         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
7984         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
7985         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
7986         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
7987         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
7988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
7989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
7990         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
7991         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
7992         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
7993         * sysdeps/generic/localplt.data (ld.so): Likewise.
7994         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
7995         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
7996         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
7997         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
7998         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
7999         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8000         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8001         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
8002         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8004         (ld.so): Likewise.
8005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8006         (ld.so): Likewise.
8007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8008         Likewise.
8009         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8010         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8011         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
8012         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
8013         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8015 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8017         [BZ #16628]
8018         Implement _dl_catch_error, _dl_signal_error in libc.so.
8019         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
8020         (catch_hook): Define as thread-local or regular variable,
8021         depending on DL_ERROR_BOOTSTRAP.
8022         (CATCH_HOOK): Remove.
8023         (dl_signal_error, _dl_catch_error): Use
8024         catch_hook.  Add hidden definition for libc.
8025         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
8026         for DL_ERROR_BOOTSTRAP only.
8027         * elf/dl-error.c: New file.
8028         * elf/dl-error-minimal.c: Likewise.
8029         * elf/tst-latepthread.c: Likewise.
8030         * elf/tst-latepthreadmod.c: Likewise.
8031         * elf/Makefile (routines): Add dl-error.
8032         (dl-routines): Remove dl-error.
8033         (rtld-routines): Add dl-error-minimal.
8034         [build-shared] (tests): Add tst-latepthread.
8035         (module-names): Add tst-latepthreadmod.
8036         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
8037         symbol.
8038         (tst-latepthreadmod.so): Link against libpthread.
8039         (tst-latepthread): Link against libdbl.
8040         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
8041         _dl_catch_error.
8042         [ld] (GLIBC_PRIVATE): Likewise.
8043         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
8044         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
8045         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
8046         directly.
8047         * elf/dl-tsd.c: Remove file.
8048         * elf/rtld.c (_rtld_global_ro): Remove initializers for
8049         _dl_catch_error, _dl_signal_error.
8050         (_dl_initial_error_catch_tsd): Remove definition.
8051         (do_preload): Remove initialization of dl_error_catch_tsd.
8052         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
8053         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
8054         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8055         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8056         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
8057         set dl_error_catch_tsd.
8058         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
8059         _dl_error_catch_tsd member.
8060         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
8061         members.
8062         (_dl_initial_error_catch_tsd): Remove declaration.
8063         (_dl_dprintf): Provide definition for use outside of ld.so.
8064         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
8065         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
8066         prototype for libc.
8067         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
8068         _dl_catch_error.
8069         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
8070         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
8071         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
8072         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
8073         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
8074         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
8075         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
8076         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
8077         Likewise.
8078         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
8079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
8080         (ld.so): Likewise.
8081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
8082         (ld.so): Likewise.
8083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
8084         Likewise.
8085         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
8086         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
8087         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
8088         Likewise.
8089         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
8090         Likewise.
8091         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
8093 2016-11-30  Florian Weimer  <fweimer@redhat.com>
8095         [BZ #4099]
8096         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
8097         _IO_BUFSIZ (8192).
8099 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
8101         * PROJECTS: Remove file.
8103 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8105         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
8107 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
8108             Steve Ellcey  <sellcey@caviumnetworks.com>
8110         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
8111         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
8112         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
8113         fxstatat.
8114         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
8115         lxstat.
8116         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
8117         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
8118         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
8119         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
8120         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
8121         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
8122         __xstat.
8124 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8126         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
8127         Define.
8128         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
8129         definition.
8131 2016-11-29  Florian Weimer  <fweimer@redhat.com>
8133         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
8134         version and turn into strong alias.  Remove compat symbol.
8136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8137         (__longjmp): Remove.
8139 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
8141         * bits/fp-fast.h: New file.
8142         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
8143         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
8144         * math/Makefile (headers): Add bits/fp-fast.h.
8145         * math/math.h: Include <bits/fp-fast.h>.
8146         * bits/mathdef.h (FP_FAST_FMA): Remove.
8147         (FP_FAST_FMAF): Likewise.
8148         (FP_FAST_FMAL): Likewise.
8149         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
8150         (FP_FAST_FMAF): Likewise.
8151         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
8152         (FP_FAST_FMAF): Likewise.
8153         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
8154         (FP_FAST_FMAF): Likewise.
8155         (FP_FAST_FMAL): Likewise.
8156         * sysdeps/arm/bits/mathdef.h: Remove file.
8157         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
8158         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
8159         * sysdeps/tile/bits/mathdef.h: Likewise.
8161 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8163         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
8164         * math/w_ilogb.c: Remove.
8165         * math/w_ilogbf.c: Likewise.
8166         * math/w_ilogbl.c: Likewise.
8167         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
8168         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
8169         * math/Makefile (gen-libm-calls): Add w_ilogbF.
8170         (libm-calls): Remove w_ilogbF.
8171         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
8172         (LDOUBLE_ilogbl_libm_version): New macro.
8174         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
8176         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
8177         [!__STRICT_ANSI__ && !__cplusplus].
8179 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
8181         [BZ #20750]
8182         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
8183         of PIC.
8185 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8186             Yury Norov  <ynorov@caviumnetworks.com>
8187             Steve Ellcey  <sellcey@caviumnetworks.com>
8189         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
8190         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
8191         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
8192         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
8193         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
8194         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
8195         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
8196         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
8197         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
8198         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
8199         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
8200         to get correct reg name for ILP32.
8201         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
8202         (RELA_SIZE): New Macro.
8203         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
8204         to support ILP32.
8205         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
8206         cast for ILP32 mode.
8207         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
8208         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
8209         * sysdeps/aarch64/memset.S (__memset): Ditto.
8210         * sysdeps/aarch64/strchr.S (strchr): Ditto.
8211         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
8212         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
8213         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
8214         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
8215         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
8216         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
8217         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
8218         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
8219         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
8220         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
8221         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
8222         change PTR_MANGLE call to use register numbers instead of names.
8223         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
8224         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
8225         ILP32 mode, change PTR_MANGLE calls to use register numbers.
8226         * sysdeps/aarch64/start.S (_start): Ditto.
8227         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
8228         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
8229         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
8230         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
8231         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
8232         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
8233         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
8234         Make defined values dependent on __ILP32__.
8235         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
8236         (sem_t): Change __align type.
8237         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
8238         PTR_SIZE): New Macros.
8239         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
8240         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
8241         Set when in ILP32 mode.
8242         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
8243         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
8244         Set elf flags for ILP32.
8245         (add_system_dir): Set ILP32 library directories.
8246         * sysdeps/unix/sysv/linux/aarch64/init-first.c
8247         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
8248         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
8249         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
8250         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
8251         New Macros.
8252         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
8254 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
8256         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
8257         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
8258         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
8260 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
8262         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
8263         <asm/cachectl.h>.
8265 2016-11-27  Zack Weinberg  <zackw@panix.com>
8267         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
8268         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
8270 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8272         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
8273         error_t to fix usage in C++ programs.
8275 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
8277         * scripts/build-many-glibcs.py: Import datetime module.
8278         (Context.__init__): Load JSON build state.  Initialize list of
8279         status logs.
8280         (Context.run_builds): Update saved build state.
8281         (Context.add_makefile_cmdlist): Update list of status logs.
8282         (Context.load_build_state_json): New function.
8283         (Context.store_build_state_json): Likewise.
8284         (Context.clear_last_build_state): Likewise.
8285         (Context.update_build_state): Likewise.
8286         (CommandList.status_logs): Likewise.
8288 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
8290         * scripts/build-many-glibcs.py (Context.__init__): Save text of
8291         script being executed.
8292         (Context.get_script_text): New function.
8293         (Context.exec_self): Likewise.
8294         (Context.checkout): Re-exec script if changed by checkout process.
8296 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8298         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8299         (setpayloadsig): New declaration.
8300         * math/Versions (setpayloadsig): New libm symbol at version
8301         GLIBC_2.25.
8302         (setpayloadsigf): Likewise.
8303         (setpayloadsigl): Likewise.
8304         * math/Makefile (libm-calls): Add s_setpayloadsigF.
8305         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
8306         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
8307         (setpayloadsig_test_data): New array.
8308         (setpayloadsig_test): New function.
8309         (main): Call setpayloadsig_test.
8310         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
8311         setpayloadsigf and setpayloadsigl.
8312         * manual/libm-err-tab.pl: Update comment on interfaces without
8313         ulps tabulated.
8314         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
8315         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
8316         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
8317         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
8318         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
8319         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
8320         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8321         setpayloadsig.
8322         (CFLAGS-nldbl-setpayloadsig.c): New variable.
8323         * sysdeps/nacl/libm.abilist: Update.
8324         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8325         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8326         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8327         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8328         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8329         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8330         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8331         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8332         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8333         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8334         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8335         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8337         Likewise.
8338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8339         Likewise.
8340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8341         Likewise.
8342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8343         Likewise.
8344         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8345         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8346         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8347         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8348         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8349         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8350         Likewise.
8351         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8352         Likewise.
8353         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8354         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8355         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8357         * scripts/build-many-glibcs.py: Import json module.
8358         (Context.__init__): Take replace_sources argument.  Load
8359         versions.json.
8360         (Context.load_versions_json): New function.
8361         (Context.store_json): Likewise.
8362         (Context.store_versions_json): Likewise.
8363         (Context.set_component_version): Likewise.
8364         (Context.checkout): Update versions.json.  Check for and handle
8365         changes of version.  Prefer previously explicitly specified
8366         version to default version.
8367         (Context.checkout_vcs): Return a revision identifier.
8368         (Context.git_checkout): Likewise.
8369         (Context.gcc_checkout): Likewise.
8370         (get_parser): Add --replace-sources option.
8371         (main): Pass replace_sources argument to Context call.
8373 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8375         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
8376         * nptl/allocatestack.c (allocate_stack): Likewise.
8377         (__reclaim_stacks): Likewise.
8378         (setxid_signal_thread): Obtain pid through syscall.
8379         * nptl/nptl-init.c (sigcancel_handler): Likewise.
8380         (sighandle_setxid): Likewise.
8381         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
8382         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
8383         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
8384         Likewise.
8385         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
8386         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
8387         comment.
8388         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
8389         * nptl/descr.h (struct pthread): Change comment about pid value.
8390         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
8391         pid assert.
8392         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
8393         Do not set pid value.
8394         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
8395         pid cache check.
8396         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
8397         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
8398         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
8399         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
8400         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
8401         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8402         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
8403         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
8404         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
8405         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
8406         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
8407         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8408         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
8409         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8410         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
8411         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
8412         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8413         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
8414         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
8415         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
8416         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
8417         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
8418         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
8419         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
8420         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
8421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8423         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
8424         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8425         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
8426         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
8427         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
8428         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
8429         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
8430         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
8431         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
8432         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
8433         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8434         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
8435         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
8436         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8437         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
8438         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
8439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8441         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8442         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8443         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8444         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
8445         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
8446         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
8447         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
8448         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
8449         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
8450         struct access.
8451         (clone_test): Remove function.
8452         (do_test): Rewrite to take in consideration pid is not cached anymore.
8454 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
8456         * bits/flt-eval-method.h: New file.
8457         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
8458         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
8459         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
8460         * math/Makefile (headers): Add bits/flt-eval-method.h.
8461         * math/math.h: Include <bits/flt-eval-method.h>.
8462         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
8463         [__USE_ISOC99] (double_t): Likewise.
8464         * bits/mathdef.h (float_t): Remove.
8465         (double_t): Likewise.
8466         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
8467         (double_t): Likewise.
8468         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
8469         (double_t): Likewise.
8470         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
8471         (double_t): Likewise.
8472         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
8473         (double_t): Likewise.
8474         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
8475         (double_t): Likewise.
8476         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
8477         (double_t): Likewise.
8478         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
8479         (double_t): Likewise.
8480         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
8481         (double_t): Likewise.
8482         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
8483         (double_t): Likewise.
8484         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
8485         (double_t): Likewise.
8486         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
8487         (double_t): Likewise.
8488         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
8489         (double_t): Likewise.
8490         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
8491         (double_t): Likewise.
8493 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
8495         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
8496         instead of PIC.
8498 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8500         [BZ #20859]
8501         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
8502         (-0x7fffffff) instead of 0x80000001.
8503         * math/test-fp-ilogb-constants.c: New file.
8504         * math/Makefile (tests): Add test-fp-ilogb-constants.
8506 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
8508         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
8509         (_init): Use it in place of hardcoded R_MIPS_JALR.
8510         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
8511         (_init): Use it in place of hardcoded R_MIPS_JALR.
8512         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
8513         (_init): Use it in place of hardcoded R_MIPS_JALR.
8515 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8517         [BZ #20787]
8518         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
8519         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
8520         (double_t): Do not define to double if [__x86_64__] when
8521         __FLT_EVAL_METHOD__ is nonzero.
8522         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
8523         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
8524         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
8525         test-flt-eval-method-387 and test-flt-eval-method-sse.
8526         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
8527         variable.
8528         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
8530 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
8532         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
8533         use of -fno-isolate-erroneous-paths options for tilepro.
8535 2016-11-23  Florian Weimer  <fweimer@redhat.com>
8537         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
8538         structure initialization is no longer needed.
8540 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
8542         [BZ #20855]
8543         * bits/mathdef.h (float_t): Define to float.
8544         * math/test-flt-eval-method.c: New file.
8545         * math/Makefile (tests): Add test-flt-eval-method.
8546         (CFLAGS-test-flt-eval-method.c): New variable.
8548 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
8550         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
8551         and __fstatfs.  Make them aliases of __fstatfs64 if
8552         STATFS_IS_STATFS64 is set to non-zero.
8553         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
8554         and __statfs64.
8555         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
8556         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
8557         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
8558         for __statfs and statfs.
8559         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
8560         to 0.
8561         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
8562         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
8563         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
8564         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8565         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8566         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
8569         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
8570         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8571         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
8572         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
8574 2016-11-22  Andreas Schwab  <schwab@suse.de>
8576         * misc/mkstemp.c: Include <fcntl.h>.
8577         * misc/mkstemps.c: Likewise.
8578         * misc/mkostemp.c: Likewise.
8579         * misc/mkostemps.c: Likewise.
8581 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
8583         [BZ #20847]
8584         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
8585         array bounds.
8586         (__execvpe): Likewise.
8588 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
8590         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
8591         -fno-isolate-erroneous-paths options for tilepro.
8593 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
8595         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
8596         to 0 when in 32 bit mode.
8597         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
8598         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
8599         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
8600         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
8601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
8602         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
8603         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
8604         XSTAT_IS_XSTAT64 test.
8605         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
8606         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
8607         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
8608         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
8609         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
8610         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
8611         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
8612         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
8613         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
8614         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
8615         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
8617 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
8619         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8620         (setpayload): New declaration.
8621         * math/Versions (setpayload): New libm symbol at version
8622         GLIBC_2.25.
8623         (setpayloadf): Likewise.
8624         (setpayloadl): Likewise.
8625         * math/Makefile (libm-calls): Add s_setpayloadF.
8626         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
8627         test_Ff_b1_data.
8628         (RUN_TEST_Ff_b1): New macro.
8629         (RUN_TEST_LOOP_Ff_b1): Likewise.
8630         (canonicalize_test_data): Update type.
8631         (setpayload_test_data): New array.
8632         (setpayload_test): New function.
8633         (main): Call setpayload_test.
8634         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
8635         setpayloadf and setpayloadl.
8636         * manual/libm-err-tab.pl: Update comment on interfaces without
8637         ulps tabulated.
8638         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
8639         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
8640         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
8641         Likewise.
8642         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
8643         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
8644         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
8645         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
8646         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
8647         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
8648         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
8649         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
8650         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
8651         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
8652         setpayload.
8653         (CFLAGS-nldbl-setpayload.c): New variable.
8654         * sysdeps/nacl/libm.abilist: Update.
8655         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8656         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8657         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8658         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8659         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8660         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8661         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8662         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8663         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8664         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8665         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8666         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8668         Likewise.
8669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8672         Likewise.
8673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8674         Likewise.
8675         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8676         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8677         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8678         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8679         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8681         Likewise.
8682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8683         Likewise.
8684         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8685         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8686         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8688 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8690         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
8691         * include/unistd.h: Extend comment about __access_noerrno return
8692         semantics.
8693         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
8694         (access_common): Correct typo for EACCES.
8696 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
8698         * sysdeps/tile/math-tests.h: New file.
8700         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
8701         (__old_set_dataplane): Rename from set_dataplane and make a
8702         compatibility symbol.
8703         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
8704         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
8705         sys/dataplane.h.
8707 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
8709         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
8710         script quote words in command output to log suitably for input to
8711         the shell.
8713 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
8714             Maciej W. Rozycki  <macro@imgtec.com>
8716         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
8717         `.Lno_weak_fn' label.
8718         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
8719         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
8721 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8722             Yury Norov  <ynorov@caviumnetworks.com>
8724         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
8725         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
8726         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8727         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
8728         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
8730         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8732         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8733         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
8734         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
8735         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
8736         (sysdep_routines): Remove oldgetrlimit64.
8737         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
8738         (sysdep_routines): Likewise.
8739         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
8740         (sysdep_routines): Likewise.
8741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
8742         [$(subdir) = resource] (sysdep_routines): Likewise.
8743         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
8744         [$(subdir) = resource] (sysdep_routines): Likewise.
8745         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
8746         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
8747         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
8748         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
8749         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
8750         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
8751         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
8752         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
8753         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
8754         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
8755         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
8756         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
8757         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
8758         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
8759         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
8760         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
8761         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
8762         setrlimit and getrlimit.
8763         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8764         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
8765         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
8766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
8767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
8768         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
8769         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
8770         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
8771         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
8772         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
8773         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
8774         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
8775         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
8776         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
8777         (__old_getrlimit64): Add compatibility symbol.
8778         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
8780 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
8782         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
8783         newly built gmp, mpfr and mpc.
8785         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
8787 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8789         * conform/Makefile (linknamespace-libs): Rename to
8790         linknamespace-libs-thr.
8791         (linknamespace-libs-posix): New variable.
8792         (linknamespace-libs-xsi): Likewise.
8793         (linknamespace-libs-XPG3): Include libcrypt.a.
8794         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
8795         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
8796         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
8797         (linknamespace-libs-XOPEN2K): Likewise.
8798         (linknamespace-libs-XOPEN2K8): Likewise.
8799         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
8801         [BZ #20829]
8802         * stdio-common/Versions (__snprintf): Add to version
8803         GLIBC_PRIVATE.
8804         * include/stdio.h (__snprintf): Use libc_hidden_proto.
8805         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
8806         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
8807         of snprintf.
8808         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
8810 2016-11-16  Zack Weinberg  <zackw@panix.com>
8812         * string/string.h: Remove obsolete comment stating that
8813         strcoll_l and strxfrm_l have not yet been standardized.
8815 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8817         * hurd/hurd.h (__hurd_fail_noerrno): New function.
8818         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
8819         __access_noerrno.
8820         * io/access.c (__access_noerrno): New function.
8821         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
8822         (hurd_fail_seterrno): Likewise.
8823         (access_common): Likewise.
8824         (__access_noerrno): Likewise.
8825         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
8826         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
8827         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
8828         macro.
8830 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
8832         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
8833         Only declare fpregs if [__SH_FPU_ANY__].
8835 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
8837         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
8838         Make code unconditional.
8839         [!(__SH4__ || __SH4A__)]: Remove conditional code.
8841 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
8843         * manual/sysinfo.texi (S_APPEND): Delete.
8844         (S_IMMUTABLE): Likewise.
8846 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
8847             Magnus Granberg  <zorry@gentoo.org>
8848             Mike Frysinger  <vapier@gentoo.org>
8850         [BZ #20662]
8851         * configure.ac (libc_cv_predef_stack_protector): Also check for
8852         __stack_chk_fail_local symbols.
8853         * configure: Regenerated.
8855 2016-11-15  Florian Weimer  <fweimer@redhat.com>
8857         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8858         (libc_hidden_def): Remove redefinition.
8859         (__sigsetjmp): Add hidden definition.
8860         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
8861         (libc_hidden_def): Remove redefinition.
8862         (__sigsetjmp): Add hidden definition.
8864 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
8866         * scripts/build-many-glibcs.py (os.path): Do not import.
8867         (Context): Inherit explicitly from object.  Remove blank line
8868         between class and docstring.
8869         (Config): Likewise.
8870         (Glibc): Likewise.
8871         (Command): Likewise.
8872         (CommandList): Likewise.
8873         (Context.write_files): Store chmod mode in a variable.
8875         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
8876         LIBC_SLIBDIR_RTLDDIR for tilegx32.
8877         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
8879 2016-11-14  Zack Weinberg  <zackw@panix.com>
8881         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
8882         creating or re-creating it.
8884         * string/bits/string2.h: Fix typo in comment.
8886 2016-11-14  Zack Weinberg  <zackw@panix.com>
8888         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
8889         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
8890         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
8891         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
8892         of redirected function names.
8894         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
8895         as well.  Document that MESSAGE must be a single string literal.
8897 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
8899         * scripts/build-many-glibcs.py: New file.
8901         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
8902         (do_test): Disable -Wmaybe-uninitialized around uses of
8903         except_mask.
8905         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
8907 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
8909         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
8910         (atomic_store_release): Provide tilepro-specific implementations.
8912 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
8914         * math/math.h (__MATH_TG): New macro.
8915         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
8916         [__USE_ISOC99] (signbit): Likewise.
8917         [__USE_ISOC99] (isfinite): Likewise.
8918         [__USE_ISOC99] (isnan): Likewise.
8919         [__USE_ISOC99] (isinf): Likewise.
8920         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
8921         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
8922         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
8923         __MATH_TG and __MATH_EVAL_FMT2.
8924         * sysdeps/generic/math_private.h (fabs_tg): Define using
8925         __MATH_TG.
8926         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
8927         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
8928         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
8929         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
8930         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
8931         macro.
8932         (__iscanonical): Likewise.
8933         (iscanonical): Define using __MATH_TG.
8935 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8937         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
8938         guards.
8940         * sysdeps/unix/sysv/linux/access.c: New file.
8941         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
8943 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
8945         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
8946         and __WORDSIZE32_PTRDIFF_LONG.
8948 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8950         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8952 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8954         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
8955         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
8956         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
8957         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
8958         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
8959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
8960         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
8961         * sysdeps/unix/sysv/linux/truncate.c: New file.
8962         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
8963         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8964         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
8965         Remove.
8966         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
8967         Likewise.
8969         * posix/tst-truncate-common.c: New file.
8970         * posix/tst-truncate.c: Use tst-truncate-common.c.
8971         * posix/tst-truncate64.c: Likewise and add LFS tests.
8972         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
8973         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
8974         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
8975         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
8976         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
8977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
8978         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
8979         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
8980         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
8981         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
8982         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
8983         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
8984         Remove.
8985         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
8986         Likewise.
8988 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
8990         [BZ #20790]
8991         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
8992         to MAXLINESIZE.
8993         * sunrpc/bug20790.x: New file.
8994         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
8995         variable.
8996         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
8997         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
8999         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
9001         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
9003         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
9004         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
9005         calloc, realloc, free, memalign and __libc_memalign rather than
9006         making them optional.
9008         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
9009         for libc.so.
9011 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9013         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
9014         ptw-lseek64.
9015         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
9016         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
9017         Likewise.
9018         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
9019         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
9020         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
9021         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
9022         * sysdeps/unix/sysv/linux/lseek.c: New file.
9023         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
9024         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
9025         __libc_lseek64 from auto-generation.
9026         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
9027         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
9029 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9031         * nptl/tst-basic1.c (tf, do_test): Use write_message.
9032         * nptl/tst-cleanup1.c (do_test): Likewise.
9033         * nptl/tst-cleanup3.c (do_test): Likewise.
9034         * nptl/tst-key1.c (do_test): Likewise.
9035         * nptl/tst-key2.c (tf, do_test): Likewise.
9036         * nptl/tst-key3.c (tf, do_test): Likewise.
9037         * nptl/tst-stdio1.c (do_test): Likewise.
9038         * nptl/tst-stdio2.c (do_test): Likewise.
9040         * nptl/tst-kill3.c (handler): Use write_message in place of write.
9041         * nptl/tst-kill6.c (handler): Likewise.
9042         * nptl/tst-tls2.c (CB): Likewise.
9043         * nptl/tst-tls3.c (CB): Likewise.
9045 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
9047         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
9049 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
9050             Steve Ellcey  <sellcey@caviumnetworks.com>
9052         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
9053           __ASSUME_ST_INO_64_BIT as 0
9054         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
9055         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
9056           over the code where __ASSUME_ST_INO_64_BIT is used.
9057         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
9058         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
9059         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9061 2016-11-07  Florian Weimer  <fweimer@redhat.com>
9063         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9064         Document ABI exposure of the __kind offset.
9065         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9066         Mention reason for the __kind offset exposure in the ABI.
9067         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9068         Likewise.
9069         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9070         Likewise.
9071         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9072         Likewise.
9073         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
9074         (struct __pthread_mutex_s): Likewise.
9075         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9076         Likewise.
9077         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9078         Likewise.
9079         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9080         Likewise.
9081         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9082         Likewise.
9083         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9084         Likewise.
9085         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
9086         Likewise.
9087         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
9088         (struct __pthread_mutex_s): Likewise.
9089         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9090         (struct __pthread_mutex_s): Likewise.
9091         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
9092         Likewise.
9094 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
9096         * test-skeleton.c: Document do_test usage.
9098 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
9100         * iconv/gconv.h (__gconv_info): Define __data element using a
9101         zero-length array.
9103 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
9105         * math/test-tgmath2.c: Split up test function.
9107 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9109         * Rules (tests-expected): New variable, depending on
9110         $(run-built-tests).
9111         (tests): Pass $(tests-expected) to merge-test-results.sh, not
9112         $(tests).
9114         * Rules [$(run-built-tests) = no] (tests): Do not depend on
9115         $(tests-unsupported).
9117 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9119         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9120         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
9122 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9124         [BZ #20768]
9125         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
9126         __fegetenv instead of fegetenv.
9128         [BZ #14139]
9129         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
9130         (find_files): Obtain platform name from libm-test-ulps-name and
9131         store in %pplatforms.
9132         (canonicalize_platform): Remove.
9133         (print_platforms): Use $pplatforms directly.
9134         (by_platforms): Do not allow for platforms missing from
9135         %pplatforms.
9136         * sysdeps/aarch64/libm-test-ulps-name: New file.
9137         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
9138         * sysdeps/arm/libm-test-ulps-name: Likewise.
9139         * sysdeps/generic/libm-test-ulps-name: Likewise.
9140         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
9141         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
9142         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
9143         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
9144         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
9145         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
9146         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
9147         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
9148         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
9149         * sysdeps/nios2/libm-test-ulps-name: Likewise.
9150         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
9151         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
9152         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
9153         * sysdeps/sh/libm-test-ulps-name: Likewise.
9154         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
9155         * sysdeps/tile/libm-test-ulps-name: Likewise.
9156         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
9158         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
9160         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
9161         (test-xfail-check-execstack): New variable.
9163         * sysdeps/mips/localplt.data: New file.
9165 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
9166             Steve Ellcey  <sellcey@caviumnetworks.com>
9168         * bits/wordsize.h: Add documentation.
9169         * sysdeps/aarch64/bits/wordsize.h : New file
9170         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
9171         definitions.
9172         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
9173         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
9174         with #if instead of #ifdef.
9175         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
9176         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
9177         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
9178         Add or change defines.
9179         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
9180         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
9181         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
9182         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
9183         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
9184         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
9185         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
9186         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
9187         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
9188         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
9189         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
9190         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
9191         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
9192         * sysdeps/x86/bits/wordsize.h: Likewise.
9194 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
9195             Kevin Petit  <kevin.petit@arm.com>
9197         * sysdeps/aarch64/memchr.S (__memchr): New file.
9199 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
9201         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
9203 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
9205         [BZ #19398]
9206         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
9207         $(linknamespace-symlists-tests).
9209 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
9211         * time/tst-strptime2.c: Ignore -Wformat-length warning.
9213 2016-11-02  Florian Weimer  <fweimer@redhat.com>
9214             Carlos O'Donell  <carlos@redhat.com>
9216         [Bug #20729]
9217         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
9218         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
9219         for -Os related change.
9221 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
9223         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
9225 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
9227         [BZ #19673]
9228         * manual/math.texi (Exponents and Logarithms): Correct description
9229         of clog10.
9231 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
9233         [Bz #20729]
9234         * locale/weight.h: Include libc-internal.h.
9235         * locale/weightwc.h: Likewise.
9236         * nptl/nptl_dbP.h: Likewise.
9238 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
9240         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
9241         when it is MACH_PORT_NULL.
9243 2016-10-31  Andreas Schwab  <schwab@suse.de>
9245         [BZ #20707]
9246         * posix/glob.c (glob): Initialize pglob before checking for
9247         GLOB_BRACE.  Don't call glob recursively if pattern contains no
9248         valid brace expression despite GLOB_BRACE.
9249         * posix/globtest.sh: Test it.
9251 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9253         [BZ #20729]
9254         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
9255         Define.
9256         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
9257         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
9258         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
9259         for seq2.back_us and seq1.back_us only for -Os compiles.
9260         * locale/weightwc.h (findix): Likewise.
9261         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
9262         DB_GET_FIELD_ADDRESS only for -Os compiles.
9263         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
9264         for slen only for -Os compiles.
9265         * string/strcoll_l.c (get_next_seq): Ignore
9266         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
9267         for -Os compiles.
9269         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
9270         * include/crypt.h: New file.
9272 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9274         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
9275         from test-skeleton.c.
9276         (statclass): Replace calls to write with calls to write_message.
9278 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9280         * math/math.h
9281         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
9282         New macro.
9283         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
9284         Likewise.
9285         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
9286         Likewise.
9287         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
9288         SNANL.
9289         * math/test-double.h (snan_value_MACRO): New macro.
9290         * math/test-float.h (snan_value_MACRO): Likewise.
9291         * math/test-ldouble.h (snan_value_MACRO): Likewise.
9292         * math/libm-test.inc (issignaling_test_data): Add tests of
9293         snan_value_MACRO.
9295 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9297         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
9298         behavior when eliding a lock not held by the current thread.
9299         * sysdeps/powerpc/nptl/elide.h: Likewise.
9301 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9303         [BZ #20728]
9304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
9305         branch to _exit() by a function call.
9307 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9309         * malloc/malloc.c: Update chunk layout comments.
9310         (chunk_main_arena): Update comment.
9312 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9314         * crypt/sha256.c, crypt/sha256-block.c,
9315         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
9316         sha256_process_block to __sha256_process_block.
9317         * crypt/sha512.c, crypt/sha512-block.c,
9318         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
9319         sha512_process_block to __sha512_process_block.
9321 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
9323         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
9325         * math/test-nan-overflow.c: Include stdlib.h for malloc.
9327 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
9329         [BZ #20019]
9330         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
9331         definition in unrelocated shared library.
9332         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9334 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9336         [BZ #20729]
9337         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
9338         * sysdeps/unix/sysv/linux/i386/Makefile
9339         (uses-6-syscall-arguments): Define.
9340         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
9341         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
9342         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
9343         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
9344         Likewise.
9345         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
9346         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
9347         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
9348         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
9349         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
9350         (CFLAGS-fallocate64.os): Likewise.
9351         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
9352         (CFLAGS-pthread_rwlock_timedrdlock.os)
9353         (CFLAGS-pthread_rwlock_timedwrlock.o)
9354         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
9355         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
9356         (CFLAGS-sem_timedwait.os): Likewise.
9358 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9360         * elf/tst-linkall-static.c: New file.
9361         * elf/Makefile (tests-static): Add tst-linkall-static.
9362         (tst-linkall-static): Link against static libraries.
9364 2016-10-27  Florian Weimer  <fweimer@redhat.com>
9366         * malloc/malloc.c (sysmalloc): Initialize previous size field of
9367         mmaped chunks.
9369 2016-10-28  Florian Weimer  <fweimer@redhat.com>
9371         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
9372         members to mchunk_prev_size, mchunk_size.
9373         (chunk_main_arena): Reverse sense and rename from
9374         chunk_non_main_arena.
9375         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
9376         mchunk_size instead of size.
9377         (set_non_main_arena): Define.
9378         (chunksize): Use chunksize_nomask instead of direct member access.
9379         (chunksize_nomask): Define.
9380         (next_chunk): Use chunksize instead of direct member access.
9381         (prev_size, set_prev_size): Define.
9382         (prev_chunk): Use prev_size instead of direct member access.
9383         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
9384         (inuse_bit_at_offset, set_inuse_bit_at_offset)
9385         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
9386         (mchunk_prev_size, mchunk_size): Poison tokens.
9387         (unlink): Use chunksize_nomask, prev_size accessors.
9388         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
9389         (do_check_free_chunk): Use prev_size accessor.
9390         (sysmalloc): Use set_prev_size, set_head accessors.
9391         (munmap_chunk, mremap_chunk): Use prev_size accessor.
9392         (__libc_free): Use chunksize_nomask accessor.
9393         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
9394         chunk_main_arena accessors.
9395         (_int_free): Use chunksize_nomask, prev_size accessors.
9396         (malloc_consolidate): Use chunksize, prev_size accessors.
9397         (_int_realloc): Use chunksize_nomask accessor.
9398         (_int_memalign): Use set_prev_size accessor.
9399         (__malloc_info): Use chunksize_nomask accessor.
9400         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
9401         accessors.
9402         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
9403         (heap_trim): Use chunksize_nomask, prev_size accessors.
9405 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
9407         [BZ #19380]
9408         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
9409         for inexact results.
9410         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
9411         of inexact result where mpfr_subnormalize is the only inexact
9412         step.
9413         * stdlib/tst-strtod-round-data.h: Regenerated.
9414         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
9415         Define to 0.
9416         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
9418 2016-10-27  David S. Miller  <davem@davemloft.net>
9420         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
9422 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9424         * malloc/malloc.c (do_set_mallopt_check): New function.
9425         (do_set_mmap_threshold): Likewise.
9426         (do_set_mmaps_max): Likewise.
9427         (do_set_top_pad): Likewise.
9428         (do_set_perturb_byte): Likewise.
9429         (do_set_trim_threshold): Likewise.
9430         (do_set_arena_max): Likewise.
9431         (do_set_arena_test): Likewise.
9432         (__libc_mallopt): Use them.
9434 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
9436         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9437         (canonicalize): New declaration.
9438         * math/Versions (canonicalize): New libm symbol at version
9439         GLIBC_2.25.
9440         (canonicalizef): Likewise.
9441         (canonicalizel): Likewise.
9442         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
9443         * math/s_canonicalize_template.c: New file.
9444         * math/libm-test.inc: Update comment on functions tested and
9445         testing of NaN payloads.
9446         (TEST_NAN_PAYLOAD): New macro.
9447         (NO_TEST_INLINE): Update value.
9448         (XFAIL_TEST): Likewise.
9449         (ERRNO_UNCHANGED): Likewise.
9450         (ERRNO_EDOM): Likewise.
9451         (ERRNO_ERANGE): Likewise.
9452         (IGNORE_RESULT): Likewise.
9453         (NON_FINITE): Likewise.
9454         (TEST_SNAN): Likewise.
9455         (NO_TEST_MATHVEC): Likewise.
9456         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
9457         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
9458         (struct test_Ffp_b1_data): New type.
9459         (RUN_TEST_Ffp_b1): New macro.
9460         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9461         (canonicalize_test_data): New array.
9462         (canonicalize_test): New function.
9463         (main): Call canonicalize_test.
9464         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
9465         canonicalizef and canonicalizel.
9466         * manual/libm-err-tab.pl: Update comment on interfaces without
9467         ulps tabulated.
9468         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
9469         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
9470         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9471         canonicalize.
9472         (CFLAGS-nldbl-canonicalize.c): New variable.
9473         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
9474         to ...
9475         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
9476         ... here.
9477         (do_test): Also test canonicalizel.
9478         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
9479         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
9480         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
9481         file.
9482         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
9483         Use libm_hidden_def.
9484         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
9485         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
9486         (do_test): Also test canonicalizel.
9487         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
9488         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
9489         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
9490         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
9491         libm_hidden_def.
9492         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
9493         macro.
9494         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
9495         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
9496         * sysdeps/nacl/libm.abilist: Update.
9497         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9498         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9499         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9500         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9501         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9502         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9503         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9504         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9505         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9506         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9507         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9508         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9510         Likewise.
9511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9512         Likewise.
9513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9514         Likewise.
9515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9516         Likewise.
9517         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9519         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9521         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9523         Likewise.
9524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9525         Likewise.
9526         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9527         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9528         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9530         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
9531         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9532         getpayload.
9533         (CFLAGS-nldbl-getpayload.c): New variable.
9535 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9537         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
9538         integer from the format string.
9540 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9542         [BZ #19473]
9543         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
9544         declarations.
9545         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
9546         weak aliases.
9547         * malloc/hooks.c (__malloc_get_state): Remove definition.
9548         (malloc_get_state): New stub implementation as
9549         compatibility symbol.
9550         (malloc_set_state): Rename from __malloc_set_state.  Turn into
9551         compat symbol.
9552         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
9553         malloc_set_state.
9554         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
9556 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9558         * iconvdata/iso646.c (enum variant): Drop illegal_var.
9559         (names): Turn into concatenation of strings.
9560         (gconv_init): Adapt iteration over names.
9562 2016-10-26  Florian Weimer  <fweimer@redhat.com>
9564         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
9565         make const.
9566         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
9567         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
9568         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
9569         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
9570         character in sbconv.
9571         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
9572         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
9573         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
9575 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9577         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
9579         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
9580         (M_TRIM_THRESHOLD): Likewise.
9582         * manual/memory.texi (M_ARENA_TEST): Add documentation.
9583         (M_ARENA_MAX): Likewise.
9584         * malloc/malloc.c: Remove obsolete comment.
9586         * manual/memory.texi: Add environment variable alternatives to
9587         setting mallopt parameters.
9589 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
9591         * include/atomic.h
9592         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
9593         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
9595 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9597         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
9598         * stdlib/tst-strfrom.h: New file.
9599         * stdlib/tst-strfrom.c: New file.
9600         * stdlib/tst-strfrom-locale.c: New file.
9602         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
9603         * stdlib/bug-strtod2.c: Likewise.
9604         * stdlib/tst-strtod-round-skeleton.c: Likewise.
9605         * stdlib/tst-strtod6.c: Likewise.
9606         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
9608 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9610         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
9611         * manual/arith.texi: Document strfromd, strfromf, strfroml.
9612         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
9613         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
9614         * stdlib/stdlib.h (strfromd): New declaration.
9615         (strfromf): Likewise.
9616         (strfroml): Likewise.
9617         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
9618         strfrom.
9619         * stdlib/strfromd.c: New file.
9620         * stdlib/strfromf.c: Likewise.
9621         * stdlib/strfroml.c: Likewise.
9622         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
9623         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
9624         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
9625         * sysdeps/arm/nacl/libc.abilist: Update.
9626         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
9627         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9628         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9629         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9630         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9631         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9632         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9633         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9634         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9635         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9636         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9637         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9638         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9639         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
9641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
9642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9644         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9645         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9646         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9647         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9648         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9651         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9652         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9653         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9655 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
9657         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
9658         instead of cmpli.
9659         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
9660         instead of cmpli.
9662 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
9664         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
9665         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
9666         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
9667         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9668         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9669         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9671 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9673         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
9674         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
9675         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
9676         SYSCALL_LL64_PRW.
9677         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
9678         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
9679         __ASSUME_PRW_DUMMY_ARG.
9680         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
9681         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9682         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9683         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9684         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
9685         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
9687 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
9689         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
9691 2016-10-22  Florian Weimer  <fweimer@redhat.com>
9693         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
9694         "C++", to override a potential extern "C" directive around the
9695         header file inclusion.
9697 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
9699         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
9701 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9703         * sysdeps/powerpc/fpu/fenv_private.h:
9704         (_FPU_MASK_ALL): Rename to...
9705         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
9706         XE FPSCR bits.
9708         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
9710         (_FPU_MASK_ROUNDING): Rename to...
9711         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
9712         NI bits.
9714         (_FPU_MASK_EXCEPT_ROUND): Rename to...
9715         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
9716         bits and rounding bits.
9718         (__libc_feholdbits_ppc): New inline function to mask, set,
9719         and pontentially clear FSPCR bits, and change MSR[FE] bits.
9720         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
9721         (libc_feholdexcept_setround_ppc): Likewise.
9723         (__libc_femergeenv_ppc): New function to dynamically mask both
9724         old and new FP environments and merge.
9725         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
9726         (libc_feresetround_ppc): Likewise.
9727         (libc_feupdateenv_test_ppc): Likewise.
9728         (libc_feupdateenv_ppc): Likewise.
9730         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
9731         of ISA RN bits, and update macro names.
9732         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
9733         effectively the same as the previously mentioned function.
9735         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
9736         usage with fe_resetround_ppc.
9738         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
9739         to be used.
9740         (libc_feholdexcept_setround_ctxf): Likewise.
9741         (libc_feholdexcept_setround_ctxl): Likewise.
9743 2016-10-21  Florian Weimer  <fweimer@redhat.com>
9745         [BZ #20715]
9746         * math/math.h [__cplusplus] (iszero): Define as function template.
9747         * math/Makefile [CXX] (tests): Add test-math-iszero.
9748         (CFLAGS-test-math-iszero.cc): Set.
9749         * math/test-math-iszero.cc: New file.
9751 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
9753         [BZ #20660]
9754         * sysdeps/arm/e_sqrt.c: New file.
9755         * sysdeps/arm/e_sqrtf.c: Likewise.
9757 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
9759         [BZ #20718]
9760         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
9761         not use floating-point comparisons to test sign.
9762         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
9763         Likewise.
9765         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9766         (getpayload): New declaration.
9767         * math/Versions (getpayload): New libm symbol at version
9768         GLIBC_2.25.
9769         (getpayloadf): Likewise.
9770         (getpayloadl): Likewise.
9771         * math/Makefile (libm-calls): Add s_getpayloadF.
9772         * math/libm-test.inc: Include <nan-high-order-bit.h>.
9773         (struct test_f_f_data): Add comment.
9774         (RUN_TEST_fp_f): New macro.
9775         (RUN_TEST_LOOP_fp_f): Likewise.
9776         (getpayload_test_data): New array.
9777         (getpayload_test): New function.
9778         (main): Call getpayload_test.
9779         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
9780         descriptor.
9781         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
9782         getpayloadf and getpayloadl.
9783         * manual/libm-err-tab.pl: Update comment on interfaces without
9784         ulps tabulated.
9785         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
9786         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
9787         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
9788         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
9789         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
9790         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
9791         * sysdeps/nacl/libm.abilist: Update.
9792         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9805         Likewise.
9806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9807         Likewise.
9808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9809         Likewise.
9810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9811         Likewise.
9812         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9813         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9814         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9815         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9816         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9817         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9818         Likewise.
9819         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9820         Likewise.
9821         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9822         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9823         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9825 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9827         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
9828         tst-fallocate{64}.
9829         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
9830         on syscall return.
9832 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
9834         [BZ #20689]
9835         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
9836         usable.
9838 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
9840         * sysdeps/generic/nan-high-order-bit.h: New file.
9841         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
9842         * sysdeps/mips/nan-high-order-bit.h: Likewise.
9843         * sysdeps/hppa/math_private.h: Remove file.
9844         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
9845         not define here.
9846         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
9847         <nan-high-order-bit.h>.
9848         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9849         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
9850         <nan-high-order-bit.h>.
9851         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9852         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
9853         <nan-high-order-bit.h>.
9854         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9855         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
9856         <nan-high-order-bit.h>.
9857         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9858         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
9859         <nan-high-order-bit.h>.
9860         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9861         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
9862         <nan-high-order-bit.h>.
9863         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9864         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
9865         <nan-high-order-bit.h>.
9866         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9867         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
9868         <nan-high-order-bit.h>.
9869         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9870         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
9871         <nan-high-order-bit.h>.
9872         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9873         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
9874         <nan-high-order-bit.h>.
9875         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9876         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
9877         <nan-high-order-bit.h>.
9878         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9879         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
9880         <nan-high-order-bit.h>.
9881         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9882         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
9883         <nan-high-order-bit.h>.
9884         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9885         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
9886         <nan-high-order-bit.h>.
9887         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9888         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
9889         <nan-high-order-bit.h>.
9890         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9891         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
9892         <nan-high-order-bit.h>.
9893         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9894         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
9895         <nan-high-order-bit.h>.
9896         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9897         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
9898         <nan-high-order-bit.h>.
9899         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
9901 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9903         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
9905 2016-09-22  John David Anglin  <dave.anglin@bell.net>
9907         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
9908         abort-instr.h.
9909         (EFAULT): Remove conditional define.
9910         (ENOSYS): Likewise.
9911         (atomic_compare_and_exchange_val_acq): Use instruction nullification
9912         instead of conditional branch instructions.
9914 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
9916         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9917         (totalordermag): New declaration.
9918         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
9919         New macro.
9920         * math/Versions (totalordermag): New libm symbol at version
9921         GLIBC_2.25.
9922         (totalordermagf): Likewise.
9923         (totalordermagl): Likewise.
9924         * math/Makefile (libm-calls): Add s_totalordermagF.
9925         * math/libm-test.inc (totalordermag_test_data): New array.
9926         (totalordermag_test): New function.
9927         (main): Call totalordermag_test.
9928         * math/test-tgmath.c (NCALLS): Increase to 125.
9929         (F(compile_test)): Call totalordermag.
9930         (F(totalordermag)): New function.
9931         * manual/arith.texi (FP Comparison Functions): Document
9932         totalordermag, totalordermagf and totalordermagl.
9933         * manual/libm-err-tab.pl: Update comment on interfaces without
9934         ulps tabulated.
9935         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
9936         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
9937         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
9938         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
9939         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
9940         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
9941         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
9942         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9943         totalordermag.
9944         (CFLAGS-nldbl-totalordermag.c): New variable.
9945         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
9946         (do_test): Also test totalordermagl.
9947         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
9948         Likewise.
9949         * sysdeps/nacl/libm.abilist: Update.
9950         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9951         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9952         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9953         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9954         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9955         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9956         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9957         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9958         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9959         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9960         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9961         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9963         Likewise.
9964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9965         Likewise.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9967         Likewise.
9968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9969         Likewise.
9970         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9971         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9972         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9973         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9974         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9976         Likewise.
9977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9978         Likewise.
9979         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9980         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9981         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9983 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
9985         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
9986         boolean.
9988 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
9990         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
9991         raising FE_INVALID with feraisexcept in case where part of
9992         argument is infinite, subtract that part of argument from itself.
9993         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
9994         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
9995         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
9997 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
9999         * math/libm-test.inc (totalorder_test_data): Add more tests.
10001 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10003         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
10004         Undefine weak_alias and add a comment why mips64 require
10005         versioning.
10007 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
10009         [BZ #20647]
10010         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
10011         maximum CPUID level is less than 2.
10013 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
10015         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10016         (totalorder): New declaration.
10017         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
10018         New macro.
10019         * math/Versions (totalorder): New libm symbol at version
10020         GLIBC_2.25.
10021         (totalorderf): Likewise.
10022         (totalorderl): Likewise.
10023         * math/Makefile (libm-calls): Add s_totalorderF.
10024         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
10025         string.
10026         * math/libm-test.inc (PAYLOAD_DIG): New macro.
10027         (qnan_value_pl): Likewise.
10028         (snan_value_pl): Likewise.
10029         (qnan_value): Define using qnan_value_pl.
10030         (snan_value): Define using snan_value_pl.
10031         (struct test_ff_i_data): Add comment about which tests use this
10032         structure.
10033         (RUN_TEST_ff_b): New macro.
10034         (RUN_TEST_LOOP_ff_b): Likewise.
10035         (totalorder_test_data): New array.
10036         (totalorder_test): New function.
10037         (main): Call totalorder_test.
10038         * math/test-tgmath.c (NCALLS): Increase to 122.
10039         (F(compile_test)): Call totalorder.
10040         (F(totalorder)): New function.
10041         * manual/arith.texi (FP Comparison Functions): Document
10042         totalorder, totalorderf and totalorderl.
10043         * manual/libm-err-tab.pl: Update comment on interfaces without
10044         ulps tabulated.
10045         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
10046         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
10047         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
10048         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
10049         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
10050         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
10051         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
10052         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10053         totalorder.
10054         (CFLAGS-nldbl-totalorder.c): New variable.
10055         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
10056         file.
10057         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
10058         Add test-totalorderl-ldbl-128ibm.
10059         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
10060         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
10061         test-totalorderl-ldbl-96.
10062         * sysdeps/nacl/libm.abilist: Update.
10063         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10064         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10065         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10066         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10067         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10068         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10069         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10070         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10071         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10072         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10073         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10074         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10076         Likewise.
10077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10078         Likewise.
10079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10080         Likewise.
10081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10082         Likewise.
10083         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10084         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10085         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10089         Likewise.
10090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10093         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10094         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10096 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10098         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
10099         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
10100         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
10101         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
10102         remove ENOSYS implementation.
10103         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
10104         Consolidate all Linux implementations.
10106 2016-10-11  Florian Weimer  <fweimer@redhat.com>
10108         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
10109         * resolv/herror.c (herror): Cast away const-ness.
10110         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
10111         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
10113 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
10115         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
10116         instead of M_NAN + M_NAN.
10117         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
10119 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10121         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
10122         unused variable 'p'.
10124 2016-10-09  Alan Modra  <amodra@gmail.com>
10125             Andreas Schwab  <schwab@linux-m68k.org>
10127         [BZ #20554]
10128         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
10129         [PIC && !SHARED]: Set up PIC register for PLT call.
10131 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
10133         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
10134         conditional on value of [__FLT_EVAL_METHOD__].
10135         * math/test-iseqsig-excess-precision.c: New file.
10136         * math/Makefile (tests): Add test-iseqsig-excess-precision.
10138 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10140         * math/s_iseqsig_template.c: Include math-private.h.
10142         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
10143         * posix/tst-posix_fadvise.c: New file.
10144         * posix/tst-posix_fadvise64.c: Likewise.
10145         * posix/tst-posix_fadvise-common.c: Likewise.
10146         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10147         (__ASSUME_FADVISE64_64_6ARG): Define.
10148         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10149         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
10150         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10151         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
10152         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
10153         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
10154         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
10155         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10156         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
10157         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
10158         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
10159         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
10160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
10161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
10162         Likewise.
10163         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
10164         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
10165         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
10166         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10167         Alias to __posix_fadvise64_l32.
10168         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
10169         Add compat definition to posix_fadvise64.
10170         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
10171         Add versioned definition to posix_fadvise64.
10172         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
10173         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
10174         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
10175         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
10176         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
10178         * io/Makefile (tests): Add tst-posix_fallocate and
10179         tst-posix_fallocate64.
10180         * io/tst-posix_fallocate-common.c: New file.
10181         * io/tst-posix_fallocate.c: Likewise.
10182         * io/tst-posix_fallocate64.c: Likewise.
10183         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
10184         file.
10185         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
10186         Likewise.
10187         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
10188         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
10189         Likewise.
10190         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
10191         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
10192         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
10193         SYSCALL_LL to pass both offset and len arguments.
10194         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
10195         Likewise.
10196         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
10197         __libc_pwrite64 alias used by posix_fallocate64.
10199         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10200         tst-fallocate64.
10201         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10202         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10203         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10204         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10205         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10206         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10207         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10208         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10209         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10210         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10211         macro on offset argument.
10212         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10213         SYSCALL_LL64 on offset argument.
10215         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
10216         tst-fallocate64.
10217         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
10218         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
10219         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10220         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
10221         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
10222         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
10223         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
10224         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
10225         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
10226         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
10227         macro on offset argument.
10228         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
10229         SYSCALL_LL64 on offset argument.
10230         * test-skeleton.c (FAIL_RET): Add macro.
10231         (FAIL_EXIT): Likewise.
10232         (FAIL_EXIT1): Likewise.
10233         (_FAIL): Likewise.
10235 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10237         [BZ #20629]
10238         resolv: Remove RES_USEBSTRING and its implementation.
10239         * resolv/resolv.h (RES_USEBSTRING): Remove.
10240         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
10241         (digitvalue, encode_bitstring, decode_bitstring): Remove.
10242         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
10243         (labellen): Remove extended label types support.
10244         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
10245         * resolv/res_init.c (res_setoptions): Likewise.
10246         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10248 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10250         resolv: Remove RES_NOIP6DOTINT and its implementation.
10251         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
10252         (RES_NOIP6DOTINT): Remove.
10253         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
10254         handling.
10255         * resolv/res_debug.c (p_option): Likewise.
10256         * resolv/res_init.c (res_setoptions): Likewise.
10257         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
10259 2016-10-07  Florian Weimer  <fweimer@redhat.com>
10261         resolv: Deprecate unimplemented flags.
10262         * misc/sys/cdefs.h (__glibc_macro_warning1)
10263         (__glibc_macro_warning): Define.
10264         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
10265         (RES_KEEPTSIG): Mark as deprecated.
10266         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
10267         RES_NOCHECKNAME, RES_KEEPTSIG.
10268         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
10270 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10272         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
10273         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
10274         Use strong_alias to create symbols for glibc verison 2.19.
10276 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10278         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
10280 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10282         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
10284 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10286         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
10288 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10290         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
10291         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
10292         in header for using it as type for ifunc function because __GI_* symbols
10293         for ppc32 do not target the ifunc symbols.
10294         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
10296 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10298         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
10299         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
10300         libc_ifunc_hidden_def.
10301         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
10302         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
10303         Redirect ifunced function in header for using it as type of ifunc'ed
10304         function. Redefine libc_hidden_def to use fallback non ifunc'ed
10305         function for __GI_* symbol.
10306         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
10307         * include/libc-symbols.h
10308         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
10310 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10312         [BZ #20478]
10313         * sysdeps/s390/multiarch/ifunc-resolve.h
10314         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
10315         to create ifunc symbols.
10316         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
10317         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
10318         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
10319         for using it as type for ifunc function.
10320         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
10321         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
10322         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
10323         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
10324         * sysdeps/s390/multiarch/strcat.c: Likewise.
10325         * sysdeps/s390/multiarch/strchr.c: Likewise.
10326         * sysdeps/s390/multiarch/strcmp.c: Likewise.
10327         * sysdeps/s390/multiarch/strcpy.c: Likewise.
10328         * sysdeps/s390/multiarch/strcspn.c: Likewise.
10329         * sysdeps/s390/multiarch/strlen.c: Likewise.
10330         * sysdeps/s390/multiarch/strncmp.c: Likewise.
10331         * sysdeps/s390/multiarch/strncpy.c: Likewise.
10332         * sysdeps/s390/multiarch/strnlen.c: Likewise.
10333         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
10334         * sysdeps/s390/multiarch/strrchr.c: Likewise.
10335         * sysdeps/s390/multiarch/strspn.c: Likewise.
10336         * sysdeps/s390/multiarch/wcschr.c: Likewise.
10337         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
10338         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
10339         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
10340         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
10341         * sysdeps/s390/multiarch/wmemset.c: Likewise.
10342         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
10343         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
10344         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
10345         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
10346         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
10347         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
10349 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10351         * include/libc-symbols.h (__ifunc_resolver):
10352         New macro is used by __ifunc* macros.
10353         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
10354         depending on HAVE_GCC_IFUNC.
10355         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
10356         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
10357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
10358         Redirect ifunced function in header for using as type for ifunc function.
10359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
10360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
10361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
10362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
10363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
10364         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
10365         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
10366         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
10367         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
10368         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
10369         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
10370         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
10371         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
10372         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
10373         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
10374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
10375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
10376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
10377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
10378         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
10379         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
10380         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
10381         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
10382         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
10383         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
10384         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
10385         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
10386         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
10387         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
10388         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
10389         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
10390         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
10391         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
10392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
10393         Add libc_hidden_def() and use libc_ifunc_hidden() macro
10394         instead of libc_ifunc() macro.
10395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
10396         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
10398 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
10400         * config.h.in (HAVE_GCC_IFUNC): New undef.
10401         * configure.ac: Add check if gcc supports attribute ifunc feature.
10402         * configure: Regenerated.
10403         * manual/install.texi: Add recommendation for gcc with
10404         indirect-function support.
10405         * INSTALL: Regenerated.
10407 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
10409         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
10410         macro.
10411         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10412         (__iseqsig): New declaration.
10413         * math/s_iseqsig_template.c: New file.
10414         * math/Versions (__iseqsigf): New libm symbol at version
10415         GLIBC_2.25.
10416         (__iseqsig): Likewise.
10417         (__iseqsigl): Likewise.
10418         * math/libm-test.inc (iseqsig_test_data): New array.
10419         (iseqsig_test): New function.
10420         (main): Call iseqsig_test.
10421         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
10422         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
10423         * manual/libm-err-tab.pl: Update comment on interfaces without
10424         ulps tabulated.
10425         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
10426         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
10427         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
10428         * sysdeps/nacl/libm.abilist: Update.
10429         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10430         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10431         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10432         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10433         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10434         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10435         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10436         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10437         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10438         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10439         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10440         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10442         Likewise.
10443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10444         Likewise.
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10446         Likewise.
10447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10448         Likewise.
10449         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10450         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10451         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10452         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10453         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10455         Likewise.
10456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10457         Likewise.
10458         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10459         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10460         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10462 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10464         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
10465         do_sincos_2, sloww, sloww1): Update comments.
10467         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
10468         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
10470         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
10471         K boolean and rename it.
10472         (__sin): Adjust.
10473         (__cos): Adjust.
10475 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10476             Siddhesh Poyarekar  <siddhesh@sourceware.org>
10478         * manual/nss.texi: Fix typos in the manual.
10480 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
10482         * manual/contrib.texi: Fix typos in the manual.
10484         * manual/maint.texi: Fix typos in the manual.
10486         * manual/install.texi: Fix typos in the manual.
10487         * INSTALL: Regenerated.
10489         * manual/lang.texi: Fix typos in the manual.
10491         * manual/probes.texi: Fix typos in the manual.
10493         * manual/threads.texi: Fix typos in the manual.
10495         * manual/debug.texi: Fix typos in the manual.
10497         * manual/crypt.texi: Fix typos in the manual.
10499         * manual/conf.texi: Fix typos in the manual.
10501         * manual/sysinfo.texi: Fix typos in the manual.
10503         * manual/users.texi: Fix typos in the manual.
10505         * manual/job.texi: Fix typos in the manual.
10507         * manual/process.texi: Fix typos in the manual.
10509         * manual/argp.texi: Fix typos in the manual.
10510         * manual/getopt.texi: Likewise.
10511         * manual/startup.texi: Likewise.
10513         * manual/signal.texi: Fix typos in the manual.
10515         * manual/setjmp.texi: Fix typos in the manual.
10517         * manual/resource.texi: Fix typos in the manual.
10519         * manual/time.texi: Fix typos in the manual.
10521         * manual/arith.texi: Fix typos in the manual.
10523         * manual/math.texi: Fix typos in the manual.
10525         * manual/syslog.texi: Fix typos in the manual.
10527         * manual/terminal.texi: Fix typos in the manual.
10529         * manual/socket.texi: Fix typos in the manual.
10531         * manual/filesys.texi: Fix typos in the manual.
10533         * manual/llio.texi: Fix typos in the manual.
10535         * manual/stdio.text: Fix typos in the manual.
10537 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10539         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
10540         instead of K1.
10542         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
10543         SHIFT_QUADRANT and make it bool.
10544         (do_sincos_2): Likewise.
10545         (sloww): Likewise.
10546         (sloww1): Likewise.
10547         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
10548         (__cos): Likewise.
10550 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10552         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10554 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
10556         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
10557         Define to __WORDSIZE, not conditional on [LONG_MAX ==
10558         0x7fffffffL].
10559         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
10561 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10563         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
10564         inline by __inline__.
10565         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
10566         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
10567         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
10568         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
10569         sigset_t from signal.h.
10570         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
10571         which is already required.
10573 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
10575         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10577 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
10579         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
10580         (struct tcp_repair_window): New type.
10582 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10584         * libio/tst-memstream3.c: Include string.h.
10586 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10588         [BZ #18241]
10589         [BZ #20181]
10590         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
10591         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
10592         write position is at the end the buffer.
10593         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
10594         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
10595         (_IO_str_seekoff): Set correct offset from negative displacement and
10596         set EINVAL for invalid ones.
10597         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
10598         buffer length.
10599         (_IO_wstr_switch_to_get_mode): New function.
10600         (_IO_wstr_seekoff): Set correct offset from negative displacement and
10601         set EINVAL for invalid ones.
10602         * libio/tst-memstream3.c: New file.
10603         * libio/tst-wmemstream3.c: Likewise.
10604         * manual/examples/memstrm.c: Remove warning when priting size_t.
10606 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10608         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
10609         macro to use __builtin_fma.
10610         * sysdeps/x86_64/fpu/dla.h: Remove file.
10612         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
10613         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
10614         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
10616 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
10618         [BZ #20292]
10619         * elf/Makefile (routines): Add dl-addr-obj.
10620         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
10621         tst-_dl_addr_inside_object.
10622         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
10623         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10624         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
10625         [ifeq (yesyes,$(have-fpie)$(build-shared))]
10626         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
10627         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
10628         * elf/dl-open.c: Likewise.
10629         * elf/dl-addr-obj.c: New file.
10630         * elf/tst-_dl_addr_inside_object.c: New file.
10632 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
10634         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
10635         <bits/iscanonical.h>.
10636         * bits/iscanonical.h: New file.
10637         * math/s_iscanonicall.c: Likewise.
10638         * math/Versions (__iscanonicall): New libm symbol at version
10639         GLIBC_2.25.
10640         * math/libm-test.inc (iscanonical_test_data): New array.
10641         (iscanonical_test): New function.
10642         (main): Call iscanonical_test.
10643         * math/Makefile (headers): Add bits/iscanonical.h.
10644         (type-ldouble-routines): Add s_iscanonicall.
10645         * manual/arith.texi (Floating Point Classes): Document
10646         iscanonical.
10647         * manual/libm-err-tab.pl: Update comment on interfaces without
10648         ulps tabulated.
10649         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
10650         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
10651         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
10652         Likewise.
10653         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10654         test-iscanonical-ldbl-128ibm.
10655         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
10656         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
10657         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
10658         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
10659         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
10660         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10661         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10663         Likewise.
10664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10665         Likewise.
10666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10667         Likewise.
10668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10669         Likewise.
10670         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10671         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10673 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10675         * string/bits/string3.h: Remove C++ style comments.
10677 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10679         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
10680         instead of ternary condition.
10681         (do_sincos_2): Likewise.
10682         (__sin): Likewise.
10683         (__cos): Likewise.
10684         (slow): Likewise.
10685         (sloww): Likewise.
10686         (sloww1): Likewise.
10687         (bsloww): Likewise.
10688         (bsloww1): Likewise.
10690         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
10691         instead of ternary condition.
10692         (do_sin_slow): Likewise.
10693         (do_sincos_1): Likewise.
10694         (do_sincos_2): Likewise.
10695         (__cos): Likewise.
10696         (sloww): Likewise.
10697         (sloww1): Likewise.
10698         (sloww2): Likewise.
10699         (bsloww): Likewise.
10700         (bsloww1): Likewise.
10701         (bsloww2): Likewise.
10703         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
10704         check from here...
10705         (slow2): ... and here...
10706         (__sin): ... to here.
10708 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
10710         * math/math.h
10711         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
10712         Cast argument to its own type.
10713         * math/test-iszero-excess-precision.c: New file.
10714         * math/Makefile (tests): Add test-iszero-excess-precision.
10715         (CFLAGS-test-iszero-excess-precision.c): New variable.
10717 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
10719         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
10720         field, add err field.
10721         (__spawni_child): Report error through err member instead of pipe.
10722         (__spawnix): Likewise.
10724 2016-09-28  Zack Weinberg  <zackw@panix.com>
10726         * scripts/check-installed-headers.sh: Generalize treatment of
10727         sys/elf.h to all target architectures.
10729         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
10730         deleted typedef ucontext_t.
10732 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10734         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
10735         (__INTERNAL_SYSCALL1): Likewise.
10736         (__INTERNAL_SYSCALL2): Likewise.
10737         (__INTERNAL_SYSCALL3): Likewise.
10738         (__INTERNAL_SYSCALL4): Likewise.
10739         (__INTERNAL_SYSCALL5): Likewise.
10740         (__INTERNAL_SYSCALL6): Likewise.
10741         (__INTERNAL_SYSCALL7): Likewise.
10742         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
10743         (__INTERNAL_SYSCALL_NARGS): Likewise.
10744         (__INTERNAL_SYSCALL_DISP): Likewise.
10745         (INTERNAL_SYSCALL_CALL): Likewise.
10746         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
10747         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
10748         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
10749         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
10750         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
10751         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
10752         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
10753         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
10754         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
10755         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
10756         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
10757         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
10758         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
10760 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
10762         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
10763         macro.
10764         * math/libm-test.inc (iszero_test_data): New array.
10765         (iszero_test): New function.
10766         (main): Call iszero_test.
10767         * manual/arith.texi (Floating Point Classes): Document iszero.
10768         * manual/libm-err-tab.pl: Update comment on interfaces without
10769         ulps tabulated.
10771 2016-09-23  Zack Weinberg  <zackw@panix.com>
10773         * scripts/check-installed-headers.sh: New script.
10774         * Rules: In each directory that defines header files to be installed,
10775         run check-installed-headers.sh on them as a special test.
10776         * Makefile: Likewise for the headers installed at top level.
10778         * include/aliases.h, include/alloca.h, include/argz.h
10779         * include/arpa/nameser.h, include/arpa/nameser_compat.h
10780         * include/elf.h, include/envz.h, include/err.h
10781         * include/execinfo.h, include/fpu_control.h, include/getopt.h
10782         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
10783         * include/link.h, include/malloc.h, include/mcheck.h
10784         * include/mntent.h, include/netinet/ether.h
10785         * include/nss.h, include/obstack.h, include/printf.h
10786         * include/pty.h, include/resolv.h, include/rpc/auth.h
10787         * include/rpc/auth_des.h, include/rpc/auth_unix.h
10788         * include/rpc/clnt.h, include/rpc/des_crypt.h
10789         * include/rpc/key_prot.h, include/rpc/netdb.h
10790         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
10791         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
10792         * include/rpc/rpc_msg.h, include/rpc/svc.h
10793         * include/rpc/svc_auth.h, include/rpc/xdr.h
10794         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
10795         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
10796         * include/rpcsvc/ypupd.h, include/shadow.h
10797         * include/stdio_ext.h, include/sys/epoll.h
10798         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
10799         * include/sys/prctl.h, include/sys/profil.h
10800         * include/sys/statfs.h, include/sys/sysctl.h
10801         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
10802         * sysdeps/arm/nacl/include/bits/setjmp.h
10803         * sysdeps/mips/include/sys/asm.h
10804         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
10805         * sysdeps/unix/sysv/linux/include/sys/timex.h
10806         * sysdeps/x86/fpu/include/bits/fenv.h:
10807         Add #ifndef _ISOMAC guard around internal declarations.
10808         Add multiple-inclusion guard if not already present.
10810 2016-09-23  Zack Weinberg  <zackw@panix.com>
10812         * sysdeps/generic/sys/ucontext.h
10813         * sysdeps/arm/sys/ucontext.h
10814         * sysdeps/i386/sys/ucontext.h
10815         * sysdeps/m68k/sys/ucontext.h
10816         * sysdeps/mips/sys/ucontext.h
10817         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
10818         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
10819         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
10820         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
10821         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
10822         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
10823         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
10824         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
10825         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
10826         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
10827         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
10828         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
10829         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
10830         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
10831         Include both bits/sigcontext.h and bits/sigstack.h.
10832         Fix grammar error in comment, if present.
10834         * bits/sigstack.h
10835         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
10836         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
10837         * sysdeps/unix/sysv/linux/bits/sigstack.h
10838         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
10839         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
10840         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
10841         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
10842         * bits/sigcontext.h
10843         * sysdeps/mach/hurd/i386/bits/sigcontext.h
10844         * sysdeps/unix/sysv/linux/bits/sigcontext.h
10845         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
10846         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
10847         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
10848         as well as signal.h, if this was not already allowed.  Request
10849         definition of size_t if necessary.  Minimize semantically-null
10850         differences across files.
10852 2016-09-23  Zack Weinberg  <zackw@panix.com>
10854         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
10855         Remove all logic conditional on __need macros.  Move all the
10856         conditionally defined types to their own headers...
10857         * time/bits/types/clock_t.h: Define clock_t here.
10858         * time/bits/types/clockid_t.h: Define clockid_t here.
10859         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
10860         * time/bits/types/struct_timespec.h: Define struct timespec here.
10861         * time/bits/types/struct_timeval.h: Define struct timeval here.
10862         * time/bits/types/struct_tm.h: Define struct tm here.
10863         * time/bits/types/time_t.h: Define time_t here.
10864         * time/bits/types/timer_t.h: Define timer_t here.
10865         * time/Makefile: Install the new headers.
10867         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
10868         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
10869         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
10870         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
10871         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
10872         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
10873         * sysdeps/unix/sysv/linux/bits/resource.h
10874         * sysdeps/unix/sysv/linux/bits/timex.h
10875         * sysdeps/unix/sysv/linux/mips/bits/resource.h
10876         * sysdeps/unix/sysv/linux/net/ppp_defs.h
10877         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
10878         * sysdeps/unix/sysv/linux/sys/acct.h
10879         * sysdeps/unix/sysv/linux/sys/timerfd.h
10880         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
10881         * time/sys/time.h, time/sys/timeb.h
10882         Use the new bits/types headers.
10884         * include/time.h: Remove __need logic.
10885         * include/bits/time.h
10886         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
10887         * include/bits/types/time_t.h, include/bits/types/timer_t.h
10888         * include/bits/types/struct_itimerspec.h
10889         * include/bits/types/struct_timespec.h
10890         * include/bits/types/struct_timeval.h
10891         * include/bits/types/struct_tm.h:
10892         New wrapper headers.
10894 2016-09-23  Zack Weinberg  <zackw@panix.com>
10896         * sysdeps/mach/hurd/net/if_ppp.h
10897         * sysdeps/unix/sysv/linux/net/if_ppp.h:
10898         Only define struct ifpppstatsreq and struct ifpppcstatsreq
10899         if __USE_MISC is defined, to ensure struct ifreq is declared.
10901         * inet/netinet/ether.h: Condition all function prototypes
10902         on __USE_MISC, to ensure struct ether_addr is declared.
10904         * socket/bits/types/struct_osockaddr.h: New header.
10905         * include/bits/types/struct_osockaddr.h: New wrapper.
10906         * socket/Makefile: Install the new header.
10907         * socket/sys/socket.h, inet/protocols/talkd.h:
10908         Refer to bits/types/struct_osockaddr.h for the definition of
10909         struct osockaddr.
10911 2016-09-23  Zack Weinberg  <zackw@panix.com>
10913         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
10914         * inet/protocols/routed.h, inet/protocols/talkd.h
10915         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
10916         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
10917         * sysdeps/generic/netinet/if_ether.h
10918         * sysdeps/generic/netinet/in_systm.h
10919         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
10920         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10921         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
10922         * sysdeps/mach/hurd/net/if_arp.h
10923         * sysdeps/mach/hurd/net/if_ppp.h
10924         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
10925         * sysdeps/unix/sysv/linux/bits/in.h
10926         * sysdeps/unix/sysv/linux/net/ethernet.h
10927         * sysdeps/unix/sysv/linux/net/if_arp.h
10928         * sysdeps/unix/sysv/linux/net/if_ppp.h
10929         * sysdeps/unix/sysv/linux/net/if_shaper.h
10930         * sysdeps/unix/sysv/linux/net/route.h
10931         * sysdeps/unix/sysv/linux/netinet/if_ether.h
10932         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10933         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10934         * sysdeps/unix/sysv/linux/netipx/ipx.h
10935         * sysdeps/unix/sysv/linux/sys/acct.h
10936         * include/arpa/nameser.h, include/resolv.h:
10937         Change all uses of u_char to unsigned char,
10938         u_short and ushort to unsigned short, u_int and uint to unsigned int,
10939         u_long and ulong to unsigned long, u_int8_t to uint8_t,
10940         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
10941         and u_int64_t and u_quad_t to uint64_t.
10943         * mach/sys/reboot.h: Remove two casts of integer literals
10944         to the types they already have.
10946         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
10947         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
10948         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
10949         from referring to 'unsigned char' to 'uint8_t' for consistency with
10950         the macro definition below.
10952         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
10953         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
10954         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
10955         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
10956         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
10957         * sysdeps/unix/sysv/linux/sys/acct.h
10958         * include/arpa/nameser.h, include/resolv.h:
10959         Fix indentation disrupted by mechanical edits.
10961         * inet/protocols/talkd.h, resolv/arpa/nameser.h
10962         * sysdeps/generic/netinet/in_systm.h
10963         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
10964         * sysdeps/gnu/netinet/udp.h
10965         * sysdeps/unix/sysv/linux/net/ethernet.h
10966         * sysdeps/unix/sysv/linux/net/if_arp.h
10967         * sysdeps/unix/sysv/linux/net/if_ppp.h
10968         * sysdeps/unix/sysv/linux/net/if_shaper.h
10969         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
10970         * sysdeps/unix/sysv/linux/netinet/if_tr.h
10971         * sysdeps/unix/sysv/linux/netipx/ipx.h
10972         * sysdeps/unix/sysv/linux/sys/acct.h
10973         Include stdint.h for uintNN_t definitions.
10974         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
10976 2016-09-23  Zack Weinberg  <zackw@panix.com>
10978         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
10979         * sysdeps/unix/sysv/linux/netrose/rose.h:
10980         Include sys/socket.h and netax25/ax25.h.
10982         * inet/netinet/icmp6.h, inet/netinet/ip6.h
10983         * resolv/arpa/nameser_compat.h:
10984         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
10986         * sysdeps/unix/sysv/linux/sys/quota.h:
10987         Use __caddr_t instead of caddr_t.
10988         * sysdeps/unix/sysv/linux/sys/timerfd.h:
10989         Use __clockid_t instead of clockid_t.
10991         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
10993         * argp/argp.h: Check whether _LIBC is defined before expanding it.
10994         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
10995         expanding it.
10997         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
10998         Define __glibc_c99_flexarr_available to 1 when the compiler
10999         supports C99-compatible flexible array members, 0 otherwise.
11000         * sysdeps/unix/sysv/linux/bits/socket.h
11001         * sysdeps/mach/hurd/bits/socket.h
11002         * bits/socket.h: Use __glibc_c99_flexarr_available in
11003         definitions of struct cmsghdr and CMSG_DATA.
11005 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11007         * manual/nss.texi (NSS Modules Interface): Adjust function return
11008         type to enum nss_status.  Document errnop argument.  Clarify
11009         h_errnop semantics.  Fix cross-reference formatting.
11010         (NSS Module Function Internals): Mention that *errnop needs to be
11011         set on failure, but not to zero.
11013 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11015         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
11016         (get_random_name): New functions.
11017         (check_wrapper_flags_mode): Use linkat to give the new file a name
11018         determined by get_random_name.
11019         (do_test): Add calls to test open64 and openat64.
11021 2016-09-23  Florian Weimer  <fweimer@redhat.com>
11023         * test-skeleton.c: Remove #include <stdarg.h>.
11025 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
11027         [BZ #19826]
11028         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
11029         initialization of static TLS entries.
11030         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
11031         * nptl/allocatestack.c (init_one_static_tls): Likewise.
11033 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11035         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
11036         _hurd_malloc_fork_prepare.
11037         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
11038         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
11039         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
11040         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
11041         (_hurd_fork_child_hook): Drop malloc_fork_child.
11042         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
11043         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
11044         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
11045         after locking locks (notably hurd_dtable_lock). Call
11046         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
11047         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
11048         __malloc_fork_unlock_child.
11049         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
11051 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
11053         * soft-fp/extendhftf2.c: New.
11054         * soft-fp/fixhfti.c: Likewise.
11055         * soft-fp/fixunshfti.c: Likewise.
11056         * soft-fp/floattihf.c: Likewise.
11057         * soft-fp/floatuntihf.c: Likewise.
11058         * soft-fp/half.h: Likewise.
11059         * soft-fp/trunctfhf2.c: Likewise.
11061 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
11063         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
11064         macro.
11065         * math/libm-test.inc (issubnormal_test_data): New array.
11066         (issubnormal_test): New function.
11067         * manual/arith.texi (Floating Point Classes): Document
11068         issubnormal.
11069         * manual/libm-err-tab.pl: Update comment on interfaces without
11070         ulps tabulated.
11072         * sysdeps/generic/stdint.h: Define
11073         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11074         <bits/libc-header-start.h> instead of including <features.h>.
11075         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
11076         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
11077         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
11078         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
11079         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
11080         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
11081         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
11082         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
11083         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
11084         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
11085         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
11086         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
11087         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
11088         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
11089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
11090         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
11091         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
11092         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
11093         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
11094         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
11095         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
11096         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
11097         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
11098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
11099         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
11100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
11101         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
11102         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
11103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
11104         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
11105         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
11106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
11107         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
11108         * manual/arith.texi (Integers): Document these macros for types
11109         specified by width properties.
11110         * manual/lang.texi (Width of Type): Document these macros for
11111         other standard typedefs.
11112         * stdlib/tst-width-stdint.c: New file.
11113         * stdlib/Makefile (tests): Add tst-width-stdint.
11115 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11117         [BZ #20016]
11118         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
11119         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
11120         Move ...
11121         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
11122         ... here, as compatibility symbols in a new file.
11123         * resolv/Makefile (libresolv-routines): Add compat-hooks.
11124         * resolv/res_init.c (__res_vinit): Adjust member names.
11125         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
11126         * resolv/resolv.h (res_sendhookact, res_send_qhook)
11127         (res_send_rhook): Remove.
11128         (struct __res_state): Rename qhook, rhook members.
11130 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11132         malloc: Use __libc_lock wrappers.
11133         * malloc/arena.c (list_lock, free_list_lock): Define using
11134         __libc_lock_define_initialized.
11135         (arena_lock): Adjust formatting.
11136         * malloc/malloc.c (struct malloc_state): Define mutex using
11137         __libc_lock_define.
11138         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
11139         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
11140         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
11141         (mutex_unlock, mutex_trylock): Remove.
11142         (__pthread_initialize): Remove unused macro.
11143         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
11144         (mutex_unlock, mutex_trylock): Remove.
11146 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11148         [BZ #20592]
11149         Remove RR type classification macros.
11150         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
11151         (ns_t_udp_p, ns_t_xfr_p): Remove.
11153 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11155         Remove misleading version information.
11156         * resolv/arpa/nameser.h (__NAMESER): Remove.
11157         * resolv/arpa/nameser_compat.h (__BIND): Remove.
11159 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11161         Remove the always-defined BIND_4_COMPAT macro.
11162         * resolv/arpa/nameser.h: Unconditionally include
11163         <arpa/nameser_compat.h>.
11164         (BIND_4_COMPAT): Remove.
11165         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
11167 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11169         [BZ #20591]
11170         Remove obsolete DNSSEC support.
11171         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
11172         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
11173         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
11174         (ns_verify_tcp, ns_verify_tcp_init): Remove.
11175         (ns_cert_types): Add comment.
11176         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
11177         separately.
11178         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
11179         (dst_s_dns_key_id): Remove.
11180         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
11181         variables.
11183 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11185         [BZ #20524]
11186         * manual/string.texi (String/Array Comparison): Clarify the
11187         strverscmp behavior.
11189 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11191         * test-skeleton.c (xasprintf): Add function.
11192         * io/tst-open-tmpfile.c: New test.
11193         * io/Makefile (tests): Add it.
11195 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11197         Avoid running $(CXX) during build to obtain header file paths.
11198         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
11199         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
11200         * Makerules (cstdlib, cmath): Remove variables.  Use
11201         $(c++-cstdlib-header), $(c++-cmath-header) instead.
11202         * configure: Regenerate.
11204 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11206         * Makeconfig (all-object-suffixes): Include .op only if
11207         $(build-profile).
11209 2016-09-21  Florian Weimer  <fweimer@redhat.com>
11211         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
11212         conditionals.  Do not define PATH_MAX.
11214 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11216         * posix/Makefile (tests): Add tst-spawn3.
11217         * posix/tst-spawn3.c: New file.
11218         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
11219         if it is already opened for open action.
11221         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
11222         all signals when executing the clone vfork child.
11223         (SIGALL_SET): Remove macro.
11225         * nptl/Makefile (tests): Add tst-exec5.
11226         * nptl/tst-exec5.c: New file.
11227         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
11228         asynchronous cancellation.
11230 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11232         * hurd/exc2signal.c: #include <hurd/signal.h>
11233         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
11234         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
11235         accordingly.
11236         * mach/mach_error.c (mach_error): Fix old-style function definition.
11237         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
11239 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11241         * math/Makefile (libm-calls): Remove s_nanF.
11242         (gen-libm-calls): Add s_nanF.
11244         * math/s_nan.c: Refactor into ...
11245         * math/s_nan_template.c: New file.
11247         * math/s_nanf.c: Removed.
11248         * math/s_nanl.c: Removed.
11249         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
11250         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
11252         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11253         (LDOUBLE_nanl_libm_version): New macro.
11255         * sysdeps/generic/math-type-macros-double.h:
11256         (M_STRTO_NAN): New macro.
11257         * sysdeps/generic/math-type-macros-float.h: Likewise.
11258         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
11260         * sysdeps/generic/math-type-macros.h: Document
11261         M_STRTO_NAN.
11263 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11265         * math/s_nanf.c: Remove __nanf undef.
11266         * math/s_nan.c: Remove __nan undef.
11267         * math/s_nanl.c: Remove __nanl undef.
11269         * sysdeps/generic/math_private.h (__nan): Remove macro
11270         override.
11271         (__nanf): Likewise.
11272         (__nanl): Likewise.
11274 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11276         * math/Makefile (gen-all-calls): New variable.
11277         (generated): Replace gen-libm-calls with gen-all-calls.
11278         (gen-libm-templates.stmp): Likewise.  Also, ensure
11279         the output directory exists or is created and add
11280         dependency on the Makefile.
11281         (calls): Move s_ldexpF into gen-calls.
11282         (gen-calls): New variable.
11284         * math/s_ldexpf.c: Removed.
11285         * math/s_ldexpl.c: Removed.
11286         * math/s_ldexp.c: Refactored into ...
11287         * math/s_ldexp_template.c: New file.
11289         * sysdeps/generic/math-type-macros-double.h: Remove
11290         redundant fall-through definition of declare_mgen_alias.
11291         (declare_mgen_alias_2): New macro.
11293         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
11294         New macro for function aliased to two exported symbols.
11296         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
11297         new template file.
11298         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
11300 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11302         * Makeconfig (all-object-suffixes): Remove .og.
11303         * Makerules (elide-routines.og): Remove.
11304         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
11305         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
11306         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
11308 2016-09-20  Florian Weimer  <fweimer@redhat.com>
11310         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
11311         .os objects.
11313 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11315         [BZ #20615]
11316         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
11317         fpu directory by non-fpu.
11318         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
11319         on non-fpu directory from a fpu directory.
11321 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
11323         * include/limits.h: Define
11324         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
11325         <bits/libc-header-start.h> instead of including <features.h>.
11326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
11327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
11328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
11329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
11330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
11331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
11332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
11333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
11334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
11335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
11336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
11337         * manual/lang.texi (Width of Type): Document these macros.
11338         * stdlib/tst-width.c: New file.
11339         * stdlib/Makefile (tests): Add tst-width.
11341 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11343         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
11344         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
11346 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11348         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
11349         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11350         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11352 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11354         [BZ #18243]
11355         * rt/Makefile (test): Add tst-shm-cancel.
11356         * rt/tst-shm-cancel.c: New file.
11357         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
11359         [BZ #18243]
11360         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
11361         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
11362         definition.
11363         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
11364         uncontended case.
11365         * nptl/sem_wait.c (__new_sem_wait): Likewise.
11366         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
11367         (tf): Fix check for uncontended case.
11368         (do_test): Likewise.
11369         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
11370         (tf): Fix check for uncontended case.
11371         (do_test): Likewise.
11372         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
11373         (tf): Fix check for uncontended case.
11374         (do_test): Likewise.
11375         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
11376         (tf): Fix check for uncontended case.
11377         (do_test): Likewise.
11379         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
11380         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
11382         [BZ #15765]
11383         * nptl/Makefile (tests): Add tst-sem16.
11384         * nptl/tst-sem16.c: New file.
11385         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
11387         * nptl/sem_open.c (sem_open): Init pad value to 0.
11388         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
11389         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
11391 2016-09-15  Florian Weimer  <fweimer@redhat.com>
11393         [BZ #20611]
11394         * inet/Makefile (routines): Add inet6_scopeid_pton.
11395         (tests): Add tst-inet6_scopeid_pton.
11396         * inet/inet6_scopeid_pton.c: New file.
11397         * inet/net-internal.h: Likewise.
11398         * inet/tst-inet6_scopeid_pton.c: New test.
11399         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
11400         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
11401         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11403 2016-09-14  Florian Weimer  <fweimer@redhat.com>
11405         Remove support for compiling wrappers with PTW.
11406         * sysdeps/nptl/Makeconfig: Drop ptw- support.
11407         * nptl/Makefile (pthread-compat-wrappers): Define.
11408         (libpthread-routines): Use pthread-compat-wrappers.
11409         * sysdeps/unix/sysv/linux/alpha/Makefile
11410         (libpthread-routines, libpthread-shared-only-routines): Remove
11411         ptw- prefix.
11412         * sysdeps/s390/nptl/Makefile
11413         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11414         * sysdeps/ia64/nptl/Makefile
11415         (libpthread-routines, libpthread-shared-only-routines): Likewise.
11416         * sysdeps/nacl/Makefile (libpthread-routines): Use
11417         pthread-compat-wrappers to filter the routines list instead of the
11418         ptw- prefix.
11420 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11422         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
11423         with L() and remove explicit suffix, convert real literals
11424         which can be equivalentally substituted with integers, and
11425         transform -L(x) to L(-x).
11427         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11428         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11429         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11430         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11431         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11432         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11433         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11434         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11435         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11436         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11437         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11438         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11439         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11440         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11441         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11442         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11443         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11444         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11445         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11446         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11447         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11448         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11449         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11450         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11451         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11452         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11453         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11454         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11455         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11456         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11457         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11458         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11459         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11460         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11461         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11462         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11463         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11464         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11465         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11466         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11467         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11468         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11469         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11470         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11471         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11472         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11473         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11474         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11475         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11476         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11478 2016-09-13  Florian Weimer  <fweimer@redhat.com>
11480         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
11482 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11484         * malloc/Makefile (tests): Remove individual static test names
11485         and just add all of tests-static.
11487         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
11489 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
11491         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
11492         file.
11494         * sysdeps/sparc/fpu/fegetmode.c: New file.
11495         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
11497         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
11498         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
11500         * sysdeps/s390/fpu/fegetmode.c: New file.
11501         * sysdeps/s390/fpu/fesetmode.c: Likewise.
11503         * sysdeps/powerpc/fpu/fegetmode.c: New file.
11504         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
11505         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
11506         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
11507         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
11508         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
11510         * sysdeps/mips/fpu/fegetmode.c: New file.
11511         * sysdeps/mips/fpu/fesetmode.c: Likewise.
11513         * sysdeps/m68k/fpu/fegetmode.c: New file.
11514         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
11516         * sysdeps/ia64/fpu/fegetmode.c: New file.
11517         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
11519         * sysdeps/hppa/fpu/fegetmode.c: New file.
11520         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
11522         * sysdeps/arm/fegetmode.c: New file.
11523         * sysdeps/arm/fesetmode.c: Likewise.
11525         * sysdeps/alpha/fpu/fegetmode.c: New file.
11526         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
11528         * sysdeps/aarch64/fpu/fegetmode.c: New file.
11529         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
11531         * math/fegetmode.c: New file.
11532         * math/fesetmode.c: Likewise.
11533         * sysdeps/i386/fpu/fegetmode.c: Likewise.
11534         * sysdeps/i386/fpu/fesetmode.c: Likewise.
11535         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
11536         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
11537         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
11538         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
11539         declaration.
11540         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
11541         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
11542         typedef.
11543         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11544         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11545         (femode_t): New typedef.
11546         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11547         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11548         (femode_t): New typedef.
11549         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11550         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11551         (femode_t): New typedef.
11552         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11553         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11554         (femode_t): New typedef.
11555         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11556         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11557         (femode_t): New typedef.
11558         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11559         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11560         (femode_t): New typedef.
11561         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11562         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11563         (femode_t): New typedef.
11564         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11565         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11566         (femode_t): New typedef.
11567         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11568         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11569         (femode_t): New typedef.
11570         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11571         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11572         (femode_t): New typedef.
11573         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
11574         declaration.
11575         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11576         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11577         (femode_t): New typedef.
11578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11579         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11580         (femode_t): New typedef.
11581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11582         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11583         (femode_t): New typedef.
11584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11585         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11586         (femode_t): New typedef.
11587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11588         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11589         (femode_t): New typedef.
11590         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
11591         * manual/arith.texi (FE_DFL_MODE): Document macro.
11592         (fegetmode): Document function.
11593         (fesetmode): Likewise.
11594         * math/Versions (fegetmode): New libm symbol at version
11595         GLIBC_2.25.
11596         (fesetmode): Likewise.
11597         * math/Makefile (libm-support): Add fegetmode and fesetmode.
11598         (tests): Add test-femode and test-femode-traps.
11599         * math/test-femode-traps.c: New file.
11600         * math/test-femode.c: Likewise.
11601         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
11602         alias for __fe_dfl_env.
11603         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
11604         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
11605         (__fe_dfl_mode): Likewise.
11606         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
11607         version GLIBC_2.25.
11608         * sysdeps/nacl/libm.abilist: Update.
11609         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11610         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11611         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11612         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11613         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11614         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11615         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11616         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11617         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11618         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11619         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11620         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11622         Likewise.
11623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11624         Likewise.
11625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11626         Likewise.
11627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11628         Likewise.
11629         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11630         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11631         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11632         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11633         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11635         Likewise.
11636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11637         Likewise.
11638         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11639         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11640         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11642 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
11644         [BZ #20495]
11645         [BZ #20508]
11646         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
11647         processors, set Use_dl_runtime_resolve_slow and set
11648         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
11649         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
11650         New.
11651         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
11652         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
11653         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
11654         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
11655         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
11656         if Use_dl_runtime_resolve_opt is set.  Use
11657         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
11658         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
11659         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
11660         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
11661         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
11662         New.
11663         (_dl_runtime_resolve_opt): Likewise.
11664         (_dl_runtime_profile): Define only if _dl_runtime_profile is
11665         defined.
11667 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
11669         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
11670         __libc_memalign with "+ RELA R_390_GLOB_DAT".
11672 2016-09-06  Florian Weimer  <fweimer@redhat.com>
11674         Convert malloc to __libc_lock.  Automated part, using this Perl
11675         s/// command:
11676           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
11677             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
11678         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
11679         conversion.
11681 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
11683         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
11684         (linknamespace-symlists-tests): Likewise.
11685         (linknamespace-header-tests): Likewise.
11687 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
11689         [BZ #19810]
11690         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
11691         * elf/tst-noload.c: New test case.
11692         * elf/Makefile (tests): Add tst-noload.
11694 2016-09-02  Roland McGrath  <roland@hack.frob.com>
11696         * sysdeps/nacl/dup.c: Add libc_hidden_def.
11698         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
11699         not any more.
11701         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
11703 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11705         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
11706         (do_cos_slow): Likewise.
11707         (do_sin): Likewise.
11708         (do_sin_slow): Likewise.
11709         (slow): Likewise.
11710         (slow1): Likewise.
11711         (slow2): Likewise.
11712         (sloww): Likewise.
11713         (sloww1): Likewise.
11714         (sloww2): Likewise.
11715         (bsloww): Likewise.
11716         (bsloww1): Likewise.
11717         (bsloww2): Likewise.
11718         (cslow2): Likewise.
11720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
11722         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
11723         arguments.  Consolidate input partitioning from callers here.
11724         (do_cos_slow): Likewise.
11725         (do_sin): Likewise.
11726         (do_sin_slow): Likewise.
11727         (do_sincos_1): Remove the no longer necessary input partitioning.
11728         (do_sincos_2): Likewise.
11729         (__sin): Likewise.
11730         (__cos): Likewise.
11731         (slow1): Likewise.
11732         (slow2): Likewise.
11733         (sloww1): Likewise.
11734         (sloww2): Likewise.
11735         (bsloww1): Likewise.
11736         (bsloww2): Likewise.
11737         (cslow2): Likewise.
11739 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11741         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
11742         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
11743         outside of allocated array.
11745 2016-09-02  Florian Weimer  <fweimer@redhat.com>
11747         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
11748         instead of MB_CUR_MAX to avoid variable-length array.
11750 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11752         * math/Makefile (libm-calls): Remove k_rem_pio2F.
11753         (type-double-routines): Add k_rem_pio2.
11754         (type-float-routines): Add k_rem_pio2f.
11756         * sysdeps/generic/math_private.h:
11757         (__kernel_rem_pio2l): Removed.
11759         * math/k_rem_pio2l.c: Removed.
11760         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
11761         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
11762         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
11763         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
11765 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11767         * math/Makefile (gen-libm-calls): Add s_fmin
11768         (libm-calls): Remove above.
11770         * math/s_fmin.c: Refactor into ...
11771         * math/s_fmin_template.c: New file.
11773         * math/s_fminf.c: Removed.
11774         * math/s_fminl.c: Removed.
11775         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11776         (LDOUBLE_fmin_libm_version): New macro.
11778         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
11779         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
11781 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11783         * math/Makefile: (gen-libm-calls): Add s_fmax.
11784         (libm-calls): Remove above.
11786         * math/s_fmax.c: Refactor into ...
11787         * math/s_fmax_template.c: New file.
11788         * math/s_fmaxf.c: Removed.
11789         * math/s_fmaxl.c: Removed.
11791         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11792         (LDOUBLE_fmaxl_libm_version): New macro.
11794         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
11795         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
11797         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
11798         s_fmin.c to pick the aarch64 version of the file.
11799         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
11800         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
11802 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11804         * math/Makefile: (gen-libm-calls): Add s_nextdown.
11805         (libm-calls): Remove above.
11807         * math/s_nextdown.c: Refactor into ...
11808         * math/s_nextdown_template.c: New file.
11809         * math/s_nextdownf.c: Removed.
11810         * math/s_nextdownl.c: Removed.
11812         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
11814 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11816         * math/Makefile (gen-libm-calls): Add s_fdim.
11817         (libm-calls): Move to above.
11819         * math/s_fdim.c: Renamed and refactored into to ...
11820         * math/s_fdim_template.c: New file.
11821         * math/s_fdiml.c: Removed.
11822         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
11823         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
11825         * sysdeps/generic/math-type-macros-double.h:
11826         (declare_mgen_alias): Don't declare if already declared.
11827         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
11828         Likewise.
11830         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
11831         (declare_mgen_alias): Don't declare if already declared.
11832         (M_LIBM_NEED_COMPAT): Likewise.
11833         (declare_mgen_libm_compat): Likewise.
11834         (LDOUBLE_fdiml_libm_version): New macro.
11836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
11837         Include math/s_fdim.c now that ldbl-opt version is not needed.
11838         (declare_mgen_alias): New macro to disable aliasing.
11840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
11841         (declare_mgen_alias): Likewise.
11842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
11843         (declare_mgen_alias): Likewise.
11844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
11845         (declare_mgen_alias): Likewise.
11846         (M_LIBM_NEED_COMPAT): Likewise.
11848 2016-09-01  Florian Weimer  <fweimer@redhat.com>
11850         [BZ #20525]
11851         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
11852         Include <linux/quota.h>.
11853         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
11854         and btodb.
11855         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
11856         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
11857         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
11858         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
11859         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
11860         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
11861         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
11862         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
11863         types.
11864         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
11865         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
11867 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11869         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
11870         (gammal_positive): Fix spacing.
11871         (__ieee754_gammal_r): Likewise.
11873 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11875         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
11876         (_Float128): Define as long double, always.
11877         (L): Apply long double type suffix, always.
11879         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
11880         _Float128, excepting comments.
11882         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
11883         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
11884         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
11885         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
11886         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
11887         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11888         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
11889         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
11890         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
11891         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
11892         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
11893         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
11894         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
11895         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
11896         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
11897         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
11898         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
11899         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
11900         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11901         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
11902         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
11903         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
11904         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
11905         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
11906         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
11907         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11908         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
11909         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
11910         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
11911         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11912         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
11913         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
11914         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
11915         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
11916         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11917         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11918         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
11919         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
11920         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
11921         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
11922         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11923         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
11924         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
11925         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
11926         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
11927         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11928         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11929         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11930         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
11931         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11932         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11933         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
11934         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
11935         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
11936         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
11937         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11938         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
11939         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
11940         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11941         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11942         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
11943         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
11944         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
11945         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11946         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11947         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
11948         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
11949         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
11951         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
11952         _Float128, and include math_private.h.
11953         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11955         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
11956         long double semantics.
11957         (_Float128): Likewise.
11958         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
11959         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
11960         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
11961         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
11963 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11965         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
11966         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
11967         * sysdeps/s390/configure: Regenerated.
11968         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
11969         instruction for raising over-/underflow if z196 zarch is supported
11970         by default.
11971         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
11973 2016-08-30  Svante Signell  <svante.signell@gmail.com>
11975         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
11976         it point to a dumb buffer for RPC to fill it.
11978 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11980         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
11981         instead of if/else.
11982         (do_sin_slow): Likewise.
11983         (do_sincos_1): Use fabs instead of if/else.
11984         (do_sincos_2): Likewise.
11985         (__sin): Likewise.
11986         (__cos): Likewise.
11987         (slow2): Likewise.
11988         (sloww): Likewise.
11989         (sloww1): Likewise.  Drop argument M.
11990         (sloww2): Use fabs instead of if/else.
11991         (bsloww): Likewise.
11992         (bsloww1): Likewise.
11993         (bsloww2): Likewise.
11995         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
11996         fall through comment.
11997         (do_sincos_1): Likewise.
11999         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
12000         Consolidate switch cases 0 and 2.
12002 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12004         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
12005         (libm-calls): Remove the above.
12007         * math/s_cexp_template.c: Update using type-generic macros.
12008         * math/s_clog10_template.c: Likewise.
12009         * math/s_cpow_template.c: Likewise.
12010         * math/s_clog_template.c: Likewise.
12011         * math/s_cproj_template.c: Likewise.
12012         * math/s_csqrt_template.c: Likewise.
12014         * math/s_cexp.c: Removed.
12015         * math/s_cexpf.c: Removed.
12016         * math/s_cexpl.c: Removed.
12017         * math/s_clog10.c: Removed.
12018         * math/s_clog10f.c: Removed.
12019         * math/s_clog10l.c: Removed.
12020         * math/s_cpow.c: Removed.
12021         * math/s_cpowf.c: Removed.
12022         * math/s_cpowl.c: Removed.
12023         * math/s_clog.c: Removed.
12024         * math/s_clogf.c: Removed.
12025         * math/s_clogl.c: Removed.
12026         * math/s_cproj.c: Removed.
12027         * math/s_cprojf.c: Removed.
12028         * math/s_cprojl.c: Removed.
12029         * math/s_csqrt.c: Removed.
12030         * math/s_csqrtf.c: Removed.
12031         * math/s_csqrtl.c: Removed.
12033         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
12034         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
12035         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
12036         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
12037         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
12038         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
12040         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
12041         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
12042         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
12043         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
12044         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
12045         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
12046         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
12047         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
12048         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
12049         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
12050         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
12052         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
12053         version.
12055         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
12056         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
12057         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
12058         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
12060 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12062         * s_cexp_template.c: Copy of s_cexp.c.
12063         * s_clog_template.c: Copy of s_clog.c.
12064         * s_clog10_template.c: Copy of s_clog10.c.
12065         * s_cpow_template.c: Copy of s_cpow.c.
12066         * s_cproj_template.c: Copy of s_cproj.c.
12067         * s_csqrt_template.c: Copy of s_csqrt.c.
12069 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12071         [BZ #20517]
12072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
12073         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
12074         exported.
12076 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
12078         * math/fetestexceptflag.c: New file.
12079         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
12080         Stefan Liebler.
12081         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12082         (fetestexceptflag): New function declaration.
12083         * manual/arith.texi (fetestexceptflag): Document function.
12084         * math/Versions (fetestexceptflag): New libm symbol at version
12085         GLIBC_2.25.
12086         * math/Makefile (libm-support): Add fetestexceptflag.
12087         (tests): Add test-fetestexceptflag.
12088         * math/test-fetestexceptflag.c: New file.
12089         * sysdeps/nacl/libm.abilist: Update.
12090         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12091         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12092         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12093         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12094         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12095         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12096         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12097         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12098         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12099         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12100         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12101         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12103         Likewise.
12104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12105         Likewise.
12106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12107         Likewise.
12108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12109         Likewise.
12110         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12111         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12112         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12113         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12114         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12116         Likewise.
12117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12118         Likewise.
12119         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12120         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12121         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12123 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12125         [BZ #20432]
12126         Avoid strong references to malloc-internal symbols when linking
12127         statically, to support statically interposed mallocs.
12128         * include/libc-symbols.h (call_function_static_weak): New macro.
12129         * malloc/Makefile (tests): Add tst-interpose-nothread,
12130         tst-interpose-thread, tst-interpose-static-nothread,
12131         tst-interpose-static-thread.
12132         (tests-static): Add tst-interpose-static-nothread,
12133         tst-interpose-static-thread.
12134         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
12135         tst-interpose-aux-thread.o.
12136         (test-extras): Add tst-interpose-aux-nothread,
12137         tst-interpose-aux-thread.
12138         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
12139         tst-interpose-aux-nothread.o.
12140         (tst-interpose-thread, tst-interpose-static-thread): Link with
12141         tst-interpose-aux-thread.o and libthread.
12142         * malloc/tst-interpose-aux-nothread.c: New file.
12143         * malloc/tst-interpose-aux-thread.c: Likewise.
12144         * malloc/tst-interpose-aux.c: Likewise.
12145         * malloc/tst-interpose-aux.h: Likewise.
12146         * malloc/tst-interpose-nothread.c: Likewise.
12147         * malloc/tst-interpose-skeleton.c: Likewise.
12148         * malloc/tst-interpose-static-nothread.c: Likewise.
12149         * malloc/tst-interpose-static-thread.c: Likewise.
12150         * malloc/tst-interpose-thread.c: Likewise.
12151         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
12152         * sysdeps/mach/hurd/fork.c (__fork): Only call
12153         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12154         __malloc_fork_unlock_child if defined.
12155         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
12157 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12159         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
12160         timespec C99 designated initialization.
12162 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12164         [BZ #19946]
12165         Avoid expected SIGALRM signals.
12166         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
12167         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
12168         (xpthread_create, xpthread_detach, xpthread_join)
12169         (delayed_exit_thread, delayed_exit): New functions.
12170         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
12171         (tf): Use xpthread_cond_wait.
12172         (do_test): Likewise.  Replace alarm with delayed_exit.
12173         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12174         (do_test): Call delayed_exit.  Report failure.
12175         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12176         (do_test): Call delayed_exit.
12177         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12178         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
12179         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12180         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
12181         error.
12182         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
12183         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
12184         error.
12185         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
12186         (do_test): Call delayed_exit.
12187         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
12188         (do_test): Call delayed_exit.
12189         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
12190         (do_test): Call delayed_exit instead of alarm.  Use
12191         xpthread_mutex_lock.
12192         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
12193         (do_test): Call delayed_exit instead of alarm.  Use
12194         xpthread_mutex_lock.
12195         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
12196         (do_test): Call delayed_exit instead of alarm.
12197         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
12198         (do_test): Call delayed_exit instead of alarm.  Use
12199         xpthread_spin_lock.
12200         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
12201         (do_test): Call delayed_exit instead of alarm.  Use
12202         xpthread_join.
12204 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
12206         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
12207         adjust CFA when allocating register save area on re-aligned
12208         stack.
12210 2016-08-26  Florian Weimer  <fweimer@redhat.com>
12212         * string/tst-cmp.c: New test.
12213         * string/Makefile (tests): Add it.
12215 2016-08-25  Mark Wielaard  <mark@klomp.org>
12217         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
12218         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
12219         (check_tree_recurse): Use newly defined accessors.
12220         (check_tree): Likewise.
12221         (maybe_split_for_insert): Likewise.
12222         (__tfind): Likewise.
12223         (__tdelete): Likewise.
12224         (trecurse): Likewise.
12225         (tdestroy_recurse): Likewise.
12226         (__tsearch): Likewise. And add asserts for malloc alignment.
12227         (__twalk): Cast root to node in case CHECK_TREE is defined.
12229 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12231         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
12233 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12235         * math/Makefile (libm-gen-calls): Add
12236         catan, catanh, ctan, ctanh.
12237         (libm-calls): Remove the above.
12239         * math/s_catan_template.c: Update using type-generic macros.
12240         * math/s_catanh_template.c: Likewise.
12241         * math/s_ctan_template.c: Likewise.
12242         * math/s_ctanh_template.c: Likewise.
12244         * math/s_catanf.c: Removed.
12245         * math/s_catan.c: Removed.
12246         * math/s_catanl.c: Removed.
12247         * math/s_catanhf.c: Removed.
12248         * math/s_catanh.c: Removed.
12249         * math/s_catanhl.c: Removed.
12250         * math/s_ctanf.c: Removed.
12251         * math/s_ctan.c: Removed.
12252         * math/s_ctanl.c: Removed.
12253         * math/s_ctanhf.c: Removed.
12254         * math/s_ctanh.c: Removed.
12255         * math/s_ctanhl.c: Removed.
12257         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
12258         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
12259         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
12260         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
12261         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
12262         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
12264         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
12265         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
12266         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
12267         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
12269 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12271         * s_catan_template.c: Copy of s_catan.c.
12272         * s_catanh_template.c: Copy of s_catanh.c.
12273         * s_ctan_template.c: Copy of s_ctan.c.
12274         * s_ctanh_template.c: Copy of s_ctanh.c.
12276 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12278         * math/Makefile (gen-libm-calls): Move
12279         casin, casinh, csin, csinh here.
12280         (libm-calls): Remove the above.
12282         * math/s_casin_template.c: Update using type-generic macros.
12283         * math/s_casinh_template.c: Likewise.
12284         * math/s_csin_template.c: Likewise.
12285         * math/s_csinh_template.c: Likewise.
12286         * math/k_casinh_template.c: Likewise.
12288         * math/s_casinf.c: Removed.
12289         * math/s_casin.c: Removed.
12290         * math/s_casinl.c: Removed.
12291         * math/s_casinh.c: Removed.
12292         * math/s_casinhf.c: Removed.
12293         * math/s_casinhl.c: Removed.
12294         * math/s_csin.c: Removed.
12295         * math/s_csinf.c: Removed.
12296         * math/s_csinl.c: Removed.
12297         * math/s_csinh.c: Removed.
12298         * math/s_csinhf.c: Removed.
12299         * math/s_csinhl.c: Removed.
12300         * math/k_casinh.c: Removed.
12301         * math/k_casinhf.c: Removed.
12302         * math/k_casinhl.c: Removed.
12304         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
12305         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
12306         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
12307         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
12309         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
12310         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
12311         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
12312         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
12313         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
12314         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
12315         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
12316         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
12318         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
12319         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
12320         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
12321         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
12323         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
12324         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
12325         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
12326         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
12328 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12330         * s_casin_template.c: Copy of s_casin.c.
12331         * s_casinh_template.c: Copy of s_casinh.c.
12332         * s_csin_template.c: Copy of s_csin.c.
12333         * s_csinh_template.c: Copy of s_csinh.c.
12334         * k_casinh_template.c: Copy of k_casinh.c.
12336 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12338         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
12340 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12342         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
12343         (mul_split) Remove, rename as mul_splitl, remove
12344         redundant float.h include, and include via mul_splitl.h
12346         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
12347         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12348         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12349         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
12350         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12352         * math/mul_splitl.h: New file.
12354         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
12355         Move into mul_split.h, and remove redundant float.h include.
12357         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
12358         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
12359         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12360         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
12362         * math/mul_split.h: New file.
12364 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12366         * math/Makefile (libm-gen-calls): Move
12367         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
12368         (libm-calls): Remove above.
12370         * math/s_cacos_template.c: Update using type-generic macros.
12371         * math/s_cacosh_template.c: Likewise.
12372         * math/s_ccos_template.c: Likewise.
12373         * math/s_ccosh_template.c: Likewise.
12375         * math/s_cacosf.c: Removed.
12376         * math/s_cacos.c: Removed.
12377         * math/s_cacosl.c: Removed.
12378         * math/s_cacoshf.c: Removed.
12379         * math/s_cacosh.c: Removed.
12380         * math/s_cacoshl.c: Removed.
12381         * math/s_ccosf.c: Removed.
12382         * math/s_ccos.c: Removed.
12383         * math/s_ccosl.c: Removed.
12384         * math/s_ccoshf.c: Removed.
12385         * math/s_ccosh.c: Removed.
12386         * math/s_ccoshl.c: Removed.
12388         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
12389         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
12390         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
12391         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
12392         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
12393         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
12395         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
12396         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
12397         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
12398         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
12400         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
12401         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
12402         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
12403         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
12405 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12407         * s_cacos_template.c: Copy of s_cacos.c.
12408         * s_cacosh_template.c: Copy of s_cacosh.c.
12409         * s_ccos_template.c: Copy of s_ccos.c.
12410         * s_ccosh_template.c: Copy of s_ccosh.c.
12412 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12414         * stdlib/tst-strtod-round-skeleton.c:
12415         Refactored from tst-strtod-round.c.
12417         (L_): New macro to apply literal modifier.
12418         (FNPFX): New macro to select str or wcs prefix.
12419         (CHAR): New macro to choose wchar_t or char.
12420         (STRM): New macro to choose printf for tested character type.
12422         (STRTO): New macro to choose appropriate string -> real function.
12423         (FNPFXS): Stringitized version of FNPFX.
12424         (STR): Support for above macro.
12425         (STRX): Likewise.
12427         (TEST): Update with above macros.
12428         (test): Likewise.
12429         (GEN_ONE_TEST): Likewise.
12430         (test_in_one_mode): Likewise.
12432         * stdlib/tst-strtod-round.c: New file.
12433         * wcsmbs/tst-wcstod-round.c: New file.
12435         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
12436         (tst-wcstod-round): Add libm depencency for fesetround.
12438 2016-08-19  Zack Weinberg  <zackw@panix.com>
12440         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
12442 2016-08-18  Torvald Riegel  <triegel@redhat.com>
12444         [BZ #20477]
12445         * resolv/res_hconf.c (do_init): Use atomic access.
12446         * resolv/res_hconf.h: Add comments.
12447         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
12448         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
12449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12451 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
12453         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
12454         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
12455         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12456         Likewise.
12458 2016-08-18  Florian Weimer  <fweimer@redhat.com>
12460         [BZ #16907]
12461         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
12462         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
12463         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
12464         (__attribute__): Remove definition.
12466 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12468         * sysdeps/ieee754/ldbl-128/e_asinl.c:
12469         Remove unused sqrtl declaration.
12471 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12473         * math/Makefile: (gen-libm-templates.stmp): New rule.
12474         (libm-calls): Move carg conj cimag and cabs into ...
12475         (gen-libm-calls): New variable.
12476         (generated): Inform Make objects from gen-libm-calls
12477         may be generated.
12479         * sysdeps/generic/math-type-macros.h: New file.
12480         * sysdeps/generic/math-type-macros-float.h: Likewise.
12481         * sysdeps/generic/math-type-macros-double.h: Likewise.
12482         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
12483         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
12484         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
12486         * math/cabs.c: Refactor into
12487         * math/cabs_template.c: new file.
12488         * math/cabsf.c: Removed.
12489         * math/cabsl.c: Removed.
12490         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
12491         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
12493         * math/carg.c: Refactor into
12494         * math/carg_template.c: new file.
12495         * math/cargf.c: Removed.
12496         * math/cargl.c: Removed.
12497         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
12498         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
12500         * math/conj.c: Refactor into
12501         * math/conj_template.c: new file.
12502         * math/conjf.c: Removed.
12503         * math/conjl.c: Removed.
12504         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
12505         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
12507         * math/cimag.c: Refactor into
12508         * math/cimag_template.c: new file.
12509         * math/cimagf.c: Removed.
12510         * math/cimagl.c: Removed.
12511         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12512         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12514         * math/cimag.c: Refactor into
12515         * math/cimag_template.c: new file.
12516         * math/cimagf.c: Removed.
12517         * math/cimagl.c: Removed.
12518         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
12519         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
12521 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12523         Reduce time to expected nptl/tst-once5 failure.
12524         * nptl/tst-once5.cc (TIMEOUT): Define.
12526 2016-08-17  Florian Weimer  <fweimer@redhat.com>
12528         [BZ #20452]
12529         Avoid additional copies of objects in libc.a in static libraries.
12530         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
12531         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
12532         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
12533         rt-sysdep.
12534         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
12535         Add nptl-sysdep.
12536         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
12537         Add ptw-sysdep.
12538         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
12539         rt-sysdep.
12540         * sysdeps/unix/sysv/linux/alpha/Makefile
12541         (libpthread-shared-only-routines): Add ptw-sysdep,
12542         ptw-sigprocmask, ptw-rt_sigaction.
12543         * sysdeps/unix/sysv/linux/ia64/Makefile
12544         (librt-shared-only-routines): Add rt-sysdep.
12545         * sysdeps/unix/sysv/linux/i386/Makefile
12546         (libpthread-shared-only-routines): Add libc-do-syscall.
12547         * sysdeps/unix/sysv/linux/microblaze/Makefile
12548         (libpthread-shared-only-routines): Add sysdep.
12549         * sysdeps/unix/sysv/linux/powerpc/Makefile
12550         (librt-shared-only-routines): Add rt-sysdep.
12551         (libpthread-shared-only-routines): Add sysdep.
12552         * sysdeps/unix/sysv/linux/s390/Makefile
12553         (librt-shared-only-routines): Add rt-sysdep.
12554         * sysdeps/unix/sysv/linux/sparc/Makefile
12555         (librt-shared-only-routines): Add rt-sysdep.
12556         (libpthread-shared-only-routines): Add sysdep.
12557         * sysdeps/unix/sysv/linux/tile/Makefile
12558         (libpthread-shared-only-routines): Likewise.
12560 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
12562         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
12563         Mask implicit bit out of unpacked value.
12564         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
12565         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
12566         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
12568         * sysdeps/sparc/fpu/fesetexcept.c: New file.
12570         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
12572         * sysdeps/s390/fpu/fesetexcept.c: New file.
12574         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
12575         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
12576         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
12578         * sysdeps/mips/fpu/fesetexcept.c: New file.
12580         * sysdeps/m68k/fpu/fesetexcept.c: New file.
12582         * sysdeps/ia64/fpu/fesetexcept.c: New file.
12584         * sysdeps/hppa/fpu/fesetexcept.c: New file.
12586         * sysdeps/arm/fesetexcept.c: New file.
12588         * sysdeps/alpha/fpu/fesetexcept.c: New file.
12590         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
12592         * math/fesetexcept.c: New file.
12593         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
12594         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
12595         * math/fenv.h: Define
12596         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12597         <bits/libc-header-start.h> instead of including <features.h>.
12598         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
12599         declaration.
12600         * manual/arith.texi (fesetexcept): Document function.
12601         * math/Versions (fesetexcept): New libm symbol at version
12602         GLIBC_2.25.
12603         * math/Makefile (libm-support): Add fesetexcept.
12604         (tests): Add test-fesetexcept and test-fesetexcept-traps.
12605         * math/test-fesetexcept.c: New file.
12606         * math/test-fesetexcept-traps.c: Likewise.
12607         * sysdeps/nacl/libm.abilist: Update.
12608         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12609         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12610         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12611         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12612         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12613         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12614         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12615         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12616         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12617         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12618         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12619         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12621         Likewise.
12622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12623         Likewise.
12624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12625         Likewise.
12626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12627         Likewise.
12628         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12629         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12630         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12631         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12632         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12634         Likewise.
12635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12636         Likewise.
12637         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12638         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12639         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12641 2016-08-16  Florian Weimer  <fweimer@redhat.com>
12643         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
12644         New.
12645         (do_test): Apply default_stack_size_in_mb if not set.
12646         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
12648 2016-08-15  Andreas Schwab  <schwab@suse.de>
12650         [BZ #20435]
12651         CVE-2016-6323
12652         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
12653         as .cantunwind.
12655 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
12657         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
12658         comment from fraiseexcpt.c.
12660         * math/test-fexcept.c (feraiseexcept_exact): New function.
12661         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
12662         (test_except): Likewise.
12664 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
12666         [BZ #20455]
12667         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
12668         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
12669         to be restored.
12671         * math/test-fexcept-traps.c: New file.
12672         * math/test-fexcept.c: Likewise.
12673         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
12674         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
12675         macro.
12676         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
12677         (EXCEPTION_SET_FORCES_TRAP): Likewise.
12679 2016-08-09  Torvald Riegel  <triegel@redhat.com>
12681         * include/atomic.h (atomic_fetch_and_relaxed,
12682         atomic_fetch_and_release, atomic_fetch_or_release,
12683         atomic_fetch_xor_release): New.
12685 2016-08-06  Christian Seiler  <christian@iwakd.de>
12687         [BZ #20444]
12688         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
12689         MACH_PORT_NULL.
12691 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12693         * math/s_fdim.c: Avoid alias renamed.
12694         * math/s_fdimf.c: Likewise.
12695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12696         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12697         Add s_fdimf-vis3, s_fdim-vis3.
12698         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
12699         (CFLAGS-s_fdim-vis3.c): Likewise.
12700         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
12701         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
12703 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
12706         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
12707         Remove s_fdimf-vis3, s_fdim-vis3.
12708         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
12709         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
12710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
12711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
12712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
12713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
12714         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
12715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
12716         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
12717         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
12719 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
12721         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
12722         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
12723         -Wa,-Av9a -mvis.
12725 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12727         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
12728         LIT() to individual constants in simple expressions
12729         after splitting on spaces.
12730         (_apply_lit): Rename replaced version, and use it to
12731         apply to what appears to be a token.
12733         * math/libm-test.inc: Fix many, many issues with
12734         spacing.
12736 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
12738         * math/math.h: Move comment about <bits/mathdef.h> definitions
12739         above inclusion of <bits/mathdef.h>.  Do not mention
12740         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
12742 2016-08-05  Torvald Riegel  <triegel@redhat.com>
12744         * include/atomic.h (atomic_exchange_relaxed): New.
12746 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
12748         * math/e_scalb.c: Do not include <fenv.h>.
12749         (invalid_fn): Do calculation resulting in NaN instead of raising
12750         FE_INVALID and returning a NaN explicitly.
12751         * math/e_scalbf.c: Do not include <fenv.h>.
12752         (invalid_fn): Do calculation resulting in NaN instead of raising
12753         FE_INVALID and returning a NaN explicitly.
12754         * math/e_scalbl.c: Do not include <fenv.h>.
12755         (invalid_fn): Do calculation resulting in NaN instead of raising
12756         FE_INVALID and returning a NaN explicitly.
12758 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
12760         * po/de.po: Updated from Translation Project.
12761         * po/fi.po: Likewise.
12762         * po/sv.po: Likewise.
12764 2016-08-04  Florian Weimer  <fweimer@redhat.com>
12766         [BZ #20452]
12767         Use sysdep.o from libc.a in static libraries.
12768         * sysdeps/unix/sysv/linux/i386/Makefile
12769         (libpthread-shared-only-routines): Add sysdep.
12770         (librt-shared-only-routines): Likewise.
12772 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12774         * math/tgmath.h (nextdown): Define if
12775         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
12776         (nextup): Likewise.
12778         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
12779         macro.
12780         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12781         Document.
12782         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
12783         Document macro.
12784         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
12785         (exp10f): Likewise.
12786         (exp10l): Likewise.
12787         * math/bits/mathcalls.h (exp10): Declare if
12788         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
12790         * manual/arith.texi (nextup): Fix typo in last change.
12792 2016-08-03  Zack Weinberg  <zackw@panix.com>
12794         [BZ #19239]
12795         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
12796         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
12797         define major, minor, and makedev to issue deprecation warnings on use.
12798         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
12799         previously-activated deprecation warnings for these macros and prevent
12800         subsequent inclusions of this header from having any effect.
12801         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
12802         including <sys/sysmacros.h>, and undefine it again afterward.
12804 2016-08-03  Zack Weinberg  <zackw@panix.com>
12806         * sysdeps/generic/sys/sysmacros.h: Delete file.
12807         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
12808         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
12809         * bits/sysmacros.h: ... here; this encoding is now the generic
12810         encoding.  Now defines only the following macros:
12811         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
12812         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
12813         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
12815         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
12816         bits/sysmacros.h and the above new macros to generate the
12817         public implementations of major, minor, and makedev.
12818         * misc/tst-makedev.c: New test.
12819         * include/sys/sysmacros.h: New wrapper.
12821         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
12822         (routines): Add makedev.
12823         (tests): Add tst-makedev.
12824         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
12825         gnu_dev_makedev.
12826         * posix/Makefile (headers): Remove sys/sysmacros.h.
12827         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
12829         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
12830         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
12831         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12832         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12833         * sysdeps/unix/sysv/linux/arm/libc.abilist
12834         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12835         * sysdeps/unix/sysv/linux/i386/libc.abilist
12836         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12837         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12838         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12839         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12840         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12841         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12842         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12843         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12844         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12849         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12850         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12851         * sysdeps/unix/sysv/linux/sh/libc.abilist
12852         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12853         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12856         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12857         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12858         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12859         Add GLIBC_2.25.
12861         * include/features.h (__glibc_clang_prereq): New macro.
12862         * misc/sys/cdefs.h (__glibc_clang_has_extension)
12863         (__attribute_deprecated_msg__): New macros.
12865 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
12867         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
12868         macro.
12869         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
12870         * manual/arith.texi (issignaling): Document as ISO from TS
12871         18661-1:2014.
12872         (nextup): Likewise.
12873         (nextupf): Likewise.
12874         (nextupl): Likewise.
12875         (nextdown): Likewise.
12876         (nextdownf): Likewise.
12877         (nextdownl): Likewise.
12878         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
12879         macro.
12880         * math/math.h: Define
12881         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
12882         <bits/libc-header-start.h> instead of including <features.h>.
12883         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
12884         [__USE_GNU].
12885         * math/bits/mathcalls.h (nextdown): Declare if
12886         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
12887         (nextup): Likewise.
12888         (__issignaling): Likewise.
12890 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12892         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
12893         check, and remove __glibc_likely hint
12894         from FP_INFINITE check.
12895         * s_csinhf.c (__csinhf): Likewise.
12897         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
12898         hint from FP_INFINITE check.
12899         * s_csinhl.c (__csinhl): Likewise.
12901 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12903         * math/Makefile (libm-calls): Insert F placeholder into
12904         object names.  Move w_lgamma_compat* routines into
12905         (libm-compat-calls): New variable.
12906         (libm-compat-calls-ldouble-yes): New variable.
12907         (calls): Insert F placeholder.
12908         (generated): Redefine using new type-foreach macro call.
12909         (routines): Likewise.
12911         (types): New variable to hold a list of symbolic names
12912         for each type supported by the target machine.
12913         (libm-routines): Redefine using new types variable.
12914         (type-foreach): macro to replace fooF with the
12915         appropriately suffixed foo for each types.
12917         (type-ldouble-suffix): New variable.
12918         (type-ldouble-routines): Likewise.
12919         (type-ldouble-yes): Likewise.
12920         (type-double-suffix): Likewise.
12921         (type-double-routines): Likewise.
12922         (type-float-suffix): Likewise.
12923         (type-float-routines): Likewise.
12925         (dbl-only-routines): Remove.
12926         (long-c-yes): Likewise.
12927         (long-m-routines): Likewise.
12928         (long-m-support): Likewise.
12929         (long-m-yes): Likewise.
12930         (test-longdouble-yes): Likewise.
12932         (test-float.o): Simplify by increasing the scope of the
12933         recipe which adds libm-test.stmp to the vector types.
12934         (test-ifloat.o): Likewise.
12935         (test-float-finite.o): Likewise.
12936         (test-double.o): Likewise
12937         (test-idouble.o): Likewise.
12938         (test-double-finite.o): Likewise.
12939         (test-ldouble.o): Likewise
12940         (test-ildoubl.o): Likewise.
12941         (test-ldouble-finite.o): Likewise.
12943         (libm-tests): Redefine type tests using foreach and the
12944         list of types in types.
12946         (CPPFLAGS-test-ildoubl.c): Rename to
12947         (CPPFLAGS-test-ildouble.c): New variable
12949         * math/test-ildoubl.c: Rename to
12950         * math/test-ildouble.c: New file.
12952 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12954         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
12955         Use fabsl instead of fabs.
12956         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
12957         Likewise.
12958         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
12959         Add long double suffix to constant to ensure proper
12960         promotion to long double.
12962 2016-08-03  Tom Tromey  <tom@tromey.com>
12964         [BZ #20311]
12965         * nptl_db/Makefile (headers): Add proc_service.h.
12966         * nptl_db/proc_service.h: Add include guard.  Use
12967         __BEGIN/__END_DECLS.
12968         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
12969         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
12970         arguments.
12973 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12975         [BZ #17730]
12976         Avoid using memalign for TCB allocations.
12977         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
12978         (_dl_allocate_tls_storage): Use malloc and manual alignment.
12979         Avoid alignment gap in the TLS_DTV_AT_TP case.
12980         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
12981         determine the pointer to free.
12982         * nptl/tst-tls3-malloc.c: New test.
12983         * nptl/Makefile (tests): Add it.
12984         (tst-tls3-malloc): Link with libdl, libpthread.
12985         (LDFLAGS-tst-tls3-malloc): Set.
12986         (tst-tls3-malloc.out): Depend on DSO used in test.
12988 2016-08-03  Florian Weimer  <fweimer@redhat.com>
12990         [BZ #17730]
12991         Avoid using memalign for TLS allocations.
12992         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
12993         is_static member with to_free member.
12994         (union dtv): Use struct dtv_pointer.
12995         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
12996         dtv_pointer instead of is_static.
12997         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
12998         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
12999         instead of val.
13000         (allocate_dtv_entry): New function.
13001         (allocate_and_init): Return struct dtv_pointer.  Call
13002         allocate_dtv_entry instead of __libc_memalign.
13003         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
13004         instead of val.
13005         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
13006         instead of is_static.  Adjust call to allocate_and_init.
13007         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
13008         struct dtv_pointer instead of val.
13010 2016-08-03  Florian Weimer  <fweimer@redhat.com>
13012         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
13013         (MALLOC_ALIGN_MASK): Move ...
13014         * malloc/malloc-internal.h: ... to here.
13015         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
13017 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
13019         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
13020         (UDP_ENCAP_GTP1U): Likewise.
13022         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
13023         (PF_MAX): Update value.
13024         (AF_QIPCRTR): New macro.
13026 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13028         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
13029         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
13030         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
13031         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
13032         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13033         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13034         s_truncf-vis3, s_trunc-vis3.
13035         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
13036         (CFLAGS-s_ceil-vis3.c): Likewise.
13037         (CFLAGS-s_floorf-vis3.c): Likewise.
13038         (CFLAGS-s_floor-vis3.c): Likewise.
13039         (CFLAGS-s_truncf-vis3.c): Likewise.
13040         (CFLAGS-s_trunc-vis3.c): Likewise.
13041         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
13042         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
13043         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
13044         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
13045         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
13046         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
13047         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
13048         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
13049         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
13050         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
13051         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
13052         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
13054 2016-08-02  David S. Miller  <davem@davemloft.net>
13056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13057         (__nearbyint_vis3): Don't check for sNaN before float register is
13058         loaded with the incoming argument.
13059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13060         (__nearbyintf_vis3): Likewise.
13061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
13062         Likewise.
13063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
13064         Likewise.
13066         * string/test-strncmp.c (do_test_limit): Make sure the test data
13067         stream is aligned as required for the type "CHAR".
13068         (do_test): Likewise.
13070 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
13072         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
13073         by beq instructions jumping to the end of the function.
13074         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
13075         clobber list. Use "i" constraint instead of "X".
13076         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
13077         of "X".
13079 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
13081         * bits/libc-header-start.h: New file.
13082         * Makefile (headers): Add bits/libc-header-start.h.
13083         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
13084         (__GLIBC_USE): New macro.
13085         * libio/stdio.h: Define
13086         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13087         <bits/libc-header-start.h> instead of including <features.h>.
13088         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
13089         (open_memstream): Likewise.
13090         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
13091         (__asprintf): Likewise.
13092         (asprintf): Likewise.
13093         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
13094         (getdelim): Likewise.
13095         (getline): Likewise.
13096         * string/string.h: Define
13097         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13098         <bits/libc-header-start.h> instead of including <features.h>.
13099         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
13100         (strndup): Likewise.
13101         * wcsmbs/wchar.h: Define
13102         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13103         <bits/libc-header-start.h> instead of including <features.h>.
13104         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
13105         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
13107 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13109         Support linking against compatibility symbols, for use in tests.
13110         * include/libc-symbols.h (symbol_version_reference): New macro.
13111         (symbol_version): Use it.
13112         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
13113         (compat_symbol): Use compat_symbol_reference.
13114         (compat_symbol_1, compat_symbol_2): Remove.
13115         (compat_symbol_reference, compat_symbol_reference_1)
13116         (compat_symbol_reference_2): New macro.  Use
13117         symbol_version_reference.
13119 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13121         [BZ #19469]
13122         * malloc/Makefile (CPPFLAGS): Compile tests with
13123         -DTEST_NO_MALLOPT.
13124         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
13126 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
13128         [BZ #20033]
13129         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
13130         finite version.
13131         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
13132         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
13133         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
13134         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
13135         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
13136         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
13137         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
13138         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
13139         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
13140         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
13141         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
13142         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
13143         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
13144         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
13145         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
13146         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
13147         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
13148         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
13149         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
13150         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
13151         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
13152         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
13153         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
13154         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
13155         in zero power.
13157 2016-08-02  Florian Weimer  <fweimer@redhat.com>
13159         [BZ #20370]
13160         * malloc/arena.c (get_free_list): Update comment.  Assert that
13161         arenas on the free list have no attached threads.
13162         (remove_from_free_list): New function.
13163         (reused_arena): Call it.
13165 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
13167         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
13168         when it is a NaN.
13169         [_IEEE_FP_INEXACT] Remove.
13170         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
13171         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
13172         when it is a NaN.
13173         [_IEEE_FP_INEXACT] Remove.
13174         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
13175         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
13176         when it is a NaN.
13177         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
13178         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
13179         when its absolute value is greater than 0x1.0p52.
13180         [_IEEE_FP_INEXACT] Remove.
13181         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
13182         when its absolute value is greater than 0x1.0p23.
13183         [_IEEE_FP_INEXACT] Remove.
13185 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
13187         * version.h (RELEASE): Set to "development"
13188         (VERSION): Set to 2.24.90.
13189         * NEWS: Add 2.25 section.
13191         * version.h (RELEASE): Set to "stable"
13192         (VERSION): Set to 2.24.
13193         * include/features.h (__GLIBC_MINOR__): Set to 24.
13195         * NEWS: Add 2.24 fixed bugs.
13196         * po/libc.pot: Regenerate.
13198 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
13200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
13201         [$(subdir) = math] (libm-sysdep_routines): Remove.
13202         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
13203         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
13204         s_truncf-vis3, s_trunc-vis3.
13205         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
13206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
13207         file.
13208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
13209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
13210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
13213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
13214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
13215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
13216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
13217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
13218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
13219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
13220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
13221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
13222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
13223         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
13224         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
13225         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
13226         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
13227         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
13228         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
13229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
13230         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
13231         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
13232         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
13233         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
13234         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
13235         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
13236         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
13237         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
13238         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
13239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
13240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
13241         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
13242         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
13243         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
13244         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
13245         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
13246         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
13247         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
13248         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
13249         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
13250         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
13252 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
13254         [BZ #20384]
13255         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
13256         test-double-libmvec-sincos-avx-main.o,
13257         test-double-libmvec-sincos-avx2-main.o,
13258         test-double-libmvec-sincos-main.o,
13259         test-float-libmvec-sincosf-avx-main.o,
13260         test-float-libmvec-sincosf-avx2-main.o and
13261         test-float-libmvec-sincosf-main.o.
13262         test-float-libmvec-sincosf-avx512-main.o.
13263         ($(objpfx)test-double-libmvec-sincos): Also link with
13264         $(objpfx)test-double-libmvec-sincos-main.o.
13265         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
13266         $(objpfx)test-double-libmvec-sincos-avx-main.o.
13267         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
13268         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
13269         ($(objpfx)test-float-libmvec-sincosf): Also link with
13270         $(objpfx)test-float-libmvec-sincosf-main.o.
13271         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
13272         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
13273         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
13274         test-double-libmvec-sincos-avx512-main.o and
13275         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
13276         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
13277         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
13278         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
13279         (CFLAGS-test-double-libmvec-sincos.c): Removed.
13280         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
13281         (CFLAGS-test-double-libmvec-sincos-main.c): New.
13282         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
13283         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
13284         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
13285         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
13286         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
13287         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
13288         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
13289         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
13290         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
13291         -DREQUIRE_AVX2.
13292         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
13293         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
13294         -DREQUIRE_AVX512F.
13295         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
13296         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
13297         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13298         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
13299         file.
13300         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
13301         Likewise.
13302         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
13303         Likewise.
13304         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
13305         Likewise.
13306         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
13307         Likewise.
13308         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
13309         Likewise.
13310         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
13311         Likewise.
13312         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
13313         Likewise.
13315 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
13317         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
13319 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
13321         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
13322         and typo in a comment about AT_HWCAP entry.
13324 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13326         * sysdeps/aarch64/libm-test-ulps: Updated.
13328 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13330         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
13331         of r13 as it is not restored in mvcle case.
13333 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
13335         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
13336         Rename "ret" to "__ret".
13337         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
13338         inline_syscall5, inline_syscall6): Likewise.
13340 2016-07-19   Will Newton  <will.newton@gmail.com>
13342         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
13343         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
13344         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
13345         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
13346         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
13348 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
13350         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
13351         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
13352         -mfpmath=387 with $(rtld-CFLAGS).
13353         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
13354         $(rtld-CFLAGS).
13356 2016-07-18   Ross Burton  <ross.burton@intel.com>
13357              Khem Raj  <raj.khem@gmail.com>
13359         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
13360         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
13361         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
13362         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
13363         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
13364         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
13365         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
13366         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
13367         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
13368         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
13369         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
13370         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
13371         R_METAG_TLS_DTPOFF): New.
13373 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13374             Matt Clay  <mclay@lycos.com>
13376         [BZ #20357]
13377         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
13378         to call __mpsin/__mpcos and to negate values.
13379         * math/auto-libm-test-in: Add test.
13380         * math/auto-libm-test-out: Regenerate.
13382 2016-07-18  Zack Weinberg  <zackw@panix.com>
13384         * grp/Makefile: Don't install the internal header grp-merge.h.
13386 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13388         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13390 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13392         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
13394 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13396         [BZ #15368]
13397         * sysdeps/unix/sysv/linux/nptl-signals.h
13398         (__nptl_clear_internal_signals): New function.
13399         (__libc_signal_block_all): Likewise.
13400         (__libc_signal_block_app): Likewise.
13401         (__libc_signal_restore_set): Likewise.
13402         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
13403         implementation.
13404         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
13405         the cached pid/tid value in pthread structure.
13407 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
13409         [BZ #20347]
13410         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13412 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13414         [BZ #20348]
13415         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
13416         preadv64, pwrite64 and pwritev64.
13418 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13420         [BZ #20350]
13421         * posix/tst-preadwrite.c: Renamed to ...
13422         * posix/tst-preadwrite-common.c: This.
13423         (PREAD): Removed.
13424         (PWRITE): Likewise.
13425         (STRINGIFY): Likewise.
13426         (STRINGIFY2): Likewise.
13427         (do_prepare): Make it static and remove function arguments.
13428         (do_test): Likewise.
13429         (PREPARE): Updated.
13430         (TEST_FUNCTION): New.
13431         (name): Make it static.
13432         (fd): Likewise.
13433         (do_prepare): Use create_temp_file.
13434         (do_test): Renamed to ...
13435         (do_test_with_offset): This.  Make it static and accept offset.
13436         Properly check return value of PWRITE and PREAD.  Return bytes
13437         read.  Don't close fd nor unlink name.
13438         * posix/tst-preadwrite.c: Rewrite.
13439         * posix/tst-preadwrite64.c: Likewise.
13441 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
13443         [BZ #20309]
13444         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
13445         -mtls-dialect=gnu2 works.
13446         * configure: Regenerated.
13447         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
13448         (tests): Add tst-gnu2-tls1.
13449         (modules-names): Add tst-gnu2-tls1mod.
13450         ($(objpfx)tst-gnu2-tls1): New.
13451         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
13452         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
13453         * elf/tst-gnu2-tls1.c: New file.
13454         * elf/tst-gnu2-tls1mod.c: Likewise.
13455         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
13456         bytes for push in the PLT entry to align the stack.
13458 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13460         [BZ #20349]
13461         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
13463 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13465         [BZ #18707]
13466         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
13467         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
13469 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13471         * sysdeps/unix/sysv/linux/sysdep.h
13472         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
13473         guards.
13474         * misc/tst-preadvwritev-common.c: New file.
13475         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
13476         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
13477         a check for files larger than 2GB.
13479         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13480         (__ASSUME_OFF_DIFF_OFF64): Remove define.
13481         * sysdeps/unix/sysv/linux/pread.c
13482         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
13483         __OFF_T_MATCHES_OFF64_T.
13484         * sysdeps/unix/sysv/linux/pread64.c
13485         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
13486         * sysdeps/unix/sysv/linux/preadv.c
13487         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
13488         * sysdeps/unix/sysv/linux/preadv64.c
13489         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
13490         * sysdeps/unix/sysv/linux/pwrite.c
13491         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
13492         * sysdeps/unix/sysv/linux/pwrite64.c
13493         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
13494         * sysdeps/unix/sysv/linux/pwritev.c
13495         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
13496         * sysdeps/unix/sysv/linux/pwritev64.c
13497         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
13499 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
13501         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13502         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
13504 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13506         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
13508 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
13510         [BZ #20240]
13511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
13512         (CFLAGS-s_modf-ppc32.c): New variable.
13513         (CFLAGS-s_modff-ppc32.c): Likewise.
13514         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13515         (CFLAGS-s_modf-ppc64.c): Likewise.
13516         (CFLAGS-s_modff-ppc64.c): Likewise.
13518 2016-07-07  Andreas Schwab  <schwab@suse.de>
13520         [BZ #20263]
13521         * nptl/tst-robust10.c: New test.
13522         * nptl/Makefile (tests): Add tst-robust10.
13524 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
13526         [BZ #20263]
13527         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
13529 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
13531         * sysdeps/s390/linkmap.h (struct link_map_machine):
13532         Remove member gotplt and add member jmprel.
13533         * sysdeps/s390/s390-32/dl-machine.h
13534         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
13535         instead of gotplt with &got[3].
13536         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
13537         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13539 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
13541         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
13543 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13545         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
13546         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
13547         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13548         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
13549         * libio/vtables.c (_IO_vtable_check)
13550         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
13551         * libio/libioP.h (IO_set_accept_foreign_vtables)
13552         [!PTR_MANGLE]: Do not call PTR_MANGLE.
13554 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
13556         [BZ #20314]
13557         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
13558         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
13559         $(common-objpfx)cmath.
13560         ($(common-objpfx)cstdlib): New target.
13561         ($(common-objpfx)cmath): Likewise.
13563 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
13565         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
13567 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13569         [BZ #20327]
13570         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
13571         are not part of the string.
13573 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13575         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
13576         * nptl/tst-cancel4-common.h (fifoname): New variable.
13577         (fifofd): Likewise.
13578         (cl_fifo): New function.
13579         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
13580         SIGINT.
13581         (tf_open): Add early cancel test.
13583 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
13585         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
13587 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
13589         * sysdeps/generic/ldsodefs.h
13590         (dl_symbol_visibility_binds_local_p): New inline function.
13591         * elf/dl-addr.c (determine_info): Treat hidden and internal
13592         symbols as local.
13593         * elf/dl-lookup.c (do_lookup_x): Likewise.
13594         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
13596 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
13598         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
13599         invalid exception for a sNaN input.
13600         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13601         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
13602         (__nearbyint_vis3): Likewise
13603         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
13604         (__nearbyintf_vis3): Likewise
13605         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
13606         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
13607         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
13608         Likewise.
13609         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
13610         Likewise.
13612 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
13614         [BZ #20139]
13615         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
13616         (HAVE_AVX512DQ_ASM_SUPPORT): This.
13617         * sysdeps/x86_64/configure.ac: Require assembler from binutils
13618         2.24 or above.
13619         (HAVE_AVX512_ASM_SUPPORT): Removed.
13620         (HAVE_AVX512DQ_ASM_SUPPORT): New.
13621         * sysdeps/x86_64/configure: Regenerated.
13622         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
13623         check unconditional.
13624         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
13625         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
13626         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
13627         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
13628         Likewise.
13629         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13630         Likewise.
13631         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
13632         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
13633         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
13634         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
13635         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13636         Likewise.
13637         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13638         Likewise.
13639         * sysdeps/x86_64/multiarch/memset.S: Likewise.
13640         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13641         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
13642         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
13643         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
13644         Likewise.
13645         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
13646         Likewise.
13647         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
13648         Likewise.
13649         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
13650         Likewise.
13651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
13652         Likewise.
13653         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
13654         Likewise.
13655         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
13656         Likewise.
13657         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
13658         Likewise.
13659         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
13660         Likewise.
13661         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
13662         Likewise.
13663         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
13664         Likewise.
13666 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
13668         [BZ #20024]
13669         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
13670         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
13671         of this implementation of vector function.
13672         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
13673         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
13674         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
13675         Likewise.
13676         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
13677         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
13678         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
13679         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
13680         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
13681         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
13682         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
13683         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
13684         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
13685         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
13686         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
13687         for testing vector sincos with fixed ABI.
13688         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13689         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13690         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13691         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
13692         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
13693         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
13694         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
13695         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
13696         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
13697         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
13698         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
13699         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
13700         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
13701         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
13702         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
13703         * sysdeps/x86_64/fpu/Makefile: Added new tests.
13705 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13707         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
13709 2016-06-30  Anton Blanchard  <anton@samba.org>
13711         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13712         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
13713         s_sinf-ppc64.
13714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
13715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
13716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
13717         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
13719 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13722         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
13723         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
13724         e_expf-ppc64.
13725         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
13726         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
13727         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
13728         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
13730 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
13732         [BZ #20277]
13733         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
13734         when SHARED is defined.
13736 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
13738         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
13739         (index_arch_Prefer_ERMS): Likewise.
13740         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
13741         __memcpy_erms for Prefer_ERMS.
13742         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13743         (__memmove_erms): Enabled for libc.a.
13744         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
13745         __memmove_erms or Prefer_ERMS.
13746         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
13747         __mempcpy_erms for Prefer_ERMS.
13748         * sysdeps/x86_64/multiarch/memset.S (memset): Return
13749         __memset_erms for Prefer_ERMS.
13751 2016-06-30  Andreas Schwab  <schwab@suse.de>
13753         [BZ #20262]
13754         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
13755         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
13756         of memory.
13758 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
13760         [BZ #18645]
13761         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
13762         (test-extras): Add tst-cleanupx4aux.
13763         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
13764         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
13765         tst-cleanupx4aux.o.
13766         * nptl/tst-cleanupx4aux.c: New file.
13768 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
13770         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
13772 2016-06-29  Andreas Schwab  <schwab@suse.de>
13774         [BZ #20260]
13775         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
13776         address before the beginning of the string as an integer to avoid
13777         array-bounds warning.
13779 2016-06-28  Richard Henderson  <rth@redhat.com>
13781         * elf/elf.h (EM_BPF): New.
13782         (EM_NUM): Update.
13783         (R_BPF_NONE, R_BPF_MAP_FD): New.
13785         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
13786         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
13787         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
13788         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
13789         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
13790         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
13791         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
13792         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
13793         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
13794         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
13795         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
13796         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
13797         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
13798         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
13799         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
13800         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
13801         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
13802         (EM_NUM): Update.
13804 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
13806         [BZ #18960]
13807         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
13808         Set _nl_current_LC_CATEGORY_used to two instead of one.
13810 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
13812         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
13813         (do_test): ... this.
13814         (TEST_FUNCTION): New macro.
13815          Include test-skeleton.c.
13816         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
13817         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
13819 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
13821         [BZ #15479]
13822         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
13823         floating-point environment rather than just control word.
13824         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13825         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
13826         floating-point environment, with "invalid" exceptions merged in,
13827         rather than just control word.
13828         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
13829         * math/libm-test.inc (trunc_test_data): Do not allow spurious
13830         "inexact" exceptions.
13832         [BZ #15479]
13833         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
13834         floating-point environment rather than just control word.
13835         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13836         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
13837         floating-point environment, with "invalid" exceptions merged in,
13838         rather than just control word.
13839         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
13840         * math/libm-test.inc (floor_test_data): Do not allow spurious
13841         "inexact" exceptions.
13843         [BZ #15479]
13844         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
13845         floating-point environment rather than just control word.
13846         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13847         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
13848         floating-point environment, with "invalid" exceptions merged in,
13849         rather than just control word.
13850         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
13851         * math/libm-test.inc (ceil_test_data): Do not allow spurious
13852         "inexact" exceptions.
13854 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
13856         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
13857         __libc_vfork.
13858         (__vfork) [IS_IN (libc)]: Remove alias.
13859         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
13860         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13861         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13863 2016-06-24  Torvald Riegel  <triegel@redhat.com>
13865         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
13866         of atomic_compare_and_exchange_bool_rel.
13867         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
13868         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
13869         catomic_compare_and_exchange_bool_rel): Remove.
13870         * sysdeps/aarch64/atomic-machine.h
13871         (atomic_compare_and_exchange_bool_rel): Likewise.
13872         * sysdeps/alpha/atomic-machine.h
13873         (atomic_compare_and_exchange_bool_rel): Likewise.
13874         * sysdeps/arm/atomic-machine.h
13875         (atomic_compare_and_exchange_bool_rel): Likewise.
13876         * sysdeps/mips/atomic-machine.h
13877         (atomic_compare_and_exchange_bool_rel): Likewise.
13878         * sysdeps/microblaze/atomic-machine.h
13879         ( __arch_compare_and_exchange_bool_8_rel,
13880         __arch_compare_and_exchange_bool_16_rel): Likewise.
13881         * sysdeps/powerpc/atomic-machine.h
13882         ( __arch_compare_and_exchange_bool_8_rel,
13883         __arch_compare_and_exchange_bool_16_rel): Likewise.
13884         * sysdeps/powerpc/powerpc32/atomic-machine.h
13885         ( __arch_compare_and_exchange_bool_32_rel,
13886         __arch_compare_and_exchange_bool_64_rel): Likewise.
13887         * sysdeps/powerpc/powerpc64/atomic-machine.h
13888         ( __arch_compare_and_exchange_bool_32_rel,
13889         __arch_compare_and_exchange_bool_64_rel): Likewise.
13890         * sysdeps/tile/atomic-machine.h
13891         (atomic_compare_and_exchange_bool_rel): Likewise.
13893 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
13895         [BZ #20296]
13896         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
13897         when either argument is a NaN.
13898         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
13899         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
13901         * math/libm-test.inc (snan_value_ld): New macro.
13902         (isgreater_test_data): Add sNaN tests.
13903         (isgreaterequal_test_data): Likewise.
13904         (isless_test_data): Likewise.
13905         (islessequal_test_data): Likewise.
13906         (islessgreater_test_data): Likewise.
13907         (isunordered_test_data): Likewise.
13908         (nextafter_test_data): Likewise.
13909         (nexttoward_test_data): Likewise.
13910         (remainder_test_data): Likewise.
13911         (remquo_test_data): Likewise.
13912         (significand_test_data): Likewise.
13913         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
13915 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13917         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
13918         environment macros are defined.
13919         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
13921 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13923         [BZ #20191]
13924         Implement vtable verification in libio.
13925         * Makerules (shlib.lds): Place __libc_IO_vtables section.
13926         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
13927         * debug/vdprintf_chk.c (__vdprintf_chk): Call
13928         _IO_new_file_init_internal instead of _IO_file_init.
13929         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
13930         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
13931         * libio/Makefile (routines): Add vtables.
13932         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
13933         (_IO_init): Remove, not for internal use.
13934         (_IO_init_internal): Declare, internal replacement for _IO_init.
13935         (_IO_file_init): Remove, not for internal use.
13936         (_IO_new_file_init): Remove, not for internal use.
13937         (_IO_new_file_init_internal): Declare, internal replacement for
13938         _IO_new_file_init.
13939         (_IO_old_file_init): Remove, not for internal use.
13940         (_IO_old_file_init_internal): Declare, internal replacement for
13941         _IO_old_file_init.
13942         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
13943         internal use.
13944         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
13945         Declare.
13946         (libio_vtable): New macro.
13947         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
13948         functions.
13949         * libio/fileops.c (_IO_new_file_init_internal): Rename from
13950         _IO_new_file_init.
13951         (_IO_new_file_init): New externally visible wrapper which disables
13952         vtable verification.
13953         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
13954         Define as vtables.
13955         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
13956         (_IO_init): New externally visible wrapper which disables
13957         vtable verification.
13958         * libio/iofdopen.c (_IO_new_fdopen): Call
13959         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
13960         comment.
13961         * libio/iofopen.c (__fopen_internal): Call
13962         _IO_new_file_init_internal instead of _IO_file_init.
13963         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
13964         Define as vtables.
13965         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
13966         _IO_new_file_init_internal instead of _IO_file_init.
13967         * libio/iopopen.c (_IO_new_popen): Likewise.
13968         (_IO_proc_jumps): Define as vtable.
13969         * libio/iovdprintf.c (_IO_vdprintf): Call
13970         _IO_new_file_init_internal instead of _IO_file_init.
13971         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
13972         (__open_memstream): Call _IO_init_internal instead of _IO_init.
13973         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
13974         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
13975         _IO_old_file_init.
13976         (_IO_old_file_init): New externally visible wrapper which disables
13977         vtable verification.
13978         (_IO_old_file_jumps): Define as vtable.
13979         * libio/oldiofdopen.c (_IO_old_fdopen): Call
13980         _IO_old_file_init_internal instead of _IO_old_file_init.
13981         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13982         * libio/oldiopopen.c (_IO_old_popen): Likewise.
13983         (_IO_old_proc_jumps): Define as vtable.
13984         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
13985         Define as vtables.
13986         * libio/vtables.c: New file.
13987         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
13988         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
13989         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
13990         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
13991         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
13992         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
13993         instead of _IO_init.
13995 2016-06-23  Florian Weimer  <fweimer@redhat.com>
13997         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
13999 2016-06-23  Florian Weimer  <fweimer@redhat.com>
14001         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
14002         potentially unused.
14004 2016-06-22  Florian Weimer  <fweimer@redhat.com>
14006         * test-skeleton.c (write_message): New function.
14007         * malloc/tst-mallocfork2.c (write_message): Remove.
14008         * debug/tst-longjmp_chk2.c (write_indented): New function.
14009         (write_message): Remove.
14010         (stackoverflow_handler): Call write_indented.
14012 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
14014         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
14015         "inexact" exceptions after fnstenv.
14016         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14017         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14018         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14020 2015-06-22  Zack Weinberg  <zackw@panix.com>
14022         * sysdeps/generic/bits/hwcap.h: Moved to ...
14023         * bits/hwcap.h: Here.
14025 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
14027         * sysdeps/aarch64/memcpy.S (memcpy):
14028         Further tuning for performance.
14030 2016-06-21  Florian Weimer  <fweimer@redhat.com>
14032         [BZ #20284]
14033         * malloc/arena.c (reused_arena): Do not return NULL if we start
14034         out with a non-corrupted arena.
14036 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14038         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
14039         * misc/tst-preadvwritev.c: New file.
14040         * misc/tst-preadvwritev64.c: Likewise.
14041         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
14042         usage.
14043         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
14044         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
14045         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
14046         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
14048 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
14050         [BZ #19654]
14051         * sysdeps/x86_64/fpu/Makefile: Added new tests.
14052         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
14053         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
14054         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
14055         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
14056         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
14057         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
14058         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
14059         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
14060         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
14061         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
14062         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
14063         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
14064         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
14065         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
14066         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
14067         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
14068         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
14069         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
14070         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
14071         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
14072         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
14073         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
14074         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
14075         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
14076         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
14078 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14080         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
14081         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
14083 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
14085         * sysdeps/aarch64/memcpy.S (memcpy):
14086         Rewrite of optimized memcpy and memmove.
14087         * sysdeps/aarch64/memmove.S (memmove): Remove
14088         memmove code (merged into memcpy.S).
14090 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14092         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
14093         * sysdeps/generic/dl-dtv.h: New file.
14094         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14095         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
14096         (dtv_t): Remove.
14097         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14098         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
14099         (dtv_t): Remove.
14100         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14101         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
14102         (dtv_t): Remove.
14103         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14104         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
14105         (dtv_t): Remove.
14106         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14107         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
14108         (dtv_t): Remove.
14109         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14110         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
14111         (dtv_t): Remove.
14112         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14113         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
14114         (dtv_t): Remove.
14115         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
14116         (dtv_t): Remove.
14117         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14118         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
14119         (dtv_t): Remove.
14120         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14121         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
14122         (dtv_t): Remove.
14123         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14124         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
14125         (dtv_t): Remove.
14126         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14127         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
14128         (dtv_t): Remove.
14129         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14130         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
14131         (dtv_t): Remove.
14132         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14133         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
14134         (dtv_t): Remove.
14135         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14136         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
14137         (dtv_t): Remove.
14138         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
14139         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
14140         (dtv_t): Remove.
14142 2016-06-20  Florian Weimer  <fweimer@redhat.com>
14144         Revert symbol poisoning of  __malloc_initialize_hook.
14145         * include/stdc-predef.h (__malloc_initialize_hook): Remove
14146         poisoning.
14147         * malloc/Makefile: Remove un-poisoning.
14148         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
14149         instead of old__malloc_initialize_hook.
14150         * malloc/malloc-hooks.h: Likewise.
14151         * malloc/malloc.c: Likewise.
14152         * malloc/mcheck-init.c: Likewise.
14154 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
14156         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
14158 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
14160         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
14161         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
14162         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14163         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14165 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14167         * NEWS: Mention addition of nextup and nextdown.
14168         * manual/arith.texi: Document nextup and nextdown.
14169         * manual/libm-err-tab.pl: Add nextup and nextdown.
14170         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
14171         * math/Versions (libm): Add GLIBC_2.24.
14172         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
14173         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
14174         Add new test.
14175         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
14176         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
14177         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
14178         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
14179         (nextup_test_data): Likewise.
14180         (nextdown_test_data): Likewise.
14181         * math/s_nextdown.c: New file.
14182         * math/s_nextdownf.c: Likewise.
14183         * math/s_nextdownl.c: Likewise.
14184         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
14185         F(nextup): New function.
14186         F(nextdown): Likewise.
14187         * math/tgmath.h: Add nextup and nextdown.
14188         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
14189         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
14190         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14191         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14192         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14193         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
14194         Add nextup and nextdown.
14195         (CFLAGS-nldbl-nextup.c): New variable.
14196         (CFLAGS-nldbl-nextdown.c): Likewise.
14197         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
14198         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
14199         * sysdeps/nacl/libm.abilist: Update.
14200         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14201         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14202         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14203         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14204         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14205         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14206         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14207         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14208         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14209         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14210         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14211         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14214         Likewise.
14215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14217         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14218         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14219         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14220         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14221         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
14223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
14224         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14225         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14226         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14227         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14229 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14231         * manual/pattern.texi: Fix typos & grammar errors.
14233 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14235         * manual/search.texi: Fix typos & grammar errors.
14237 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14239         * manual/message.texi: Fix typos & grammar errors.
14241 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
14243         * manual/contrib.texi: Fix spelling typos.
14244         * manual/crypt.texi: Likewise.
14245         * manual/filesys.texi: Likewise.
14246         * manual/locale.texi: Likewise.
14247         * manual/message.texi: Likewise.
14248         * manual/nss.texi: Likewise.
14249         * manual/string.texi: Likewise.
14251 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14253         * manual/locale.texi: Fix typos & grammar errors.
14255 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14257         * manual/charset.texi: Fix typos & grammar errors.
14259 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14261         * manual/string.texi: Fix typos.
14263 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14265         * manual/ctype.texi: Fix typos.
14267 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
14269         * manual/memory.texi: Fix various typos & grammar errors.
14271 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
14273         [BZ #20255]
14274         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
14275         * math/libm-test.inc (fdim_test_data): Add another test.
14277         [BZ #6796]
14278         [BZ #20255]
14279         [BZ #20256]
14280         * math/s_fdim.c: Include <math_private.h>.
14281         (__fdim): Use math_narrow_eval on result.
14282         * math/s_fdimf.c: Include <math_private.h>.
14283         (__fdimf): Use math_narrow_eval on result.
14284         * sysdeps/i386/fpu/s_fdim.S: Remove file.
14285         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
14286         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
14287         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
14288         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
14289         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
14290         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
14291         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
14292         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
14293         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
14294         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
14295         * math/libm-test.inc (fdim_test_data): Expect errno setting on
14296         overflow.  Add sNaN tests.
14298         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
14299         fpclassify.
14300         * math/s_fdimf.c (__fdimf): Likewise.
14301         * math/s_fdiml.c (__fdiml): Likewise.
14303 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14305         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
14306         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
14307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14308         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
14309         ifunc'ed strcasecmp/strncasecmp.
14310         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
14311         [EALIGN]: Removed.
14312         [END]: Likewise.
14313         [__strcasecmp]: Define instead of the above to control symbol name.
14314         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
14315         for __strcasecmp_power8.
14316         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
14317         for __strncasecmp_power8.
14318         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
14319         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
14320         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
14321         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
14322         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
14323         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
14325 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
14327         [BZ #20252]
14328         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
14329         arguments when second argument is a NaN.
14330         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
14331         qNaN tests.
14333         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
14334         (conj_test_data): Likewise.
14335         (copysign_test_data): Likewise.
14336         (creal_test_data): Likewise.
14337         (fma_test_data): Likewise.
14338         (fmod_test_data): Likewise.
14340         [BZ #20250]
14341         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
14342         itself.
14343         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
14344         zero input to itself.
14345         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
14346         Likewise.
14347         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
14348         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
14349         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14350         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
14351         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
14353 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14355         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
14356         * nptl/tst-cancel4-common.c: New file.
14357         * nptl/tst-cancel4-common.h: Likewise.
14358         * nptl/tst-cancel4.c: Move common definitions to
14359         tst-cancel4-common.{c,h} file.
14360         * nptl/tst-cancel4_1.c: New test.
14361         * nptl/tst-cancel4_2.c: New test.
14363 2016-06-13  Florian Weimer  <fweimer@redhat.com>
14365         [BZ #20248]
14366         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
14367         (write_message): New function.
14368         (stackoverflow_handler): Call it instead of printf, to avoid
14369         excessive stack usage by printf.
14370         (do_test): Restore SIGSEGV, SIGBUS default handlers.
14372 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14374         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
14375         (prio_inherit_missing): Remove define.
14376         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14377         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14378         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
14379         Likewise.
14380         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14381         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14382         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14383         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14384         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14385         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14387 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14389         [BZ #19670]
14390         [BZ #19672]
14392         * io/test-lfs.c (do_prepare): Use xmalloc.
14393         * io/tst-fcntl.c (do_prepare): Likewise.
14394         * libio/tst-fopenloc.c (do_bz17916): Likewise.
14395         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
14396         * login/tst-utmp.c (do_prepare): Likewise.
14397         * posix/tst-exec.c (do_prepare): Likewise.
14398         * posix/tst-pathconf.c (prepare): Likewise.
14399         * posix/tst-spawn.c (do_prepare): Likewise.
14400         * posix/tst-truncate.c (do_prepare): Likewise.
14401         * rt/tst-aio.c (do_prepare): Likewise.
14402         * rt/tst-aio64.c (do_prepare): Likewise.
14404 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14406         [BZ #20237]
14407         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
14408         (get*ent): Set entidx to NULL during initialization.  If entidx is
14409         NULL, start iteration from the beginning.
14411 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14413         * malloc/malloc.c (musable): Return correct size for dumped fake
14414         mmapped chunk.
14416 2016-06-11  Florian Weimer  <fweimer@redhat.com>
14418         [BZ #20222]
14419         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
14420         (_IO_cookie_write): Likewise.
14421         (_IO_cookie_seek): Likewise.
14422         (_IO_cookie_close): Likewise.
14423         (_IO_old_cookie_seek): Likewise.
14424         (set_callbacks): New function.
14425         (_IO_cookie_init): Call set_callbacks to copy callbacks.
14427 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
14429         * locale/programs/localedef.c (oldstyle_tables): Remove.
14430         * locale/programs/localedef.h (oldstyle_tables): Likewise.
14432 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
14434         [BZ #20240]
14435         * math/Makefile (CFLAGS-s_modf.c): New variable.
14436         (CFLAGS-s_modff.c): Likewise.
14437         (CFLAGS-s_modfl.c): Likewise.
14438         * math/libm-test.inc (modf_test_data): Add sNaN tests.
14440 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
14442         [BZ #20215]
14443         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
14444         [!__GNUC_PREREQ (3,2)]: Likewise.
14446 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
14448         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
14449         (msghdr.msg_controllen): Likewise.
14450         (cmsghdr.cmsg_len): Likewise.
14451         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
14452         ptw-oldsendmsg.
14453         (CFLAGS-oldrecvmsg.c): Remove rule.
14454         (CFLAGS-oldsendmsg.c): Likewise.
14455         (CFLAGS-recvmsg.c): Add rule.
14456         (CFLAGS-sendmsg.c): Likewise.
14457         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
14458         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
14459         (CFLAGS-recvmsg.c): Remove rule.
14460         (CFLAGS-sendmsg.c): Likewise.
14461         (CFLAGS-oldrecvmsg.c): Likewise.
14462         (CFLAGS-oldsendmsg.c): Likewise.
14463         (CFLAGS-recvmmsg.c): Likewise.
14464         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
14465         to kernel defined interfaces.
14466         (msghdr.msg_controllen): Likewise.
14467         (cmsghdr.cmsg_len): Likewise.
14468         (msghdr.__glibc_reserved1): Remove member.
14469         (msghdr.__glibc_reserved2): Likewise.
14470         (cmsghdr.__glibc_reserved1): Likewise.
14471         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
14472         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
14473         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
14474         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
14475         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
14476         version.
14477         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14478         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
14479         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14480         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
14481         Remove recvmsg and sendmsg.
14482         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
14483         Likewise.
14484         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
14485         Likewise.
14486         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
14487         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
14488         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
14489         Likewise.
14490         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
14491         Likewise.
14492         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
14493         [libc] (GLIBC_2.24): Likewise.
14494         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
14495         Likewise.
14496         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
14497         Likewise.
14498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
14499         [libc] (GLIBC_2.24): Likewise.
14500         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
14501         Likewise.
14502         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
14503         Likewise.
14504         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
14505         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
14506         Likewise.
14507         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
14508         Likewise.
14509         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
14510         Likewise.
14511         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
14512         Likewise.
14513         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
14514         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
14515         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
14516         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
14517         version for {recv,send,recm,sendm}msg.
14518         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14519         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14520         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14521         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14522         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14523         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14524         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14525         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14526         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14527         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14529         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
14531         Likewise.
14532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14533         Likewise.
14534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14536         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14537         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14538         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14539         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14540         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14541         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14544         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14545         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14546         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14548 2016-06-10  Florian Weimer  <fweimer@redhat.com>
14550         [BZ #19564]
14551         Remove __malloc_initialize_hook from the API.
14552         * malloc/malloc.h (__malloc_initialize_hook): Remove.
14553         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
14554         #pragma GCC poison.
14555         * malloc/malloc-hooks.h: New file.
14556         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
14557         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
14558         (old__malloc_initialize_hook): Rename from
14559         __malloc_initialize_hook to evade poisoning.  Turn into compat
14560         symbol.
14561         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
14562         __malloc_initialize_hook.
14563         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
14564         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
14565         * manual/memory.texi (Hooks for Malloc): Remove
14566         __malloc_initialize_hook.  Adjust hook example.
14568 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
14570         [BZ #20235]
14571         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
14572         itself.
14573         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14574         * math/libm-test.inc (log2_test_data): Add sNaN tests.
14576         [BZ #20234]
14577         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
14578         infinity or NaN input to itself.
14580         [BZ #20233]
14581         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
14582         to itself.
14584         [BZ #20232]
14585         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
14586         itself.
14588 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14590         * sysdeps/x86_64/start.S (_start): Always indirect branch to
14591         __libc_start_main via GOT.
14593 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
14595         * sysdeps/x86_64/memcopy.h: New file.
14596         * sysdeps/x86_64/wordcopy.c: Likewise.
14598 2016-06-09  Florian Weimer  <fweimer@redhat.com>
14600         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
14601         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
14602         <cstdlib>.
14603         (optimization_barrier): New.
14604         (do_test): Use it.  Call quick_exit in the global namespace.
14605         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
14606         instead of <cstdlib>, <thread>.
14607         (optimization_barrier): New.
14608         (non_main_thread): Adjust declaration.  Call optimization_barrier.
14609         Call quick_exit in the global namespace.
14610         (do_test): Call optimization_barrier.  Use pthread_create,
14611         pthread_join instead of std::thread.
14613 2016-06-09  Andreas Schwab  <schwab@suse.de>
14615         [BZ #19755]
14616         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
14617         new entries in auto-propagate mode.
14618         * nscd/grpcache.c (cache_addgr): Likewise.
14620 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
14622         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
14623         New functions.
14624         (add_temp_file): Use them.
14626 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
14628         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
14630 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
14632         [BZ #20229]
14633         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
14634         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
14635         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
14637         [BZ #20228]
14638         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
14639         itself.
14640         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
14641         * math/libm-test.inc (log10_test_data): Add sNaN tests.
14643         [BZ #20227]
14644         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
14645         itself.
14646         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14647         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14648         * math/libm-test.inc (log_test_data): Add sNaN tests.
14650         [BZ #20226]
14651         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
14652         itself.
14653         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
14654         * math/libm-test.inc (exp_test_data): Add sNaN tests.
14655         (exp10_test_data): Likewise.
14656         (expm1_test_data): Likewise.
14658         [BZ #20225]
14659         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
14660         itself.
14661         * math/s_ldexpf.c (__ldexpf): Likewise.
14662         * math/s_ldexpl.c (__ldexpl): Likewise.
14663         * math/w_scalbln.c (__w_scalbln): Likewise.
14664         * math/w_scalblnf.c (__w_scalblnf): Likewise.
14665         * math/w_scalblnl.c (__w_scalblnl): Likewise.
14666         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
14667         (scalbln_test_data): Likewise.
14669         [BZ #20224]
14670         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
14671         argument to itself.
14672         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
14674 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14676         [BZ #19776]
14677         * sysdeps/x86_64/memcpy.S: Make it dummy.
14678         * sysdeps/x86_64/mempcpy.S: Likewise.
14679         * sysdeps/x86_64/memmove.S: New file.
14680         * sysdeps/x86_64/memmove_chk.S: Likewise.
14681         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
14682         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
14683         * sysdeps/x86_64/memmove.c: Removed.
14684         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14685         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14686         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
14687         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
14688         Likewise.
14689         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14690         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14692         memcpy-sse2-unaligned, memmove-avx-unaligned,
14693         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
14694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14695         (__libc_ifunc_impl_list): Replace
14696         __memmove_chk_avx512_unaligned_2 with
14697         __memmove_chk_avx512_unaligned.  Remove
14698         __memmove_chk_avx_unaligned_2.  Replace
14699         __memmove_chk_sse2_unaligned_2 with
14700         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
14701         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
14702         with __memmove_avx512_unaligned.  Replace
14703         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
14704         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
14705         with __memcpy_chk_avx512_unaligned.  Remove
14706         __memcpy_chk_avx_unaligned_2.  Replace
14707         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
14708         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
14709         Replace __memcpy_avx512_unaligned_2 with
14710         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
14711         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
14712         with __mempcpy_chk_avx512_unaligned.  Remove
14713         __mempcpy_chk_avx_unaligned_2.  Replace
14714         __mempcpy_chk_sse2_unaligned_2 with
14715         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
14716         Replace __mempcpy_avx512_unaligned_2 with
14717         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
14718         Replace __mempcpy_sse2_unaligned_2 with
14719         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
14720         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
14721         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
14722         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
14723         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
14724         (ENTRY): Removed.
14725         (END): Likewise.
14726         (ENTRY_CHK): Likewise.
14727         (libc_hidden_builtin_def): Likewise.
14728         Don't include ../memcpy.S.
14729         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
14730         __memcpy_chk_avx512_unaligned_erms and
14731         __memcpy_chk_avx512_unaligned.  Use
14732         __memcpy_chk_avx_unaligned_erms and
14733         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14734         Default to __memcpy_chk_sse2_unaligned.
14735         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14736         Change function suffix from unaligned_2 to unaligned.
14737         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
14738         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
14739         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
14740         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
14741         (ENTRY): Removed.
14742         (END): Likewise.
14743         (ENTRY_CHK): Likewise.
14744         (libc_hidden_builtin_def): Likewise.
14745         Don't include ../mempcpy.S.
14746         (mempcpy): New.  Add a weak alias.
14747         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
14748         __mempcpy_chk_avx512_unaligned_erms and
14749         __mempcpy_chk_avx512_unaligned.  Use
14750         __mempcpy_chk_avx_unaligned_erms and
14751         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
14752         Default to __mempcpy_chk_sse2_unaligned.
14754 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
14756         [BZ #19881]
14757         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
14758         into ...
14759         * sysdeps/x86_64/memset.S: This.
14760         (__bzero): Removed.
14761         (__memset_tail): Likewise.
14762         (__memset_chk): Likewise.
14763         (memset): Likewise.
14764         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
14765         defined.
14766         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
14767         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
14768         (__memset_zero_constant_len_parameter): Check SHARED instead of
14769         PIC.
14770         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
14771         memset-avx2 and memset-sse2-unaligned-erms.
14772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
14773         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
14774         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
14775         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14776         (__bzero): Enabled.
14777         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
14778         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
14779         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
14780         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
14781         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
14782         (memset): Removed.
14783         (__memset_chk): Likewise.
14784         (MEMSET_SYMBOL): New.
14785         (libc_hidden_builtin_def): Replace __memset_sse2 with
14786         __memset_sse2_unaligned.
14787         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
14788         __memset_chk_sse2 and __memset_chk_avx2 with
14789         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
14790         Use __memset_chk_sse2_unaligned_erms or
14791         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
14792         __memset_chk_avx512_unaligned_erms and
14793         __memset_chk_avx512_unaligned.
14795 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14797         * math/gen-auto-libm-test.c (fp_format_desc): remove
14798         suffix member.
14799         (output_generic_value): Remove usage of suffix member,
14800         and the resulting unuse of the fp_format argument.
14801         (output_for_one_input_case): Remove unused fp_format
14802         parameter.
14804         * math/auto-libm-test-out: Regenerate.
14806         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
14807         usage with TEST_COND_ibm128.
14808         (TEST_COND_flt_32): Remove.
14809         (TEST_COND_dbl_64): Remove.
14810         (TEST_COND_ldbl_96_intel): Remove.
14811         (TEST_COND_ldbl_96_m68k): Remove.
14812         (TEST_COND_ldbl_128): Remove.
14814 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14816         * auto-libm-test-in:
14817         Replace flt-32 usage with binary32.
14818         Replace dbl-64 usage with binary64.
14819         Replace ldbl-intel-96 usage with intel96.
14820         Replace ldbl-m68k-96 usage with m68k96.
14821         Replace ldbl-128ibm usage with ibm128.
14822         Replace ldbl-128 usage with binary128.
14824         * auto-libm-test-out: Regenerate.
14826 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14828         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
14829         (parse_ulps): Dynamically generate type name matching
14830         string from all_floats.
14831         (get_ulps): Generate the ulps as an array instead.
14832         (output_ulps): Dynamically compose the type based
14833         on the number of supported formats, and print
14834         the indices as type specific helper macros.
14836         * math/libm-test.inc: Remove comment about CHOOSE.
14837         (ulp_data): Generate the type in libm-test-ulps.h.
14838         (ULP_IDX): New macro.
14839         (find_ulps): Update usage of max_ulp.
14841         * math/test-double-vlen2.h (CHOOSE): Remove.
14842         * math/test-double-vlen4.h (CHOOSE): Likewise.
14843         * math/test-double-vlen8.h (CHOOSE): Likewise.
14844         * math/test-float.c (CHOOSE): Likewise.
14845         * math/test-float-finite.c (CHOOSE): Likewise.
14846         * math/test-double.c (CHOOSE): Likewise.
14847         * math/test-double-finite.c (CHOOSE): Likewise.
14848         * math/test-idouble.c (CHOOSE): Likewise.
14849         * math/test-ifloat.c (CHOOSE): Likewise.
14850         * math/test-ildoubl.c (CHOOSE): Likewise.
14851         * math/test-ldouble-finite.c (CHOOSE): Likewise.
14852         * math/test-ldouble.c (CHOOSE): Likewise.
14854         * math/test-float.h (TEST_FLOAT): Remove.
14855         * math/test-double.h (TEST_DOUBLE): Likewise.
14856         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
14858 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14860         * math/gen-libm-test.pl: (apply_lit): New subroutine.
14861         (parse_args): Strip C suffix from floating point literals
14862         typed with 'f' and wrap them with LIT().
14864         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
14865         (test_ff_f_data_nexttoward): Rename to
14866         (test_fj_f_data): New struct.
14867         (nexttoward_test_data): Relabel tests as
14868         TEST_fj_f instead of TEST_ff_f.
14870 2016-06-08  Florian Weimer  <fweimer@redhat.com>
14872         Emacs bug 23726.
14873         * malloc/malloc.c (dumped_main_arena_start): Update comment.
14874         (__libc_realloc): Correct size computation for dumped fake mmapped
14875         chunks.
14877 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
14879         [BZ #20219]
14880         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
14881         to itself.
14882         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
14884         [BZ #20218]
14885         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
14886         to itself.
14887         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
14889 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
14891         [BZ #20195]
14892         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
14893         check to ...
14894         (init_cpu_features): Here.
14896 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
14898         [BZ #20214]
14899         * sysdeps/unix/sysv/linux/bits/in.h
14900         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14901          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
14902         Define to 1.
14903         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
14904          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
14905         Define to 0.
14906         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
14907         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
14909 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
14911         [BZ #20198]
14912         * stdlib/Makefile (tests): Add tst-quick_exit, and
14913         tst-thread-quick_exit.
14914         [ifeq ($(have-cxx-thread_local),yes)]
14915         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
14916         (CFLAGS-tst-thread-quick_exit.o): Likewise.
14917         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
14918         (LDLIBS-tst-thread-quick_exit): Likewise.
14919         [ifneq ($(have-cxx-thread_local),yes)]
14920         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
14921         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
14922         If run_dtors is true call __call_tls_dtors.
14923         (exit): Call __run_exit_handlers with run_dtors set to true.
14924         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
14925         definition.
14926         * stdlib/quick_exit.c (quick_exit): Remove function.
14927         (__new_quick_exit): New function.
14928         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
14929         function.
14930         * stdlib/tst-quick_exit.cc: New file.
14931         * stdlib/tst-thread-quick_exit.cc: New file.
14932         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
14933         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
14934         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
14935         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
14936         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
14937         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
14938         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
14939         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
14940         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
14941         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
14942         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
14943         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
14944         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
14945         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
14946         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
14947         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
14948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
14949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
14950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
14951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
14952         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
14953         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
14954         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
14955         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
14956         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
14957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
14958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
14959         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
14960         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
14961         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
14963 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
14965         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
14966         a typo in comments.
14968 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
14970         [BZ #20213]
14971         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
14972         argument to itself.
14973         * math/libm-test.inc (asin_test_data): Add sNaN tests.
14975 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14977         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
14978         required flags.
14979         (CFLAGS-pwritev64.c): Likewise.
14980         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
14981         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
14982         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
14983         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
14984         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
14985         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
14986         syscall from auto-generation.
14987         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
14988         [WORDSIZE == 64] (pwritev64): Remove macro.
14989         [!PWRITEV] (PWRITEV): Likewise.
14990         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14991         [!PWRITEV] (PWRITE): Likewise.
14992         [!PWRITEV] (OFF_T): Likewise.
14993         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
14994         (LO_HI_LONG): Remove macro.
14995         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
14996         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
14997         (PWRITEV): Remove macro.
14998         (PWRITEV_REPLACEMENTE): Likewise.
14999         (PWRITE): Likewise.
15000         (OFF_T): Likewise.
15001         (pwritev64): New function.
15002         * nptl/tst-cancel4.c (tf_writev): Add test.
15004         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
15005         required flags.
15006         (CFLAGS-preadv64.c): Likewise.
15007         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
15008         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
15009         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
15010         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
15011         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
15012         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
15013         syscall from auto-generation.
15014         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
15015         [WORDSIZE == 64] (preadv64): Remove macro.
15016         [!PREADV] (PREADV): Likewise.
15017         [!PREADV] (PREADV_REPLACEMENT): Likewise.
15018         [!PREADV] (PREAD): Likewise.
15019         [!PREADV] (OFF_T): Likewise.
15020         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
15021         (LO_HI_LONG): Remove macro.
15022         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
15023         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
15024         (PREADV): Remove macro.
15025         (PREADV_REPLACEMENTE): Likewise.
15026         (PREAD): Likewise.
15027         (OFF_T): Likewise.
15028         (preadv64): New function.
15029         * nptl/tst-cancel4.c (tf_preadv): Add test.
15031 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
15033         [BZ #20212]
15034         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
15035         argument to itself.
15036         * math/libm-test.inc (acos_test_data): Add sNaN tests.
15038 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15040         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
15041         New symbol defined as libc_hidden_def.
15042         (strcasestr): Became a weak alias to __strcasestr.
15043         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
15044         according to multi-arch support.  Move __stpncpy hidden
15045         definition from here to...
15046         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
15047         symbol stpncpy.
15048         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
15049         libc_hidden_builtin_def.
15050         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
15051         memset symbol to use when multi-arch support is available.
15053 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
15055         * dlfcn/tst-rec-dlopen.c: Include string.h.
15057 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15059         * manual/install.texi: Remove mention of --without-tls
15060         * INSTALL: Regenerate.
15062 2016-06-05  Florian Weimer  <fweimer@redhat.com>
15064         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
15065         Remove.
15066         (call_function, interposed_malloc_called): New variables.
15067         (malloc): New function.
15068         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
15069         and clear call_function as needed.
15071 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
15073         * include/wchar.h (__wmemset): Use __typeof.
15075 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
15077         * include/wchar.h (__wmemset): Declare function without typeof.
15079 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
15081         [BZ #20205]
15082         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
15083         exponent when incrementing negative subnormal with low mantissa
15084         word zero.
15085         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
15086         Add another test.
15088 2016-06-03  Florian Weimer  <fweimer@redhat.com>
15090         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
15091         __wmemset instead of wmemset.
15093 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
15095         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
15096         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
15097         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
15098         __USE_KERNEL_IPV6_DEFS to 0.
15099         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
15100         Update comment.
15102 2016-06-01  Florian Weimer  <fweimer@redhat.com>
15104         [BZ #19861]
15105         Do not use IFUNC resolver with potentially unrelocated symbol.
15106         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
15107         (DEFINE_FORK): Remove macro and inline definition.
15108         (fork_alias): Renamed from fork_ifunc.
15109         (__fork_alias): Renamed from __fork_ifunc.
15111 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
15113         [BZ 19653]
15114         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
15115         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
15117 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15119         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
15120         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
15121         i386-linux-gnu).
15122         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
15123         Set to no.
15124         * sysdeps/mach/hurd/configure: Refresh.
15126 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15128         [BZ #20178]
15129         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
15130         on failure instead of exit.
15132 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15134         [BZ #3629]
15135         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
15136         of POSIX.1-2008.
15138 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15140         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
15141           Use PLT entry for calling _hurd_self_sigstate.
15143 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
15145         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
15146         available logical processors with SMT level type sharing L2
15147         cache for Intel processors.
15149 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15151         [BZ #20160]
15152         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
15153         argument to itself before returning the result.
15154         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15155         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15156         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15157         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
15158         Likewise.
15159         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
15160         Likewise.
15161         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
15162         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
15163         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
15164         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
15165         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15166         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15168         [BZ #20160]
15169         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
15170         argument to itself before returning the result.
15171         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15172         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15173         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15174         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
15175         Likewise.
15176         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15177         Likewise.
15178         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
15179         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
15180         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
15181         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
15182         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15183         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15185 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15187         * libm-test.inc: Replace usage of M_El with
15188         (lit_e): New macro.
15190 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15192         * libm-test.inc: Replace usage of M_PI_4l with
15193         (lit_pi_4_d): New macro.
15195 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15197         * libm-test.inc: Replace usage of M_PIl with
15198         (lit_pi): New macro.
15200 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15202         * libm-test.inc: Replace usage of M_PI2l with
15203         (lit_pi_2_d): New macro.
15205         * math/test-double.h (LITM): New macro.
15206         * math/test-float.h (LITM): Likewise.
15207         * math/test-ldouble.h (LITM): Likewise.
15209 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15211         * libm-test.inc (M_PI_34l): Rename to
15212         (lit_pi_3_m_4_d): New Macro.
15213         (M_PI_34_LOG10El): Rename to
15214         (lit_pi_3_m_4_ln10_m_d): New Macro.
15215         (M_PI2_LOG10El): Rename to
15216         (lit_pi_2_ln10_m_d):  New Macro.
15217         (M_PI4_LOG10El): Rename to
15218         (lit_pi_4_ln10_m_d):  New Macro.
15219         (M_PI_LOG10El): Rename to
15220         (lit_pi_ln10_d):  New Macro.
15222 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15224         [BZ #20157]
15225         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
15226         determine whether to negate low half if [_ARCH_PPCGR], and integer
15227         comparison otherwise.
15228         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
15229         determine whether to negate low half.
15231         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
15232         (NO_TEST_INLINE_DOUBLE): Likewise.
15233         (TEST_COND_x86_64): Likewise.
15234         (TEST_COND_x86): Likewise.
15235         (M_PI_6l): Likewise.
15237 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15239         * math/libm-test.inc:
15240         (TEST_FLOAT): Change usage to TEST_COND_binary32.
15241         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
15242         (TEST_LDOUBLE): Update usage to evaluate as true if
15243         the guarded tests match the property being tested.
15244         (LDBL_MAX_EXP): Change to MAX_EXP.
15245         (LDBL_MIN_EXP): Change to MIN_EXP.
15246         (LDBL_MANT_DIG): Change to MANT_DIG, except for
15247         nexttoward tests.
15249 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15251         * math/libm-test.inc:
15252         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
15253         (TYPE_MIN): Likewise.
15254         (TYPE_TRUE_MIN): Likewise.
15255         (TYPE_MAX): Likewise.
15256         (MIN_EXP): Likewise.
15257         (MAX_EXP): Likewise.
15258         (MANT_DIG): Likewise.
15260         (FSTR_MAX): New macro.
15261         (__CONCATX): Likewise.
15262         (QTYPE_STR): Likewise.
15263         (TEST_COND_binary32): Likewise.
15264         (TEST_COND_binary64): Likewise.
15265         (TEST_COND_binary128): Likewise.
15266         (TEST_COND_ibm128): Likewise.
15267         (TEST_COND_intel96): Likewise.
15268         (TEST_COND_m68k96): Likewise.
15270         (TEST_COND_flt_32): Redefine as equivalent format test macro.
15271         (TEST_COND_dbl_64): Likewise.
15272         (TEST_COND_ldbl_96_intel): Likewise.
15273         (TEST_COND_ldbl_96_m68k): Likewise.
15274         (TEST_COND_ldbl_128): Likewise.
15275         (TEST_COND_ldbl_128ibm): Likewise.
15277         (plus_zero): Redefine using LIT macro.
15278         (minus_zero): Likewise.
15279         (plus_infty): Redefine as (INF).
15280         (minux_infty): Redefine as (-INF).
15281         (max_value): Redefine as TYPE_MAX.
15282         (min_value): Redefine as TYPE_MIN.
15283         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
15285         (print_float): Refactor to use snprintf to convert FLOAT values
15286         to string. This brings it closer to dropin replacement of strtof
15287         for the TS 18661 defined types.
15288         (update_stats): Likewise.
15289         (print_complex_function_ulps): Likewise.
15290         (print_max_error): Likewise.
15291         (print_complex_max_error): Likewise.
15292         (check_float_internal): Likewise.
15294         * math/test-float.h (PREFIX): New macro.
15295         (LIT): Likewise.
15296         (TYPE_STR): Likewise.
15297         (FTOSTR): Likewise.
15299         * math/test-double.h (PREFIX): New macro.
15300         (LIT): Likewise.
15301         (TYPE_STR): Likewise.
15302         (FTOSTR): Likewise.
15304         * math/test-ldouble.h (PREFIX): New macro.
15305         (LIT): Likewise.
15306         (TYPE_STR): Likewise.
15307         (FTOSTR): Likewise.
15309 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
15311         [BZ #20156]
15312         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
15313         to itself when zero or not finite.
15314         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
15315         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
15316         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
15317         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
15319 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
15321         [BZ #20153]
15322         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
15323         x * x + x for infinities and NaNs.
15325         [BZ #20151]
15326         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
15327         argument to itself before returning result.
15328         (__ieee754_y0l): Likewise.
15329         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
15330         (__ieee754_y1l).
15332         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
15333         (atan_test_data): Likewise.
15334         (ceil_test_data): Likewise.
15335         (cos_test_data): Likewise.
15336         (cosh_test_data): Likewise.
15337         (erf_test_data): Likewise.
15338         (exp2_test_data): Likewise.
15339         (fabs_test_data): Likewise.
15340         (floor_test_data): Likewise.
15341         (ilogb_test_data): Likewise.
15342         (j0_test_data): Likewise.
15343         (j1_test_data): Likewise.
15344         (jn_test_data): Likewise.
15345         (lgamma_test_data): Likewise.
15346         (lrint_test_data): Likewise.
15347         (llrint_test_data): Likewise.
15348         (logb_test_data): Likewise.
15349         (lround_test_data): Likewise.
15350         (llround_test_data): Likewise.
15351         (nearbyint_test_data): Likewise.
15352         (rint_test_data): Likewise.
15353         (round_test_data): Likewise.
15354         (sin_test_data): Likewise.
15355         (sincos_test_data): Likewise.
15356         (sinh_test_data): Likewise.
15357         (sqrt_test_data): Likewise.
15358         (tan_test_data): Likewise.
15359         (tanh_test_data): Likewise.
15360         (tgamma_test_data): Likewise.
15361         (trunc_test_data): Likewise.
15362         (y0_test_data): Likewise.
15363         (y1_test_data): Likewise.
15364         (yn_test_data): Likewise.
15366         * math/libm-test.inc: Update comment about NaN testing.
15367         (TEST_SNAN): New macro.
15368         (snan_value): Likewise.
15369         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
15370         (fpclassify_test_data): Add sNaN tests.
15371         (isfinite_test_data): Likewise.
15372         (isinf_test_data): Likewise.
15373         (isnan_test_data): Likewise.
15374         (isnormal_test_data): Likewise.
15375         (issignaling_test_data): Likewise.
15376         (signbit_test_data): Likewise.
15377         * math/gen-libm-test.pl (%beautify): Add snan_value.
15378         (show_exceptions): Add argument $test_snan.
15379         (parse_args): Handle snan_value as non-finite.  Update call to
15380         show_exceptions.
15381         * math/Makefile (libm-test-no-inline-cflags): Add
15382         -fsignaling-nans.
15384 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15386         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
15387         (CFLAGS-oldsendmsg.c): Add rule.
15388         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
15389         Correct recvmsg symbol name.
15390         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
15391         Likewise.
15393 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15395         * sysdeps/unix/sysv/linux/Makefile
15396         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
15397         oldsendmmsg.
15398         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
15399         sendmmsg.
15400         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15401         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15402         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15403         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15405         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15406         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15408         Likewise.
15409         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15410         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
15411         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
15412         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
15413         iovlen and controllen fields to adjust to POSIX specification.
15414         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15416         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
15417         and change to correct expected type.
15418         (msghdr.msg_controllen): Likewise.
15419         (cmsghdr.cmsg_len): Likewise.
15420         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
15421         expected POSIX assumption about the size.
15422         (msghdr.msg_controllen): Likewise.
15423         (msghdr.__glibc_reserved1): Likewise.
15424         (msghdr.__glibc_reserved2): Likewise.
15425         (cmsghdr.cmsg_len): Likewise.
15426         (cmsghdr.__glibc_reserved1): Likewise.
15427         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
15428         Add ptw-oldrecvmsg and ptw-oldsendmsg.
15429         (CFLAGS-sendmsg.c): Remove rule.
15430         (CFLAGS-recvmsg.c): Likewise.
15431         (CFLAGS-oldsendmsg.c): Add rule.
15432         (CFLAGS-oldrecvmsg.c): Likewise.
15433         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
15434         recvmsg and sendmsg.
15435         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
15436         Likewise.
15437         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
15438         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
15439         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
15440         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
15441         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
15442         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
15443         Likewise.
15444         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
15445         Likewise.
15446         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
15447         Likewise.
15448         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
15449         Likewise.
15450         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
15451         Likewise.
15452         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
15453         Likewise.
15454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
15455         (GLIBC_2.24): Likewise.
15456         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
15457         Likewise.
15458         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
15459         Likewise.
15460         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
15461         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
15462         Likewise.
15463         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
15464         Likewise.
15465         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
15466         Likewise.
15467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
15468         (GLIBC_2.24): Likewise.
15469         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
15470         Likewise.
15471         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
15472         Likewise.
15473         * sysdeps/unix/sysv/linux/Makefile
15474         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
15475         (CFLAGS-sendmsg.c): Add rule.
15476         (CFLAGS-recvmsg.c): Likewise.
15477         (CFLAGS-oldsendmsg.c): Likewise.
15478         (CFLAGS-oldrecvmsg.c): Likewise.
15479         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
15480         initialization.
15481         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
15482         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
15483         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
15484         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
15485         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
15486         iovlen and controllen fields to adjust to POSIX specification.
15487         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
15488         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
15489         added recvmsg and sendmsg.
15490         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15491         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15492         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15493         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15494         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15495         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15496         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15497         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15498         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15499         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15500         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15501         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
15502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
15503         Likewise.
15504         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15506         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15507         Likewise.
15508         Likewise.
15509         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15510         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15511         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15512         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15513         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15514         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15515         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15516         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15518         Likewise.
15519         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15520         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15522         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
15523         from auto-generation.
15524         (sendmsg): Likewise.
15525         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
15526         (sendmsg): Likewise.
15527         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
15528         (sendmsg): Likewise.
15529         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
15530         (sendmsg): Likewise.
15531         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
15532         (sendmsg): Likewise.
15533         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
15534         (sendmsg): Likewise.
15535         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
15536         Likewise.
15537         (sendmsg): Likewise.
15538         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
15539         (sendmsg): Likewise.
15540         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15541         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15542         Remove.
15543         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15544         Likewise.
15545         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15546         Undefine.
15547         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15548         Likewise.
15549         * sysdeps/unix/sysv/linux/kernel-features.h
15550         (__ASSUME_SENDMSG_SYSCALL): Define.
15551         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15552         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15553         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15554         Remove.
15555         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15556         Likewise.
15557         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15558         Undefine.
15559         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15560         Likewise.
15561         * sysdeps/unix/sysv/linux/s390/kernel-features.h
15562         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15563         Remove.
15564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15565         Likewise.
15566         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15567         Undefine.
15568         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15569         Likewise.
15570         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15571         (__ASSUME_SENDMSG_SYSCALL): Undefine.
15572         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15573         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15574         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15575         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15576         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15577         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15578         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15580 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15582         * stdlib/gen-tst-strtod-round.c: Add backslash to
15583         compile command in comment.
15584         (printfp): Remove the literal suffix, and define an infinite
15585         value as INF to avoid expansion clash with INFINITY.
15586         (round_str): Remove the literal suffix.
15587         (round_for_all): Likewise, remove the now duplicate ldbl-64
15588         entry, and remove some magic constants.
15590         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
15591         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
15592         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
15593         (_CONCAT): New macro.
15594         (CONCAT): Likewise.
15595         (CHOOSE_ld): Likewise.
15596         (CHOOSE_f): Likewise.
15597         (CHOOSE_d): Likewise.
15598         (FTYPE_MEMBER): Likewise.
15599         (BOOL_MEMBER): Likewise.
15600         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
15601         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
15602         (_XNTRY): Likewise.
15603         (XNTRY): Likewise.
15604         (_ENTRY): Likewise.
15605         (ENTRY): Likewise.
15606         (test_exactness): Generate members via macro.
15607         (test_results): Likewise.
15608         (test): Update members.
15609         (TEST): Redefine using new macros.
15610         (INF): New macro.
15611         (fetestmodes): New structure.
15612         (do_test): Refactor to be type generic.
15613         (test_in_one_mode): Refactor duplicate code into
15614         (GEN_ONE_TEST): New macro.
15616         * stdlib/tst-strtod-round-data.h: Regenerate.
15618         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
15619         Extend to pass additional arbitrary parameters to
15620         generators.
15622 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
15624         [BZ #15479]
15625         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
15626         floating-point state after first floating-point operation on
15627         input.  Restore full floating-point state instead of just rounding
15628         mode.
15629         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
15630         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
15631         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
15632         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
15633         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
15635         [BZ #15479]
15636         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
15637         floating-point state after first floating-point operation on
15638         input.  Restore full floating-point state instead of just rounding
15639         mode.
15640         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
15641         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
15642         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
15643         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
15644         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
15646 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15648         [BZ #19727]
15649         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
15650         valid high surrogate.
15651         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
15652         of an utf16 surrogate.
15653         * iconv/gconv_simple.c (BODY): Likewise.
15654         * iconvdata/bug-iconv12.c: New file.
15655         * iconvdata/Makefile (tests): Add bug-iconv12.
15657 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15659         [BZ #19726]
15660         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
15661         outptrp in case of an illegal input.
15662         * iconv/tst-iconv6.c: New file.
15663         * iconv/Makefile (tests): Add tst-iconv6.
15665 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15667         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
15668         an error in case of a value in range of an utf16 low surrogate.
15670 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15672         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
15673         an error in case of a value in range of an utf16 low surrogate.
15675 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15677         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
15678         Move to ...
15679         * sysdeps/s390/Makefile: ... here.
15680         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
15681         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
15682         (BRANCH_ON_COUNT): New define.
15683         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
15684         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
15685         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
15686         run on s390-32, too.
15687         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
15688         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
15689         run on s390-32, too.
15690         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
15691         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
15692         run on s390-32, too.
15694 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15696         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
15697         etf3eh or new vector loop-variant.
15699 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15701         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
15702         etf3eh or new vector loop-variant.
15704 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15706         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
15707         or new vector loop-variant.
15709 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15711         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
15712         Rename to TR_LOOP and usage of tr instead of troo instruction.
15714 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15716         * sysdeps/s390/multiarch/gconv_simple.c: New File.
15717         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
15719 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15721         * sysdeps/s390/multiarch/8bit-generic.c: New File.
15722         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
15723         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
15724         New override define.
15725         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
15727 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15729         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
15730         * sysdeps/s390/configure.ac: Add test for S390 vector register
15731         support in gcc.
15732         * sysdeps/s390/configure: Regenerated.
15734 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
15736         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
15737         Install file from $(objpfx)gconv-modules.
15738         ($(objpfx)gconv-modules): Concatenate architecture specific file
15739         in variable sysdeps-gconv-modules and gconv-modules in src dir.
15740         * sysdeps/s390/gconv-modules: New file.
15741         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
15742         Deleted.
15743         ($(objpfx)gconv-modules-s390): Deleted.
15744         (sysdeps-gconv-modules): New variable.
15746 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15748         [BZ #15479]
15749         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
15750         of immediate operand to rounding instruction.
15751         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
15752         Likewise.
15753         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
15754         Likewise.
15755         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
15756         Likewise.
15758 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15760         * math/libm-test.inc (MIN_EXP): Directly define as
15761         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
15763 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15765         * math/libm-test.inc (MANT_DIG): Directly define as
15766         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
15768 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15770         * stdlib/gen-tst-strtod-round.c (main):
15771           Change usage to more closely match the generated
15772           output.  Add usage and compilation instructions.
15773           (string_to_fp): Add and use FILE* parameter as
15774           output target.
15775           (print_fp): Likewise.
15776           (round_str): Likewise.
15777           (round_for_all): Likewise.
15778         * stdlib/tst-strtod-round.c (tests): Move into
15779         * stdlib/tst-strtod-round-data.h: New file.
15781 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
15783         [BZ #15479]
15784         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
15785         (__round): Do not force "inexact" exception.
15786         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
15787         variable.
15788         (__round): Do not force "inexact" exception.
15789         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
15790         (__roundf): Do not force "inexact" exception.
15791         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
15792         (__roundl): Do not force "inexact" exception.
15793         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
15794         (__roundl): Do not force "inexact" exception.
15795         * math/libm-test.inc (round_test_data): Do not allow spurious
15796         "inexact" exceptions.
15798         [BZ #15479]
15799         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
15800         exception in comment.
15801         (huge): Remove variable.
15802         (__floor): Do not force "inexact" exception.
15803         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
15804         "inexact" exception in comment.
15805         (huge): Remove variable.
15806         (__floor): Do not force "inexact" exception.
15807         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
15808         exception in comment.
15809         (huge): Remove variable.
15810         (__floorf): Do not force "inexact" exception.
15811         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
15812         exception in comment.
15813         (huge): Remove variable.
15814         (__floorl): Do not force "inexact" exception.
15816         [BZ #15479]
15817         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
15818         exception in comment.
15819         (huge): Remove variable.
15820         (__ceil): Do not force "inexact" exception.
15821         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
15822         "inexact" exception in comment.
15823         (huge): Remove variable.
15824         (__ceil): Do not force "inexact" exception.
15825         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
15826         (__ceilf): Do not force "inexact" exception.
15827         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
15828         exception in comment.
15829         (huge): Remove variable.
15830         (__ceill): Do not force "inexact" exception.
15832 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
15834         * config.h.in (BIND_NOW): New.
15835         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
15836         * configure: Regenerated.
15837         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
15838         indirect branch via the GOT slot.
15840 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15842         [BZ #19765]
15843         * sysdeps/s390/mempcpy.S: New File.
15844         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15845         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
15846         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15847         Add mempcpy variants.
15848         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
15849         (memcpy): Adjust to be usable from mempcpy entry point.
15850         (__memcpy_mvcle): Likewise.
15851         * sysdeps/s390/s390-64/memcpy.S: Likewise.
15852         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
15853         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
15854         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
15855         (__memcpy_z10): Likewise.
15856         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15858 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15860         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
15861         Remove __GI_ symbol.
15862         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
15863         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
15864         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
15865         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
15866         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
15867         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
15869 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15871         * sysdeps/s390/s390-64/memcpy.S (memcpy):
15872         Use cghi instead of chi to compare 64bit value.
15874 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15876         * sysdeps/s390/s390-32/memcpy.S (memcpy):
15877         Jump to 1MB check before executing mvc-loop.
15879 2016-05-24  Florian Weimer  <fweimer@redhat.com>
15881         [BZ #6527]
15882         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
15883         unconditionally.
15884         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
15886 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15888         * stdlib/tst-strtod6.c (do_test): Use new type generic
15889         invocation of the test function.
15890         (test): Refactor into ...
15891         (TEST_STRTOD): New macro base function.
15893 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15895         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
15896         (TEST_STRTOD): New macro.
15897         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
15899 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15901         * stdlib/tst-strtod6.c (do_test): Use new type generic
15902         invocation of the test function.
15903         (test): Refactor into ...
15904         (TEST_STRTOD): New macro base function.
15906 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15908         CVE-2016-4429
15909         [BZ #20112]
15910         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
15911         payload.
15913 2016-05-23  Florian Weimer  <fweimer@redhat.com>
15915         [BZ #20111]
15916         * bits/sockaddr.h (_SS_SIZE): Define.
15917         * bits/socket.h (_SS_SIZE): Remove.
15918         (_SS_PADSIZE): Adjust to account for all padding.
15919         (struct sockaddr_storage): Update comment.  Avoid implicit
15920         padding.
15921         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
15922         (_SS_PADSIZE): Adjust to account for all padding.
15923         (struct sockaddr_storage): Update comment.  Avoid implicit
15924         padding.
15925         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
15926         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
15927         (_SS_PADSIZE): Adjust to account for all padding.
15928         (struct sockaddr_storage): Update comment.  Avoid implicit
15929         padding.
15930         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
15931         __SS_SIZE is 126 in this version.
15932         * inet/tst-sockaddr.c: New file.
15933         * inet/Makefile (tests): Add tst-sockaddr.c
15934         (tst-sockaddr.c): Compile with non-strict aliasing.
15936 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
15938         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
15939         [XPG3 || XPG4].
15940         (NL_ARGMAX): Also expect for [XPG3].
15941         (NL_LANGMAX): Likewise.
15942         (NL_MSGMAX): Likewise.
15943         (NL_NMAX): Likewise.
15944         (NL_SETMAX): Likewise.
15945         (NL_TEXTMAX): Likewise.
15946         (NZERO): Likewise.
15947         (TMP_MAX): Likewise.
15948         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
15949         variable.
15951         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
15952         (PF_MAX): Update value.
15953         (AF_KCM): New macro.
15954         (SOL_NETBEUI): Likewise.
15955         (SOL_LLC): Likewise.
15956         (SOL_DCCP): Likewise.
15957         (SOL_NETLINK): Likewise.
15958         (SOL_TIPC): Likewise.
15959         (SOL_RXRPC): Likewise.
15960         (SOL_PPPOL2TP): Likewise.
15961         (SOL_BLUETOOTH): Likewise.
15962         (SOL_PNPIPE): Likewise.
15963         (SOL_RDS): Likewise.
15964         (SOL_IUCV): Likewise.
15965         (SOL_CAIF): Likewise.
15966         (SOL_ALG): Likewise.
15967         (SOL_NFC): Likewise.
15968         (SOL_KCM): Likewise.
15969         (MSG_BATCH): New enum value and macro.
15971 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
15973         [BZ #18185]
15974         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
15975         sharing L2 cache to 2 for Knights Landing.
15977 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
15979         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
15980         (FTW_DP): Do not expect for [XPG3 || XPG4].
15981         (FTW_SL): Do not expect for [XPG3].
15982         (FTW_SLN): Likewise.
15983         (FTW_PHYS): Likewise.
15984         (FTW_MOUNT): Likewise.
15985         (FTW_DEPTH): Likewise.
15986         (FTW_CHDIR): Likewise.
15987         (nftw): Likewise.
15988         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
15989         variable.
15991 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15993         * manual/errno.texi: Fix various typos & grammar errors.
15995 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
15997         * manual/intro.texi: Fix duplicated typo.
15999 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16001         [BZ #13304]
16002         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
16003         <float.h>, <math_private.h> and <stdlib.h>.
16004         (add_split): New function.
16005         (mul_split): Likewise.
16006         (ext_val): New typedef.
16007         (store_ext_val): New function.
16008         (mul_ext_val): New function.
16009         (compare): New function.
16010         (add_split_ext): New function.
16011         (__fmal): After checking for Inf, NaN and zero, compute result as
16012         an exact sum of scaled double values in round-to-nearest before
16013         adding those up and adjusting for other rounding modes.
16014         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
16015         tests of fma.
16016         * math/auto-libm-test-out: Regenerated.
16018 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16020         [BZ #20119]
16021         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
16022         processor level type mask for CPUID with EAX == 11.
16024 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16026         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
16027         logical threads if the HTT bit is 0.
16028         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
16029         (index_cpu_HTT): Likewise.
16030         (reg_HTT): Likewise.
16032 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
16034         [BZ #20115]
16035         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
16036         Remove alignments on jump targets.
16038 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
16040         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
16041         (getpwent): Likewise.
16042         (setpwent): Likewise.
16043         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
16044         variable.
16046         * conform/data/search.h-data (insque): Do not expect for [XPG3].
16047         (remque): Likewise.
16048         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
16049         variable.
16051 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16053         * math/libm-test.inc: Update comment not to refer to signs of NaNs
16054         not being tested.
16056 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16058         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16059         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
16060         call.
16061         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16062         (__condvar_cleanup1): Likewise.
16064 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16066         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
16067         New
16068         (__pthread_unwind): Renamed to ...
16069         (PTHREAD_UNWIND): This.
16070         (__pthread_enable_asynccancel): Replace
16071         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
16073 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
16075         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
16076         (CLONE_NEWCGROUP): New macro.
16078         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
16079         (Q_GETNEXTQUOTA): New macro.
16081 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
16083         [BZ #19907]
16084         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
16085         buffer updated by the previous run.
16086         * string/test-memcpy.c (do_one_test): Likewise.
16087         * benchtests/bench-memmove.c (do_one_test): Add a comment.
16088         * string/test-memmove.c (do_one_test): Likewise.
16090 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
16092         [BZ #20094]
16093         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
16094         not [__USE_XOPEN].
16095         (unlockpt): Likewise.
16096         (ptsname): Likewise.
16097         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
16098         variable.
16100         [BZ #20076]
16101         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
16102         instead of [__USE_UNIX98].
16103         (S_ISSOCK): Likewise.
16104         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
16105         variable.
16107         [BZ #20074]
16108         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
16109         [__USE_POSIX].
16110         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
16111         variable.
16113         [BZ #20051]
16114         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
16115         (ttyslot): Do not declare.
16116         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
16117         (ttyslot): New prototype.
16118         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
16119         variable.
16120         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16122 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16124         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
16126 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16128         Fix race condition in tst-mallocfork2, use fewer resources.
16129         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
16130         to current process group.
16131         (signal_sender): Yield in the non-sleeping case.
16133 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
16135         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
16136         (ecvt): Likewise.
16137         (fcvt): Likewise.
16138         (gcvt): Likewise.
16139         (getsubopt): Likewise.
16140         (grantpt): Likewise.
16141         (initstate): Likewise.
16142         (l64a): Likewise.
16143         (mktemp): Likewise.
16144         (mkstemp): Likewise.
16145         (ptsname): Likewise.
16146         (random): Likewise.
16147         (realpath): Likewise.
16148         (setstate): Likewise.
16149         (srandom): Likewise.
16150         (ttyslot): Likewise.
16151         (unlockpt): Likewise.
16152         (valloc): Likewise.
16154         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
16155         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
16156         variable.
16158 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16160         [BZ #20072]
16161         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
16162         init_cpu_features only if SHARED is defined.
16163         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
16165 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16167         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
16168         non-inclusive caches on Intel processors.
16170 2016-05-13  Florian Weimer  <fweimer@redhat.com>
16172         * malloc/malloc.c (dumped_main_arena_start)
16173         (dumped_main_arena_end): New variables.
16174         (DUMPED_MAIN_ARENA_CHUNK): New macro.
16175         (do_check_chunk): Skip dumped fake mmapped chunks.
16176         (munmap_chunk): Likewise.
16177         (__libc_free): Do not adjust statistics for fake mmapped chunks.
16178         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
16179         mmapped chunks.
16180         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
16181         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
16182         and dumped_main_arena_end to cover the dumped heap.
16184 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
16186         * conform/data/time.h-data (getdate_err): Do not expect for
16187         [XPG3].
16188         (getdate): Likewise.
16189         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
16190         variable.
16192         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
16193         (F_ULOCK): Likewise.
16194         (F_TEST): Likewise.
16195         (F_TLOCK): Likewise.
16196         (useconds_t): Likewise.
16197         (intptr_t): Do not expect for [XPG3] or [XPG4].
16198         (brk): Do not expect for [XPG3]
16199         (fchown): Likewise.
16200         (fchdir): Likewise.
16201         (ftruncate): Likewise.
16202         (getdtablesize): Likewise.
16203         (gethostid): Likewise.
16204         (getpagesize): Likewise.
16205         (getpgid): Likewise.
16206         (getsid): Likewise.
16207         (getwd): Likewise.
16208         (lchown): Likewise.
16209         (lockf): Likewise.
16210         (readlink): Likewise.
16211         (sbrk): Likewise.
16212         (setpgrp): Likewise.
16213         (setregid): Likewise.
16214         (setreuid): Likewise.
16215         (symlink): Likewise.
16216         (sync): Likewise.
16217         (truncate): Likewise.
16218         (ualarm): Likewise.
16219         (usleep): Likewise.
16220         (vfork): Likewise.
16221         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
16222         variable.
16224         [BZ #20054]
16225         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
16226         not [__USE_UNIX98].
16227         * conform/data/unistd.h-data (gethostname): Do not expect for
16228         [XPG3].
16230         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
16231         [!POSIX] (S_IFBLK): Likewise.
16232         [!POSIX] (S_IFCHR): Likewise.
16233         [!POSIX] (S_IFIFO): Likewise.
16234         [!POSIX] (S_IFREG): Likewise.
16235         [!POSIX] (S_IFDIR): Likewise.
16236         [!POSIX] (S_IFLNK): Likewise.
16237         [!POSIX] (S_IFSOCK): Likewise.
16238         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
16239         variable.
16240         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16242 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
16244         * sysdeps/aarch64/memset.S (__memset):
16245         Rewrite of optimized memset.
16247 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16249         [BZ #19703]
16250         Partially async-signal-safe fork for single-threaded processes.
16251         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
16252         variable.  Do not acquire and reset/release malloc and libio locks
16253         in single-threaded processes.
16254         * malloc/tst-mallocfork2.c: New file.
16255         * malloc/Makefile (tests): Add it.
16257 2016-05-12  Florian Weimer  <fweimer@redhat.com>
16259         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
16260         argument.  Use scratch buffer instead of extend_alloca.
16261         (gethosts): Use scratch buffer instead of extend_alloca.
16262         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
16263         extend_alloca.
16264         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
16266 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
16268         [BZ #20055]
16269         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
16270         instead of [__USE_UNIX98].
16271         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
16272         [__USE_UNIX98].
16273         * conform/data/termios.h-data (tcgetsid): Do not expect for
16274         [XPG3].
16275         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
16276         variable.
16277         (test-xfail-XPG4/termios.h/conform): Likewise.
16279 2016-05-11  Florian Weimer  <fweimer@redhat.com>
16281         Do not use mcheck in localedef.
16282         * locale/programs/localedef.c (turn_on_mcheck)
16283         (__malloc_initialize_hook): Remove.
16285 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
16287         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
16288         * sysdeps/s390/s390-64/Makefile: Likewise.
16290 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
16292         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
16293         Remove ifunc-defines.sym.
16294         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
16295         Likewise.
16296         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
16297         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16298         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
16299         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
16300         rtld-global-offsets.sym.
16301         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
16302         * sysdeps/x86/cpu-features-offsets.sym: This.
16303         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
16304         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
16306 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
16308         [BZ #20073]
16309         * io/sys/stat.h (fchmod): Declare for
16310         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
16311         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
16312         variable.
16314         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
16315         [XPG3] (S_IFSOCK): Likewise.
16316         [XPG3] (S_ISVTX): Likewise.
16317         [XPG3] (S_ISLNK): Likewise.
16318         [XPG3] (S_ISSOCK): Likewise.
16319         [XPG3] (fchmod): Likewise.
16320         [XPG3] (lstat): Likewise.
16321         [XPG3] (mknod): Likewise.
16323         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
16324         [XPG3].  Expect type long and XFAIL for [XPG4].
16325         (st_blocks): Likewise.
16327         [BZ #20044]
16328         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
16329         (pthread_atfork): New prototype.
16330         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
16331         variable.
16333         [BZ #20043]
16334         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
16335         prototype.
16337 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16339         [BZ #20017]
16340         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
16341         gmtime.
16343 2016-05-10  Florian Weimer  <fweimer@redhat.com>
16345         [BZ #19994]
16346         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
16347         flag in _res.options.
16349 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
16351         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
16352         [XPG3 || XPG4].
16353         (blksize_t): Likewise.
16354         (clockid_t): Likewise.
16355         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
16356         variable.
16357         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16359 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16361         * sysdeps/unix/sysv/linux/s390/init-first.c:
16362         Add VDSO_SYMBOL(getcpu).
16363         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
16364         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
16365         Add VDSO_SYMBOL(getcpu).
16366         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
16367         New define HAVE_GETCPU_VSYSCALL.
16368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16370 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
16372         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
16373         instead of <sysdeps/x86_64/cacheinfo.c>.
16374         * sysdeps/x86_64/cacheinfo.c: Moved to ...
16375         * sysdeps/x86/cacheinfo.c: Here.
16377 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16379         * malloc/malloc-internal.h: Adjust header file guard.
16381 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16383         [BZ #19787]
16384         * inet/getnameinfo.c (check_sprintf_result): New function.
16385         (CHECKED_SNPRINTF): New macro.
16386         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
16387         to the host buffer.
16388         (gni_host_local): Use checked_copy to copy the host name.
16389         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
16390         (gni_serv_local): Use checked_copy to copy the service name.
16391         (getnameinfo): Remove unnecessary truncation of result buffers.
16393 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16395         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
16396         in case of inet_ntop failure.
16398 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16400         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
16401         avoid long lines.
16402         (gni_host_inet_numeric): Likewise.  Reduce scope of local
16403         variables.
16404         (gni_host_inet, gni_host_local): Add comment.
16405         (gni_host): Add comment.  Use temporary to avoid long lines.
16407 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16409         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
16410         registers specifiers where general purpose registers specifiers should
16411         have been used.
16413 2016-05-04  Florian Weimer  <fweimer@redhat.com>
16415         [BZ #19779]
16416         CVE-2016-1234
16417         Avoid copying names of directory entries.
16418         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
16419         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
16420         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
16421         (struct readdir_result): New type.
16422         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
16423         (GL_READDIR): New macros.
16424         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
16425         (convert_dirent, convert_dirent64): New functions.
16426         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
16427         convert_dirent64.  Adjust references to the readdir result.
16428         * sysdeps/unix/sysv/linux/i386/glob64.c:
16429         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
16430         * posix/bug-glob2.c (LONG_NAME): Define.
16431         (filesystem): Add LONG_NAME.
16432         (my_DIR): Increase the size of room_for_dirent.
16434 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
16436         [BZ #20041]
16437         * misc/sys/select.h (__need_timespec): Only define if
16438         [__USE_XOPEN2K].
16439         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
16440         variable.
16441         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16442         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16443         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16445 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16446             Segher Boessenkool  <segher@gcc.gnu.org>
16448         [BZ #20004]
16449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
16450         (__novec_swapcontext): Add missing load.
16452 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
16454         [BZ #20023]
16455         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
16456         <time.h>.
16457         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
16458         variable.
16459         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16461 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
16464         flags CLONE_VM compare.
16466 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16468         [BZ #20031]
16469         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
16470         completely empty.
16472 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16474         [BZ #19573]
16475         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
16476         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
16477         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
16478         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
16479         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
16480         (hesiod_free_list): Mark as hidden.
16481         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
16482         res_set, res_get.
16483         * hesiod/hesiod.c: Remove unnecessary forward declarations.
16484         (init, __hesiod_res_get, __hesiod_res_set): Remove.
16485         (hesiod_init): Remove obsolete res_ninit call.
16486         (hesiod_end): Do not free resolver state.  Do not invoke callback.
16487         (hesiod_bind): Do not call init.
16488         (get_txt_records): Use res_mkquery, res_send instead of
16489         res_nmkquery, res_nsend.
16490         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
16491         instead of _nss_hesiod_init.
16492         (_nss_hesiod_initgroups_dyn): Likewise.
16493         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
16494         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
16495         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
16497 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16499         * hesiod/hesiod_p.h (DEF_RHS): Remove.
16500         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
16502 2016-05-02  Florian Weimer  <fweimer@redhat.com>
16504         * hesiod/hesiod.h: Remove RCS keyword.
16505         * hesiod/hesiod_p.h: Likewise.
16507         * hesiod/hesiod.c: Likewise.
16509 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
16511         [BZ #12450]
16512         * locale/iso-639.def: Add Samogitian/sgs.
16514 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16516         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
16518         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
16520 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
16521             Carlos O'Donell  <carlos@redhat.com>
16523         [BZ #19072]
16524         * grp/Makefile (headers): Add grp-merge.h
16525         (routines): Add grp-merge.
16526         * grp/getgrgid_r.c: Include grp-merge.h.
16527         (DEEPCOPY_FN): Define.
16528         (MERGE_FN): Define.
16529         * grp/getgrname_r.c: Include grp-merge.h.
16530         (DEEPCOPY_FN): Define.
16531         (MERGE_FN): Define.
16532         * grp/grp-merge.c: New file.
16533         * grp/grp-merge.h: New file.
16534         * include/grp-merge.h: New file.
16535         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
16536         __copy_grp@GLIBC_PRIVATE.
16537         * manual/nss.texi (Actions in the NSS configuration): Describe
16538         return, continue, and merge.
16539         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
16540         (DEEPCOPY_FN): Define.
16541         (MERGE_FN): Define.
16542         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
16543         (DEEPCOPY_FN): Define.
16544         (MERGE_FN): Define.
16545         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
16546         [!MERGE_FN]: Define __merge_einval.
16547         (CHECK_MERGE): Define.
16548         (REENTRANT_NAME): Process merge if do_merge is true.
16549         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
16550         (__nss_getent_r): Likewise.
16551         * nss/nsswitch.c (nss_parse_service_list): Likewise.
16552         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
16554 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16556         [BZ #20012]
16557         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
16558         length to calculate the buffer to read.
16559         (fmemopen_write): Set the buffer position based on bytes written.
16560         (fmemopen_seek): Return EINVAL for invalid whence modes.
16562         [BZ #19957]
16563         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
16564         tst-getpid2.
16565         (test): Add tst-clone2.
16566         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
16567         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
16568         pid/tid fields for CLONE_VM.
16569         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
16570         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
16571         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
16572         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
16573         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
16574         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
16575         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
16576         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
16577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
16578         Likewise.
16579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16580         Likewise.
16581         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
16582         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
16583         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
16584         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
16585         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
16586         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
16587         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
16588         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
16590 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16592         [BZ #19642]
16593         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
16594         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
16595         (gni_serv_local, gni_serv): New functions extracted from
16596         getnameinfo.
16597         (getnameinfo): Call gni_host and gni_serv to perform the
16598         processing.  Always free scratch buffer.
16600 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16602         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
16603         remaining bytes in the dest string, with zeros.
16605 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16607         [BZ #20010]
16608         CVE-2016-3706
16609         * sysdeps/posix/getaddrinfo.c
16610         (convert_hostent_to_gaih_addrtuple): New function.
16611         (gethosts): Call convert_hostent_to_gaih_addrtuple.
16612         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
16613         AF_INET data.
16615 2016-04-29  Florian Weimer  <fweimer@redhat.com>
16617         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
16618         callback function gl_readdir.
16619         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
16620         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
16621         (glob_in_dir): Remove len.  Use strdup instead of malloc and
16622         memcpy to copy the name.
16623         * manual/pattern.texi (Calling Glob): Document requirements for
16624         implementations of the gl_readdir callback function.
16625         * manual/examples/mkdirent.c: New example.
16626         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
16627         per the manual guidance.
16628         * posix/tst-gnuglob.c (my_readdir): Likewise.
16630 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
16632         [BZ #20014]
16633         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
16634         not [__USE_POSIX].
16635         (getchar_unlocked): Likewise.
16636         (putc_unlocked): Likewise.
16637         (putchar_unlocked): Likewise.
16638         (flockfile): Likewise.
16639         (ftrylockfile): Likewise.
16640         (funlockfile): Likewise.
16641         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
16642         variable.
16643         (test-xfail-XPG4/stdio.h/conform): Likewise.
16645         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
16646         Expect constant.
16647         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
16648         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
16649         variable.
16650         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16651         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16653         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
16654         [__USE_LARGEFILE64] (off64_t): Likewise.
16655         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
16656         variable.
16658 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16660         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
16662 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16664         * resolv/inet_addr.c: Reindent preprocessor conditionals.
16665         * resolv/res_init.c: Likewise.
16666         * resolv/res_mkquery.c: Likewise.
16668 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16670         * resolv/res_init.c (isascii): Do not define.  Use definition in
16671         <ctype.h>.
16672         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
16673         (LOG_AUTH): Remove.
16674         (SPRINTF): Remove, adjust caller.
16675         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
16677 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16679         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
16680         SUNSECURITY conditional.
16681         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
16683 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16685         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
16686         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
16687         Remove BSD-related preprocessor conditionals.
16688         * conf/portability.h: Remove.
16690 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16692         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
16693         * resolv/res_data.c: Likewise.
16695 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16697         * resolv/res_comp.c: Remove code conditional on __ultrix__.
16698         * resolv/res_data.c: Remove code conditional on ultrix.
16700 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16702         * resolv/res_init.c (RFC1535): Do not define.  Remove
16703         RFC1535 preprocessor conditionals.
16704         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
16705         because there configuration options which make the resolver
16706         behavior different.
16708 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16710         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
16711         RESOLVSORT preprocessor conditionals.
16712         * resolv/nss_dns/dns-host.c: Likewise.
16713         * resolv/res_init.c: Likewise.
16715 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16717         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
16718         is never defined.
16720 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16722         * inet/inet_lnaof.c: Remove SCSS keyword.
16723         * inet/inet_mkadr.c: Likewise.
16724         * inet/inet_net.c: Likewise.
16725         * inet/inet_netof.c: Likewise.
16726         * inet/rcmd.c: Likewise.
16727         * inet/rexec.c: Likewise.
16728         * inet/ruserpass.c: Likewise.
16730 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16732         * resolv/inet_addr.c: Remove _LIBC conditionals.
16733         * resolv/res_data.c: Likewise.
16734         * resolv/res_init.c: Likewise.
16735         * resolv/res_mkquery.c: Likewise.
16736         * resolv/res_libc.c: Update comment.
16737         * resolv/README: Update.
16739 2016-04-28  Florian Weimer  <fweimer@redhat.com>
16741         * resolv/gethnamaddr.c: Remove SCSS keyword.
16742         * resolv/herror.c: Likewise.
16743         * resolv/inet_addr.c: Likewise.
16744         * resolv/inet_net_ntop.c: Likewise.
16745         * resolv/inet_net_pton.c: Likewise.
16746         * resolv/inet_neta.c: Likewise.
16747         * resolv/inet_ntop.c: Likewise.
16748         * resolv/inet_pton.c: Likewise.
16749         * resolv/ns_date.c: Remove RCS keyword.
16750         * resolv/ns_name.c: Likewise.
16751         * resolv/ns_netint.c: Likewise.
16752         * resolv/ns_parse.c: Likewise.
16753         * resolv/ns_print.c: Likewise.
16754         * resolv/ns_samedomain.c: Likewise.
16755         * resolv/ns_ttl.c: Likewise.
16756         * resolv/nsap_addr.c: Likewise.
16757         * resolv/res_comp.c: Remove SCSS and RCS keyword.
16758         * resolv/res_data.c: Remove RCS keyword.
16759         * resolv/res_debug.c: Remove SCSS and RCS keyword.
16760         * resolv/res_init.c: Likewise.
16761         * resolv/res_mkquery.c: Likewise.
16762         * resolv/res_query.c: Likewise.
16763         * resolv/res_send.c: Likewise.
16765 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16767         * conform/data/stdio.h-data (fdopen): Expect also for
16768         [XPG3 || XPG4].
16770         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
16771         (fseeko): Likewise.
16772         (ftello): Likewise.
16773         (ftrylockfile): Likewise.
16774         (funlockfile): Likewise.
16775         (getc_unlocked): Likewise.
16776         (getchar_unlocked): Likewise.
16777         (putc_unlocked): Likewise.
16778         (putchar_unlocked): Likewise.
16780 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16782         [BZ #19868]
16783         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
16784         DNS packet syntax checks (which were not needed before).  Skip
16785         over non-PTR records.
16787 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16789         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
16790         definition.  Include <stddef.h> instead.
16792 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16794         [BZ #19831]
16795         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
16796         function.
16797         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
16798         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
16800 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16802         [BZ #19862]
16803         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
16804         (getanswer_r): Do not call syslog.
16805         (gaih_getanswer_slice): Likewise.
16806         * resolv/gethnamaddr.c (AskedForGot): Remove.
16807         (getanswer): Do not call syslog.
16808         (gethostbyaddr): Likewise.
16810 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
16812         * conform/data/signal.h-data (union sigval): Expect also if
16813         [XOPEN2K].
16814         (struct sigevent): Likewise.
16815         (SIGEV_NONE): Likewise.
16816         (SIGEV_SIGNAL): Likewise.
16817         (SIGEV_THREAD): Likewise.
16818         (SIGRTMIN): Likewise.
16819         (SIGRTMAX): Likewise.
16820         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
16821         variable.
16822         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16824 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16826         [BZ #19830]
16827         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
16828         (gaih_getanswer_slice): Likewise.
16829         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
16830         Also check for availability of RR metadata.
16832 2016-04-27  Florian Weimer  <fweimer@redhat.com>
16834         [BZ #19825]
16835         * resolv/res_send.c (send_vc): Remove early *resplen2
16836         initialization.  Set *resplen2 on socket error.  Call
16837         close_and_return_error for other errors.
16839 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
16841         * sysdeps/unix/sysv/linux/netiucv/iucv.h
16842         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
16843         (SCM_IUCV_TRGCLS): New define.
16845 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16847         [BZ #20005]
16848         * libio/fmemopen.c (fmemopen_write): Update internal position after
16849         write.
16850         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
16851         * stdio-common/tst-fmemopen4.c: New file..
16853 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
16855         [BZ #19996]
16856         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
16857         not [__USE_XOPEN2K].
16858         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
16859         variable.
16861         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
16862         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
16863         variable.
16865         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
16866         [__USE_XOPEN2K8].
16867         [__USE_LARGEFILE64] (off64_t): Likewise.
16868         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
16869         variable.
16871 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
16873         [BZ #19989]
16874         * libio/stdio.h (cuserid): Do not declare if
16875         [__USE_XOPEN2K && !__USE_GNU].
16876         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
16877         variable.
16879 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16881         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16882         (sysdep_routines): Add P8 and PPC64 strcspn targets.
16883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16884         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16885         ifunc'ed strcspn.
16886         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
16887         [EALIGN]: Removed.
16888         [END]: Likewise
16889         [STRSPN]: Define instead of the above to control symbol name.
16890         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
16891         New file.
16892         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
16893         Likewise.
16894         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
16895         Likewise.
16896         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
16897         Likewise.
16898         * sysdeps/powerpc/powerpc64/power8/strspn.S:
16899         [INITIAL_MASK]: New macro.
16900         [STRCSPN]: Likewise.
16901         [UPDATE_MASK]: Likewise.
16902         [USE_AS_STRCSPN]: Likewise.
16904 2016-04-25  Florian Weimer  <fweimer@redhat.com>
16906         [BZ #19931]
16907         * stdio-common/tst-vfprintf-width-prec.c: New file.
16908         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
16909         (tests-special): Add tst-vfprintf-width-prec-mem.out.
16910         (generated): Add mtrace-related files.
16911         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
16912         (tst-%-mem.out): New pattern rule, replaces
16913         tst-printf-bz18872-mem.out.
16914         * stdio-common/vfprintf.c (vfprintf): When handling a precision
16915         specifier, deallocate any previously allocated work buffer.
16917 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
16919         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
16920         Add nop before __startcontext, add explaining comments.
16922 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
16924         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
16925         any more. Notably since IPV6_PKTINFO has been reintroduced with a
16926         completely different API.
16928         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
16929         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
16930         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
16931         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
16932         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
16933         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
16934         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
16935         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
16936         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
16937         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
16939 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
16941         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
16943 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
16945         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
16946         when it is the default of 0.
16948 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16950         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
16951         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16952         (sysdep_routines): Add new strcasestr targets.
16953         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16954         (__libc_ifunc_impl_list): Likewise.
16955         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
16956         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
16957         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
16958         * sysdeps/powerpc/powerpc64/power8/Makefile:
16959         New file to add strcasestr-ppc64 to sysdep_routines.
16960         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
16961         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
16963 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
16965         * benchtests/Makefile (wcsmbs-benchset): Include only for
16966         native builds and runs.
16967         (LOCALES): Likewise.
16968         (bench-build): Build timing-type here instead of the bench
16969         target.  Generate locale only for native builds.
16970         * benchtests/README: Add note for cross-building.
16972         * benchtests/Makefile (bench-clean): Clean up extra-objs.
16974         * benchtests/README: Update README to include instructions on
16975         using bench-build.
16977         * Makefile.in (bench-build): New target.
16978         * Rules (PHONY): Add bench-build target.
16979         * benchtests/Makefile (bench): Depend on bench-build.
16980         (bench-build): New target.
16982 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16984         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
16985         profil_reply_port.
16986         (profile_waiter): Do not initialize profil_reply_port.
16987         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
16988         frequency instead of tick length in us.
16990 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
16992         [BZ #18712]
16993         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
16994         (__old_mempcpy_small): Likewise.
16995         (__old_strcpy_small): Likewise.
16996         (__old_stpcpy_small): Likewise.
16997         (__old_strpbrk_c2): Fix compat symbol name.
16998         (__old_strpbrk_c3): Likewise.
16999         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
17000         (__mempcpy_small): Remove.
17001         (__strcpy_small): Remove.
17002         (__stpcpy_small): Remove.
17004 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
17006         [BZ #19400]
17007         * locale/iso-639.def: Add the Talossan/tzl language.
17009 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17011         [BZ #16983]
17012         * locale/programs/ld-address.c (address_finish): Update postal_fmt
17013         comment.  Add "ln" to strchr check on postal_fmt.
17015 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
17017         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
17018         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
17019         tel_dom_fmt.
17021 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17023         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17024         (sysdep_routines): Added __strlen_power8.
17025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
17026         __strlen_power8 entry.
17027         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
17028         Implementation for POWER8.
17029         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
17030         for __strlen_power8.
17031         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
17032         Implementation for POWER8.
17034 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
17036         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
17038 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
17040         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
17041         Goldmont and Airmont processors.
17043 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
17045         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
17046         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
17047         (__STRING2_SMALL_GET32): Remove.
17048         (memset): Remove.
17049         (__memset_1): Remove.
17050         (__memset_gc): Remove.
17051         (__mempcpy): Remove.
17052         (mempcpy): Remove.
17053         (__mempcpy_args): Remove.
17054         (strchr): Remove.
17055         (strcpy): Remove.
17056         (strcpy_args): Remove.
17057         (__stpcpy_args): Remove.
17058         (__strcmp_cc): Remove.
17059         (__strcmp_gc): Remove.
17060         (strstr): Remove.
17062 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
17064         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
17065         * nis/nis_call.c (nis_server_cache_add): Likewise.
17067 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17069         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
17071 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17073         * malloc/arena.c (__malloc_fork_lock_parent)
17074         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
17075         internal_function attribute.
17077 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
17079         * stdio-common/printf_fp.c (__printf_fp_l):
17080         Rename ___printf_fp_l to __printf_fp_l and
17081         remove strong alias. Use libc_hidden_def instead
17082         of ldbl_hidden_def macro.
17084 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17086         Remove malloc hooks from fork handler.  They are no longer needed
17087         because malloc runs right before fork, and no malloc calls from
17088         other fork handlers are not possible anymore.
17089         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
17090         declarations.
17091         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
17092         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
17093         (atfork_recursive_cntr): Remove.
17094         (__malloc_fork_lock_parent): Do not override malloc hooks and
17095         thread_arena.
17096         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
17097         thread_arena.
17098         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
17099         thread_arena instead of save_arena.
17101 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17103         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
17104         (thread_atfork, thread_atfork_static): Remove.
17105         * sysdeps/mach/hurd/malloc-machine.h:
17106         (thread_atfork, thread_atfork_static): Remove.
17108 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17110         [BZ #19431]
17111         Run the malloc fork handler as late as possible to avoid deadlocks.
17112         * malloc/malloc-internal.h: New file.
17113         * malloc/malloc.c: Include it.
17114         * malloc/arena.c (ATFORK_MEM): Remove.
17115         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
17116         Update comment.
17117         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
17118         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
17119         Remove outdated comment.
17120         (ptmalloc_init): Do not call thread_atfork.  Remove
17121         thread_atfork_static.
17122         * malloc/tst-malloc-fork-deadlock.c: New file.
17123         * Makefile (tests): Add tst-malloc-fork-deadlock.
17124         (tst-malloc-fork-deadlock): Link against libpthread.
17125         * manual/memory.texi (Aligned Memory Blocks): Update safety
17126         annotation comments.
17127         * sysdeps/nptl/fork.c (__libc_fork): Call
17128         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17129         __malloc_fork_unlock_child.
17130         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
17132 2016-04-14  Florian Weimer  <fweimer@redhat.com>
17134         [BZ #19613]
17135         Remove union wait.
17136         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
17137         (w_stopsig, w_stopval): Remove.
17138         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
17139         stat_loc argument.
17140         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
17141         (__WAIT_STATUS_DEFN): Remove.
17142         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17143         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
17144         (wait, wait3, wait4): Use int * for the stat_loc argument.
17145         * posix/wait.c (__wait): Likewise.
17146         * posix/wait3.c (__wait3): Likewise.
17147         * posix/wait4.c (__wait4): Likewise.
17148         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
17149         (__WAIT_STATUS_DEFN): Remove.
17150         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
17151         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
17152         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
17153         argument.
17154         * sysdeps/posix/wait.c (__libc_wait): Likewise.
17155         * sysdeps/posix/wait3.c (__wait3): Likewise.
17156         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
17157         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17158         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
17159         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
17160         stat_loc argument.
17161         * manual/process.texi (BSD Wait Functions): Remove union wait.
17163 2016-04-13  Andreas Schwab  <schwab@suse.de>
17165         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
17166         (test-extras): Add tst-tlsalign-vars.
17167         * math/Makefile: Wrap long lines.
17168         (libm-vec-test-wrappers): Define.
17169         (test-extras): Add $(libm-vec-test-wrappers).
17170         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
17171         * nss/Makefile (extra-test-objs): Add nss_test1.os.
17172         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
17173         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
17174         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
17175         (extra-test-objs): Add corresponding objects.
17177 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
17179         [BZ #19928]
17180         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
17181         New.
17182         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
17183         times of shared cache size.
17184         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
17185         (VMOVNT): New.
17186         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
17187         (VMOVNT): Likewise.
17188         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
17189         (VMOVNT): Likewise.
17190         (VMOVU): Changed to movups for smaller code sizes.
17191         (VMOVA): Changed to movaps for smaller code sizes.
17192         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
17193         comments.
17194         (PREFETCH): New.
17195         (PREFETCH_SIZE): Likewise.
17196         (PREFETCHED_LOAD_SIZE): Likewise.
17197         (PREFETCH_ONE_SET): Likewise.
17198         Rewrite to use forward and backward loops, which move 4 vector
17199         registers at a time, to support overlapping addresses and use
17200         non temporal store if size is above the threshold and there is
17201         no overlap between destination and source.
17203 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
17205         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
17206         Include dl-vdso.
17207         * sysdeps/unix/sysv/linux/mips/Versions: Add
17208         __vdso_clock_gettime.
17209         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
17210         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
17211         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
17212         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
17213         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
17214         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
17215         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
17216         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
17217         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
17219 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17221         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
17222         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
17223         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17225         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17226         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17229         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
17230         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
17231         syscalls generation.
17232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17233         [__NR_pwrite64] (__NR_write): Remove define.
17234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17235         [__NR_pwrite64] (__NR_write): Remove define.
17236         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
17237         Remove define.
17238         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
17239         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
17240         Remove define.
17241         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
17242         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
17243         Linux implementation as base.
17244         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17246         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
17247         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
17248         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17249         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
17251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17252         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
17253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
17254         syscall generation.
17255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17256         [__NR_pread64] (__NR_pread): Remove define.
17257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17258         [__NR_pread64] (__NR_pread): Likewise.
17259         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
17260         define.
17261         (__libc_pread): Use SYSCALL_LL macro on offset argument.
17262         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
17263         Remove define.
17264         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
17265         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
17266         Linux implementation as base.
17267         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17268         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17269         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17271         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
17272         definition.
17273         (__ALIGNMENT_COUNT): Likewise.
17274         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
17275         (__ALIGNMENT_COUNT): Likewise.
17276         (SYSCALL_LL): New define.
17277         (SYSCALL_LL64): Likewise.
17278         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
17279         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
17280         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
17281         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
17283         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17284         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
17285         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17286         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17287         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17288         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
17290 2016-04-11  Florian Weimer  <fweimer@redhat.com>
17292         [BZ #19865]
17293         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
17294         original buffer before retry.
17296 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17298         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
17299         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
17300         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
17301         GLRO(dl_auxv) list.
17302         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
17303         including <ldsodefs.h>.
17304         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
17306 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
17308         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
17309         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
17310         $(CPPFLAGS).
17312 2016-04-09  Khem Raj  <raj.khem@gmail.com>
17314         [BZ #17950]
17315         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
17316         Add -mfpmath=387.
17318 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
17320         * sysdeps/i386/configure.ac: Change == to = when calling test.
17321         * sysdeps/x86_64/configure.ac: Likewise.
17322         * sysdeps/i386/configure: Regenerated.
17323         * sysdeps/x86_64/configure: Likewise.
17325 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
17327         [BZ #16137]
17328         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
17329         * benchtests/bench-strcoll.c (input_files): Likewise.
17330         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17331         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
17332         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
17334 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
17336         [BZ #19929]
17337         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
17338         [__USE_XOPEN2K8 && !__USE_GNU].
17339         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
17340         variable.
17342         [BZ #19925]
17343         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
17344         define if [!__USE_MISC && __USE_XOPEN2K].
17345         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
17346         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
17347         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
17348         Likewise.
17349         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
17350         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
17351         variable.
17352         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17354 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17356         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
17357         (sysdep_routines): Add new strspn targets.
17358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17359         (__libc_ifunc_impl_list): Add strspn.
17360         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
17361         New file.
17362         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
17363         Likewise.
17364         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
17365         Likewise.
17366         * sysdeps/powerpc/powerpc64/power8/strspn.S:
17367         Likewise.
17369 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17371         * misc/hsearch_r.c: Include <limits.h>.
17373 2016-04-07  Florian Weimer  <fweimer@redhat.com>
17375         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
17377 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17379         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17380         (MEMCPY_SYMBOL): New.
17381         (MEMPCPY_SYMBOL): Likewise.
17382         (MEMMOVE_CHK_SYMBOL): Likewise.
17383         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
17384         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
17385         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
17386         Provide alias for memcpy in libc.a and ld.so.
17388 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17390         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17391         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
17392         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
17393         Disabled fro now.
17394         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
17395         symbols.  Properly check USE_MULTIARCH on __memset symbols.
17397 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
17399         * benchtests/Makefile (string-benchset): Add memcpy-large,
17400         memmove-large and memset-large.
17401         * benchtests/bench-memcpy-large.c: New file.
17402         * benchtests/bench-memmove-large.c: Likewise.
17403         * benchtests/bench-memmove-large.c: Likewise.
17404         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
17406 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17408         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
17409         32-bit displacement to avoid long nop between instructions.
17411 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
17413         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
17414         a comment on VMOVU and VMOVA.
17416 2016-04-04  Florian Weimer  <fweimer@redhat.com>
17418         [BZ #19633]
17419         Use specified locale for number formatting in strfmon_l.
17420         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
17421         (__nl_lookup_word): New inline functions.
17422         * include/printf.h (__print_fp_l): Declare.
17423         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
17424         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
17425         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
17426         (___printf_fp): New function.
17427         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
17428         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
17429         * stdlib/tst-strfmon_l.c (do_test): New test.
17430         * stdlib/Makefile (tests): Add kt.
17431         (LOCALES): Build additional locales.
17432         (tst-strfmon_l.out): Require locales.
17434 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17436         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
17437         if not in libc.
17438         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17439         Likewise.
17440         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
17441         Likewise.
17442         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17443         Likewise.
17445 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
17447         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17448         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
17449         with unaligned_erms.
17450         (__memmove_erms): Skip if source == destination.
17451         (__memmove_unaligned_erms): Don't check source == destination
17452         first.
17454 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17456         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
17457         bit_arch_Fast_Copy_Backward for Intel Core proessors.
17459 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17461         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
17462         * string/strspn.c (strspn): Likewise.
17464 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17466         * benchtests/bench-memset.c (do_test): Support 64-byte
17467         alignment.
17468         (test_main): Test 64-byte alignment.
17470 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17472         * benchtests/bench-memmove.c (test_main): Test 64-byte
17473         alignment.
17475 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
17477         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
17479 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17481         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
17482         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
17483         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
17485         * string/strpbrk.c (strpbrk): Rewrite function.
17486         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
17487         (__strpbrk_c2): Likewise.
17488         (__strpbrk_c3): Likewise.
17489         * string/string-inlines.c
17490         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
17491         Likewise.
17492         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
17493         Likewise.
17495         * string/strspn.c (strcspn): Rewrite function.
17496         * string/bits/string2.h (strspn): Use __builtin_strcspn.
17497         (__strspn_c1): Remove inline function.
17498         (__strspn_c2): Likewise.
17499         (__strspn_c3): Likewise.
17500         * string/string-inlines.c
17501         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
17502         compatibility symbol.
17503         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
17504         Likewise.
17505         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
17506         Likewise.
17507         * string/string-inlines.c: Include generic version.
17509 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
17510             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17512         * string/Version (libc): Add GLIBC_2.24.
17513         * string/strcspn.c (strcspn): Rewrite function.
17514         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
17515         (__strcspn_c1): Remove inline function.
17516         (__strcspn_c2): Likewise.
17517         (__strcspn_c3): Likewise.
17518         * string/string-inline.c
17519         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
17520         compatibility symbol.
17521         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
17522         Likewise.
17523         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
17524         Likewise.
17525         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
17527 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
17529         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
17530         Use ahi instead of aghi to adjust stack pointer.
17532 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17534         [BZ #19853]
17535         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
17536         TEST to take significant digits as second parameter.
17537         [TEST]: Redefine in terms of TEST_N taking 30
17538         significant digits.
17539         (do_test): Add test case to demonstrate precision
17540         failure in the ldbl-128ibm printf.
17541         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
17542         (__mpn_extract_long_double): Carry 7 extra intermediate
17543         bits of precision to aide computing difference when
17544         signs differ.
17546 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17548         [BZ #19881]
17549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17550         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
17551         memset-avx512-unaligned-erms.
17552         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17553         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
17554         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
17555         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
17556         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
17557         __memset_sse2_unaligned_erms, __memset_erms,
17558         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
17559         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17560         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
17561         file.
17562         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
17563         Likewise.
17564         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
17565         Likewise.
17566         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
17567         Likewise.
17569 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
17571         [BZ #19776]
17572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17573         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
17574         memmove-avx512-unaligned-erms.
17575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17576         (__libc_ifunc_impl_list): Test
17577         __memmove_chk_avx512_unaligned_2,
17578         __memmove_chk_avx512_unaligned_erms,
17579         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
17580         __memmove_chk_sse2_unaligned_2,
17581         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
17582         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
17583         __memmove_avx512_unaligned_erms, __memmove_erms,
17584         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
17585         __memcpy_chk_avx512_unaligned_2,
17586         __memcpy_chk_avx512_unaligned_erms,
17587         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
17588         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
17589         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
17590         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
17591         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
17592         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
17593         __mempcpy_chk_avx512_unaligned_erms,
17594         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
17595         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
17596         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
17597         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
17598         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
17599         __mempcpy_erms.
17600         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
17601         file.
17602         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
17603         Likewise.
17604         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17605         Likewise.
17606         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
17607         Likewise.
17609 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17611         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
17612         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
17613         (La_s390_64_regs): Likewise.
17614         (La_s390_32_retval): Append vector register lrv_v24.
17615         (La_s390_64_retval): Likeweise.
17616         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
17617         Handle extended structs La_s390_32_regs and La_s390_32_retval.
17618         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
17619         Handle extended structs La_s390_64_regs and La_s390_64_retval.
17621 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17623         [BZ #19916]
17624         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
17625         to create a non-vector/vector version for _dl_runtime_resolve and
17626         _dl_runtime_profile. Move implementation to ...
17627         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
17628         (_dl_runtime_resolve) Save and restore fpr/vrs.
17629         (_dl_runtime_profile) Save and restore vrs and fix some issues
17630         if _dl_call_pltexit is called.
17631         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
17632         Choose the correct resolver function if running on a machine with vx.
17633         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
17634         to create a non-vector/vector version for _dl_runtime_resolve and
17635         _dl_runtime_profile. Move implementation to ...
17636         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
17637         (_dl_runtime_resolve) Save and restore fpr/vrs.
17638         (_dl_runtime_profile) Save and restore vrs and fix some issues
17639         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
17640         Choose the correct resolver function if running on a machine with vx.
17642 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17644         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
17646 2016-03-31  Florian Weimer  <fweimer@redhat.com>
17648         [BZ #19509]
17649         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
17650         skip_map != NULL.
17651         * elf/tst-dlsym-error.c: New file.
17652         * elf/Makefile (tests): Add tst-dlsym-error.
17653         (tst-dlsym-error): Link against libdl.
17655 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
17657         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17658         (__ASSUME_FUTIMESAT): Remove macro.
17659         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
17661 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17663         [BZ #19879]
17664         CVE-2016-3075
17665         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
17666         copy name.
17668 2016-03-29  Florian Weimer  <fweimer@redhat.com>
17670         [BZ #19837]
17671         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
17672         error if parse_line fails.
17674 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17676         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
17677         (index_cpu_ERMS): Likewise.
17678         (reg_ERMS): Likewise.
17680 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
17682         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
17683         PER_LINUX_FDPIC): Add.
17685 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17688         memcpy-avx512-no-vzeroupper.
17689         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
17690         to ...
17691         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
17692         (MEMCPY): Don't define.
17693         (MEMCPY_CHK): Likewise.
17694         (MEMPCPY): Likewise.
17695         (MEMPCPY_CHK): Likewise.
17696         (MEMPCPY_CHK): Renamed to ...
17697         (__mempcpy_chk_avx512_no_vzeroupper): This.
17698         (MEMPCPY_CHK): Renamed to ...
17699         (__mempcpy_chk_avx512_no_vzeroupper): This.
17700         (MEMCPY_CHK): Renamed to ...
17701         (__memmove_chk_avx512_no_vzeroupper): This.
17702         (MEMCPY): Renamed to ...
17703         (__memmove_avx512_no_vzeroupper): This.
17704         (__memcpy_avx512_no_vzeroupper): New alias.
17705         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
17707 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17709         [BZ #18858]
17710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17711         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
17712         and mempcpy-avx512-no-vzeroupper.
17713         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
17714         New.
17715         (MEMPCPY): Likewise.
17716         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
17717         (MEMPCPY_CHK): New.
17718         (MEMPCPY): Likewise.
17719         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
17720         (MEMPCPY): Likewise.
17721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
17722         (MEMPCPY): Likewise.
17723         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
17724         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
17725         Likewise.
17726         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
17727         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
17729 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
17730              Amit Pawar  <Amit.Pawar@amd.com>
17732         [BZ #19583]
17733         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
17734         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
17735         processors.  Set Fast_Copy_Backward for AMD Excavator
17736         processors.
17737         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
17738         New.
17739         (index_arch_Fast_Unaligned_Copy): Likewise.
17740         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
17741         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
17743 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17745         [BZ #19791]
17746         * resolv/res_send.c (close_and_return_error): New function.
17747         (send_dg): Initialize *resplen2 after reopen failure.  Call
17748         close_and_return_error for error returns.  On error paths without
17749         __res_iclose, initialze *resplen2 explicitly.  Update comment for
17750         successful return.
17752 2016-03-25  Florian Weimer  <fweimer@redhat.com>
17754         [BZ #19860]
17755         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
17756         zero if the compiler does not provide the AVX512F bit.
17758 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
17760         [BZ #19848]
17761         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
17762         from 8 to 4.
17763         (__ieee754_powl): Compare integer exponent against 4 not 8.
17764         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
17765         from 8 to 4.
17766         (__ieee754_powl): Compare integer exponent against 4 not 8.
17767         * math/auto-libm-test-in: Add more tests of pow.
17768         * math/auto-libm-test-out: Regenerated.
17769         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
17770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17772 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17774         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
17775         Make code unconditional.
17776         [!__NR_utimensat]: Remove conditional code.
17777         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
17778         Make code unconditional.
17779         [!__NR_utimensat]: Remove conditional code.
17780         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
17781         Make code unconditional.
17782         [!__NR_utimensat]: Remove conditional code.
17784 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
17786         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
17787         Make code unconditional.
17789 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
17791         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
17792         call-clobbered %eax on retry path.
17793         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
17795 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17797         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
17798         Don't set %rcx twice before "rep movsb".
17800 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
17802         [BZ #19583]
17803         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
17804         inline.  Check family before setting family, model and
17805         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
17806         bits here.
17807         (init_cpu_features): Replace HAS_CPU_FEATURE and
17808         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
17809         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
17810         for Intel processors with usable AVX2.  Call get_common_indeces
17811         for other processors with family == NULL.
17812         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
17813         (CPU_FEATURES_ARCH_P): Likewise.
17814         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
17815         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
17817 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17819         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
17820         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
17821         $(shared-thread-library) instead of hardcoding the path to libpthread.
17823 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
17825         * sysdeps/unix/sysv/linux/kernel-features.h
17826         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
17827         * sysdeps/unix/sysv/linux/getdents.c
17828         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
17829         [!have_no_getdents64_defined]: Likewise.
17830         (__GETDENTS): Remove __have_no_getdents64 conditional.
17832 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
17834         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
17835         Remove macro.
17836         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
17837         <kernel-features.h>.
17838         (signalfd) [__NR_signalfd4]: Make code unconditional.
17839         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
17841 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17843         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
17844         style.
17846 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
17848         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
17849         (__pthread_enable_asynccancel): Use JUMPTARGET to call
17850         __pthread_unwind.
17851         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
17852         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
17853         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
17854         (__condvar_cleanup1): Likewise.
17856 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
17858         [BZ #19822]
17859         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
17860         move it to the final $@ location.
17862 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17864         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
17865         access where posix_spawn success and pid argument is null.
17866         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
17867         success case.
17869 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
17871         * sysdeps/mach/hurd/i386/c++-types.data: New file.
17873         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
17875         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
17876         and __fcntl.
17877         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
17878         __fcntl only.
17879         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
17880         adding attribute_hidden to __open and __fcntl.
17882         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
17883         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
17884         depend on libc-modules.h,
17885         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
17887 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
17889         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
17890         Remove macro.
17891         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
17892         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
17893         entry.
17895         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
17896         Remove macro.
17897         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
17898         include <kernel-features.h>.
17899         [!__ASSUME_FALLOCATE]: Remove conditional code.
17900         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
17902 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17904         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
17905         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
17906         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
17907         (_ZGVdN4v_cos_avx2): Likewise.
17908         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
17909         (_ZGVdN4v_cos): Likewise.
17910         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
17911         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
17912         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
17913         (_ZGVdN4v_exp_avx2): Likewise.
17914         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
17915         (_ZGVdN4v_exp): Likewise.
17916         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
17917         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
17918         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
17919         (_ZGVdN4v_log_avx2): Likewise.
17920         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
17921         (_ZGVdN4v_log): Likewise.
17922         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
17923         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
17924         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
17925         (_ZGVdN4vv_pow_avx2): Likewise.
17926         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
17927         (_ZGVdN4vv_pow): Likewise.
17928         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
17929         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
17930         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
17931         (_ZGVdN4v_sin_avx2): Likewise.
17932         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
17933         (_ZGVdN4v_sin): Likewise.
17934         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
17935         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
17936         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
17937         (_ZGVdN4vvv_sincos_avx2): Likewise.
17938         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
17939         (_ZGVdN4vvv_sincos): Likewise.
17940         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
17941         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
17942         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
17943         (_ZGVbN4v_cosf_sse4): Likewise.
17944         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
17945         (_ZGVdN8v_cosf_avx2): Likewise.
17946         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
17947         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
17948         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
17949         (_ZGVbN4v_expf_sse4): Likewise.
17950         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
17951         (_ZGVdN8v_expf_avx2): Likewise.
17952         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
17953         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
17954         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
17955         (_ZGVbN4v_logf_sse4): Likewise.
17956         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
17957         (_ZGVdN8v_logf_avx2): Likewise.
17958         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
17959         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
17960         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
17961         (_ZGVbN4vv_powf_sse4): Likewise.
17962         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
17963         (_ZGVdN8vv_powf_avx2): Likewise.
17964         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17965         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
17966         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17967         (_ZGVbN4vvv_sincosf_sse4): Likewise.
17968         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17969         (_ZGVdN8vvv_sincosf_avx2): Likewise.
17970         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
17971         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
17972         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
17973         (_ZGVbN4v_sinf_sse4): Likewise.
17974         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
17975         (_ZGVdN8v_sinf_avx2): Likewise.
17976         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17977         Use JUMPTARGET to call callee.
17978         (WRAPPER_IMPL_SSE2_ff): Likewise.
17979         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17980         (WRAPPER_IMPL_AVX): Likewise.
17981         (WRAPPER_IMPL_AVX_ff): Likewise.
17982         (WRAPPER_IMPL_AVX_fFF): Likewise.
17983         (WRAPPER_IMPL_AVX512): Likewise.
17984         (WRAPPER_IMPL_AVX512_ff): Likewise.
17985         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
17986         Likewise.
17987         (WRAPPER_IMPL_SSE2_ff): Likewise.
17988         (WRAPPER_IMPL_SSE2_fFF): Likewise.
17989         (WRAPPER_IMPL_AVX): Likewise.
17990         (WRAPPER_IMPL_AVX_ff): Likewise.
17991         (WRAPPER_IMPL_AVX_fFF): Likewise.
17992         (WRAPPER_IMPL_AVX512): Likewise.
17993         (WRAPPER_IMPL_AVX512_ff): Likewise.
17994         (WRAPPER_IMPL_AVX512_fFF): Likewise.
17996 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17998         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
17999         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
18000         qualifier.
18001         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
18002         internal_function qualifiers.
18004 2016-03-15  Carlos O'Donell <carlos@redhat.com>
18006         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
18007         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
18008         * math/atest-exp.c (exp_mpn): Mark chk unused.
18009         * math/atest-exp2.c (exp_mpn): Likewise.
18010         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
18011         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
18013 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
18015         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
18016         Remove macro.
18017         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
18018         <kernel-features.h>.
18019         [__NR_ppoll]: Make code unconditional.
18020         [!__ASSUME_PPOLL]: Remove conditional code.
18022         * sysdeps/unix/sysv/linux/kernel-features.h
18023         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
18024         (__ASSUME_ACCEPT4): Likewise.
18025         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18026         Define.
18027         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
18028         Likewise.
18029         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18030         Likewise.
18031         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
18032         Likewise.
18033         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
18034         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
18035         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18036         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18037         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18038         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18040         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18041         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18042         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18043         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18044         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18045         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18046         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18047         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18048         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18049         Likewise.
18050         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18051         Likewise.
18052         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18053         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18054         0x040300].
18055         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18056         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
18057         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18058         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18059         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18060         0x030300].
18061         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
18062         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18063         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18064         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18065         0x040300].
18066         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18067         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18068         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18069         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18070         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18071         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18072         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
18073         0x030300].
18074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18075         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18076         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18077         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18078         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18079         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18080         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18081         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18082         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18083         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
18084         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
18085         0x040300].
18086         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18087         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18088         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18089         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
18090         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18092         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18093         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18094         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18095         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18096         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18097         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18098         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18099         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
18100         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
18101         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18102         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18103         Likewise.
18104         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18105         Likewise.
18107 2016-03-15  Andreas Schwab  <schwab@suse.de>
18109         [BZ #19257]
18110         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
18111         statp->_u._ext.nscount as loop count.
18113 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
18115         * math/test-signgam-finite-c99.c: Also #undef
18116         __LIBC_INTERNAL_MATH_INLINES.
18117         * math/test-signgam-main.c: Likewise.
18119 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
18121         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
18122         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18123         (MADV_FREE): Likewise.
18124         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
18125         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
18126         EPOLLEXCLUSIVE.
18128 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
18130         * timezone/README: Remove mention of checktab.awk. Mention wiki
18131         SharedSourceFiles.
18133 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
18135         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
18136         WUNTRACED.
18138 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18140         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
18141         order to match the type of p when calling atomic_exchange_acq().
18143 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18145         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
18146         cfi_offset calls.
18147         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
18148         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
18149         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
18150         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
18151         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
18153 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
18155         * timezone/checktab.awk: Removed.
18157 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
18159         * manual/math.texi (Errors in Math Functions): Document relaxed
18160         accuracy goals for IBM long double.
18161         * math/libm-test.inc (test_exceptions): Always allow spurious
18162         "underflow" and "inexact" exceptions for IBM long double.
18164 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
18166         [BZ #19762]
18167         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18168         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
18169         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
18170         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
18171         (bit_arch_*): This for feature array.
18172         (bit_*): Renamed to ...
18173         (bit_cpu_*): This for cpu array.
18174         (index_*): Renamed to ...
18175         (index_arch_*): This for feature array.
18176         (index_*): Renamed to ...
18177         (index_cpu_*): This for cpu array.
18178         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
18179         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
18180         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
18181         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
18182         bit_##name with index_cpu_##name and bit_cpu_##name.
18183         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
18184         bit_##name with index_arch_##name and bit_arch_##name.
18186 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
18188         [BZ #19792]
18189         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
18190         Terminate FDE before return label.
18192 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
18194         [BZ #19790]
18195         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
18196         (rintl): Define as macro.
18197         [USE_AS_NEARBYINTL] (__rintl): Likewise.
18198         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
18199         of fesetround.  Ensure results are evaluated before end of scope.
18200         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
18201         USE_AS_NEARBYINTL and include s_rintl.c.
18202         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
18203         Disable exception traps in new environment.
18204         (libc_feholdsetround_ppc_ctx): Likewise.
18206 2016-03-08  Roland McGrath  <roland@hack.frob.com>
18208         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
18209         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
18210         (tst_audit10_aux) [__AVX512F__]: ... here.
18212 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
18214         * include/sys/auxv.h: New file.
18216 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18218         [BZ #19759]
18219         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
18221 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
18223         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
18224         operand modifier.
18225         (feclearexcept): Likewise.
18227 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18229         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
18230         to reflect the entire 32-bit HWCAP.
18231         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
18232         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
18234 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
18236         [BZ #19783]
18237         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
18238         $(test-via-rtld-prefix).
18239         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
18241 2016-03-08  Florian Weimer  <fweimer@redhat.com>
18243         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
18244         union wait.  Report any non-zero exit status as error.
18246 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18248         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
18249         configured with --enable-hardcoded-path-in-tests.
18251 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
18253         [BZ #19677]
18254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18255         (__ieee754_remainderl): Put zero low parts in canonical form.
18256         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
18257         file.  Based on
18258         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
18259         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
18260         with wrapper round test-fmodrem-ldbl-128ibm.c.
18261         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
18262         file.
18263         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
18264         Likewise.
18265         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
18266         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
18268 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18270         [BZ #19610]
18271         * elf/ldconfig.c (opt_link): Update comment.
18272         (options): Update help string for option -X.
18273         (search_dir): Unlink stale symbolic link only if updating symbolic
18274         links.
18275         * elf/tst-ldconfig-X.sh: New file.
18276         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
18277         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
18279 2016-03-07  Andreas Schwab  <schwab@suse.de>
18281         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
18282         needed arguments.
18284 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
18286         [BZ #15333]
18287         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
18288         to lstat64.
18290 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18292         * libio/filedoalloc.c (isatty): Remove.
18293         (local_isatty): Add comment.  Call __isatty directly.
18294         (_IO_file_doallocate): Update comment.  Assume _LIBC.
18295         * libio/wfiledoalloc.c (isatty): Remove.
18296         (_IO_wfile_doallocate): Update comment.
18298 2016-03-07  Florian Weimer  <fweimer@redhat.com>
18300         [BZ #19269]
18301         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
18302         tst-audit4-aux.o.
18303         (tst-audit10): Depend on tst-audit10-aux.o.
18304         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
18305         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
18306         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
18307         instead of inline AVX code.
18308         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
18309         instead of inline AVX512 code.
18310         * sysdeps/x86_64/tst-audit4-aux.c: New file
18311         * sysdeps/x86_64/tst-audit10-aux.c: New file
18313         [BZ #19648]
18314         * test-skeleton.c (main): Do not set RLIMIT_DATA.
18316 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18318         [BZ #14750]
18319         [BZ #10354]
18320         [BZ #18433]
18321         * include/sched.h (__clone): Add hidden prototype.
18322         (__clone2): Likewise.
18323         * include/unistd.h (__dup): Likewise.
18324         * posix/Makefile (tests): Add tst-spawn2.
18325         * posix/tst-spawn2.c: New file.
18326         * sysdeps/posix/dup.c (__dup): Add hidden definition.
18327         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
18328         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
18329         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
18330         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
18331         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
18332         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
18333         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
18334         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
18335         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
18336         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
18337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
18338         Likewise.
18339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18340         Likewise.
18341         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
18342         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
18343         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
18344         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
18345         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
18346         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
18347         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
18348         * sysdeps/unix/sysv/linux/nptl-signals.h
18349         (____nptl_is_internal_signal): New function.
18350         * sysdeps/unix/sysv/linux/spawni.c: New file.
18352         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
18353         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
18354         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
18355         * posix/tst-execvp2.c (do_test): Likewise.
18356         * posix/tst-execvp3.c (do_test): Likewise.
18357         * posix/tst-execvp4.c (do_test): Likewise.
18358         * posix/tst-execvpe1.c: New file.
18359         * posix/tst-execvpe2.c: Likewise.
18360         * posix/tst-execvpe3.c: Likewise.
18361         * posix/tst-execvpe4.c: Likewise.
18362         * posix/tst-execvpe5.c: Likewise.
18363         * posix/tst-execvpe6.c: Likewise.
18365         [BZ #19534]
18366         * posix/execl.c (execl): Remove dynamic memory allocation.
18367         * posix/execle.c (execle): Likewise.
18368         * posix/execlp.c (execlp): Likewise.
18370 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18372         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
18373         Replace .text with .text.avx512.
18374         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18375         Likewise.
18377 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
18379         * sysdeps/generic/libnsl.abilist: New file.
18380         * sysdeps/generic/libutil.abilist: New file.
18382 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18384         [BZ #19762]
18385         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
18386         HAS_ARCH_FEATURE with Fast_Rep_String.
18387         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
18388         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
18389         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
18390         Likewise.
18391         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
18392         Likewise.
18393         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
18394         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
18395         Likewise.
18396         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
18397         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
18398         Likewise.
18400 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18402         [BZ #19745]
18403         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
18404         with *%rax in call.
18406 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18408         [BZ #19745]
18409         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
18410         with *__libc_start_main@GOTPCREL(%rip) in call.
18412 2016-03-04  Roland McGrath  <roland@hack.frob.com>
18414         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
18415         inside conditional for nonempty $(CXX).
18417         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
18418         nonempty.
18420         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
18421         to test for empty $(CXX) rather than $(CXX) of "no".
18423 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
18425         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
18427 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
18428             H.J. Lu  <hongjiu.lu@intel.com>
18430         [BZ #18880]
18431         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
18432         instead of Slow_BSF, and also check for Fast_Copy_Backward to
18433         enable __memcpy_ssse3_back.
18435 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18437         [BZ #19758]
18438         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
18439         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
18441 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
18443         [BZ #19490]
18444         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
18445         (__fentry__): Likewise.
18447 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
18449         * gmon/Makefile (noprof): Add $(sysdep_noprof).
18450         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
18452 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18454         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
18455         __mcount_internal directly.
18456         (C_LABEL(__fentry__)): Likewise.
18457         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
18458         directly.
18460 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
18462         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18463         (__start_context): Call __setcontext directly.
18465 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
18467         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18468         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18469         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
18470         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18471         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18472         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18473         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
18474         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18475         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18476         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
18477         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18478         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18479         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18480         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18481         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18482         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18483         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
18484         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18485         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18486         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
18487         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
18488         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18489         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18490         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
18491         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
18492         Remove conditional code.
18493         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18494         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
18495         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18496         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18497         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
18498         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18499         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
18500         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
18501         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
18502         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18503         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18504         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
18506 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
18508         * NEWS (2.23): Fix typo in bug 19048 text.
18510 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
18512         [BZ #14259]
18513         * Makeconfig: Rename msgcatdir to localedir.
18514         Rename inst_msgcatdir to inst_localedir.
18515         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
18516         * config.make.in: Add localedir.
18517         * elf/Makefile ($(objpfx)sotruss): Use localedir.
18518         (ldd-rewrite): Likewise.
18519         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
18520         (install-others): Use inst_localedir.
18521         (CPPFLAGS): Use localedir.
18522         * locale/Makefile (locale-CPPFLAGS): Likewise.
18523         * po/Makefile (mo-installed): Use inst_localedir.
18525         [BZ #19575]
18526         * localedata/charmaps/GB18030: Update comments regarding PAU to
18527         non-PUA mappings.
18529 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
18531         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
18532         test for header.
18533         * sysdeps/unix/sysv/linux/configure: Regenerated.
18534         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
18535         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
18536         Remove conditional code.
18537         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
18539         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
18540         Define to 3.2.0.
18541         (arch_minimum_kernel): Likewise.
18542         * sysdeps/unix/sysv/linux/configure: Regenerated.
18543         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
18544         Define to 2.6.32.
18545         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
18546         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
18547         (arch_minimum_kernel): Define to 2.6.32.
18548         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
18549         * README: Document Linux 3.2 requirement.
18550         * manual/install.texi (Linux): Document Linux 3.2 headers
18551         requirement.
18552         * INSTALL: Regenerated.
18554 2016-02-24  Andreas Schwab  <schwab@suse.de>
18556         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
18557         if !NO_LONG_DOUBLE.
18559 2016-02-22  Roland McGrath  <roland@hack.frob.com>
18561         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
18562         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
18564 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
18566         [BZ #19512]
18567         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
18569 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18571         * posix/tst-dir.c: Include libc-internal.h.
18573 2016-02-20  Florian Weimer  <fweimer@redhat.com>
18575         [BZ #19056]
18576         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
18577         * manual/filesys.texi (Reading/Closing Directory): Mention
18578         deprecaion.
18579         * posix/tst-dir.c (main): Disable deprecation warning in test.
18581 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
18583         [BZ #19679]
18584         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
18585         Renamed to ...
18586         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
18587         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18588         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
18589         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18590         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18591         * sysdeps/x86_64/dl-trampoline.h
18592         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
18593         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
18595 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18597         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
18599 2016-02-19  Mark Wielaard  <mjw@redhat.com>
18601         * elf/elf.h (R_386_GOT32X): New.
18602         (R_386_NUM): Update.
18603         (R_X86_64_GOTPCRELX: New.
18604         (R_X86_64_REX_GOTPCRELX): New.
18605         (R_X86_64_NUM): Update.
18607 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
18609         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
18611 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
18613         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
18614         assign attr->stackaddr to it, and adjust it down when
18615         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
18616         [_STACK_GROWS_UP]: Delete assert.
18617         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
18618         Implement stack grows up logic.
18619         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
18620         stack grows up logic.
18622 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18624         * NEWS: Update with 2.24 template.
18626 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18628         [BZ #19678]
18629         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18630         Ensure +0.0 is returned when taking the next value below the least
18631         positive value.
18633 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18635         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
18636         available.  Do not define NO_THREADS.
18637         * malloc/malloc.c: Do not check NO_THREADS.
18638         * malloc/arena.c: Likewise.
18640 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18642         * malloc/malloc.c (__libc_mallinfo): Update comment.
18643         (struct malloc_par): Remove max_total_mem member, it was always 0.
18644         (int_mallinfo): Store 0 into usmblks (no functional change).
18645         * malloc/hooks.c (struct malloc_state): Document that
18646         max_total_mem is always 0.
18647         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
18648         always 0.
18649         * manual/memory.texi (Statistics of Malloc): Likewise.
18651 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18653         * malloc/malloc.c (sysmalloc): Do not update arena_max.
18654         * malloc/arena.c (arena_max): Remove.
18655         (heap_trim, _int_new_arena): Do not update arena_max.
18657 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18659         * resolv/res_init.c (res_ninit): Update comment.
18661 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18663         [BZ #19505]
18664         * posix/spawn_int.h: Add headers and include guard.
18665         (__spawn_valid_fd): New function.
18666         * posix/spawn_faction_addopen.c
18667         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
18668         * posix/spawn_faction_addclose.c
18669         (posix_spawn_file_actions_addclose): Likewise.
18670         * posix/spawn_faction_adddup2.c
18671         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
18672         second file descriptor.
18673         * posix/spawn_valid_fd.c: New file.
18674         * posix/tst-posix_spawn-fd.c: New file.
18675         * posix/Makefile (routines): Add spawn_valid_fd.
18676         (tests): Add tst-posix_spawn-fd.
18678 2016-02-19  Florian Weimer  <fweimer@redhat.com>
18680         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
18681         (do_test): Limit the number of arenas, so that we can use fewer
18682         outer threads.  Limit timeout to 3 seconds, in preparation for a
18683         larger TIMEOUT value.
18685 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
18687         [BZ #19674]
18688         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
18689         sign in overflowing and underflowing results when overflow or
18690         underflow is detected early.  Include sign in result before rather
18691         than after scaling.
18693         [BZ #19603]
18694         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
18695         (__ieee754_remainderl): Adjust sign of integer version of low part
18696         when taking absolute value of high part.
18697         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18698         * math/libm-test.inc (remainder_test_data): Add another test.
18699         (remquo_test_data): Likewise.
18701 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
18703         [BZ #19602]
18704         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
18705         equal high parts and both low parts zero specially.
18706         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
18707         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
18708         Add test-fmodl-ldbl-128ibm.
18710         [BZ #19595]
18711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
18712         common logic for all cases of shifting subnormal results.  Do not
18713         insert sign bit in shifted mantissa.  Always pass -1023 as biased
18714         exponent to ldbl_insert_mantissa in subnormal case.
18716         [BZ #19594]
18717         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
18718         on high and low parts then adjust result and use
18719         ldbl_canonicalize_int if needed.
18721         [BZ #19593]
18722         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
18723         on high part and __floor or __ceil on low part then use
18724         ldbl_canonicalize_int if needed.
18726         [BZ #19592]
18727         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
18728         high and low parts then use ldbl_canonicalize_int if needed.
18730         [BZ #17899]
18731         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
18732         New function.
18733         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
18734         on high and low parts then use ldbl_canonicalize_int if needed.
18736 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18738         * configure: Regenerated.
18740         * po/libc.pot: Regenerated.
18742         * po/be.po: Updated translation.
18743         * po/bg.po: Likewise.
18744         * po/ca.po: Likewise.
18745         * po/cs.po: Likewise.
18746         * po/da.po: Likewise.
18747         * po/el.po: Likewise.
18748         * po/eo.po: Likewise.
18749         * po/es.po: Likewise.
18750         * po/fi.po: Likewise.
18751         * po/fr.po: Likewise.
18752         * po/gl.po: Likewise.
18753         * po/hr.po: Likewise.
18754         * po/hu.po: Likewise.
18755         * po/ia.po: Likewise.
18756         * po/id.po: Likewise.
18757         * po/it.po: Likewise.
18758         * po/ja.po: Likewise.
18759         * po/lt.po: Likewise.
18760         * po/nb.po: Likewise.
18761         * po/nl.po: Likewise.
18762         * po/pt_BR.po: Likewise.
18763         * po/rw.po: Likewise.
18764         * po/sk.po: Likewise.
18765         * po/sl.po: Likewise.
18766         * po/sv.po: Likewise.
18767         * po/tr.po: Likewise.
18768         * po/zh_CN.po: Likewise.
18769         * po/zh_TW.po: Likewise.
18771         * version.h (RELEAES): Set to "development".
18772         (VERSION): Set to 2.23.90.
18774         * version.h (RELEASE): Set to "stable".
18775         (VERSION): Set to 2.23.
18776         * include/feature.h (__GLIBC_MINOR__): Set to 23.
18778         * NEWS: Updated fixed bugs.
18780 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
18781             Wilco Dijkstra  <wdijkstr@arm.com>
18783         [BZ #19462]
18784         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
18785         (_STRING_INLINE_unaligned): This.
18786         * include/string.h: Include <string_private.h>.
18787         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
18788         _STRING_INLINE_unaligned.
18789         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
18790         (_STRING_INLINE_unaligned): New.
18791         * sysdeps/aarch64/string_private.h: New file.
18792         * sysdeps/generic/string_private.h: Likewise.
18793         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
18794         * sysdeps/s390/string_private.h: Likewise.
18795         * sysdeps/x86/string_private.h: Likewise.
18796         * sysdeps/m68k/m680x0/m68020/bits/string.h
18797         (_STRING_ARCH_unaligned): Renamed to ...
18798         (_STRING_INLINE_unaligned): This.
18799         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
18800         to ...
18801         (_STRING_INLINE_unaligned): This.
18802         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
18803         to ...
18804         (_STRING_INLINE_unaligned): This.
18805         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
18806         to ...
18807         (_STRING_INLINE_unaligned): This.
18809 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18810             H.J. Lu  <hongjiu.lu@intel.com>
18812         [BZ #19590]
18813         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
18814         relocation.
18816 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
18818         [BZ #18665]
18819         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
18820         *herrno_p.
18821         (gaih_getanswer): Document functional behviour. Return tryagain
18822         if any result is tryagain.
18823         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
18824         when freed.
18825         * resolv/res_send.c: Add copyright text.
18826         (__libc_res_nsend): Document that MAXPACKET is expected.
18827         (send_vc): Document. Remove buffer reuse.
18828         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
18829         size of the buffer. Add Dprint for truncated UDP buffer.
18831 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
18833         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
18834         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
18835         * INSTALL: Regenerate.
18837 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
18838             Jonathan Wakely  <jwakely@redhat.com>
18839             Carlos O'Donell  <carlos@redhat.com>
18841         [BZ 19439]
18842         * math/Makefile (tests): Add test-math-isinff.
18843         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
18844         * math/bits/mathcalls.h [__USE_MISC]: Use
18845         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
18846         functions not in C++11 and which don't conflict e.g. isinff,
18847         isinfl etc.
18848         * math/test-math-isinff.cc: New file.
18850 2016-02-12  Florian Weimer  <fweimer@redhat.com>
18852         * misc/bug18240.c (do_test): Set RLIMIT_AS.
18854 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18856         [BZ #19529]
18857         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
18859 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18861         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
18863 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
18865         [BZ #19550]
18866         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
18867         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
18868         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
18869         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
18870         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
18871         New syscall entry.
18872         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
18873         New syscall entry.
18874         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
18875         syscall entry.
18877 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
18879         [BZ #18240]
18880         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
18881         unsigned int wraparound.
18883 2016-01-27  Florian Weimer  <fweimer@redhat.com>
18885         [BZ #18240]
18886         * misc/bug18240.c: New test.
18887         * misc/Makefile (tests): Add it.
18889 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
18890             Joseph Myers  <joseph@codesourcery.com>
18892         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
18893         load in branch delay slot when less than a word of input left.
18895 2016-01-27  Andreas Schwab  <schwab@suse.de>
18897         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
18898         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
18899         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
18900         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
18902 2016-01-26  David S. Miller  <davem@davemloft.net>
18904         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
18906 2016-01-25  David S. Miller  <davem@davemloft.net>
18908         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
18909         __sqrtl_finite.
18910         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
18911         instead using versioned_symbol.
18912         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
18913         of entries.
18915         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
18916         __sqrtl_finite to GLIBC_2.23
18918 2016-01-25  Ricchard Henderson  <rth@redhat.com>
18920         * sysdeps/alpha/fpu/libm-test-ulps: Update.
18922 2016-01-25  Andreas Schwab  <schwab@suse.de>
18924         [BZ #17514]
18925         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
18926         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
18927         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
18928         * nptl/tst-mutex-errorcheck.c: New file.
18930 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18932         [BZ #18560]
18933         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
18934         (IPCOP_semop): Likewise.
18935         (IPCOP_semget): Likewise.
18936         (IPCOP_semctl): Likewise.
18937         (IPCOP_msgsnd): Likewise.
18938         (IPCOP_msgrcv): Likewise.
18939         (IPCOP_msgget): Likewise.
18940         (IPCOP_msgctl): Likewise.
18941         (IPCOP_shmat): Likewise.
18942         (IPCOP_shmdt): Likewise.
18943         (IPCOP_shmget): Likewise.
18944         (IPCOP_shmctl): Likewise.
18946 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
18948         * string/tst-endian.c: Include <libc-internal.h>.
18949         (do_test): Ignore tautological-compare warnings around
18950         "htobeXX (beXXtoh (i)) != i" and
18951         "htoleXX (leXXtoh (i)) != i" if-statements.
18953 2016-01-24  David S. Miller  <davem@davemloft.net>
18955         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
18956         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
18957         alias.
18958         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
18959         __sqrtl_finite.
18961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18963 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
18965         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
18966         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
18967         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18969 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18971         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
18972         (thread_func): Use new function to simplify barrier check.
18973         (do_test): Use new function to simplify checking barrier exit
18974         code, and actually join the child thread.
18976 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18978         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
18979         semicolon.
18980         (__libc_tend): Likewise.
18981         (__libc_tabort): Likewise.
18983 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
18985         * sysdeps/nios2/libm-test-ulps: Update.
18986         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
18987         (__gtsf2): Likewise.
18988         (__unorddf2): Likewise.
18989         (__unordsf2): Likewise.
18990         (__ledf2): Likewise.
18992 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
18994         * nis/nis_table.c (__follow_path): Disable diagnostic for
18995         uninitialized variable that is a false positive for gcc 4.7.
18996         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
18998 2016-01-20  Roland McGrath  <roland@hack.frob.com>
19000         * sysdeps/nacl/lowlevellock-futex.h
19001         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
19002         Always evaluate PRIVATE argument.
19004 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
19006         [BZ #19490]
19007         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
19008         (pthread_cond_broadcast): Use ENTRY/END
19009         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
19010         (pthread_cond_signal): Likewise.
19011         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
19012         Likewise.
19013         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
19014         Likewise.
19015         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
19016         Likewise.
19018 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
19020         * sysdeps/ieee754/dbl-64/s_finite.c
19021         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
19022         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
19023         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
19024         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
19025         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
19027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
19028         (__gtsf2): Add as optional for libc.so.
19029         (__unordsf2): Likewise.
19030         (__signbit): Remove for libc.so.
19031         (__signbitl): Likewise.
19033 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
19035         * iconvdata/bug-iconv11.c (test_ibm93x):
19036         Use %zu printf format specifier for size_t argument.
19038 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
19040         * math/gen-libm-test.pl (parse_ulps): Do not reduce
19041         already-recorded ulps.
19042         * sysdeps/arm/libm-test-ulps: Regenerated.
19043         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19044         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19045         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19047 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19048             Paul Pluzhnikov  <ppluzhnikov@google.com>
19050         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
19051         assembler not supporting AVX-512.
19053 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
19055         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19057 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
19059         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19060         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19062         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19064         * sysdeps/arm/libm-test-ulps: Regenerated.
19066 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19068         [BZ #19451]
19069         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
19071 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19073         [BZ #19486]
19074         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
19075         * sysdeps/generic/fix-fp-int-convert-overflow.h
19076         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
19077         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
19078         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
19079         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
19080         Likewise.
19081         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
19082         Avoid conversions to long int where inexact exceptions
19083         could be raised.
19084         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
19085         Likewise.
19086         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
19087         Avoid conversions to long long int where inexact exceptions
19088         could be raised.
19089         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
19090         Likewise.
19092 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
19094         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
19095         * configure: Regenerated.
19097 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19099         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
19101 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
19103         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
19104         outside of comment.
19106 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19108         * nptl/tst-barrier1.c: Add description on first line.
19109         * nptl/tst-barrier2.c: Likewise.
19110         * nptl/tst-barrier3.c: Likewise.
19111         * nptl/tst-barrier4.c: Likewise.
19112         * nptl/tst-barrier5.c: Likewise.
19114 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19116         [BZ #18868]
19117         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
19119 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
19121         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
19122         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19123         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
19124         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
19125         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
19126         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
19127         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19128         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19129         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19130         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19131         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19133 2016-01-15  Torvald Riegel  <triegel@redhat.com>
19135         [BZ #13065]
19136         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
19137         new implementation.
19138         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
19139         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
19140         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
19141         (BARRIER_IN_THRESHOLD): New macro.
19142         * nptl/pthread_barrierattr_setpshared.c
19143         (pthread_barrierattr_setpshared): Clean up.
19144         * nptl/tst-barrier4.c: Correct comment.
19145         * nptl/tst-barrier5.c: New file.
19146         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
19147         (gen-as-const-headers): Remove lowlevelbarrier.sym.
19148         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
19149         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
19150         * nptl/lowlevelbarrier.sym: Remove.
19151         * nptl/DESIGN-barrier.txt: Remove.
19152         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
19153         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
19154         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
19155         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
19156         error.
19157         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
19158         implementation.
19160 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19162         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
19163         (do_child): Mask SIGRTMIN while thr is running.
19165 2016-01-15  Martin Sebor  <msebor@redhat.com>
19167         [BZ #19432]
19168         * iconvdata/Makefile: Add bug-iconv11.
19169         * iconvdata/bug-iconv11.c: New test.
19170         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
19171         * iconvdata/ibm933.c: Same.
19172         * iconvdata/ibm935.c: Same.
19173         * iconvdata/ibm937.c: Same.
19174         * iconvdata/ibm939.c: Same.
19176 2016-01-15  Martin Sebor  <msebor@redhat.com>
19178         [BZ #19443]
19179         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
19180         [DEBUG] (_ufc_set_bits): Declare used.
19181         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
19182         [DEBUG] (print_all): Declare used.
19183         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
19184         operands of the ternary ?: expression to target type.
19185         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
19186         calling the undeclared abort.
19187         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
19189 2016-01-15  Martin Sebor  <msebor@redhat.com>
19191         [BZ #18755]
19192         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
19193         warnings.
19194         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
19195         (__gai_create_helper_thread): Same.
19196         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
19197         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
19198         to suppress -Wmaybe-uninitialized warnings.
19200 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
19202         [BZ #19465]
19203         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
19204         inside if.
19205         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19206         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19207         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19209 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
19211         [BZ #19466]
19212         * time/tst-mktime2.c (time_t_max): Removed.
19213         (time_t_min): Likewise.
19214         (TYPE_SIGNED): New.
19215         (TYPE_MINIMUM): Likewise.
19216         (TYPE_MAXIMUM): Likewise.
19217         (TIME_T_MIN): Likewise.
19218         (TIME_T_MAX): Likewise.
19219         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
19220         and TIME_T_MIN.
19221         (do_test): Likewise.
19223 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
19225         [BZ #19467]
19226         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
19227         index_Fast_Unaligned_Load flag for Excavator family CPUs.
19229 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
19231         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
19233 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
19235         * benchtests/Makefile (PYTHON): Define.
19236         (bench-func): Use $(PYTHON) to run python scripts.
19237         ($(objpfx)bench-%.c): Likewise.
19239 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
19241         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
19242         leading slash when `file_name' is "/".
19244 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
19246         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
19247         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
19248         Likewise.
19249         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
19250         Likewise.
19251         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
19252         Likewise.
19253         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
19254         enum constant and macro.
19255         (PTRACE_SETSIGMASK): Likewise.
19256         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19257         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
19258         (PTRACE_GETSIGMASK): Likewise.
19259         (PTRACE_SETSIGMASK): Likewise.
19260         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19261         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
19262         Likewise.
19263         (PTRACE_SETSIGMASK): Likewise.
19264         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
19266         (PTRACE_GETSIGMASK): Likewise.
19267         (PTRACE_SETSIGMASK): Likewise.
19268         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
19270         Likewise.
19271         (PTRACE_SETSIGMASK): Likewise.
19272         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19273         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
19274         Likewise.
19275         (PTRACE_SETSIGMASK): Likewise.
19276         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19277         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
19278         Likewise.
19279         (PTRACE_SETSIGMASK): Likewise.
19280         (PTRACE_SECCOMP_GET_FILTER): Likewise.
19282 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
19283             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19285         [BZ #19439]
19286         * math/bits/mathcalls.h
19287         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
19288         prototype.
19289         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
19291 2016-01-11  Andreas Schwab  <schwab@suse.de>
19293         [BZ #19253]
19294         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
19295         cache when TZDEFRULES was used.
19296         * time/tst-tzname.c: New file.
19297         * time/Makefile (test): Add tst-tzname.
19298         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
19299         * timezone/Makefile (test-zones): Add $(posixrules-file).
19300         ($(testdata)/$(posixrules-file)): New rule.
19302 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
19304         Fix doc quoting problems with Texinfo 5
19305         Without this change, in the info file output, Texinfo 5 quotes code
19306         in text with undirected single quotes 'like this' and generates
19307         code examples that with many PDF readers cannot be cut out of PDFs
19308         and pasted into code.
19309         * manual/libc.texinfo: Configure the libc manual like the GNU
19310         Emacs manual, by using @documentencoding and setting
19311         txicodequoteundirected and txicodequotebacktick.  This way,
19312         Texinfo 5 quotes code in text with directed single quotes ‘like
19313         this’ and produces examples that can be cut out of PDFs.  This
19314         change causes Texinfo 5 to generate info files that contain UTF-8
19315         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
19316         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
19318 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19320         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
19321         __libc_tabort, __libc_tend): New wrappers that enforce compiler
19322         barriers to their respective compiler built-ins.
19323         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
19324         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
19325         * sysdeps/powerpc/sysdep.h: Likewise.
19326         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
19327         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
19328         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
19330 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
19332         * scripts/config.guess: Revert previous shebang change.
19333         * scripts/config.sub: Likewise.
19334         * scripts/mkinstalldirs: Likewise.
19336 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19338         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
19339         PPC_FEATURE2_HAS_IEEE128.
19340         * sysdeps/powerpc/dl-procinfo.c:
19341         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
19343 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
19345         [BZ #19415]
19346         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
19347         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
19348         (_dl_lookup_address): Rewrite using function resolver trampoline.
19349         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
19350         two bits in address.
19352 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19354         * longlong.h: Change !__SHMEDIA__ to
19355         (!defined (__SHMEDIA__) || !__SHMEDIA__).
19356         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
19358 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
19359             Joseph Myers  <joseph@codesourcery.com>
19360             Mark Shinwell  <shinwell@codesourcery.com>
19361             Andrew Stubbs  <ams@codesourcery.com>
19362             Rich Felker <dalias@libc.org>
19364         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
19366 2016-01-07  Richard Henderson  <rth@redhat.com>
19368         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
19370 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
19372         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
19373         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
19374         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19375         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19376         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
19378 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
19379             Joseph Myers  <joseph@codesourcery.com>
19381         * timezone/private.h: Update from tzcode 2015g.
19382         * timezone/tzfile.h: Likewise.
19383         * timezone/tzselect.ksh: Likewise.
19384         * timezone/zdump.c: Likewise.
19385         * timezone/zic.c: Likewise.
19386         * timezone/ialloc.c: Remove file.
19387         * timezone/scheck.c: Likewise.
19388         * timezone/Makefile (extra-objs): Remove variable.
19389         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
19390         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
19391         -Wno-maybe-uninitialized.
19392         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
19393         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
19394         (CFLAGS-ialloc.c): Remove variable.
19395         (CFLAGS-scheck.c): Likewise.
19396         * timezone/README: Update list of files from tzcode.
19398 2016-01-07  Khem Raj  <raj.khem@gmail.com>
19400         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
19401         instead of __fxprintf when _LIBC is undefined.
19403 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
19405         * catgets/test-gencat.sh: Remove space after shebang.
19406         * conform/GlibcConform.pm: Likewise.
19407         * conform/check-header-lists.sh: Likewise.
19408         * conform/conformtest.pl: Likewise.
19409         * conform/linknamespace.pl: Likewise.
19410         * conform/list-header-symbols.pl: Likewise.
19411         * debug/catchsegv.sh: Likewise.
19412         * elf/genrtldtbl.awk: Likewise.
19413         * elf/tst-pathopt.sh: Likewise.
19414         * elf/tst-rtld-load-self.sh: Likewise.
19415         * grp/tst_fgetgrent.sh: Likewise.
19416         * iconvdata/gen-8bit-gap-1.sh: Likewise.
19417         * iconvdata/gen-8bit-gap.sh: Likewise.
19418         * iconvdata/gen-8bit.sh: Likewise.
19419         * iconvdata/run-iconv-test.sh: Likewise.
19420         * intl/tst-gettext.sh: Likewise.
19421         * intl/tst-gettext2.sh: Likewise.
19422         * intl/tst-gettext4.sh: Likewise.
19423         * intl/tst-gettext6.sh: Likewise.
19424         * intl/tst-translit.sh: Likewise.
19425         * io/ftwtest-sh: Likewise.
19426         * libio/test-freopen.sh: Likewise.
19427         * locale/gen-translit.pl: Likewise.
19428         * malloc/tst-mtrace.sh: Likewise.
19429         * manual/check-safety.sh: Likewise.
19430         * manual/libc-texinfo.sh: Likewise.
19431         * manual/tsort.awk: Likewise.
19432         * manual/xtract-typefun.awk: Likewise.
19433         * nptl/tst-cancel-wrappers.sh: Likewise.
19434         * nptl/tst-tls6.sh: Likewise.
19435         * posix/globtest.sh: Likewise.
19436         * posix/tst-getconf.sh: Likewise.
19437         * posix/wordexp-tst.sh: Likewise.
19438         * scripts/check-c++-types.sh: Likewise.
19439         * scripts/check-local-headers.sh: Likewise.
19440         * scripts/config.guess: Likewise.
19441         * scripts/config.sub: Likewise.
19442         * scripts/cpp: Likewise.
19443         * scripts/cross-test-ssh.sh: Likewise.
19444         * scripts/documented.sh: Likewise.
19445         * scripts/evaluate-test.sh: Likewise.
19446         * scripts/gen-libc-abis: Likewise.
19447         * scripts/gen-sorted.awk: Likewise.
19448         * scripts/list-fixed-bugs.py: Likewise.
19449         * scripts/merge-test-results.sh: Likewise.
19450         * scripts/mkinstalldirs: Likewise.
19451         * scripts/rellns-sh: Likewise.
19452         * scripts/test-installation.pl: Likewise.
19453         * scripts/update-copyrights: Likewise.
19454         * stdio-common/tst-printf.sh: Likewise.
19455         * stdio-common/tst-unbputc.sh: Likewise.
19456         * stdlib/tst-fmtmsg.sh: Likewise.
19457         * stdlib/tst-setcontext3.sh: Likewise.
19458         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
19459         * sysdeps/unix/make-syscalls.sh: Likewise.
19461 2016-01-06  John David Anglin  <dave.anglin@bell.net>
19463         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
19464         asm stw with atomic_exchange_rel.  Add explanatory comment.
19465         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
19466         Likewise.
19468 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19470         [BZ #19122]
19471         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
19472         * sysdeps/generic/dl-unistd.h: New file.
19473         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
19475 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
19477          [BZ #19122]
19478          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
19479          * sysdeps/generic/dl-mman.h: New file.
19480          * sysdeps/mach/hurd/dl-mman.h: Likewise.
19482 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
19484         * manual/texinfo.tex: Update to version 2016-01-04.21 with
19485         trailing whitespace removed.
19486         * scripts/config.guess: Update to version 2016-01-01.
19487         * scripts/config.sub: Update to version 2016-01-01.
19488         * scripts/move-if-change: Update from gnulib.
19490 2016-01-04  Anton Blanchard  <anton@samba.org>
19492         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
19493         for array indices.
19494         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
19496 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
19498         * NEWS: Update copyright dates.
19499         * catgets/gencat.c (print_version): Likewise.
19500         * csu/version.c (banner): Likewise.
19501         * debug/catchsegv.sh: Likewise.
19502         * debug/pcprofiledump.c (print_version): Likewise.
19503         * debug/xtrace.sh (do_version): Likewise.
19504         * elf/ldconfig.c (print_version): Likewise.
19505         * elf/ldd.bash.in: Likewise.
19506         * elf/pldd.c (print_version): Likewise.
19507         * elf/sotruss.sh: Likewise.
19508         * elf/sprof.c (print_version): Likewise.
19509         * iconv/iconv_prog.c (print_version): Likewise.
19510         * iconv/iconvconfig.c (print_version): Likewise.
19511         * locale/programs/locale.c (print_version): Likewise.
19512         * locale/programs/localedef.c (print_version): Likewise.
19513         * login/programs/pt_chown.c (print_version): Likewise.
19514         * malloc/memusage.sh (do_version): Likewise.
19515         * malloc/memusagestat.c (print_version): Likewise.
19516         * malloc/mtrace.pl: Likewise.
19517         * manual/libc.texinfo: Likewise.
19518         * nptl/version.c (banner): Likewise.
19519         * nscd/nscd.c (print_version): Likewise.
19520         * nss/getent.c (print_version): Likewise.
19521         * nss/makedb.c (print_version): Likewise.
19522         * posix/getconf.c (main): Likewise.
19523         * scripts/test-installation.pl: Likewise.
19524         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
19526         * All files with FSF copyright notices: Update copyright dates
19527         using scripts/update-copyrights.
19528         * intl/plural.c: Regenerated.
19529         * locale/programs/charmap-kw.h: Likewise.
19530         * locale/programs/locfile-kw.h: Likewise.
19532 2016-01-02  Helge Deller  <deller@gmx.de>
19534         [BZ #19285]
19535         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
19536         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
19537         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
19538         (MADV_xxK_PAGES): Remove.
19540 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
19542         [BZ #15421]
19543         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
19544         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
19545         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
19546         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
19548 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
19550         [BZ #19408]
19551         * sysdeps/unix/sysv/linux/personality.c: New file.
19552         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
19553         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
19554         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
19555         (sysdep_routines): Add personality.
19556         (tests): Add tst-personality.
19557         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
19558         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
19559         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
19560         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
19561         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
19562         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
19563         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
19564         Likewise.
19565         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
19568         Likewise.
19569         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
19570         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
19571         Likewise.
19573 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
19575         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
19576         (PATH_ARM_SYSTYPE): Remove.
19577         (PATH_CPUINFO): Likewise.
19578         (IO_BASE_FOOTBRIDGE): Likewise.
19579         (IO_SHIFT_FOOTBRIDGE): Likewise.
19580         (struct platform): Likewise.
19581         (init_iosys): Remove compatibility code for 2.4 kernels.
19582         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
19584 2015-12-29  Florian Weimer  <fweimer@redhat.com>
19586         * malloc/tst-malloc-thread-fail.c: New file.
19587         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
19588         (tst-malloc-thread-fail): Link against libpthread.
19590 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
19592         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
19593         (get_parser): New function.
19594         (main): New function.
19596 2015-12-29  Rob Wu  <rob@robwu.nl>
19598         [BZ #19369]
19599         * resolv/res_init.c (__res_vinit): Reset defdname before use.
19601 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
19603         [BZ #19270]
19604         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
19606 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
19608         [BZ #15421]
19609         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
19611 2015-12-23  Torvald Riegel  <triegel@redhat.com>
19613         [BZ #13690]
19614         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
19615         after releasing it.
19616         (__lll_robust_unlock): Likewise.
19617         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19618         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
19619         (lll_robust_unlock): Likewise.
19620         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
19621         Prevent warnings in callers.
19623 2015-12-23  Florian Weimer  <fweimer@redhat.com>
19625         * malloc/arena.c (list_lock): Update comment.
19627 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19629         * sysdeps/powerpc/hwcapinfo.c: Export symbol
19630         __parse_hwcap_and_convert_at_platform to libc.a.
19632 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19634         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
19635         platform and feature support for POWER9.
19636         * sysdeps/powerpc/dl-procinfo.h: Likewise.
19637         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
19638         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
19639         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
19640         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
19641         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
19642         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
19643         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
19645 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19647         Harmonize generic stdio-lock support with nptl
19649         This fixes build when _IO_funlockfile is a macro, fixes build where
19650         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
19651         stack unwind.
19653         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
19654         _IO_release_lock ): Use cleanup attribute on new
19655         _IO_acquire_lock_file variable instead of assuming that
19656         _IO_release_lock will be called.
19657         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
19658         _IO_acquire_lock_needs_exceptions_enabled.
19659         (_IO_acquire_lock_clear_flags2): New macro.
19661 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19663         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
19665 2015-12-21  Florian Weimer  <fweimer@redhat.com>
19667         [BZ #19182]
19668         * malloc/arena.c (list_lock): Document lock ordering requirements.
19669         (free_list_lock): New lock.
19670         (ptmalloc_lock_all): Comment on free_list_lock.
19671         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
19672         (detach_arena): Update comment.  free_list_lock is now needed.
19673         (_int_new_arena): Use free_list_lock around detach_arena call.
19674         Acquire arena lock after list_lock.  Add comment, including FIXME
19675         about incorrect synchronization.
19676         (get_free_list): Switch to free_list_lock.
19677         (reused_arena): Acquire free_list_lock around detach_arena call
19678         and attached threads counter update.  Add two FIXMEs about
19679         incorrect synchronization.
19680         (arena_thread_freeres): Switch to free_list_lock.
19681         * malloc/malloc.c (struct malloc_state): Update comments to
19682         mention free_list_lock.
19684 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
19686         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
19687         Remove functions.
19688         (sloww, sloww1): Accept argument to offset quadrant.
19689         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
19690         quadrant.
19691         (__sin, __cos): Consolidate common code into new functions.
19692         (reduce_sincos_1, do_sincos_1): New functions.
19693         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19695         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
19696         code to new functions.
19697         (reduce_sincos_2, do_sincos_2): New functions.
19698         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
19700         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
19701         common code for sincos.
19702         (__cos) [!IN_SINCOS]: Likewise.
19703         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
19704         New function.
19705         (__sincos): Use it.
19707 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
19709         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
19710         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
19711         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19713 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19715         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
19716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
19717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
19718         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
19719         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19720         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
19721         index_Prefer_No_VZEROUPPER): New feature.
19722         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
19723         Prefer_No_VZEROUPPER for Knights Landing.
19725 015-12-18  Torvald Riegel  <triegel@redhat.com>
19727         * math/atest-exp2.c (mp_exp_m1): Remove.
19729 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19731         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
19732         syscalls.
19733         (__SYSCALL0): New macro.
19734         (__SYSCALL1): Likewise.
19735         (__SYSCALL2): Likewise.
19736         (__SYSCALL3): Likewise.
19737         (__SYSCALL4): Likewise.
19738         (__SYSCALL5): Likewise.
19739         (__SYSCALL6): Likewise.
19740         (__SYSCALL_CONCAT_X): Likewise.
19741         (__SYSCALL_CONCAT): Likewise.
19742         (__SYSCALL_DIST): Likewise.
19743         (__SYSCALL_CALL): Likewise.
19745 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
19747         [BZ #19363]
19748         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
19750 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19752         [BZ #19375]
19753         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
19754         negative subnormals.
19756 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
19758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19759         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
19760         (INTERNAL_SYSCALL_NCS): Use it.
19761         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19763 2015-12-16  Florian Weimer  <fweimer@redhat.com>
19765         [BZ #19243]
19766         * malloc/arena.c (get_free_list): Remove assert and adjust
19767         reference count handling.  Add comment about reused_arena
19768         interaction.
19769         (reused_arena): Add comments abount get_free_list interaction.
19770         * malloc/tst-malloc-thread-exit.c: New file.
19771         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
19772         (tst-malloc-thread-exit): Link against libpthread.
19774 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19776         [BZ #19367]
19777         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
19778         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
19779         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
19780         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
19781         (index_Prefer_MAP_32BIT_EXEC): Likewise.
19783 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
19785         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
19786         Silvermont optimizations for Knights Landing.
19788 2015-12-15  Andreas Schwab  <schwab@suse.de>
19790         [BZ #17197]
19791         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
19792         immediately after emitting SI.
19793         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
19794         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
19795         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
19796         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
19797         * iconvdata/bug-iconv10.c: New file.
19798         * iconvdata/Makefile (tests): Add bug-iconv10.
19799         ($(objpfx)bug-iconv10.out): New rule.
19801 2015-12-15  Florian Weimer  <fweimer@redhat.com>
19803         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
19804         aliasing violation.
19806 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
19808         [BZ #18472]
19809         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
19810         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
19811         conditionals for them.
19812         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
19813         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
19814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
19815         sys/kdaemon.h.
19816         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
19817         compat-only syscall, obsoleted in glibc 2.23.
19818         (create_module): Likewise.
19819         (get_kernel_syms): Likewise.
19820         (query_module): Likewise.
19821         (uselib): Likewise.
19822         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
19824 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
19826         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
19827         <linux/version.h>.
19828         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
19829         conditional code.
19830         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
19831         and ioshift_name initialization.
19833 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19835         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
19836         Fix indentation.
19838 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19840         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
19842 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
19844         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
19846 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
19847             Jakub Wilk  <jwilk@debian.org>
19849         [BZ #19347]
19850         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
19851         to change the group of the device to the tty group.
19853 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
19855         Split large string section; add truncation advice
19856         * manual/examples/strncat.c: Remove.
19857         This example was misleading, as the code would have undefined
19858         behavior if "hello" was longer than SIZE.  Anyway, the manual
19859         shouldn't encourage strncpy+strncat for this sort of thing.
19860         * manual/string.texi (Copying Strings and Arrays): Split into
19861         three sections Copying Strings and Arrays, Concatenating Strings,
19862         and Truncating Strings, as this section was way too long.  All
19863         cross-referenced changed.  Add advice about string-truncation
19864         functions.  Remove misleading strncat example.
19866 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
19868         * manual/nss.texi (NSS Modules Interface): Document
19869         NSS_STATUS_NOTFOUND and SUCCESS.
19871 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19873         [BZ 18568]
19874         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
19875         201505L, for Unicode 8.
19877 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
19879         * locale/C-translit.h: Regenerate.
19881 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
19883         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
19884         and U+0153.
19886 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
19888         [BZ #19351]
19889         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
19890         expanding log(1+z), compare z rather than its square with epsilon
19891         to determine when to avoid evaluating the expansion.
19893         [BZ #19350]
19894         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
19895         Increase overflow threshold.
19897         [BZ #19349]
19898         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
19899         when small.
19901         * sysdeps/unix/sysv/linux/i386/kernel-features.h
19902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19903         New macro.
19904         [__LINUX_KERNEL_VERSION >= 0x040300]
19905         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19906         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19907         Likewise.
19908         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19909         Likewise.
19910         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19911         Likewise.
19912         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19913         Likewise.
19914         [__LINUX_KERNEL_VERSION >= 0x040300]
19915         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19916         [__LINUX_KERNEL_VERSION >= 0x040300]
19917         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19918         [__LINUX_KERNEL_VERSION >= 0x040300]
19919         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19920         [__LINUX_KERNEL_VERSION >= 0x040300]
19921         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19922         [__LINUX_KERNEL_VERSION >= 0x040300]
19923         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19924         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19925         Likewise.
19926         [__LINUX_KERNEL_VERSION >= 0x040300]
19927         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19928         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19929         Likewise.
19930         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19931         Likewise.
19932         [__LINUX_KERNEL_VERSION >= 0x040300]
19933         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19934         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19935         Likewise.
19936         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19937         Likewise.
19938         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19939         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
19940         Likewise.
19941         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
19942         Likewise.
19943         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
19944         Likewise.
19945         [__LINUX_KERNEL_VERSION >= 0x040300]
19946         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19947         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
19948         Likewise.
19949         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
19950         Likewise.
19951         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
19952         Likewise.
19953         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
19954         Likewise.
19955         [__LINUX_KERNEL_VERSION >= 0x040300]
19956         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
19957         [__LINUX_KERNEL_VERSION >= 0x040300]
19958         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19959         [__LINUX_KERNEL_VERSION >= 0x040300]
19960         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19961         [__LINUX_KERNEL_VERSION >= 0x040300]
19962         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19963         [__LINUX_KERNEL_VERSION >= 0x040300]
19964         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19965         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
19966         Likewise.
19967         [__LINUX_KERNEL_VERSION >= 0x040300]
19968         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
19969         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
19970         Likewise.
19971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
19972         Likewise.
19973         [__LINUX_KERNEL_VERSION >= 0x040300]
19974         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
19975         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
19976         Likewise.
19977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
19978         Likewise.
19979         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19980         (__ASSUME_SOCKET_SYSCALL): Likewise.
19981         (__ASSUME_BIND_SYSCALL): Likewise.
19982         (__ASSUME_CONNECT_SYSCALL): Likewise.
19983         (__ASSUME_LISTEN_SYSCALL): Likewise.
19984         (__ASSUME_ACCEPT_SYSCALL): Likewise.
19985         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
19986         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
19987         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
19988         (__ASSUME_SEND_SYSCALL): Likewise.
19989         (__ASSUME_SENDTO_SYSCALL): Likewise.
19990         (__ASSUME_RECV_SYSCALL): Likewise.
19991         (__ASSUME_RECVFROM_SYSCALL): Likewise.
19992         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
19993         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
19994         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
19995         (__ASSUME_SENDMSG_SYSCALL): Likewise.
19996         (__ASSUME_RECVMSG_SYSCALL): Likewise.
19997         * sysdeps/unix/sysv/linux/sh/kernel-features.h
19998         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
19999         Likewise.
20000         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
20001         Likewise.
20002         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
20003         Likewise.
20004         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
20005         Likewise.
20006         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
20007         Likewise.
20008         [__LINUX_KERNEL_VERSION >= 0x020625]
20009         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
20010         [__LINUX_KERNEL_VERSION >= 0x020625]
20011         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
20012         [__LINUX_KERNEL_VERSION >= 0x020625]
20013         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
20014         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
20015         Likewise.
20016         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
20017         Likewise.
20018         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
20019         Likewise.
20020         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
20021         Likewise.
20022         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
20023         Likewise.
20024         [__LINUX_KERNEL_VERSION >= 0x020625]
20025         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
20026         [__LINUX_KERNEL_VERSION >= 0x020625]
20027         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
20028         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
20029         Likewise.
20030         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
20031         Likewise.
20033 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20035         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
20036         record the current if the current ABI and CPU support the FP64
20037         extension.
20038         (has-modd-spreg): Define to record the current if the current ABI and
20039         CPU support 32-bit floating point values in odd FPU registers.
20040         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20041         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
20042         $(has-modd-spreg) equals yes.
20043         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
20044         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
20045         $(has-modd-spreg) equal yes.
20047 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
20049         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
20050         basename.
20052 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
20054         * benchtests/Makefile (bench-math): Move ffs and ffsll...
20055         (bench-string): ... here.
20056         (bench): Add bench-string.
20057         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
20058         to *-benchset to reflect what they are.
20059         (benchset): Adjust.
20061         * benchtests/sincos-inputs: Add inputs from sin-inputs and
20062         cos-inputs.
20064 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
20066         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
20067         __attribute__ ((__simd__)) for vector math function declarations.
20069 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20071         Fix typo in strncat, wcsncat manual entries
20072         * manual/string.texi (Copying and Concatenation): Fix typos in
20073         sample implementations of strncat and wcsncat, by having them use
20074         the old value of the destination length, not the new one.
20076 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
20078         [BZ #16961]
20079         [BZ #16962]
20080         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
20081         string on the stack for strtod.
20082         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
20083         a string on the stack for strtof.
20084         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
20085         constructing a string on the stack for strtold.
20086         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
20087         __strtold_nan to GLIBC_PRIVATE.
20088         * math/test-nan-overflow.c: New file.
20089         * math/test-nan-payload.c: Likewise.
20090         * math/Makefile (tests): Add test-nan-overflow and
20091         test-nan-payload.
20093 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20095         Consistency about byte vs character in string.texi
20096         * manual/string.texi (String and Array Utilities):
20097         Distinguish more carefully among bytes, multibyte characters,
20098         and wide characters.  Use "byte" when talking about C 'char',
20099         to distinguish it more clearly from multibyte characters.
20100         Say "wide character" or "multibyte character" instead of
20101         "character", when a wide or multibyte character is intended.
20102         Similarly for "multibyte string" versus "string".
20103         Define these terms more carefully.
20105 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
20107         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
20108         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
20109         Likewise.
20110         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20111         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
20112         * sysdeps/sh/math_private.h: New file.
20113         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
20114         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
20115         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
20116         long double function name.
20117         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20118         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20119         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
20121         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
20123         Remove __finitel, __isinfl, and __isnanl.
20124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20125         Likewise.
20126         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20128         Remove __finitel.
20129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20130         Likewise.
20131         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20133 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
20135         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
20136         installed libmvec_nonshared.a.
20138 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20140         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
20141         (sysdep_routines): Likewise.
20142         (sysdep-rtld-routines): Likewise.
20143         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
20144         [$(subdir) = nptl](tests-static): test-get_hwcap-static
20145         * sysdeps/powerpc/Versions: Added new
20146         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
20147         * sysdeps/powerpc/hwcapinfo.c: New file.
20148         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
20149         and parse hwcap, hwcap2 and platform number information.
20150         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
20151         to store HWCAP+HWCAP2 and platform number.
20152         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
20153         for HWCAP+HWCAP2 and platform number in the TCB.
20154         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
20155         the HWCAP, HWCAP2 and platform number in the TCB.
20156         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
20157         (TLS_INIT_TP): Included calls to add the hwcap and
20158         at_platform values in the TCB in TP initialization.
20159         (TLS_DEFINE_INIT_TP): Likewise.
20160         (THREAD_GET_HWCAP): New macro.
20161         (THREAD_SET_HWCAP): Likewise.
20162         (THREAD_GET_AT_PLATFORM): Likewise.
20163         (THREAD_SET_AT_PLATFORM): Likewise.
20164         * sysdeps/powerpc/powerpc32/dl-machine.h:
20165         (dl_platform_init): New function that calls
20166         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
20167         powerpc32.
20168         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
20169         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
20170         this functionality, static linking case.
20171         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
20172         linking case.
20173         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
20174         __parse_hwcap_and_convert_at_platform for the static linking case.
20175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
20176         Included the new __parse_hwcap_and_convert_at_platform symbol in the
20177         ABI list for GLIBC 2.23.
20178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
20179         Likewise.
20180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
20181         Likewise.
20183 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
20185         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
20186         * configure: Regenerate.
20187         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
20188         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
20190 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
20192         * iconvdata/ibm930.c: Add comment explaining encoding uses.
20193         * iconvdata/ibm933.c: Likewise.
20194         * iconvdata/ibm935.c: Likewise.
20195         * iconvdata/ibm937.c: Likewise.
20196         * iconvdata/ibm939.c: Likewise.
20198 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20200         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
20201         pthread_join.
20202         * nptl/tst-cancel21.c (tf): Likewise.
20204 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
20206         [BZ #19313]
20207         * bits/typesizes.h (__CPU_MASK_TYPE): New.
20208         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20209         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
20210         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
20211         Likewise.
20212         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
20213         Likewise.
20214         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
20215         Likewise.
20216         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
20217         Likewise.
20218         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
20219         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
20220         unsigned long int with __CPU_MASK_TYPE.
20222 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20224         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20226 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
20228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
20229         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
20230         t512.x.
20231         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
20233 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
20235         [BZ #19214]
20236         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
20237         argument to return extended model.  Update family and model
20238         with extended family and model when family == 0x0f.
20239         (init_cpu_features): Updated.
20241 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20243         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
20244         signed off_t, so 32bit bigger than 2GiB values are fine actually.
20246         * sysdeps/mach/hurd/mmap64.c: New file.
20248 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
20250         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
20251         rights for its main user thread in NEWTASK.
20253 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
20255         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
20256         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
20258 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
20260         [BZ #14259]
20261         * Makeconfig: Rename localedir to complocaledir.
20262         Rename inst_localedir to inst_complocaledir.
20263         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
20264         * config.make.in: Use complocaledir and libc_cv_complocaledir.
20265         * configure.ac: Use libc_cv_complocaledir.
20266         * configure: Regenerate.
20267         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
20268         -DCOMPLOCALEDIR.
20269         * locale/findlocale.c: Use COMPLOCALEDIR.
20270         * locale/loadarchive.c: Likewise.
20271         * locale/programs/locale.c: Likewise.
20272         * locale/programs/localedef.c: Likewise.
20273         * locale/programs/locarchive.c: Likewise.
20274         * localedata/Makefile: Use inst_complocaledir.
20275         * sysdeps/gnu/configure: Regenerate.
20276         * sysdeps/hppa/configure: Regenerate.
20277         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
20278         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
20280         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
20281         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
20282         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
20283         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
20285 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
20287         [BZ #19058]
20288         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
20289         AS_NEEDED.
20290         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
20291         workaround.
20292         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
20293         libmvec-static-only-routines): Added new file.
20294         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
20296 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20298         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
20299         of interrupted RPC instead of restoring it.
20301         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
20302         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
20303         libc_hidden_def.
20304         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
20305         into initialized data instead of common. Define rtld_hidden_data_def.
20306         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
20307         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
20308         libc_hidden_def.
20309         (if_freenameindex): Add libc_hidden_weak.
20310         (if_nameindex): Add libc_hidden_weak.
20311         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
20312         __open64.
20313         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
20314         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
20315         * sysdeps/mach/nanosleep.c: Include <time.h>
20316         (__nanosleep): Rename to __libc_nanosleep.
20317         (__nanosleep): Add weak_alias.
20318         (nanosleep): Update alias.
20320 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
20322         * stdlib/strtod_nan.c: New file.
20323         * stdlib/strtod_nan_double.h: Likewise.
20324         * stdlib/strtod_nan_float.h: Likewise.
20325         * stdlib/strtod_nan_main.c: Likewise.
20326         * stdlib/strtod_nan_narrow.h: Likewise.
20327         * stdlib/strtod_nan_wide.h: Likewise.
20328         * stdlib/strtof_nan.c: Likewise.
20329         * stdlib/strtold_nan.c: Likewise.
20330         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
20331         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
20332         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
20333         * wcsmbs/wcstod_nan.c: Likewise.
20334         * wcsmbs/wcstof_nan.c: Likewise.
20335         * wcsmbs/wcstold_nan.c: Likewise.
20336         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
20337         strtold_nan.
20338         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
20339         wcstof_nan.
20340         * include/stdlib.h (__strtof_nan): Declare and use
20341         libc_hidden_proto.
20342         (__strtod_nan): Likewise.
20343         (__strtold_nan): Likewise.
20344         (__wcstof_nan): Likewise.
20345         (__wcstod_nan): Likewise.
20346         (__wcstold_nan): Likewise.
20347         * include/wchar.h (____wcstoull_l_internal): Declare.
20348         * stdlib/strtod_l.c: Do not include <ieee754.h>.
20349         (____strtoull_l_internal): Remove declaration.
20350         (STRTOF_NAN): Define macro.
20351         (SET_MANTISSA): Remove macro.
20352         (STRTOULL): Likewise.
20353         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
20354         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
20355         (STRTOF_NAN): Define macro.
20356         (SET_MANTISSA): Remove macro.
20357         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
20358         (SET_MANTISSA): Remove macro.
20359         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
20360         macro.
20361         (SET_MANTISSA): Remove macro.
20362         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
20363         macro.
20364         (SET_MANTISSA): Remove macro.
20365         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
20366         (SET_MANTISSA): Remove macro.
20367         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
20368         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
20369         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
20371         [BZ #19266]
20372         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
20373         upper case and lower case letters inside NAN(), not using TOLOWER.
20374         * stdlib/tst-strtod-nan-locale-main.c: New file.
20375         * stdlib/tst-strtod-nan-locale.c: Likewise.
20376         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
20377         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
20378         Depend on $(gen-locales).
20379         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
20380         * wcsmbs/tst-wcstod-nan-locale.c: New file.
20381         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
20382         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
20383         Depend on $(gen-locales).
20384         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
20386 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
20388         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
20390         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
20391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
20392         __finitel, __isinfl, and __isnanl.
20393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20394         Likewise.
20395         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
20397         __finitel.
20398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20399         Likewise.
20400         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20402 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
20404         * malloc/memusage.c (me): Remove redundant getenv call.
20406 2015-10-24  Florian Weimer  <fweimer@redhat.com>
20408         [BZ #19143]
20409         [BZ #19164]
20410         * nptl/check-cpuset.h: Remove.
20411         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
20412         Remove CPU set size check.
20413         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
20414         Likewise.
20415         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
20416         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20417         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
20418         (__pthread_setaffinity_new): Remove CPU set size check.
20419         * sysdeps/unix/sysv/linux/sched_setaffinity.c
20420         (__kernel_cpumask_size): Remove.
20421         (__sched_setaffinity_new): Remove CPU set size check.
20422         * manual/threads.texi (Default Thread Attributes): Remove stale
20423         reference to check_cpuset_attr, determine_cpumask_size in comment.
20424         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
20425         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
20426         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
20427         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
20428         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
20429         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
20430         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
20431         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
20432         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
20433         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
20434         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
20435         skeleton test file.
20436         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
20437         tst-affinity-pid.
20439 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20441         * scripts/update-abilist.sh: New file.
20442         * Makefile (+subdir_targets): Add subdir_update-all-abi.
20443         * Makerules (update-all-abi-%, update-all-abi)
20444         (subdir_update-all-abi): New targets.
20445         * elf/Makefile (update-all-abi): New target.
20447 2015-11-24  Florian Weimer  <fweimer@redhat.com>
20449         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
20450         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
20451         (__libc_lock_define_initialized): Use it.
20452         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
20453         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
20454         * malloc/malloc.c (main_arena): Likewise.
20455         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20456         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
20458 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
20460         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
20461         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
20462         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20463         (PTRACE_O_MASK): Update value.
20464         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
20465         New value in enum __ptrace_setoptions.
20466         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20467         (PTRACE_O_MASK): Update value.
20468         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
20469         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20470         (PTRACE_O_MASK): Update value.
20471         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
20472         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20473         (PTRACE_O_MASK): Update value.
20474         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
20475         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
20476         (PTRACE_O_MASK): Update value.
20477         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
20478         New value in enum __ptrace_setoptions.
20479         (PTRACE_O_MASK): Update value.
20480         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
20481         New value in enum __ptrace_setoptions.
20482         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
20483         (PTRACE_O_MASK): Update value.
20485         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
20486         New macro.
20487         (PACKET_AUXDATA): Likewise.
20488         (PACKET_ORIGDEV): Likewise.
20489         (PACKET_VERSION): Likewise.
20490         (PACKET_HDRLEN): Likewise.
20491         (PACKET_RESERVE): Likewise.
20492         (PACKET_TX_RING): Likewise.
20493         (PACKET_LOSS): Likewise.
20494         (PACKET_VNET_HDR): Likewise.
20495         (PACKET_TX_TIMESTAMP): Likewise.
20496         (PACKET_TIMESTAMP): Likewise.
20497         (PACKET_FANOUT): Likewise.
20498         (PACKET_TX_HAS_OFF): Likewise.
20499         (PACKET_QDISC_BYPASS): Likewise.
20500         (PACKET_ROLLOVER_STATS): Likewise.
20501         (PACKET_FANOUT_DATA): Likewise.
20502         (PACKET_MR_UNICAST): Likewise.
20504         [BZ #19242]
20505         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
20506         (TOUPPER): Likewise.
20507         * stdlib/tst-strtol-locale-main.c: New file.
20508         * stdlib/tst-strtol-locale.c: Likewise.
20509         * stdlib/Makefile (tests): Add tst-strtol-locale.
20510         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
20511         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
20512         Depend on $(gen-locales).
20513         * wcsmbs/tst-wcstol-locale.c: New file.
20514         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
20515         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
20516         tr_TR.ISO-8859-9.
20517         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
20518         Depend on $(gen-locales).
20520 2015-11-20  Roland McGrath  <roland@hack.frob.com>
20522         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
20523         __glibc_likely instead of __builtin_expect.  After falling back to
20524         dyncode_create in a non-ET_DYN case, use the allocate_code_data
20525         system interface to register the code pages as occupied.
20527 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
20529         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20530         [!ARM_MATH_PRIVATE_H].
20531         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
20532         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20533         [!HPPA_MATH_PRIVATE_H].
20534         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
20535         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
20536         to [!I386_MATH_PRIVATE_H].
20537         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
20538         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
20539         Change guard to [!M68K_MATH_PRIVATE_H].
20540         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
20541         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
20542         guard to [!MICROBLAZE_MATH_PRIVATE_H].
20543         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
20544         macro.
20545         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20546         [!MIPS_MATH_PRIVATE_H].
20547         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
20548         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20549         [!NIO2_MATH_PRIVATE_H].
20550         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
20551         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
20552         [!TILE_MATH_PRIVATE_H].
20553         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
20555         [BZ #15421]
20556         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
20557         initialize with 0 and define as weak alias of __signgam.
20558         * include/math.h [!_ISOMAC] (__signgam): Declare.
20559         * math/Makefile (libm-calls): Add w_lgamma_compat.
20560         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
20561         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
20562         test-signgam-ullong-init.
20563         (tests-static): Add test-signgam-uchar-static,
20564         test-signgam-uchar-init-static, test-signgam-uint-static,
20565         test-signgam-uint-init-static, test-signgam-ullong-static and
20566         test-signgam-ullong-init-static.
20567         (CFLAGS-test-signgam-uchar.c): New variable.
20568         (CFLAGS-test-signgam-uchar-init.c): Likewise.
20569         (CFLAGS-test-signgam-uchar-static.c): Likewise.
20570         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
20571         (CFLAGS-test-signgam-uint.c): Likewise.
20572         (CFLAGS-test-signgam-uint-init.c): Likewise.
20573         (CFLAGS-test-signgam-uint-static.c): Likewise.
20574         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
20575         (CFLAGS-test-signgam-ullong.c): Likewise.
20576         (CFLAGS-test-signgam-ullong-init.c): Likewise.
20577         (CFLAGS-test-signgam-ullong-static.c): Likewise.
20578         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
20579         * math/Versions (libm): Add GLIBC_2.23.
20580         * math/lgamma-compat.h: New file.
20581         * math/test-signgam-main.c: Likewise.
20582         * math/test-signgam-uchar-init-static.c: Likewise.
20583         * math/test-signgam-uchar-init.c: Likewise.
20584         * math/test-signgam-uchar-static.c: Likewise.
20585         * math/test-signgam-uchar.c: Likewise.
20586         * math/test-signgam-uint-init-static.c: Likewise.
20587         * math/test-signgam-uint-init.c: Likewise.
20588         * math/test-signgam-uint-static.c: Likewise.
20589         * math/test-signgam-uint.c: Likewise.
20590         * math/test-signgam-ullong-init-static.c: Likewise.
20591         * math/test-signgam-ullong-init.c: Likewise.
20592         * math/test-signgam-ullong-static.c: Likewise.
20593         * math/test-signgam-ullong.c: Likewise.
20594         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
20595         wrapper of w_lgamma_main.c.
20596         * math/w_lgamma_compat.c: New file.
20597         * math/w_lgamma_compatf.c: Likewise.
20598         * math/w_lgamma_compatl.c: Likewise.
20599         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
20600         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20601         defining compatibility symbols.
20602         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
20603         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
20604         wrapper of w_lgammaf_main.c.
20605         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
20606         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20607         defining compatibility symbols.
20608         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
20609         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
20610         wrapper of w_lgammal_main.c.
20611         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
20612         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
20613         defining compatibility symbols.
20614         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
20615         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
20616         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
20617         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
20618         <lgamma-compat.h>.
20619         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
20620         (__ieee754_gamma): Define as alias.
20621         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
20622         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
20623         <lgamma-compat.h>.
20624         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
20625         (__ieee754_gammaf): Define as alias.
20626         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
20627         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
20628         <lgamma-compat.h>.
20629         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
20630         (__ieee754_gammal): Define as alias.
20631         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
20632         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
20633         <math/w_lgamma_compat.c>.
20634         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
20635         Define as alias of __lgamma_compat and use in defining lgammal.
20636         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
20637         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
20638         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
20639         (USE_AS_COMPAT): New macro.
20640         (LGAMMA_OLD_VER): Undefine and redefine.
20641         (lgammal): Do not define here.
20642         (gammal): Only define here if [GAMMA_ALIAS].
20643         * conform/linknamespace.pl (@whitelist): Remove signgam.
20644         * sysdeps/nacl/libm.abilist: Update.
20645         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20646         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20647         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20648         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20649         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20650         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20651         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20652         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20653         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20654         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20655         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20656         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
20658         Likewise.
20659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20660         Likewise.
20661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
20662         Likewise.
20663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
20664         Likewise.
20665         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20666         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20667         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20668         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20669         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
20671         Likewise.
20672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
20673         Likewise.
20674         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20675         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20676         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20678 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20680         [BZ #16364]
20681         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
20682         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
20684 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
20686         * sysdeps/s390/fpu/bits/mathinline.h:
20687         Use __asm__ [__volatile__] instead of asm [volatile].
20688         * sysdeps/s390/abort-instr.h: Likewise.
20689         * sysdeps/s390/atomic-machine.h: Likewise.
20690         * sysdeps/s390/bits/string.h: Likewise.
20691         * sysdeps/s390/dl-tls.h: Likewise.
20692         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
20693         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
20694         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
20695         * sysdeps/s390/fpu/fesetround.c: Likewise.
20696         * sysdeps/s390/fpu/fpu_control.h: Likewise.
20697         * sysdeps/s390/fpu/s_fma.c: Likewise.
20698         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
20699         * sysdeps/s390/memusage.h: Likewise.
20700         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
20701         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
20702         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
20703         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
20704         * sysdeps/s390/nptl/tls.h: Likewise.
20705         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
20706         * sysdeps/s390/s390-32/backtrace.c: Likewise.
20707         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
20708         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
20709         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20710         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
20711         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
20712         * sysdeps/s390/s390-64/backtrace.c: Likewise.
20713         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
20714         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
20715         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
20716         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20717         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
20718         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
20719         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
20720         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
20721         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
20722         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
20723         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
20724         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20725         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
20726         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20727         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
20729 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20730             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20732         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
20733         Add lwarx hint, and use macro for acquire instruction.
20734         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
20735         Likewise.
20736         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
20737         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
20738         update to use new atomic macros.
20740 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20742         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
20743         (__lll_trylock_elision): Fix setting of adapt_count.
20744         * sysdeps/unix/sysv/linux/powerpc/htm.h
20745         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
20746         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
20747         (_ABORT_SYSCALL): Renumber, and clarify definition.
20748         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
20750 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20752         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
20753         after system headers to prevent MIN/MAX redefinition.  Define
20754         HAVE_ALLOCA to preserve builtin alloca usage.
20756 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
20758         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
20759         static and don't set or restore rounding.
20760         (__cos)[IN_SINCOS]: Likewise.
20761         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
20762         (__sincos): Set and restore rounding mode.  Remove check for infinite
20763         or NaN input.
20765         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
20767         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
20768         as used.
20770 2015-11-16  Florian Weimer  <fweimer@redhat.com>
20772         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
20774 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
20776         * config.make.in (have-glob-dat-reloc): New.
20777         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
20778         target supports GLOB_DAT relocaton. AC_SUBST.
20779         * configure: Regenerated.
20780         * elf/Makefile (tests): Add tst-prelink.
20781         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20782         (tst-prelink-ENV): New.
20783         ($(objpfx)tst-prelink-conflict.out): Likewise.
20784         ($(objpfx)tst-prelink-cmp.out): Likewise.
20785         * sysdeps/x86/tst-prelink.c: Moved to ...
20786         * elf/tst-prelink.c: Here.
20787         * sysdeps/x86/tst-prelink.exp: Moved to ...
20788         * elf/tst-prelink.exp: Here.
20789         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
20790         (tst-prelink-ENV): Removed.
20791         ($(objpfx)tst-prelink-conflict.out): Likewise.
20792         ($(objpfx)tst-prelink-cmp.out): Likewise.
20793         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
20795 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
20797         [BZ #14551]
20798         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
20799         (__mpn_construct_long_double): If high part overflows to infinity,
20800         set errno and recompute overflowed result of the correct sign.
20801         * sysdeps/ieee754/ldbl-128ibm/Makefile
20802         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
20803         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
20804         $(libm).
20805         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
20807 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
20809         [BZ #15479]
20810         [BZ #19238]
20811         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
20812         floating-point state after first operation on input.  Restore full
20813         state rather than just rounding mode.
20814         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20815         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20816         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20818         [BZ #19235]
20819         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
20820         add 0.5 to integer arguments.
20821         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
20822         Likewise.
20823         (.LC2): New object.
20825 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
20827         * scripts/pylintrc (reports): Set to no.
20829 2015-11-10  Roland McGrath  <roland@hack.frob.com>
20831         * elf/dl-load.c (open_verify): Take new argument FD.
20832         Skip __open call if passed FD is not -1.
20833         (_dl_map_object, open_path): Update callers.
20834         * elf/dl-sysdep-open.h: New file.
20835         * elf/dl-load.c: Include it.
20836         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
20837         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
20838         * sysdeps/nacl/dl-sysdep-open.h: New file.
20839         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
20840         from libc to rtld.
20842 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20844         [BZ #19228]
20845         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
20846         and restore full floating-point state.
20847         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20848         Likewise.
20849         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20850         Likewise.
20851         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20852         Likewise.
20853         * math/test-nearbyint-except-2.c: New file.
20854         * math/Makefile (tests): Add test-nearbyint-except-2.
20856 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
20858         [BZ #19178]
20859         * sysdeps/x86/Makefile (tests): Add tst-prelink.
20860         (tst-prelink-ENV): New.
20861         ($(objpfx)tst-prelink-conflict.out): Likewise.
20862         ($(objpfx)tst-prelink-cmp.out): Likewise.
20863         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
20864         * sysdeps/x86/tst-prelink.c: New file.
20865         * sysdeps/x86/tst-prelink.exp: Likewise.
20867 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
20869         * math/auto-libm-test-in: Add another test of pow.
20870         * math/auto-libm-test-out: Regenerated.
20871         * math/libm-test.inc (pow_test_data): Add another test.
20873 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20875         [BZ #19219]
20876         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
20877         weak_alias to nearbyintl.
20879 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20881         * sysdeps/aarch64/bits/string.h: New file.
20882         (_STRING_ARCH_unaligned): Define.
20884 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
20886         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
20887         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
20888         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
20889         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
20892 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
20894         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
20895         for original name of the DSO.  Add it to the name list of the DSO
20896         if it is actually given.
20897         (_dl_map_object): Keep track of whether an audit module rewrote
20898         the file name.  If yes, pass the original name to
20899         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
20900         debugging is enabled, log the change of the file name.
20901         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
20902         _dl_map_object_from_fd.
20903         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
20904         * elf/tst-audit11.c: New file
20905         * elf/tst-auditmod11.c: New file.
20906         * elf/tst-audit11mod1.c: New file.
20907         * elf/tst-audit11mod2.c: New file.
20908         * elf/tst-audit11mod2.map: New file.
20909         * elf/tst-audit12.c: New file
20910         * elf/tst-auditmod12.c: New file.
20911         * elf/tst-audit12mod1.c: New file.
20912         * elf/tst-audit12mod2.c: New file.
20913         * elf/tst-audit12mod2.map: New file.
20914         * elf/tst-audit12mod3.c: New file.
20916 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20918         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
20919         Don't create weak aliases,
20920         because versioned symbols are created later.
20921         * sysdeps/s390/s390-32/setjmp.S
20922         (setjmp, _setjmp): Remove weak and rename to an unique name
20923         in SHARED case due to existing versioned symbols.
20924         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20925         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
20926         (getcontext): Create weak alias only in non SHARED case.
20927         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20929 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
20931         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
20932         (__ASSUME_*_SYSCALL) Define new macros.
20933         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
20934         Remove socketcall syscalls.
20935         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
20936         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
20937         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
20938         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
20939         * sysdeps/unix/sysv/linux/send.c (__libc_send):
20940         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
20942 2015-11-09  Florian Weimer  <fweimer@redhat.com>
20944         [BZ #12926]
20945         Terminate process on invalid netlink response.
20946         * sysdeps/unix/sysv/linux/netlinkaccess.h
20947         (__netlink_assert_response): Declare.
20948         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
20949         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
20950         (sysdep_routines): Add netlink_assert_response.
20951         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
20952         __netlink_assert_response.
20953         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20954         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20955         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
20956         __netlink_assert_response.
20958 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
20960         [BZ #19178]
20961         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
20962         (RTYPE_CLASS_PLT): Likewise.
20963         (RTYPE_CLASS_COPY): Likewise.
20964         (RTYPE_CLASS_TLS): Likewise.
20965         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
20966         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
20967         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
20968         DL_DEBUG_PRELINK.
20970 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
20972         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
20973         calls with argument -0.5.
20974         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
20976         * configure.ac (libc_cv_z_nodelete): Remove configure test.
20977         (libc_cv_z_nodlopen): Likewise.
20978         (libc_cv_z_initfirst): Likewise.
20979         * configure: Regenerated.
20981 2015-11-06  Florian Weimer  <fweimer@redhat.com>
20983         Simplify abilist format to be line-based.
20984         * scripts/abilist.awk: Collect descriptors in the descs variable.
20985         (emit): Write descs variable and sort it
20986         externally, with sort.
20987         * sysdeps/**/*.abilist: Convert to new format.
20989 2015-11-06  Mark Wielaard  <mjw@redhat.com>
20991         [BZ #11460]
20992         * io/Makefile (routines): Add fts64.
20993         (tests): Add tst-fts and tst-fts-lfs.
20994         (CFLAGS-fts64.c): New.
20995         * io/Versions (GLIBC_2.23): New.
20996         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
20997         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
20998         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
20999         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
21000         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
21001         (FTSENT64): Likewise.
21002         (fts64_children): Likewise.
21003         (fts64_close): Likewise.
21004         (fts64_open): Likewise.
21005         (fts64_read): Likewise.
21006         (fts64_set): Likewise.
21007         * io/fts64.c: New file.
21008         * io/tst-fts.c: New test.
21009         * io/tst-fts-lfs.c: Likewise.
21010         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
21011         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
21012         fts64_set.
21013         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21014         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21015         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21016         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21017         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21018         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21019         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21020         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21021         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21022         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21023         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21024         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21025         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21027         Likewise.
21028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21029         Likewise.
21030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21032         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21033         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21034         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21035         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21036         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21039         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21040         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21041         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21042         * sysdeps/wordsize-64/fts.c: New file.
21043         * sysdeps/wordsize-64/fts64.c: Likewise.
21044         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
21045         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
21046         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
21047         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
21049 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21051         * math/libm-test.inc (NON_FINITE): New macro.
21052         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
21053         * math/gen-libm-test.pl (show_exceptions): Add argument
21054         $non_finite.
21055         (parse_args): Update call to show_exceptions.
21056         * math/test-math-finite.h: New file.
21057         * math/test-math-no-finite.h: Likewise.
21058         * math/test-double-finite.c: Likewise.
21059         * math/test-float-finite.c: Likewise.
21060         * math/test-ldouble-finite.c: Likewise.
21061         * math/test-double.c: Include "test-math-no-finite.h".
21062         * math/test-float.c: Include "test-math-no-finite.h".
21063         * math/test-ldouble.c: Include "test-math-no-finite.h".
21064         * math/test-math-inline.h (TEST_FINITE): New macro.
21065         * math/test-math-vector.h (TEST_FINITE): Likewise.
21066         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
21067         (libm-tests): Add test-float-finite and test-double-finite.
21068         ($(objpfx)test-float-finite.o): New dependency on
21069         $(objpfx)libm-test.stmp.
21070         ($(objpfx)test-double-finite.o): Likewise.
21071         ($(objpfx)test-ldouble-finite.o): Likewise.
21072         (libm-test-no-inline-cflags): New variable.
21073         (libm-test-finite-cflags): Likewise.
21074         (CFLAGS-test-float-finite.c): Likewise.
21075         (CFLAGS-test-double-finite.c): Likewise.
21076         (CFLAGS-test-ldouble-finite.c): Likewise.
21077         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
21078         (CFLAGS-test-double.c): Likewise.
21079         (CFLAGS-test-ldouble.c): Likewise.
21081 2015-11-05  Roland McGrath  <roland@hack.frob.com>
21083         * io/fcntl.c (__fcntl): Add ... to prototype.
21084         * misc/ioctl.c (__ioctl): Likewise.
21085         * misc/syscall.c (syscall): Likewise.
21087 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
21089         * scripts/list-fixed-bugs.py: New file.
21091         [BZ #19213]
21092         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
21093         returned for argument 1.
21094         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
21095         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
21096         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
21097         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
21098         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
21099         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
21101         [BZ #19211]
21102         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
21103         __USE_XOPEN], not if [!__USE_ISOC99].
21104         (lgammaf): Likewise.
21105         (lgammal): Likewise.
21106         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
21107         (gammaf): Likewise.
21108         (gammal): Likewise.
21109         * math/test-signgam-finite-c11.c: New file.
21110         * math/test-signgam-finite-c99.c: Likewise.
21111         * math/test-signgam-finite.c: Likewise.
21112         * math/Makefile (tests): Add test-signgam-finite,
21113         test-signgam-finite-c99 and test-signgam-finite-c11.
21114         (CFLAGS-test-signgam-finite.c): New variable.
21115         (CFLAGS-test-signgam-finite-c99.c): Likewise.
21116         (CFLAGS-test-signgam-finite-c11.c): Likewise.
21118         [BZ #19212]
21119         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
21120         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
21121         500].
21122         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
21123         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
21124         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
21125         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
21126         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
21127         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
21128         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
21129         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
21130         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
21131         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
21133         [BZ #19209]
21134         * math/bits/math-finite.h (ldexp): Remove declaration.
21135         (ldexpf): Likewise.
21136         (ldexpl): Likewise.
21138         [BZ #19205]
21139         * math/bits/math-finite.h (acosf): Condition declaration on
21140         [__USE_ISOC99].
21141         (acosl): Likewise.
21142         (acoshf): Likewise.
21143         (acoshl): Likewise.
21144         (asinf): Likewise.
21145         (asinl): Likewise.
21146         (atan2f): Likewise.
21147         (atan2l): Likewise.
21148         (atanhf): Likewise.
21149         (atanhl): Likewise.
21150         (coshf): Likewise.
21151         (coshl): Likewise.
21152         (expf): Likewise.
21153         (expl): Likewise.
21154         (fmodf): Likewise.
21155         (fmodl): Likewise.
21156         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
21157         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
21158         (j0l): Likewise.
21159         (y0f): Likewise.
21160         (y0l): Likewise.
21161         (j1f): Likewise.
21162         (j1l): Likewise.
21163         (y1f): Likewise.
21164         (y1l): Likewise.
21165         (jnf): Likewise.
21166         (jnl): Likewise.
21167         (ynf): Likewise.
21168         (ynl): Likewise.
21169         (lgammaf_r): Condition declaration on [__USE_ISOC99].
21170         (lgammal_r): Likewise.
21171         (__lgamma_r_finite): New declaration.
21172         (__lgammaf_r_finite): Likewise.
21173         (__lgammal_r_finite): Likewise.
21174         (lgamma): Use __lgamma_r_finite.
21175         (lgammaf): Condition definition on [__USE_ISOC99].  Use
21176         __lgammaf_r_finite.
21177         (lgammal): Condition definition on [__USE_ISOC99].  Use
21178         __lgammal_r_finite.
21179         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
21180         __lgamma_r_finite.
21181         (gammaf): Condition definition on [__USE_ISOC99].  Use
21182         __lgammaf_r_finite.
21183         (gammal): Condition definition on [__USE_ISOC99].  Use
21184         __lgammal_r_finite.
21185         (logf): Condition declaration on [__USE_ISOC99].
21186         (logl): Likewise.
21187         (log10f): Likewise.
21188         (log10l): Likewise.
21189         (ldexpf): Likewise.
21190         (ldexpl): Likewise.
21191         (powf): Likewise.
21192         (powl): Likewise.
21193         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
21194         __USE_ISOC99].
21195         (remainderf): Condition declaration on [__USE_ISOC99].
21196         (remainderl): Likewise.
21197         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
21198         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
21199         (scalbl): Likewise.
21200         (sinhf): Condition declaration on [__USE_ISOC99].
21201         (sinhl): Likewise.
21202         (sqrtf): Likewise.
21203         (sqrtl): Likewise.
21205 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21207         * sysdeps/arm/atomic-machine.h
21208         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21209         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21210         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
21211         Remove conditional code.
21212         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
21213         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
21214         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
21215         Change conditional to [__ASSEMBLER__].
21216         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21217         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
21218         [!__ASSEMBLER__].
21219         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
21220         code.
21221         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
21222         conditional macro definitions.
21223         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
21224         (__arch_compare_and_exchange_val_16_acq): Likewise.
21225         (__arch_compare_and_exchange_val_32_acq): Likewise.
21226         (atomic_exchange_and_add): Likewise.
21227         (atomic_add): Likewise.
21228         (atomic_add_negative): Likewise.
21229         (atomic_add_zero): Likewise.
21230         (atomic_bit_set): Likewise.
21231         (atomic_bit_test_set): Likewise.
21232         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
21233         code unconditional.
21234         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21236         * math/test-math-errno.h: New file.
21237         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
21238         empty.
21239         (TEST_ERRNO): New macro.
21240         (TEST_EXCEPTIONS): Likewise.
21241         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
21242         (TEST_EXCEPTIONS): Likewise.
21243         * math/test-math-vector.h (TEST_ERRNO): Likewise.
21244         * math/test-double.c: Include "test-math-errno.h".
21245         * math/test-float.c: Likewise.
21246         * math/test-ldouble.c: Likewise.
21247         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
21248         code unconditional.
21249         (test_exceptions): Only run code if TEST_EXCEPTIONS.
21250         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
21251         unconditional.
21252         (test_errno): Only run code if TEST_ERRNO.
21253         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
21255 2015-11-04  Florian Weimer  <fweimer@redhat.com>
21257         * nptl/tst-once5.cc: Remove attribution.
21259 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
21261         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
21262         sqrt, tan, tanh, y0, y1 and yn.
21263         * math/auto-libm-test-out: Regenerated.
21264         * math/libm-test.inc (scalb_test_data): Add more tests.
21265         (scalbn_test_data): Likewise.
21266         (scalbln_test_data): Likewise.
21267         (signbit_test_data): Likewise.
21268         (sin_test_data): Likewise.
21269         (sincos_test_data): Likewise.
21270         (sinh_test_data): Likewise.
21271         (sqrt_test_data): Likewise.
21272         (tan_test_data): Likewise.
21273         (tanh_test_data): Likewise.
21274         (tgamma_test_data): Likewise.
21275         (y0_test_data): Likewise.
21276         (y1_test_data): Likewise.
21277         (yn_test_data): Likewise.
21278         (significand_test_data): Likewise.
21279         * sysdeps/i386/fpu/libm-test-ulps: Update.
21281 2015-11-03  David Kastrup  <dak@gnu.org>
21283         [BZ #18604]
21284         * assert/assert.h (assert): Don't macro-expand failed assertion
21285         expression in error message.
21286         * malloc/malloc.c (assert): Likewise.
21288 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
21290         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
21291         test.
21292         * configure: Regenerated.
21294 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
21296         * math/libm-test.inc (modf_test_data): Add more tests.
21297         (nearbyint_test_data): Likewise.
21298         (nextafter_test_data): Likewise.
21299         (nexttoward_test_data): Likewise.
21300         (pow_test_data): Likewise.
21301         (remainder_test_data): Likewise.
21302         (remquo_test_data): Likewise.
21303         (rint_test_data): Likewise.
21305         [BZ #19201]
21306         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
21307         Check for zero remainder in case of large exponents and ensure
21308         correct sign of result in that case.
21309         * math/libm-test.inc (remainder_test_data): Add more tests.
21311         [BZ #6799]
21312         * math/s_nextafter.c: Include <errno.h>.
21313         (__nextafter): Set errno on overflow and underflow.
21314         * math/s_nexttowardf.c: Include <errno.h>.
21315         (__nexttowardf): Set errno on overflow and underflow.
21316         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
21317         (__nextafterl): Set errno on overflow and underflow.
21318         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
21319         (__nexttoward): Set errno on overflow and underflow.
21320         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
21321         (__nexttowardf): Set errno on overflow and underflow.
21322         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
21323         (__nextafterf): Set errno on overflow and underflow.
21324         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
21325         (__nextafterl): Set errno on overflow and underflow.
21326         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
21327         (__nexttoward): Set errno on overflow and underflow.
21328         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
21329         (__nexttowardf): Set errno on overflow and underflow.
21330         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
21331         (__nextafterl): Set errno on overflow and underflow.
21332         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
21333         (__nexttoward): Set errno on overflow and underflow.
21334         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
21335         (__nexttowardf): Set errno on overflow and underflow.
21336         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
21337         (__nexttoward): Set errno on overflow and underflow.
21338         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
21339         (__nexttowardf): Set errno on overflow and underflow.
21340         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
21341         (__nldbl_nexttowardf): Set errno on overflow and underflow.
21342         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
21343         (__nextafterl): Set errno on overflow and underflow.
21344         * math/libm-test.inc (nextafter_test_data): Do not allow errno
21345         setting to be missing on overflow.  Add more tests.
21346         (nexttoward_test_data): Likewise.
21348         * configure.ac (libc_cv_initfini_array): Remove configure test.
21349         * configure: Regenerated.
21351 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
21353         [BZ #19189]
21354         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
21355         non-finite argument handle arguments with negative sign.
21357         * math/libm-test.inc (j0_test_data): Do not test sign of zero
21358         result from infinite argument.
21359         (j1_test_data): Likewise.
21360         (jn_test_data): Likewise.
21361         (y0_test_data): Likewise.
21362         (y1_test_data): Likewise.
21363         (yn_test_data): Likewise.
21365         [BZ #16171]
21366         * math/w_remainder.c (drem): Define as weak alias of __remainder.
21367         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
21368         * math/w_remainderf.c (dremf): Define as weak alias of
21369         __remainderf.
21370         * math/w_remainderl.c (dreml): Define as weak alias of
21371         __remainderl.
21372         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
21373         __remainder.
21374         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
21375         __remainderf.
21376         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
21377         __remainderl.
21378         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
21379         weak alias of remainderl.
21380         * sysdeps/ieee754/ldbl-opt/w_remainder.c
21381         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
21382         alias of __remainder.
21383         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
21384         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
21385         strong alias of __remainderl.
21386         (dreml): Use long_double_symbol.
21387         * math/Makefile (libm-calls): Remove w_drem.
21388         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
21389         (CFLAGS-nldbl-drem.c): Remove variable.
21390         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
21391         * math/w_drem.c: Remove file.
21392         * math/w_dremf.c: Likewise.
21393         * math/w_dreml.c: Likewise.
21394         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
21395         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
21396         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
21398         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
21399         * sysdeps/i386/configure: Regenerated.
21400         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
21401         * sysdeps/x86_64/configure: Regenerated.
21403         * configure.ac (libc_cv_asm_protected_directive): Remove configure
21404         test.
21405         (libc_cv_visibility_attribute): Likewise.
21406         (libc_cv_protected_data): Test unconditionally.
21407         (libc_cv_broken_visibility_attribute): Remove configure test.
21408         (libc_cv_have_sdata_section): Test unconditionally.
21409         * configure: Regenerated.
21411         * include/libc-internal.h (libc_max_align_t): Remove typedef.
21412         * include/scratch_buffer.h: Include <stddef.h> instead of
21413         <libc-internal.h>.
21414         (struct scratch_buffer): Use max_align_t instead of
21415         libc_max_align_t.
21417 2015-10-29  Florian Weimer  <fweimer@redhat.com>
21419         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
21420         instead of extend_alloca.  Change control flow to avoid a goto.
21421         Remove assert which is trivially always true.
21423 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21425         [BZ #16068]
21426         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
21427         (FE_ALL_EXCEPT_X86): New macro.
21428         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21429         FE_ALL_EXCEPT.  Ensure precision control is included in
21430         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21431         handle "denormal operand exception" and clear FZ and DAZ bits.
21432         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
21433         (FE_ALL_EXCEPT_X86): New macro.
21434         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
21435         FE_ALL_EXCEPT.  Ensure precision control is included in
21436         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
21437         handle "denormal operand exception" and clear FZ and DAZ bits.
21438         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
21439         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
21440         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21441         test-fenv-x87 and test-fenv-sse-2.
21442         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
21444         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
21445         * math/test-double.h (BUILD_COMPLEX): New macro.
21446         * math/test-float.h (BUILD_COMPLEX): Likewise.
21447         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
21449         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
21450         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
21451         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
21452         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
21453         instead of DBL_DENORM_MIN in comment.
21454         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
21455         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21456         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
21457         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
21458         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
21459         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
21461 2015-10-28  Florian Weimer  <fweimer@redhat.com>
21463         [BZ #19048]
21464         * malloc/malloc.c (struct malloc_state): Update comment.  Add
21465         attached_threads member.
21466         (main_arena): Initialize attached_threads.
21467         * malloc/arena.c (list_lock): Update comment.
21468         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
21469         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
21470         (deattach_arena): New function.
21471         (_int_new_arena): Initialize arena reference count and deattach
21472         replaced arena.
21473         (get_free_list, reused_arena): Update reference count and deattach
21474         replaced arena.
21475         (arena_thread_freeres): Update arena reference count and only put
21476         unreferenced arenas on the free list.
21478 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21480         [BZ #19181]
21481         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
21482         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
21483         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
21484         * math/test-fenv-clear-main.c: New file.
21485         * math/test-fenv-clear.c: Likewise.
21486         * math/Makefile (tests): Add test-fenv-clear.
21487         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
21488         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21489         test-fenv-clear-sse.
21490         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
21492         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
21493         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
21494         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
21496 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21498         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
21499         static libc.
21501 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
21503         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
21504         test.
21505         * sysdeps/i386/configure: Regenerated.
21506         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
21507         test.
21508         * sysdeps/x86_64/configure: Regenerated.
21509         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
21510         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21511         memset-avx2 unconditionally instead of conditionally on
21512         [$(config-cflags-avx2) = yes].
21513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21514         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
21515         unconditional.
21516         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
21517         * sysdeps/x86_64/multiarch/memset_chk.S
21518         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
21519         to [IS_IN (libc) && SHARED].
21521 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21523         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
21524         configure test.
21525         * sysdeps/arm/configure: Regenerated.
21526         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
21527         Define variable if not already defined.
21529         [BZ #17404]
21530         * sysdeps/mips/atomic-machine.h
21531         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
21532         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
21533         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
21535         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
21536         unconditional.
21537         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
21538         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21539         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
21540         unconditional.
21541         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21542         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
21543         unconditional.
21544         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21545         * stdlib/setenv.c
21546         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
21547         code unconditional.
21548         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
21549         Remove conditional code.
21550         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
21551         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
21552         unconditional.
21553         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21554         code.
21555         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
21556         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
21557         unconditional.
21558         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21559         code.
21560         * sysdeps/ieee754/ldbl-128/k_tanl.c
21561         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21562         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21563         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
21564         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21565         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21566         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
21567         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
21568         unconditional.
21569         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
21570         code.
21571         * sysdeps/ieee754/ldbl-96/k_tanl.c
21572         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
21573         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
21575         * nptl/tst-initializers1-c11.c: New file.
21576         * nptl/tst-initializers1-gnu11.c: Likewise.
21577         * nptl/Makefile (tests): Add these new tests.
21578         (CFLAGS-tst-initializers1-c11.c): New variable.
21579         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21581         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
21582         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
21583         instead of -std=gnu99.
21584         * configure.ac (systemtap): Test with -std=gnu11 instead of
21585         -std=gnu99.
21586         * configure: Regenerated.
21587         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
21588         in compilation command in comment.
21590         * sysdeps/nptl/configure.ac: Remove file.
21591         * sysdeps/nptl/configure: Remove generated file.
21592         * configure.ac (libc_cv_forced_unwind): Do not substitute.
21593         * configure: Regenerated.
21594         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
21595         * config.make.in (have-forced-unwind): Remove variable.
21596         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21597         unconditional.
21598         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
21599         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
21600         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
21601         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
21602         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
21603         unconditional.
21605 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21607         [BZ #19174]
21608         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
21609         .skip_lock_out_of_tbegin_retries.
21610         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21611         (__lll_lock_elision): Likewise, and respect a value of
21612         try_tbegin <= 0.
21614 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21616         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
21617         statement.
21619 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21621         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
21622         variable.
21623         (test-xfail-ISO11/stdalign.h/conform): Likewise.
21624         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
21626         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
21627         of -std=c1x -D_ISOC11_SOURCE.
21629         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
21630         * configure: Regenerated.
21631         * manual/install.texi (Tools for Compilation): Document
21632         requirement for GCC 4.7 or later.
21633         * INSTALL: Regenerated.
21635 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
21637         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
21638         on CNT to a conditional jump to 'puntdata'.
21640 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
21642         * configure.ac (libc_cv_gcc___thread): Remove configure test.
21643         (libc_cv_gcc_tls_model_attr): Likewise.
21644         * configure: Regenerated.
21646         * configure.ac (libc_cv_need_minus_P): Remove configure test.
21647         * configure: Regenerated.
21648         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
21650 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
21652         * configure.ac (old_glibc_headers): Remove configure test.
21653         * configure: Regenerated.
21654         * config.make.in (old-glibc-headers): Remove variable.
21655         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
21656         (install): Remove dependency on remove-old-headers.
21657         (headers2_0): Remove variable.
21658         (remove-old-headers): Remove rule.
21660         * configure.ac (libc_cv_dot_text): Remove configure test.
21661         (libc_cv_asm_set_directive): Use .text instead of
21662         ${libc_cv_dot_text} in configure test.
21663         * configure: Regenerated.
21665 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21667         [BZ #19168]
21668         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21670 2015-10-26  Florian Weimer  <fweimer@redhat.com>
21672         * configure.ac (CXX): Clear the variable if the C++ toolchain does
21673         not support static linking.
21674         * configure: Regenerate.
21676 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
21678         * math/libm-test.inc (check_float_internal): Do not special-case
21679         errors up to 0.5 ulp.
21681         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21682         log2.
21683         * math/auto-libm-test-out: Regenerated.
21684         * math/libm-test.inc (MAX_EXP): New macro.
21685         (ilogb_test_data): Add more tests.
21686         (isfinite_test_data): Likewise.
21687         (isgreater_test_data): Likewise.
21688         (isgreaterequal_test_data): Likewise.
21689         (isinf_test_data): Likewise.
21690         (isless_test_data): Likewise.
21691         (islessequal_test_data): Likewise.
21692         (islessgreater_test_data): Likewise.
21693         (isnan_test_data): Likewise.
21694         (isnormal_test_data): Likewise.
21695         (issignaling_test_data): Likewise.
21696         (isunordered_test_data): Likewise.
21697         (j0_test_data): Likewise.
21698         (j1_test_data): Likewise.
21699         (jn_test_data): Likewise.
21700         (lgamma_test_data): Likewise.
21701         (log_test_data): Likewise.
21702         (log10_test_data): Likewise.
21703         (log1p_test_data): Likewise.
21704         (log2_test_data): Likewise.
21705         (logb_test_data): Likewise.
21706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21708         [BZ #18611]
21709         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
21710         avoid excess range and precision on underflow.
21711         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21712         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
21713         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21714         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
21715         underflow.
21716         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21718         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21719         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21720         * math/auto-libm-test-in: Do not allow missing errno setting for
21721         tests of j1 and jn.
21722         * math/auto-libm-test-out: Regenerated.
21724 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
21726         [BZ #15491]
21727         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
21728         floating-point environment instead of clearing all exceptions.
21729         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
21730         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
21731         merging in "invalid" exceptions from frndint.
21732         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
21733         * math/test-nearbyint-except.c: New file.
21734         * math/Makefile (tests): Add test-nearbyint-except.
21736 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
21738         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
21740         * sysdeps/tile/libm-test-ulps: Regenerated.
21742 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
21745         (__NR_sync_file_range2): Assume it is always defined.
21746         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21747         (__NR_sync_file_range): Assume it is always defined.
21749 2015-10-22  Andreas Schwab  <schwab@suse.de>
21751         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
21752         INTERNAL_SYSCALL_ERRNO.
21753         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21754         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
21755         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21756         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
21757         Likewise.
21758         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21760 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21762         * io/tst-fcntl.c (fd): New static variable.
21763         (do_prepare): Open temporary file here....
21764         (do_test): ...not here.
21766         * io/ftwtest-sh: Also trap on exit to remove temporary files.
21768 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21770         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
21771         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21772         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21773         Moved before "#ifdef __ASSEMBLER__".
21775 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21777         [BZ #19156]
21778         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
21779         arguments very close to 0.
21781 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
21783         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
21784         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
21786 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
21788         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
21789         New.  Defined for GCC 5 and above when not compiling for
21790         profiling.
21791         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
21793         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
21794         Renamed to ...
21795         (CFLAGS-epoll_pwait.o): This.
21796         (CFLAGS-mmap.c): Renamed to ...
21797         (CFLAGS-mmap.o): This.
21798         (CFLAGS-mmap64.c): Renamed to ...
21799         (CFLAGS-mmap64.o): This.
21800         (CFLAGS-epoll_pwait.os): New.
21801         (CFLAGS-mmap.os): Likewise.
21802         (CFLAGS-mmap64.os): Likewise.
21803         (CFLAGS-semtimedop.os): Likewise.
21804         (CFLAGS-semtimedop.c): Renamed to ...
21805         (CFLAGS-semtimedop.o): This.
21807 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21809         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
21810         warning message.
21812 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
21814         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
21815         * Makefile ($(objpfx)c++-types-check.out): Filter out
21816         $(+gccwarn-c) instead of -Wstrict-prototypes.
21818         * io/fts.c (fts_open): Convert to prototype-style function
21819         definition.
21820         * malloc/mcheck.c (mcheck): Likewise.
21821         (mcheck_pedantic): Likewise.
21822         * posix/regexec.c (re_search_2_stub): Likewise.  Use
21823         internal_function.
21824         (re_search_internal): Likewise.
21825         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
21826         prototype-style function definition.
21827         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21828         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
21829         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
21830         (xdr_utmpptr): Likewise.
21831         (xdr_utmparr): Likewise.
21832         (xdr_utmpidle): Likewise.
21833         (xdr_utmpidleptr): Likewise.
21834         (xdr_utmpidlearr): Likewise.
21836         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
21837         log, log10 and log2.
21838         * math/auto-libm-test-out: Regenerated.
21839         * math/libm-test.inc (fmod_test_data): Add more tests.
21840         (fpclassify_test_data): Likewise.
21841         (frexp_test_data): Likewise.
21842         (hypot_test_data): Likewise.
21843         (ilogb_test_data): Likewise.
21845 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
21847         * debug/fortify_fail.c (__fortify_fail): Convert to
21848         prototype-style function definition.  Use internal_function.
21849         * libio/genops.c (save_for_backup): Convert to prototype-style
21850         function definition.
21851         * libio/wgenops.c (save_for_wbackup): Likewise.
21852         * login/grantpt.c (grantpt): Likewise.
21853         * login/ptsname.c (ptsname): Likewise.
21854         (__ptsname_r): Likewise.
21855         * login/unlockpt.c (unlockpt): Likewise.
21856         * mach/msgserver.c (__mach_msg_server): Likewise.
21857         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
21858         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
21859         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
21860         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
21861         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
21862         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
21863         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
21864         Likewise.
21865         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
21866         internal_function.
21867         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
21868         prototype-style function definition.
21869         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
21870         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
21871         (__pthread_create_2_0): Likewise.
21872         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
21873         * nptl/register-atfork.c (__register_atfork): Likewise.
21874         * posix/glob.c (glob): Likewise.
21875         * posix/regcomp.c (re_comp): Likewise.
21876         * posix/regexec.c (re_exec): Likewise.
21877         * stdlib/add_n.c [__STDC__]: Make code unconditional.
21878         [!__STDC__]: Remove conditional code.
21879         * stdlib/cmp.c [__STDC__]: Make code unconditional.
21880         [!__STDC__]: Remove conditional code.
21881         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
21882         [!__STDC__]: Remove conditional code.
21883         * stdlib/divrem.c [__STDC__]: Make code unconditional.
21884         [!__STDC__]: Remove conditional code.
21885         * stdlib/lshift.c [__STDC__]: Make code unconditional.
21886         [!__STDC__]: Remove conditional code.
21887         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
21888         [!__STDC__]: Remove conditional code.
21889         * stdlib/mul.c [__STDC__]: Make code unconditional.
21890         [!__STDC__]: Remove conditional code.
21891         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
21892         [!__STDC__]: Remove conditional code.
21893         * stdlib/rshift.c [__STDC__]: Make code unconditional.
21894         [!__STDC__]: Remove conditional code.
21895         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
21896         function definition.
21897         (STRTOF): Likewise.
21898         * stdlib/strtod_l.c (__STRTOF): Likewise.
21899         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
21900         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
21901         (__strtol_l): Likewise.
21902         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
21903         [!__STDC__]: Remove conditional code.
21904         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
21905         definition.
21906         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21907         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21908         type.
21909         (__strcasecmp): Convert to prototype-style function definition.
21910         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
21911         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21912         type.
21913         (__strncasecmp): Convert to prototype-style function definition.
21914         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
21915         * sunrpc/xdr.c (xdr_union): Likewise.
21916         * sunrpc/xdr_array.c (xdr_array): Likewise.
21917         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
21918         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
21919         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
21920         Likewise.
21921         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
21922         Likewise.
21923         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
21924         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21925         Likewise.
21926         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
21927         (LOCALE_PARAM_PROTO): Likewise.
21928         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
21929         argument type.
21930         (ut_argument_spec): Remove macro.
21931         (ut_argument_spec_iso): Rename to ut_argument_spec.
21932         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
21933         prototype-style function definition.
21934         (memcpy_uppcase): Likewise.
21935         (__strftime_internal): Likewise.
21936         (my_strftime): Likewise.
21937         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
21938         (LOCALE_PARAM_DECL): Likewise.
21939         [_LIBC] (LOCALE_PARAM): Include argument type.
21940         (__strptime_internal): Convert to prototype-style function
21941         definition.
21942         (strptime): Likewise.
21943         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
21944         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21945         type.
21946         (__wcscasecmp): Convert to prototype-style function definition.
21947         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
21948         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
21949         type.
21950         (__wcsncasecmp): Convert to prototype-style function definition.
21952         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
21953         function definition.
21954         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21955         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21956         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
21957         * elf/dl-minimal.c (_itoa): Likewise.
21958         * hurd/hurdmalloc.c (malloc): Likewise.
21959         (free): Likewise.
21960         (realloc): Likewise.
21961         * inet/inet6_option.c (inet6_option_space): Likewise.
21962         (inet6_option_init): Likewise.
21963         (inet6_option_append): Likewise.
21964         (inet6_option_alloc): Likewise.
21965         (inet6_option_next): Likewise.
21966         (inet6_option_find): Likewise.
21967         * io/ftw.c (FTW_NAME): Likewise.
21968         (NFTW_NAME): Likewise.
21969         (NFTW_NEW_NAME): Likewise.
21970         (NFTW_OLD_NAME): Likewise.
21971         * libio/iofwide.c (_IO_fwide): Likewise.
21972         * libio/strops.c (_IO_str_init_static_internal): Likewise.
21973         (_IO_str_init_static): Likewise.
21974         (_IO_str_init_readonly): Likewise.
21975         (_IO_str_overflow): Likewise.
21976         (_IO_str_underflow): Likewise.
21977         (_IO_str_count): Likewise.
21978         (_IO_str_seekoff): Likewise.
21979         (_IO_str_pbackfail): Likewise.
21980         (_IO_str_finish): Likewise.
21981         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
21982         (_IO_wstr_overflow): Likewise.
21983         (_IO_wstr_underflow): Likewise.
21984         (_IO_wstr_count): Likewise.
21985         (_IO_wstr_seekoff): Likewise.
21986         (_IO_wstr_pbackfail): Likewise.
21987         (_IO_wstr_finish): Likewise.
21988         * locale/programs/localedef.c (normalize_codeset): Likewise.
21989         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
21990         (add_locales_to_archive): Likewise.
21991         (delete_locales_from_archive): Likewise.
21992         * malloc/malloc.c (__libc_mallinfo): Likewise.
21993         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
21994         * misc/tsearch.c (__tfind): Likewise.
21995         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
21996         * nptl/pthread_attr_getdetachstate.c
21997         (__pthread_attr_getdetachstate): Likewise.
21998         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
21999         Likewise.
22000         * nptl/pthread_attr_getinheritsched.c
22001         (__pthread_attr_getinheritsched): Likewise.
22002         * nptl/pthread_attr_getschedparam.c
22003         (__pthread_attr_getschedparam): Likewise.
22004         * nptl/pthread_attr_getschedpolicy.c
22005         (__pthread_attr_getschedpolicy): Likewise.
22006         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
22007         Likewise.
22008         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
22009         Likewise.
22010         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
22011         Likewise.
22012         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
22013         Likewise.
22014         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
22015         (__pthread_attr_init_2_0): Likewise.
22016         * nptl/pthread_attr_setdetachstate.c
22017         (__pthread_attr_setdetachstate): Likewise.
22018         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
22019         Likewise.
22020         * nptl/pthread_attr_setinheritsched.c
22021         (__pthread_attr_setinheritsched): Likewise.
22022         * nptl/pthread_attr_setschedparam.c
22023         (__pthread_attr_setschedparam): Likewise.
22024         * nptl/pthread_attr_setschedpolicy.c
22025         (__pthread_attr_setschedpolicy): Likewise.
22026         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
22027         Likewise.
22028         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
22029         Likewise.
22030         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
22031         Likewise.
22032         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
22033         Likewise.
22034         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
22035         Likewise.
22036         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
22037         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
22038         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
22039         use internal_function.
22040         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
22041         prototype-style function definition.
22042         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
22043         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
22044         internal_function.
22045         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
22046         Convert to prototype-style function definition.
22047         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
22048         Likewise.
22049         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
22050         Likewise.
22051         (__pthread_mutex_unlock): Likewise.
22052         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
22053         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
22054         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
22055         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
22056         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
22057         * nss/makedb.c (process_input): Likewise.
22058         * posix/fnmatch.c (__strchrnul): Likewise.
22059         (__wcschrnul): Likewise.
22060         (fnmatch): Likewise.
22061         * posix/fnmatch_loop.c (FCT): Likewise.
22062         * posix/glob.c (globfree): Likewise.
22063         (__glob_pattern_type): Likewise.
22064         (__glob_pattern_p): Likewise.
22065         * posix/regcomp.c (re_compile_pattern): Likewise.
22066         (re_set_syntax): Likewise.
22067         (re_compile_fastmap): Likewise.
22068         (regcomp): Likewise.
22069         (regerror): Likewise.
22070         (regfree): Likewise.
22071         * posix/regexec.c (regexec): Likewise.
22072         (re_match): Likewise.
22073         (re_search): Likewise.
22074         (re_match_2): Likewise.
22075         (re_search_2): Likewise.
22076         (re_search_stub): Likewise.  Use internal_function
22077         (re_copy_regs): Likewise.
22078         (re_set_registers): Convert to prototype-style function
22079         definition.
22080         (prune_impossible_nodes): Likewise.  Use internal_function.
22081         * resolv/inet_net_pton.c (inet_net_pton): Convert to
22082         prototype-style function definition.
22083         (inet_net_pton_ipv4): Likewise.
22084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22085         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
22086         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
22087         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
22088         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22089         Make variadic.
22090         * time/strptime_l.c (localtime_r): Convert to prototype-style
22091         function definition.
22092         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
22093         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
22094         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
22095         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
22097         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
22098         definition.
22099         (_ufc_doit_r): Likewise.
22100         * crypt/crypt_util.c (_ufc_copymem): Likewise.
22101         (_ufc_output_conversion_r): Likewise.
22102         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
22103         * inet/rcmd.c (rcmd_af): Likewise.
22104         (rcmd): Likewise.
22105         (ruserok_af): Likewise.
22106         (ruserok): Likewise.
22107         (ruserok2_sa): Likewise.
22108         (ruserok_sa): Likewise.
22109         (iruserok_af): Likewise.
22110         (iruserok): Likewise.
22111         (__ivaliduser): Likewise.
22112         (__validuser2_sa): Likewise.
22113         * inet/rexec.c (rexec_af): Likewise.
22114         (rexec): Likewise.
22115         * inet/ruserpass.c (ruserpass): Likewise.
22116         * locale/programs/xmalloc.c (xcalloc): Likewise.
22117         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
22118         * math/w_drem.c (__drem): Likewise.
22119         * math/w_dremf.c (__dremf): Likewise.
22120         * math/w_dreml.c (__dreml): Likewise.
22121         * misc/daemon.c (daemon): Likewise.
22122         * resolv/res_debug.c (p_fqnname): Likewise.
22123         * stdlib/div.c (div): Likewise.
22124         * string/memcmp.c (memcmp_bytes): Likewise.
22125         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
22126         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
22128         * crypt/cert.c (main): Convert to prototype-style function
22129         definition.
22130         * io/pipe.c (__pipe): Likewise.
22131         * io/pipe2.c (__pipe2): Likewise.
22132         * misc/futimesat.c (futimesat): Likewise.
22133         * misc/utimes.c (__utimes): Likewise.
22134         * posix/execve.c (__execve): Likewise.
22135         * posix/execvp.c (execvp): Likewise.
22136         * posix/execvpe.c (__execvpe): Likewise.
22137         * posix/fexecve.c (fexecve): Likewise.
22138         * socket/socketpair.c (socketpair): Likewise.
22139         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22140         * stdlib/erand48.c (erand48): Likewise.
22141         * stdlib/erand48_r.c (__erand48_r): Likewise.
22142         * stdlib/jrand48.c (jrand48): Likewise.
22143         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
22144         * stdlib/lcong48.c (lcong48): Likewise.
22145         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
22146         * stdlib/nrand48.c (nrand48): Likewise.
22147         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
22148         * stdlib/seed48.c (seed48): Likewise.
22149         * stdlib/seed48_r.c (__seed48_r): Likewise.
22150         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
22151         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
22152         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
22154 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22156         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
22157         * configure: Regenerated.
22158         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
22159         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
22160         unconditional.
22161         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22162         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22163         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22164         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
22165         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
22166         unconditional.
22167         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
22169         * posix/Makefile (CFLAGS-regex.c): Remove variable.
22170         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
22172         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
22173         function definition.
22174         * crypt/crypt_util.c (__encrypt_r): Likewise.
22175         * libio/genops.c (_IO_no_init): Likewise.
22176         * libio/iofopncook.c (_IO_fopencookie): Likewise.
22177         (_IO_old_fopencookie): Likewise.
22178         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
22179         * libio/iogetline.c (_IO_getline): Likewise.
22180         (_IO_getline_info): Likewise.
22181         * libio/iogetwline.c (_IO_getwline): Likewise.
22182         (_IO_getwline_info): Likewise.
22183         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
22184         * libio/vswprintf.c (_IO_vswprintf): Likewise.
22185         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
22186         (find_entry): Likewise.
22187         (iterate_table): Likewise.
22188         (lookup): Likewise.
22189         * login/forkpty.c (forkpty): Likewise.
22190         * misc/hsearch_r.c (__hsearch_r): Likewise.
22191         * misc/select.c (__select): Likewise.
22192         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
22193         Likewise.
22194         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
22195         Likewise.
22196         * nptl/old_pthread_cond_timedwait.c
22197         (__pthread_cond_timedwait_2_0): Likewise.
22198         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
22199         * nptl/pthread_barrierattr_getpshared.c
22200         (pthread_barrierattr_getpshared): Likewise.
22201         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
22202         Likewise.
22203         * nptl/pthread_mutex_setprioceiling.c
22204         (pthread_mutex_setprioceiling): Likewise.
22205         * nptl/pthread_mutexattr_getprioceiling.c
22206         (pthread_mutexattr_getprioceiling): Likewise.
22207         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
22208         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22209         Likewise.
22210         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22211         Likewise.
22212         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
22213         Likewise.
22214         * socket/recvfrom.c (__recvfrom): Likewise.
22215         * socket/sendto.c (__sendto): Likewise.
22216         * socket/setsockopt.c (__setsockopt): Likewise.
22217         * stdio-common/_itoa.c (_itoa): Likewise.
22218         * stdio-common/_itowa.c (_itowa): Likewise.
22219         * stdio-common/reg-printf.c (__register_printf_specifier):
22220         Likewise.
22221         (__register_printf_function): Likewise.
22222         * stdio-common/tempname.c (__path_search): Likewise.
22223         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
22224         * stdlib/mul_1.c (mpn_mul_1): Likewise.
22225         * stdlib/random_r.c (__initstate_r): Likewise.
22226         * stdlib/setenv.c (__add_to_environ): Likewise.
22227         * stdlib/submul_1.c (mpn_submul_1): Likewise.
22228         * streams/getpmsg.c (getpmsg): Likewise.
22229         * streams/putmsg.c (putmsg): Likewise.
22230         * streams/putpmsg.c (putpmsg): Likewise.
22231         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
22232         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
22233         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
22234         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
22235         * sunrpc/pm_getport.c (pmap_getport): Likewise.
22236         * sunrpc/svc_udp.c (cache_get): Likewise.
22237         * sunrpc/xdr_array.c (xdr_vector): Likewise.
22238         * sysdeps/mach/hurd/getcwd.c
22239         (__canonicalize_directory_name_internal): Likewise.
22240         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
22241         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
22242         * sysdeps/mach/hurd/select.c (__select): Likewise.
22243         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
22244         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
22245         * sysdeps/sparc/nptl/pthread_barrier_init.c
22246         (__pthread_barrier_init): Likewise.
22247         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
22248         (__pthread_cond_timedwait): Likewise.
22249         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
22250         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
22251         Likewise.
22252         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
22253         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
22254         Likewise.
22255         * sysvipc/semtimedop.c (semtimedop): Likewise.
22256         * time/setitimer.c (__setitimer): Likewise.
22257         * time/strftime_l.c (emacs_strftime): Likewise.
22259 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22261         * config.make.in (have-ssp): Delete.
22262         (stack-protector): New variable.
22263         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
22264         cache test for -fstack-protector-strong.  Export stack_protector to
22265         the best ssp flag.
22266         * configure: Regenerated.
22267         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
22268         * nscd/Makefile (CFLAGS-nscd): Likewise.
22269         * resolv/Makefile (CFLAGS-libresolv): Likewise.
22271 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
22273         [BZ #19122]
22274         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
22275         attribute_hidden.
22277 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22279         [BZ #18743]
22280         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
22281         code to...
22282         (ELIDE_LOCK): ...here.
22283         (__get_new_count): New function with part of the code from
22284         __elide_lock that updates the value of adapt_count after a
22285         transaction abort.
22286         (__elided_trylock): Moved this code to...
22287         (ELIDE_TRYLOCK): ...here.
22289 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
22291         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
22292         * configure: Regenerate.
22293         * INSTALL: Regenerate.
22294         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
22295         and tweak grammar.
22297 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
22299         * login/programs/pt_chown.c: Include signal.h
22300         (main): Clear any signal mask from the parent process.
22302 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
22304         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
22305         * configure: Regenerated.
22306         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
22307         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
22308         $(gnu89-inline-CFLAGS).
22310         * configure.ac (libc_cv_asm_weak_directive): Remove configure
22311         test.
22312         (libc_cv_asm_weakext_directive): Likewise.
22313         * configure: Regenerated.
22314         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
22315         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
22316         * include/libc-symbols.h
22317         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
22318         #error.
22319         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
22320         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
22322         * sysdeps/arm/backtrace.c (__backtrace): Convert to
22323         prototype-style function definition.
22324         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22325         * sysdeps/i386/ffs.c (__ffs): Likewise.
22326         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22327         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
22328         Likewise.
22329         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22330         Likewise.
22331         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
22332         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
22333         Likewise.
22334         * sysdeps/m68k/ffs.c (__ffs): Likewise.
22335         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
22336         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
22337         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
22338         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
22339         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
22340         * sysdeps/mach/hurd/access.c (__access): Likewise.
22341         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
22342         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
22343         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
22344         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
22345         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
22346         (cthread_getspecific): Likewise.
22347         (cthread_setspecific): Likewise.
22348         (__libc_getspecific): Likewise.
22349         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
22350         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
22351         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
22352         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
22353         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
22354         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
22355         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
22356         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
22357         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
22358         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
22359         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
22360         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
22361         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
22362         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
22363         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
22364         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
22365         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
22366         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
22367         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
22368         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
22369         * sysdeps/mach/hurd/link.c (__link): Likewise.
22370         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
22371         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
22372         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
22373         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
22374         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22375         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
22376         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
22377         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
22378         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22379         * sysdeps/mach/hurd/rename.c (rename): Likewise.
22380         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
22381         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
22382         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
22383         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
22384         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
22385         * sysdeps/mach/hurd/send.c (__send): Likewise.
22386         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
22387         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
22388         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
22389         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
22390         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
22391         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
22392         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
22393         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
22394         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
22395         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
22396         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
22397         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
22398         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
22399         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
22400         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
22401         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
22402         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
22403         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
22404         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
22405         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22406         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
22407         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
22408         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
22409         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
22410         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
22411         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
22412         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
22413         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
22414         * sysdeps/posix/alarm.c (alarm): Likewise.
22415         * sysdeps/posix/cuserid.c (cuserid): Likewise.
22416         * sysdeps/posix/dirfd.c (dirfd): Likewise.
22417         * sysdeps/posix/dup.c (__dup): Likewise.
22418         * sysdeps/posix/dup2.c (__dup2): Likewise.
22419         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
22420         (main): Likewise.
22421         * sysdeps/posix/flock.c (__flock): Likewise.
22422         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
22423         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
22424         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
22425         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
22426         * sysdeps/posix/isatty.c (__isatty): Likewise.
22427         * sysdeps/posix/killpg.c (killpg): Likewise.
22428         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
22429         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
22430         * sysdeps/posix/raise.c (raise): Likewise.
22431         * sysdeps/posix/remove.c (remove): Likewise.
22432         * sysdeps/posix/rename.c (rename): Likewise.
22433         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
22434         * sysdeps/posix/seekdir.c (seekdir): Likewise.
22435         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
22436         * sysdeps/posix/sigignore.c (sigignore): Likewise.
22437         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
22438         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
22439         * sysdeps/posix/sigset.c (sigset): Likewise.
22440         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
22441         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
22442         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
22443         * sysdeps/posix/time.c (time): Likewise.
22444         * sysdeps/posix/ttyname.c (getttyname): Likewise.
22445         (ttyname): Likewise.
22446         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
22447         * sysdeps/posix/utime.c (utime): Likewise.
22448         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
22449         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
22450         Likewise.
22451         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
22452         (pthread_spin_trylock): Likewise.
22453         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
22454         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
22455         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
22456         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
22457         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
22458         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
22459         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
22460         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
22461         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
22462         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
22463         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
22464         * sysdeps/s390/ffs.c (__ffs): Likewise.
22465         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
22466         Likewise.
22467         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
22468         Likewise.
22469         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
22470         Likewise.
22471         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
22472         (pthread_barrier_destroy): Likewise.
22473         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22474         (__pthread_barrier_wait): Likewise.
22475         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
22476         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22477         (__pthread_barrier_wait): Likewise.
22478         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
22479         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
22480         (memcmp_not_common_alignment): Likewise.
22481         (MEMCMP): Likewise.
22482         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
22483         (_wordcopy_fwd_dest_aligned): Likewise.
22484         (_wordcopy_bwd_aligned): Likewise.
22485         (_wordcopy_bwd_dest_aligned): Likewise.
22486         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
22487         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
22488         * sysdeps/unix/bsd/stty.c (stty): Likewise.
22489         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
22490         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
22491         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
22492         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
22493         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
22494         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
22495         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
22496         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
22497         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22498         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
22499         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
22500         * sysdeps/unix/stime.c (stime): Likewise.
22501         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
22502         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
22503         Likewise.  Use internal_function.
22504         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
22505         Convert to prototype-style function definition.
22506         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22507         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22508         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
22509         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22510         Likewise.  Use internal_function.
22511         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
22512         prototype-style function definition
22513         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
22514         Likewise.
22515         (__getlogin_r): Likewise.
22516         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
22517         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
22518         (__pthread_cond_broadcast): Likewise.
22519         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
22520         (__pthread_cond_destroy): Likewise.
22521         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
22522         (__pthread_cond_init): Likewise.
22523         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
22524         (__pthread_cond_signal): Likewise.
22525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
22526         (__pthread_cond_wait): Likewise.
22527         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
22528         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
22529         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
22530         Likewise.
22531         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
22532         Likewise.
22533         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
22534         Likewise.
22535         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
22536         Likewise.
22537         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
22538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
22539         (__ftruncate64): Likewise.
22540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
22541         (truncate64): Likewise.
22542         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
22543         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
22544         (pthread_getcpuclockid): Likewise.
22545         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
22546         Likewise.
22547         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
22548         Likewise.
22549         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
22550         Likewise.
22551         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
22552         Likewise.
22553         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
22554         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
22555         (__libc_sigaction): Likewise.
22556         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
22557         Likewise.
22558         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
22559         (__sigprocmask): Likewise.
22560         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
22561         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
22562         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
22563         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
22564         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22565         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
22566         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22567         Likewise.
22568         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
22569         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
22570         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22571         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
22572         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
22573         Likewise.
22574         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
22575         (__sigprocmask): Likewise.
22576         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
22577         (cfgetispeed): Likewise.
22578         (cfsetospeed): Likewise.
22579         (cfsetispeed): Likewise.
22580         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
22581         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
22582         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22583         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
22584         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
22585         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
22586         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
22587         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
22588         Likewise.
22589         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
22590         Likewise.
22591         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
22592         Likewise.
22593         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
22594         Likewise.
22595         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22597 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22599         sunrpc: Rewrite with explicit TLS access using __thread.
22600         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
22601         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
22602         directly.
22603         (__rpc_thread_variables): Access thread_rpc_vars directly.
22604         Eliminate redundant assignment of the tvp variable.
22606 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22608         malloc: Rewrite with explicit TLS access using __thread.
22609         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
22610         (tsd_setspecific, tsd_getspecific): Remove.
22611         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
22612         (tsd_setspecific, tsd_getspecific): Likewise.
22613         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
22614         (tsd_setspecific, tsd_getspecific): Likewise.
22615         * malloc/arena.c (thread_arena): New TLS variable.
22616         (arena_key): Remove variable.
22617         (arena_get): Use thread_arena.
22618         (arena_lookup): Remove macro.
22619         (malloc_atfork, free_atfork, ptmalloc_lock_all)
22620         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
22621         (_int_new_arena, get_free_list, reused_arena)
22622         (arena_thread_freeres): Use thread_arena.
22623         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
22624         tsd_getspecific, tsd_setspecific from safety annotations.
22625         (Allocating Cleared Space): Remove arena_lookup from safety
22626         annotations.
22628 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22630         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
22631         struct scratch_buffer instead of extend_alloca.
22633 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22635         * sysdeps/unix/sysv/linux/kernel-features.h
22636         (__ASSUME_SOCK_CLOEXEC): Remove.
22637         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
22638         (__have_paccept): Remove unused macro.
22639         * include/unistd.h (__have_sock_cloexec): Remove declaration.
22640         * misc/syslog.c (openlog_internal): Remove fallback code for
22641         !__ASSUME_SOCK_CLOEXEC.
22642         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
22643         missing SOCK_CLOEXEC.
22644         * nscd/connections.c (have_sock_cloexec): Remove definition.
22645         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22646         * nscd/nscd_helper.c (open_socket): Remove fallback code for
22647         !__ASSUME_SOCK_CLOEXEC.
22648         * resolv/res_send.c (__have_o_nonblock): Remove definition.
22649         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
22650         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
22651         definition.
22652         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
22653         code for !__ASSUME_SOCK_CLOEXEC.
22655 2015-10-17  Florian Weimer  <fweimer@redhat.com>
22657         [BZ #18982]
22658         * manual/stdio.texi (Variable Arguments Output): Add portability
22659         note, explaining that vfprintf clobbers the va_list pointer.
22661 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22663         * math/libm-test.inc (fabs_test_data): Add more tests.
22664         (fdim_test_data): Likewise.
22665         (fma_test_data): Likewise.
22666         (fmax_test_data): Likewise.
22667         (fmin_test_data): Likewise.
22668         (fmod_test_data): Likewise.
22670 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
22672         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
22673         data.
22675 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
22677         * math/libm-test.inc (ceil_test_data): Add more tests and more
22678         expectations for "inexact".
22679         (floor_test_data): Add more tests.
22680         (round_test_data): Likewise.
22681         (trunc_test_data): Likewise.
22683         * crypt/cert.c (good_bye): Convert to prototype-style function
22684         definition.
22685         (get8): Likewise.
22686         (put8): Likewise.
22687         * crypt/crypt-entry.c (crypt): Likewise.
22688         (__fcrypt): Likewise.
22689         * crypt/crypt_util.c (_ufc_prbits): Likewise.
22690         (_ufc_set_bits): Likewise.
22691         (_ufc_clearmem): Likewise.
22692         (__init_des_r): Likewise.
22693         (shuffle_sb): Likewise.
22694         (shuffle_sb): Likewise.
22695         (_ufc_setup_salt_r): Likewise.
22696         (_ufc_mk_keytab_r): Likewise.
22697         (_ufc_dofinalperm_r): Likewise.
22698         (encrypt): Likewise.
22699         (__setkey_r): Likewise.
22700         (setkey): Likewise.
22701         * crypt/md5.c (md5_init_ctx): Likewise.
22702         (md5_read_ctx): Likewise.
22703         (md5_finish_ctx): Likewise.
22704         (md5_stream): Likewise.
22705         (md5_buffer): Likewise.
22706         (md5_process_bytes): Likewise.
22707         * crypt/sha256.c (__sha256_init_ctx): Likewise.
22708         (__sha256_finish_ctx): Likewise.
22709         (__sha256_process_bytes): Likewise.
22710         * crypt/sha512.c (__sha512_init_ctx): Likewise.
22711         (__sha512_finish_ctx): Likewise.
22712         (__sha512_process_bytes): Likewise.
22713         * ctype/isctype.c (__isctype): Likewise.
22714         * debug/backtrace.c (__backtrace): Likewise.
22715         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
22716         * debug/fgets_chk.c (__fgets_chk): Likewise.
22717         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
22718         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
22719         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22720         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22721         * debug/memset_chk.c (__memset_chk): Likewise.
22722         * debug/strcat_chk.c (__strcat_chk): Likewise.
22723         * debug/strncat_chk.c (__strncat_chk): Likewise.
22724         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
22725         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
22726         * dirent/dirfd.c (dirfd): Likewise.
22727         * dirent/getdents.c (__getdirentries): Likewise.
22728         * dirent/getdents64.c (getdirentries64): Likewise.
22729         * dirent/rewinddir.c (__rewinddir): Likewise.
22730         * dirent/seekdir.c (seekdir): Likewise.
22731         * dirent/telldir.c (telldir): Likewise.
22732         * elf/sln.c (makesymlinks): Likewise.
22733         (makesymlink): Likewise.
22734         * gmon/gmon.c (__moncontrol): Likewise.
22735         (__monstartup): Likewise.
22736         (write_hist): Likewise.
22737         (write_call_graph): Likewise.
22738         (write_bb_counts): Likewise.
22739         * grp/setgroups.c (setgroups): Likewise.
22740         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22741         * inet/inet_net.c (inet_network): Likewise.
22742         * inet/inet_netof.c (inet_netof): Likewise.
22743         * inet/rcmd.c (rresvport_af): Likewise.
22744         (rresvport): Likewise.
22745         * io/access.c (__access): Likewise.
22746         * io/chdir.c (__chdir): Likewise.
22747         * io/chmod.c (__chmod): Likewise.
22748         * io/chown.c (__chown): Likewise.
22749         * io/close.c (__close): Likewise.
22750         * io/creat.c (creat): Likewise.
22751         * io/creat64.c (creat64): Likewise.
22752         * io/dup.c (__dup): Likewise.
22753         * io/dup2.c (__dup2): Likewise.
22754         * io/dup3.c (__dup3): Likewise.
22755         * io/euidaccess.c (__euidaccess): Likewise.
22756         * io/faccessat.c (faccessat): Likewise.
22757         * io/fchmod.c (__fchmod): Likewise.
22758         * io/fchmodat.c (fchmodat): Likewise.
22759         * io/fchown.c (__fchown): Likewise.
22760         * io/fchownat.c (fchownat): Likewise.
22761         * io/fcntl.c (__fcntl): Likewise.
22762         * io/flock.c (__flock): Likewise.
22763         * io/fts.c (fts_load): Likewise.
22764         (fts_close): Likewise.
22765         (fts_read): Likewise.
22766         (fts_set): Likewise.
22767         (fts_children): Likewise.
22768         (fts_build): Likewise.
22769         (fts_stat): Likewise.
22770         (fts_sort): Likewise.
22771         (fts_alloc): Likewise.
22772         (fts_lfree): Likewise.
22773         (fts_palloc): Likewise.
22774         (fts_padjust): Likewise.
22775         (fts_maxarglen): Likewise.
22776         (fts_safe_changedir): Likewise.
22777         * io/getwd.c (getwd): Likewise.
22778         * io/isatty.c (__isatty): Likewise.
22779         * io/lchown.c (__lchown): Likewise.
22780         * io/link.c (__link): Likewise.
22781         * io/linkat.c (linkat): Likewise.
22782         * io/lseek.c (__libc_lseek): Likewise.
22783         * io/mkdir.c (__mkdir): Likewise.
22784         * io/mkdirat.c (mkdirat): Likewise.
22785         * io/mkfifo.c (mkfifo): Likewise.
22786         * io/mkfifoat.c (mkfifoat): Likewise.
22787         * io/open.c (__libc_open): Likewise.
22788         * io/open64.c (__libc_open64): Likewise.
22789         * io/readlink.c (__readlink): Likewise.
22790         * io/readlinkat.c (readlinkat): Likewise.
22791         * io/rmdir.c (__rmdir): Likewise.
22792         * io/symlink.c (__symlink): Likewise.
22793         * io/symlinkat.c (symlinkat): Likewise.
22794         * io/ttyname.c (ttyname): Likewise.
22795         * io/ttyname_r.c (__ttyname_r): Likewise.
22796         * io/umask.c (__umask): Likewise.
22797         * io/unlink.c (__unlink): Likewise.
22798         * io/unlinkat.c (unlinkat): Likewise.
22799         * io/utime.c (utime): Likewise.
22800         * libio/clearerr.c (clearerr): Likewise.
22801         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
22802         * libio/feof.c (_IO_feof): Likewise.
22803         * libio/feof_u.c (feof_unlocked): Likewise.
22804         * libio/ferror.c (_IO_ferror): Likewise.
22805         * libio/ferror_u.c (ferror_unlocked): Likewise.
22806         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22807         * libio/fileno.c (__fileno): Likewise.
22808         * libio/fputc.c (fputc): Likewise.
22809         * libio/fputc_u.c (fputc_unlocked): Likewise.
22810         * libio/fputwc.c (fputwc): Likewise.
22811         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
22812         * libio/freopen.c (freopen): Likewise.
22813         * libio/freopen64.c (freopen64): Likewise.
22814         * libio/fseek.c (fseek): Likewise.
22815         * libio/fseeko.c (fseeko): Likewise.
22816         * libio/fseeko64.c (fseeko64): Likewise.
22817         * libio/ftello.c (__ftello): Likewise.
22818         * libio/ftello64.c (ftello64): Likewise.
22819         * libio/fwide.c (fwide): Likewise.
22820         * libio/genops.c (_IO_un_link): Likewise.
22821         (_IO_link_in): Likewise.
22822         (_IO_least_marker): Likewise.
22823         (_IO_switch_to_main_get_area): Likewise.
22824         (_IO_switch_to_backup_area): Likewise.
22825         (_IO_switch_to_get_mode): Likewise.
22826         (_IO_free_backup_area): Likewise.
22827         (_IO_switch_to_put_mode): Likewise.
22828         (__overflow): Likewise.
22829         (__underflow): Likewise.
22830         (__uflow): Likewise.
22831         (_IO_setb): Likewise.
22832         (_IO_doallocbuf): Likewise.
22833         (_IO_default_underflow): Likewise.
22834         (_IO_default_uflow): Likewise.
22835         (_IO_default_xsputn): Likewise.
22836         (_IO_sgetn): Likewise.
22837         (_IO_default_xsgetn): Likewise.
22838         (_IO_sync): Likewise.
22839         (_IO_default_setbuf): Likewise.
22840         (_IO_default_seekpos): Likewise.
22841         (_IO_default_doallocate): Likewise.
22842         (_IO_init): Likewise.
22843         (_IO_old_init): Likewise.
22844         (_IO_default_sync): Likewise.
22845         (_IO_default_finish): Likewise.
22846         (_IO_default_seekoff): Likewise.
22847         (_IO_sputbackc): Likewise.
22848         (_IO_sungetc): Likewise.
22849         (_IO_set_column): Likewise.
22850         (_IO_set_column): Likewise.
22851         (_IO_adjust_column): Likewise.
22852         (_IO_get_column): Likewise.
22853         (_IO_init_marker): Likewise.
22854         (_IO_remove_marker): Likewise.
22855         (_IO_marker_difference): Likewise.
22856         (_IO_marker_delta): Likewise.
22857         (_IO_seekmark): Likewise.
22858         (_IO_unsave_markers): Likewise.
22859         (_IO_nobackup_pbackfail): Likewise.
22860         (_IO_default_pbackfail): Likewise.
22861         (_IO_default_seek): Likewise.
22862         (_IO_default_stat): Likewise.
22863         (_IO_default_read): Likewise.
22864         (_IO_default_write): Likewise.
22865         (_IO_default_showmanyc): Likewise.
22866         (_IO_default_imbue): Likewise.
22867         (_IO_iter_next): Likewise.
22868         (_IO_iter_file): Likewise.
22869         * libio/getc.c (_IO_getc): Likewise.
22870         * libio/getwc.c (_IO_getwc): Likewise.
22871         * libio/iofclose.c (_IO_new_fclose): Likewise.
22872         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
22873         * libio/iofflush.c (_IO_fflush): Likewise.
22874         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
22875         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
22876         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
22877         * libio/iofgets.c (_IO_fgets): Likewise.
22878         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
22879         * libio/iofgetws.c (fgetws): Likewise.
22880         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
22881         * libio/iofopen64.c (_IO_fopen64): Likewise.
22882         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22883         (_IO_cookie_write): Likewise.
22884         (_IO_cookie_seek): Likewise.
22885         (_IO_cookie_close): Likewise.
22886         (_IO_cookie_seekoff): Likewise.
22887         (_IO_old_cookie_seek): Likewise.
22888         * libio/iofputs.c (_IO_fputs): Likewise.
22889         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
22890         * libio/iofputws.c (fputws): Likewise.
22891         * libio/iofputws_u.c (fputws_unlocked): Likewise.
22892         * libio/iofread.c (_IO_fread): Likewise.
22893         * libio/iofread_u.c (__fread_unlocked): Likewise.
22894         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
22895         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
22896         * libio/ioftell.c (_IO_ftell): Likewise.
22897         * libio/iofwrite.c (_IO_fwrite): Likewise.
22898         * libio/iogetdelim.c (_IO_getdelim): Likewise.
22899         * libio/iogets.c (_IO_gets): Likewise.
22900         * libio/iopadn.c (_IO_padn): Likewise.
22901         * libio/iopopen.c (_IO_new_proc_open): Likewise.
22902         (_IO_new_popen): Likewise.
22903         (_IO_new_proc_close): Likewise.
22904         * libio/ioputs.c (_IO_puts): Likewise.
22905         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
22906         (_IO_seekoff): Likewise.
22907         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
22908         (_IO_seekpos): Likewise.
22909         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
22910         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
22911         * libio/ioungetc.c (_IO_ungetc): Likewise.
22912         * libio/ioungetwc.c (ungetwc): Likewise.
22913         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
22914         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
22915         * libio/iowpadn.c (_IO_wpadn): Likewise.
22916         * libio/libc_fatal.c (__libc_fatal): Likewise.
22917         * libio/memstream.c (__open_memstream): Likewise.
22918         (_IO_mem_sync): Likewise.
22919         (_IO_mem_finish): Likewise.
22920         * libio/oldfileops.c (_IO_old_file_init): Likewise.
22921         (_IO_old_file_close_it): Likewise.
22922         (_IO_old_file_finish): Likewise.
22923         (_IO_old_file_fopen): Likewise.
22924         (_IO_old_file_attach): Likewise.
22925         (_IO_old_file_setbuf): Likewise.
22926         (_IO_old_do_write): Likewise.
22927         (old_do_write): Likewise.
22928         (_IO_old_file_underflow): Likewise.
22929         (_IO_old_file_overflow): Likewise.
22930         (_IO_old_file_sync): Likewise.
22931         (_IO_old_file_seekoff): Likewise.
22932         (_IO_old_file_write): Likewise.
22933         (_IO_old_file_xsputn): Likewise.
22934         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
22935         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22936         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
22937         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
22938         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22939         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
22940         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
22941         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
22942         (_IO_old_popen): Likewise.
22943         (_IO_old_proc_close): Likewise.
22944         * libio/oldpclose.c (__old_pclose): Likewise.
22945         * libio/pclose.c (__new_pclose): Likewise.
22946         * libio/peekc.c (_IO_peekc_locked): Likewise.
22947         * libio/putc.c (_IO_putc): Likewise.
22948         * libio/putc_u.c (putc_unlocked): Likewise.
22949         * libio/putchar.c (putchar): Likewise.
22950         * libio/putchar_u.c (putchar_unlocked): Likewise.
22951         * libio/putwc.c (putwc): Likewise.
22952         * libio/putwc_u.c (putwc_unlocked): Likewise.
22953         * libio/putwchar.c (putwchar): Likewise.
22954         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
22955         * libio/rewind.c (rewind): Likewise.
22956         * libio/setbuf.c (setbuf): Likewise.
22957         * libio/setlinebuf.c (setlinebuf): Likewise.
22958         * libio/vasprintf.c (_IO_vasprintf): Likewise.
22959         * libio/vscanf.c (_IO_vscanf): Likewise.
22960         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
22961         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
22962         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22963         * libio/wgenops.c (_IO_least_wmarker): Likewise.
22964         (_IO_switch_to_main_wget_area): Likewise.
22965         (_IO_switch_to_wbackup_area): Likewise.
22966         (_IO_wsetb): Likewise.
22967         (_IO_wdefault_pbackfail): Likewise.
22968         (_IO_wdefault_finish): Likewise.
22969         (_IO_wdefault_uflow): Likewise.
22970         (__woverflow): Likewise.
22971         (__wuflow): Likewise.
22972         (__wunderflow): Likewise.
22973         (_IO_wdefault_xsputn): Likewise.
22974         (_IO_wdefault_xsgetn): Likewise.
22975         (_IO_wdoallocbuf): Likewise.
22976         (_IO_wdefault_doallocate): Likewise.
22977         (_IO_switch_to_wget_mode): Likewise.
22978         (_IO_free_wbackup_area): Likewise.
22979         (_IO_switch_to_wput_mode): Likewise.
22980         (_IO_sputbackwc): Likewise.
22981         (_IO_sungetwc): Likewise.
22982         (_IO_adjust_wcolumn): Likewise.
22983         (_IO_init_wmarker): Likewise.
22984         (_IO_wmarker_delta): Likewise.
22985         (_IO_seekwmark): Likewise.
22986         (_IO_unsave_wmarkers): Likewise.
22987         * libio/wmemstream.c (open_wmemstream): Likewise.
22988         (_IO_wmem_sync): Likewise.
22989         (_IO_wmem_finish): Likewise.
22990         * locale/nl_langinfo.c (nl_langinfo): Likewise.
22991         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
22992         * locale/programs/simple-hash.c (init_hash): Likewise.
22993         (delete_hash): Likewise.
22994         (insert_entry): Likewise.
22995         (set_entry): Likewise.
22996         (next_prime): Likewise.
22997         (is_prime): Likewise.
22998         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
22999         (xmalloc): Likewise.
23000         (xrealloc): Likewise.
23001         * locale/programs/xstrdup.c (xstrdup): Likewise.
23002         * localedata/collate-test.c (xstrcoll): Likewise.
23003         * localedata/xfrm-test.c (xstrcmp): Likewise.
23004         * login/getlogin_r.c (__getlogin_r): Likewise.
23005         * login/getpt.c (__posix_openpt): Likewise.
23006         * login/login_tty.c (login_tty): Likewise.
23007         * login/setlogin.c (setlogin): Likewise.
23008         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
23009         (mach_msg_destroy_port): Likewise.
23010         (mach_msg_destroy_memory): Likewise.
23011         * malloc/mcheck.c (flood): Likewise.
23012         * misc/acct.c (acct): Likewise.
23013         * misc/brk.c (__brk): Likewise.
23014         * misc/chflags.c (chflags): Likewise.
23015         * misc/chroot.c (chroot): Likewise.
23016         * misc/fchflags.c (fchflags): Likewise.
23017         * misc/fstab.c (getfsspec): Likewise.
23018         (getfsfile): Likewise.
23019         * misc/fsync.c (fsync): Likewise.
23020         * misc/ftruncate.c (__ftruncate): Likewise.
23021         * misc/ftruncate64.c (__ftruncate64): Likewise.
23022         * misc/getdomain.c (getdomainname): Likewise.
23023         (getdomainname): Likewise.
23024         * misc/gethostname.c (__gethostname): Likewise.
23025         * misc/getpass.c (getpass): Likewise.
23026         * misc/getttyent.c (skip): Likewise.
23027         (value): Likewise.
23028         * misc/gtty.c (gtty): Likewise.
23029         * misc/hsearch.c (hsearch): Likewise.
23030         (hcreate): Likewise.
23031         * misc/hsearch_r.c (__hcreate_r): Likewise.
23032         (__hdestroy_r): Likewise.
23033         * misc/ioctl.c (__ioctl): Likewise.
23034         * misc/mkdtemp.c (mkdtemp): Likewise.
23035         * misc/mkostemp.c (mkostemp): Likewise.
23036         * misc/mkostemp64.c (mkostemp64): Likewise.
23037         * misc/mkostemps.c (mkostemps): Likewise.
23038         * misc/mkostemps64.c (mkostemps64): Likewise.
23039         * misc/mkstemp.c (mkstemp): Likewise.
23040         * misc/mkstemp64.c (mkstemp64): Likewise.
23041         * misc/mkstemps.c (mkstemps): Likewise.
23042         * misc/mkstemps64.c (mkstemps64): Likewise.
23043         * misc/mktemp.c (__mktemp): Likewise.
23044         * misc/preadv.c (preadv): Likewise.
23045         * misc/preadv64.c (preadv64): Likewise.
23046         * misc/pwritev.c (pwritev): Likewise.
23047         * misc/pwritev64.c (pwritev64): Likewise.
23048         * misc/readv.c (__readv): Likewise.
23049         * misc/revoke.c (revoke): Likewise.
23050         * misc/setdomain.c (setdomainname): Likewise.
23051         * misc/setegid.c (setegid): Likewise.
23052         * misc/seteuid.c (seteuid): Likewise.
23053         * misc/sethostid.c (sethostid): Likewise.
23054         * misc/sethostname.c (sethostname): Likewise.
23055         * misc/setregid.c (__setregid): Likewise.
23056         * misc/setreuid.c (__setreuid): Likewise.
23057         * misc/sstk.c (sstk): Likewise.
23058         * misc/stty.c (stty): Likewise.
23059         * misc/syscall.c (syscall): Likewise.
23060         * misc/syslog.c (setlogmask): Likewise.
23061         * misc/truncate.c (__truncate): Likewise.
23062         * misc/truncate64.c (truncate64): Likewise.
23063         * misc/ualarm.c (ualarm): Likewise.
23064         * misc/usleep.c (usleep): Likewise.
23065         * misc/ustat.c (ustat): Likewise.
23066         * misc/writev.c (__writev): Likewise.
23067         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
23068         * nptl/old_pthread_cond_broadcast.c
23069         (__pthread_cond_broadcast_2_0): Likewise.
23070         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
23071         Likewise.
23072         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
23073         Likewise.
23074         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
23075         Likewise.
23076         * nptl/pt-raise.c (raise): Likewise.
23077         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
23078         Likewise.
23079         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
23080         * nptl/pthread_barrierattr_destroy.c
23081         (pthread_barrierattr_destroy): Likewise.
23082         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
23083         Likewise.
23084         * nptl/pthread_barrierattr_setpshared.c
23085         (pthread_barrierattr_setpshared): Likewise.
23086         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23087         Likewise.
23088         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
23089         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
23090         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
23091         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
23092         Likewise.
23093         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
23094         Likewise.
23095         * nptl/pthread_condattr_getpshared.c
23096         (pthread_condattr_getpshared): Likewise.
23097         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
23098         Likewise.
23099         * nptl/pthread_condattr_setpshared.c
23100         (pthread_condattr_setpshared): Likewise.
23101         * nptl/pthread_detach.c (pthread_detach): Likewise.
23102         * nptl/pthread_equal.c (__pthread_equal): Likewise.
23103         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
23104         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
23105         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
23106         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
23107         Likewise.
23108         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
23109         Likewise.
23110         * nptl/pthread_mutex_getprioceiling.c
23111         (pthread_mutex_getprioceiling): Likewise.
23112         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
23113         Likewise.
23114         * nptl/pthread_mutexattr_getprotocol.c
23115         (pthread_mutexattr_getprotocol): Likewise.
23116         * nptl/pthread_mutexattr_getpshared.c
23117         (pthread_mutexattr_getpshared): Likewise.
23118         * nptl/pthread_mutexattr_getrobust.c
23119         (pthread_mutexattr_getrobust): Likewise.
23120         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
23121         Likewise.
23122         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
23123         Likewise.
23124         * nptl/pthread_mutexattr_setprioceiling.c
23125         (pthread_mutexattr_setprioceiling): Likewise.
23126         * nptl/pthread_mutexattr_setprotocol.c
23127         (pthread_mutexattr_setprotocol): Likewise.
23128         * nptl/pthread_mutexattr_setpshared.c
23129         (pthread_mutexattr_setpshared): Likewise.
23130         * nptl/pthread_mutexattr_setrobust.c
23131         (pthread_mutexattr_setrobust): Likewise.
23132         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
23133         Likewise.
23134         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
23135         Likewise.
23136         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
23137         Likewise.
23138         * nptl/pthread_rwlockattr_getkind_np.c
23139         (pthread_rwlockattr_getkind_np): Likewise.
23140         * nptl/pthread_rwlockattr_getpshared.c
23141         (pthread_rwlockattr_getpshared): Likewise.
23142         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
23143         Likewise.
23144         * nptl/pthread_rwlockattr_setkind_np.c
23145         (pthread_rwlockattr_setkind_np): Likewise.
23146         * nptl/pthread_rwlockattr_setpshared.c
23147         (pthread_rwlockattr_setpshared): Likewise.
23148         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
23149         Likewise.
23150         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
23151         Likewise.
23152         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
23153         Likewise.
23154         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
23155         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
23156         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
23157         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
23158         * nptl/sem_close.c (sem_close): Likewise.
23159         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
23160         * nptl/sem_init.c (__old_sem_init): Likewise.
23161         * nptl/sigaction.c (__sigaction): Likewise.
23162         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23163         * posix/_exit.c (_exit): Likewise.
23164         * posix/alarm.c (alarm): Likewise.
23165         * posix/confstr.c (confstr): Likewise.
23166         * posix/fpathconf.c (__fpathconf): Likewise.
23167         * posix/getgroups.c (__getgroups): Likewise.
23168         * posix/getpgid.c (__getpgid): Likewise.
23169         * posix/group_member.c (__group_member): Likewise.
23170         * posix/pathconf.c (__pathconf): Likewise.
23171         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
23172         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
23173         * posix/setgid.c (__setgid): Likewise.
23174         * posix/setpgid.c (__setpgid): Likewise.
23175         * posix/setuid.c (__setuid): Likewise.
23176         * posix/sleep.c (__sleep): Likewise.
23177         * posix/sysconf.c (__sysconf): Likewise.
23178         * posix/times.c (__times): Likewise.
23179         * posix/uname.c (__uname): Likewise.
23180         * posix/waitid.c (__waitid): Likewise.
23181         * pwd/getpw.c (__getpw): Likewise.
23182         * resolv/base64.c (b64_pton): Likewise.
23183         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
23184         * resolv/gethnamaddr.c (Dprintf): Likewise.
23185         (gethostbyname): Likewise.
23186         (gethostbyname2): Likewise.
23187         (gethostbyaddr): Likewise.
23188         (_sethtent): Likewise.
23189         (_gethtbyname): Likewise.
23190         (_gethtbyname2): Likewise.
23191         (_gethtbyaddr): Likewise.
23192         (map_v4v6_address): Likewise.
23193         (map_v4v6_hostent): Likewise.
23194         (addrsort): Likewise.
23195         (ht_sethostent): Likewise.
23196         (ht_gethostbyname): Likewise.
23197         (ht_gethostbyaddr): Likewise.
23198         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
23199         (inet_net_ntop_ipv4): Likewise.
23200         * resolv/inet_neta.c (inet_neta): Likewise.
23201         * resolv/inet_ntop.c (inet_ntop): Likewise.
23202         (inet_ntop4): Likewise.
23203         (inet_ntop6): Likewise.
23204         * resolv/inet_pton.c (__inet_pton): Likewise.
23205         (inet_pton4): Likewise.
23206         (inet_pton6): Likewise.
23207         * resolv/res_debug.c (loc_aton): Likewise.
23208         (loc_ntoa): Likewise.
23209         * resource/getpriority.c (__getpriority): Likewise.
23210         * resource/getrusage.c (__getrusage): Likewise.
23211         * resource/nice.c (nice): Likewise.
23212         * resource/setpriority.c (__setpriority): Likewise.
23213         * resource/setrlimit64.c (setrlimit64): Likewise.
23214         * resource/vlimit.c (vlimit): Likewise.
23215         * resource/vtimes.c (vtimes): Likewise.
23216         * rt/aio_error.c (aio_error): Likewise.
23217         * rt/aio_return.c (aio_return): Likewise.
23218         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
23219         * signal/kill.c (__kill): Likewise.
23220         * signal/killpg.c (killpg): Likewise.
23221         * signal/raise.c (raise): Likewise.
23222         * signal/sigaction.c (__sigaction): Likewise.
23223         * signal/sigaddset.c (sigaddset): Likewise.
23224         * signal/sigaltstack.c (sigaltstack): Likewise.
23225         * signal/sigandset.c (sigandset): Likewise.
23226         * signal/sigblock.c (__sigblock): Likewise.
23227         * signal/sigdelset.c (sigdelset): Likewise.
23228         * signal/sigempty.c (sigemptyset): Likewise.
23229         * signal/sigfillset.c (sigfillset): Likewise.
23230         * signal/sighold.c (sighold): Likewise.
23231         * signal/sigignore.c (sigignore): Likewise.
23232         * signal/sigintr.c (siginterrupt): Likewise.
23233         * signal/sigisempty.c (sigisemptyset): Likewise.
23234         * signal/sigismem.c (sigismember): Likewise.
23235         * signal/signal.c (signal): Likewise.
23236         * signal/sigorset.c (sigorset): Likewise.
23237         * signal/sigpause.c (__sigpause): Likewise.
23238         * signal/sigpending.c (sigpending): Likewise.
23239         * signal/sigprocmask.c (__sigprocmask): Likewise.
23240         * signal/sigrelse.c (sigrelse): Likewise.
23241         * signal/sigreturn.c (__sigreturn): Likewise.
23242         * signal/sigset.c (sigset): Likewise.
23243         * signal/sigsetmask.c (__sigsetmask): Likewise.
23244         * signal/sigstack.c (sigstack): Likewise.
23245         * signal/sigsuspend.c (__sigsuspend): Likewise.
23246         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
23247         * signal/sysv_signal.c (__sysv_signal): Likewise.
23248         * socket/accept.c (accept): Likewise.
23249         * socket/accept4.c (__libc_accept4): Likewise.
23250         * socket/bind.c (__bind): Likewise.
23251         * socket/connect.c (__connect): Likewise.
23252         * socket/getpeername.c (getpeername): Likewise.
23253         * socket/getsockname.c (__getsockname): Likewise.
23254         * socket/getsockopt.c (getsockopt): Likewise.
23255         * socket/listen.c (__listen): Likewise.
23256         * socket/recv.c (__recv): Likewise.
23257         * socket/recvmsg.c (__recvmsg): Likewise.
23258         * socket/send.c (__send): Likewise.
23259         * socket/sendmsg.c (__sendmsg): Likewise.
23260         * socket/shutdown.c (shutdown): Likewise.
23261         * socket/sockatmark.c (sockatmark): Likewise.
23262         * socket/socket.c (__socket): Likewise.
23263         * stdio-common/ctermid.c (ctermid): Likewise.
23264         * stdio-common/cuserid.c (cuserid): Likewise.
23265         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
23266         * stdio-common/remove.c (remove): Likewise.
23267         * stdio-common/rename.c (rename): Likewise.
23268         * stdio-common/renameat.c (renameat): Likewise.
23269         * stdio-common/tempname.c (__gen_tempname): Likewise.
23270         * stdio-common/xbug.c (InitBuffer): Likewise.
23271         (AppendToBuffer): Likewise.
23272         (ReadFile): Likewise.
23273         * stdlib/a64l.c (a64l): Likewise.
23274         * stdlib/drand48_r.c (drand48_r): Likewise.
23275         * stdlib/getcontext.c (getcontext): Likewise.
23276         * stdlib/getenv.c (getenv): Likewise.
23277         * stdlib/l64a.c (l64a): Likewise.
23278         * stdlib/llabs.c (llabs): Likewise.
23279         * stdlib/lldiv.c (lldiv): Likewise.
23280         * stdlib/lrand48_r.c (lrand48_r): Likewise.
23281         * stdlib/mrand48_r.c (mrand48_r): Likewise.
23282         * stdlib/putenv.c (putenv): Likewise.
23283         * stdlib/random.c (__srandom): Likewise.
23284         (__initstate): Likewise.
23285         (__setstate): Likewise.
23286         * stdlib/random_r.c (__srandom_r): Likewise.
23287         (__setstate_r): Likewise.
23288         (__random_r): Likewise.
23289         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
23290         * stdlib/setcontext.c (setcontext): Likewise.
23291         * stdlib/setenv.c (setenv): Likewise.
23292         (unsetenv): Likewise.
23293         * stdlib/srand48.c (srand48): Likewise.
23294         * stdlib/srand48_r.c (__srand48_r): Likewise.
23295         * stdlib/swapcontext.c (swapcontext): Likewise.
23296         * stdlib/system.c (__libc_system): Likewise.
23297         * stdlib/tst-strtod.c (expand): Likewise.
23298         * stdlib/tst-strtol.c (expand): Likewise.
23299         * stdlib/tst-strtoll.c (expand): Likewise.
23300         * streams/fattach.c (fattach): Likewise.
23301         * streams/fdetach.c (fdetach): Likewise.
23302         * streams/getmsg.c (getmsg): Likewise.
23303         * streams/isastream.c (isastream): Likewise.
23304         * string/ffs.c (__ffs): Likewise.
23305         * string/ffsll.c (ffsll): Likewise.
23306         * string/memcmp.c (memcmp_common_alignment): Likewise.
23307         (memcmp_not_common_alignment): Likewise.
23308         (MEMCMP): Likewise.
23309         * string/memcpy.c (memcpy): Likewise.
23310         * string/memmove.c (MEMMOVE): Likewise.
23311         * string/memset.c (memset): Likewise.
23312         * string/rawmemchr.c (RAWMEMCHR): Likewise.
23313         * string/strchrnul.c (STRCHRNUL): Likewise.
23314         * string/strerror.c (strerror): Likewise.
23315         * string/strndup.c (__strndup): Likewise.
23316         * string/strverscmp.c (__strverscmp): Likewise.
23317         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
23318         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
23319         (clnttcp_freeres): Likewise.
23320         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
23321         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
23322         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
23323         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
23324         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
23325         (xdr_callhdr): Likewise.
23326         * sunrpc/rpcinfo.c (udpping): Likewise.
23327         (tcpping): Likewise.
23328         (pstatus): Likewise.
23329         (pmapdump): Likewise.
23330         (brdcst): Likewise.
23331         (deletereg): Likewise.
23332         (getprognum): Likewise.
23333         (getvers): Likewise.
23334         (get_inet_address): Likewise.
23335         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
23336         * sunrpc/svc_udp.c (svcudp_create): Likewise.
23337         (svcudp_stat): Likewise.
23338         (svcudp_recv): Likewise.
23339         (svcudp_reply): Likewise.
23340         (svcudp_getargs): Likewise.
23341         (svcudp_freeargs): Likewise.
23342         (svcudp_destroy): Likewise.
23343         * sunrpc/xdr.c (xdr_bytes): Likewise.
23344         (xdr_netobj): Likewise.
23345         (xdr_string): Likewise.
23346         (xdr_wrapstring): Likewise.
23347         * sunrpc/xdr_float.c (xdr_float): Likewise.
23348         (xdr_double): Likewise.
23349         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
23350         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
23351         * sysvipc/ftok.c (ftok): Likewise.
23352         * sysvipc/msgctl.c (msgctl): Likewise.
23353         * sysvipc/msgget.c (msgget): Likewise.
23354         * sysvipc/msgrcv.c (msgrcv): Likewise.
23355         * sysvipc/msgsnd.c (msgsnd): Likewise.
23356         * sysvipc/semget.c (semget): Likewise.
23357         * sysvipc/semop.c (semop): Likewise.
23358         * sysvipc/shmat.c (shmat): Likewise.
23359         * sysvipc/shmctl.c (shmctl): Likewise.
23360         * sysvipc/shmdt.c (shmdt): Likewise.
23361         * sysvipc/shmget.c (shmget): Likewise.
23362         * termios/cfmakeraw.c (cfmakeraw): Likewise.
23363         * termios/speed.c (cfgetospeed): Likewise.
23364         (cfgetispeed): Likewise.
23365         (cfsetospeed): Likewise.
23366         (cfsetispeed): Likewise.
23367         * termios/tcflow.c (tcflow): Likewise.
23368         * termios/tcflush.c (tcflush): Likewise.
23369         * termios/tcgetattr.c (__tcgetattr): Likewise.
23370         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
23371         * termios/tcgetsid.c (tcgetsid): Likewise.
23372         * termios/tcsendbrk.c (tcsendbreak): Likewise.
23373         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
23374         * time/adjtime.c (__adjtime): Likewise.
23375         * time/dysize.c (dysize): Likewise.
23376         * time/ftime.c (ftime): Likewise.
23377         * time/getitimer.c (__getitimer): Likewise.
23378         * time/gettimeofday.c (__gettimeofday): Likewise.
23379         * time/gmtime.c (__gmtime_r): Likewise.
23380         (gmtime): Likewise.
23381         * time/localtime.c (__localtime_r): Likewise.
23382         (localtime): Likewise.
23383         * time/offtime.c (__offtime): Likewise.
23384         * time/settimeofday.c (__settimeofday): Likewise.
23385         * time/stime.c (stime): Likewise.
23386         * time/strftime_l.c (tm_diff): Likewise.
23387         (iso_week_days): Likewise.
23388         * time/strptime.c (strptime): Likewise.
23389         * time/time.c (time): Likewise.
23390         * time/timespec_get.c (timespec_get): Likewise.
23391         * time/tzset.c (tzset_internal): Likewise.
23392         (compute_change): Likewise.
23393         (__tz_compute): Likewise.
23394         * wcsmbs/btowc.c (__btowc): Likewise.
23395         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
23396         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
23397         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
23398         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
23399         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
23400         * wcsmbs/wcscat.c (__wcscat): Likewise.
23401         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23402         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
23403         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
23404         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23405         * wcsmbs/wcsdup.c (wcsdup): Likewise.
23406         * wcsmbs/wcslen.c (__wcslen): Likewise.
23407         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
23408         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
23409         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
23410         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
23411         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23412         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
23413         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23414         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23415         * wcsmbs/wcstok.c (wcstok): Likewise.
23416         * wcsmbs/wctob.c (wctob): Likewise.
23417         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
23418         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23419         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
23420         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
23421         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
23422         * wcsmbs/wmemset.c (__wmemset): Likewise.
23423         * wctype/wcfuncs.c (__towlower): Likewise.
23424         (__towupper): Likewise.
23426         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
23427         (lll_unlock_elision): Add adapt_count parameter.
23429 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23431         * sysdeps/nptl/configure.ac: Do not give errors based on the
23432         results of top-level configure tests.
23433         * sysdeps/nptl/configure: Regenerated.
23435         * configure.ac (libc_cv_Bgroup): Remove configure test.
23436         * configure: Regenerated.
23437         * config.make.in (have-Bgroup): Remove variable.
23439         * configure.ac (sizeof_long_double): Remove configure test.
23440         * configure: Regenerated.
23441         * config.make.in (sizeof-long-double): Remove variable.
23443         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
23444         * configure: Regenerated.
23445         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
23446         variable.
23447         (exceptions): Likewise.
23448         * sysdeps/arm/configure: Regenerated.
23449         * config.make.in (exceptions): Remove variable.
23450         * Makeconfig (uses-callbacks): Use -fexceptions instead of
23451         $(exceptions).
23452         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
23453         (CFLAGS-vdprintf_chk.c): Likewise.
23454         (CFLAGS-printf_chk.c): Likewise.
23455         (CFLAGS-fprintf_chk.c): Likewise.
23456         (CFLAGS-vprintf_chk.c): Likewise.
23457         (CFLAGS-vfprintf_chk.c): Likewise.
23458         (CFLAGS-gets_chk.c): Likewise.
23459         (CFLAGS-fgets_chk.c): Likewise.
23460         (CFLAGS-fgets_u_chk.c): Likewise.
23461         (CFLAGS-fread_chk.c): Likewise.
23462         (CFLAGS-fread_u_chk.c): Likewise.
23463         (CFLAGS-wprintf_chk.c): Likewise.
23464         (CFLAGS-fwprintf_chk.c): Likewise.
23465         (CFLAGS-vwprintf_chk.c): Likewise.
23466         (CFLAGS-vfwprintf_chk.c): Likewise.
23467         (CFLAGS-fgetws_chk.c): Likewise.
23468         (CFLAGS-fgetws_u_chk.c): Likewise.
23469         * libio/Makefile (CFLAGS-fileops.c): Likewise.
23470         (CFLAGS-fputc.c): Likewise.
23471         (CFLAGS-fputwc.c): Likewise.
23472         (CFLAGS-freopen64.c): Likewise.
23473         (CFLAGS-freopen.c): Likewise.
23474         (CFLAGS-fseek.c): Likewise.
23475         (CFLAGS-fseeko64.c): Likewise.
23476         (CFLAGS-fseeko.c): Likewise.
23477         (CFLAGS-ftello64.c): Likewise.
23478         (CFLAGS-ftello.c): Likewise.
23479         (CFLAGS-fwide.c): Likewise.
23480         (CFLAGS-genops.c): Likewise.
23481         (CFLAGS-getc.c): Likewise.
23482         (CFLAGS-getchar.c): Likewise.
23483         (CFLAGS-getwc.c): Likewise.
23484         (CFLAGS-getwchar.c): Likewise.
23485         (CFLAGS-iofclose.c): Likewise.
23486         (CFLAGS-iofflush.c): Likewise.
23487         (CFLAGS-iofgetpos64.c): Likewise.
23488         (CFLAGS-iofgetpos.c): Likewise.
23489         (CFLAGS-iofgets.c): Likewise.
23490         (CFLAGS-iofgetws.c): Likewise.
23491         (CFLAGS-iofputs.c): Likewise.
23492         (CFLAGS-iofputws.c): Likewise.
23493         (CFLAGS-iofread.c): Likewise.
23494         (CFLAGS-iofsetpos64.c): Likewise.
23495         (CFLAGS-iofsetpos.c): Likewise.
23496         (CFLAGS-ioftell.c): Likewise.
23497         (CFLAGS-iofwrite.c): Likewise.
23498         (CFLAGS-iogetdelim.c): Likewise.
23499         (CFLAGS-iogetline.c): Likewise.
23500         (CFLAGS-iogets.c): Likewise.
23501         (CFLAGS-iogetwline.c): Likewise.
23502         (CFLAGS-ioputs.c): Likewise.
23503         (CFLAGS-ioseekoff.c): Likewise.
23504         (CFLAGS-ioseekpos.c): Likewise.
23505         (CFLAGS-iosetbuffer.c): Likewise.
23506         (CFLAGS-iosetvbuf.c): Likewise.
23507         (CFLAGS-ioungetc.c): Likewise.
23508         (CFLAGS-ioungetwc.c): Likewise.
23509         (CFLAGS-oldfileops.c): Likewise.
23510         (CFLAGS-oldiofclose.c): Likewise.
23511         (CFLAGS-oldiofgetpos64.c): Likewise.
23512         (CFLAGS-oldiofgetpos.c): Likewise.
23513         (CFLAGS-oldiofsetpos64.c): Likewise.
23514         (CFLAGS-oldiofsetpos.c): Likewise.
23515         (CFLAGS-peekc.c): Likewise.
23516         (CFLAGS-putc.c): Likewise.
23517         (CFLAGS-putchar.c): Likewise.
23518         (CFLAGS-putwc.c): Likewise.
23519         (CFLAGS-putwchar.c): Likewise.
23520         (CFLAGS-rewind.c): Likewise.
23521         (CFLAGS-wfileops.c): Likewise.
23522         (CFLAGS-wgenops.c): Likewise.
23523         (CFLAGS-oldiofopen.c): Likewise.
23524         (CFLAGS-iofopen.c): Likewise.
23525         (CFLAGS-iofopen64.c): Likewise.
23526         (CFLAGS-oldtmpfile.c): Likewise.
23527         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
23528         (CFLAGS-fprintf.c): Likewise.
23529         (CFLAGS-printf.c): Likewise.
23530         (CFLAGS-vfwprintf.c): Likewise.
23531         (CFLAGS-vfscanf.c): Likewise.
23532         (CFLAGS-vfwscanf.c): Likewise.
23533         (CFLAGS-fscanf.c): Likewise.
23534         (CFLAGS-scanf.c): Likewise.
23535         (CFLAGS-isoc99_vfscanf.c): Likewise.
23536         (CFLAGS-isoc99_vscanf.c): Likewise.
23537         (CFLAGS-isoc99_fscanf.c): Likewise.
23538         (CFLAGS-isoc99_scanf.c): Likewise.
23539         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
23540         (CFLAGS-isoc99_fwscanf.c): Likewise.
23541         (CFLAGS-isoc99_vwscanf.c): Likewise.
23542         (CFLAGS-isoc99_vfwscanf.c): Likewise.
23544         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
23545         after mkstemp64.
23546         * login/tst-utmp.c (do_prepare): Likewise.
23547         * rt/tst-aio.c (do_prepare): Likewise.
23548         * rt/tst-aio64.c (do_prepare): Likewise.
23550 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23552         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
23553         (__lll_lock_elision): Remove adapt_count decrement...
23554         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23555         (__lll_trylock_elision): Likewise.
23556         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
23557         (__lll_unlock_elision): ... to here. And utilize
23558         new adapt_count parameter.
23559         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23560         (__lll_unlock_elision): Update to include adapt_count
23561         parameter.
23562         (lll_unlock_elision): Pass pointer to adapt_count
23563         variable.
23565 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23567         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
23568         Add elision adapt_count parameter to list of arguments.
23569         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
23570         (lll_unlock_elision): Update with new parameter list
23571         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
23572         (lll_unlock_elision): Likewise.
23573         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
23574         (lll_unlock_elision): Likewise.
23576 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23578         [BZ #19122]
23579         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
23580         attribute_hidden.
23582         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
23583         attribute_hidden.
23584         [IS_IN (rtld)] (__strdup): Likewise.
23585         [IS_IN (rtld)] (__strerror_r): Likewise.
23586         [IS_IN (rtld)] (__strsep_g): Likewise.
23587         [IS_IN (rtld)] (memchr): Likewise.
23588         [IS_IN (rtld)] (memcmp): Likewise.
23589         [IS_IN (rtld)] (memcpy): Likewise.
23590         [IS_IN (rtld)] (memmove): Likewise.
23591         [IS_IN (rtld)] (memset): Likewise.
23592         [IS_IN (rtld)] (rawmemchr): Likewise.
23593         [IS_IN (rtld)] (stpcpy): Likewise.
23594         [IS_IN (rtld)] (strchr): Likewise.
23595         [IS_IN (rtld)] (strcmp): Likewise.
23596         [IS_IN (rtld)] (strlen): Likewise.
23597         [IS_IN (rtld)] (strnlen): Likewise.
23598         [IS_IN (rtld)] (strsep): Likewise.
23600         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
23601         attribute_hidden.
23602         [IS_IN (rtld)] (__strtoul_internal): Likewise.
23604         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
23605         attribute_hidden.
23606         [IS_IN (rtld)] (__libc_sigaction): Likewise.
23608         * include/setjmp.h (__longjmp): Add attribute_hidden.
23609         [IS_IN (rtld)] (__sigsetjmp): Likewise.
23611         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
23612         Add attribute_hidden.
23614         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
23615         [IS_IN (rtld)] (__open): Likewise.
23616         [IS_IN (rtld)] (__fcntl): Likewise.
23618         * include/dirent.h (__opendirat): Add attribute_hidden.
23619         (__getdents): Likewise.
23620         (__getdents64): Likewise.
23621         (__alloc_dir): Likewise.
23622         [IS_IN (rtld)] (__closedir): Likewise.
23623         [IS_IN (rtld)] (__fdopendir): Likewise.
23624         [IS_IN (rtld)] (__readdir): Likewise.
23625         [IS_IN (rtld)] (__readdir64): Likewise.
23626         [IS_IN (rtld)] (__rewinddir): Likewise.
23628         * include/dlfcn.h (_dl_catch_error): Moved to ...
23629         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
23630         attribute_hidden.
23632         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
23633         (_itoa_word): Likewise.
23635         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
23636         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
23637         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
23638         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
23639         (_dl_higher_prime_number): Likewise.
23640         (_dl_debug_printf_c): Likewise.
23641         (_dl_signal_cerror): Likewise.
23642         (_dl_receive_error): Likewise.
23643         (_dl_reloc_bad_type): Likewise.
23644         (_dl_resolve_conflicts): Likewise.
23645         (_dl_check_all_versions): Likewise.
23646         (_dl_check_map_versions): Likewise.
23647         (_dl_sort_fini): Likewise.
23648         (_dl_debug_initialize): Likewise.
23649         (_dl_init_paths): Likewise.
23650         (_dl_show_auxv): Likewise.
23651         (_dl_next_ld_env_entry): Likewise.
23652         (_dl_important_hwcaps): Likewise.
23653         (_dl_load_cache_lookup): Likewise.
23654         (_dl_update_slotinfo): Likewise.
23655         (_dl_show_scope): Likewise.
23657         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
23658         attribute_hidden.
23659         (_wordcopy_fwd_dest_aligned): Likewise.
23660         (_wordcopy_bwd_aligned): Likewise.
23661         (_wordcopy_bwd_dest_aligned): Likewise.
23663         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23664         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23665         Likewise.
23666         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
23667         Likewise.
23668         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
23670 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23672         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
23673         GCC 5 requirement.
23675 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
23677         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
23678         test.
23679         * sysdeps/i386/configure: Regenerated.
23680         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
23681         code unconditional.
23683         * configure.ac (libc_cv_asm_previous_directive): Remove configure
23684         test.
23685         (libc_cv_asm_popsection_directive): Likewise.
23686         * configure: Regenerated.
23687         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
23688         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
23689         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
23690         (__make_section_unallocated): Make definition unconditional.
23691         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
23692         Remove conditional definition.
23693         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
23694         (__make_section_unallocated): Likewise.
23696         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
23697         * configure: Regenerated.
23698         * config.make.in (static-libgcc): Remove variable.
23699         * Makerules (build-shlib-helper): Use -static-libgcc instead of
23700         $(static-libgcc).
23701         (build-module-helper): Likewise.
23703         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
23704         * configure: Regenerated.
23706 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23708         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
23709         (struct char_buffer): New type.
23710         (char_buffer_start, char_buffer_size, char_buffer_error)
23711         (char_buffer_rewind, char_buffer_add): New functions.
23712         (ADDW): Remove macro, replaced by the char_buffer_add function.
23713         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
23714         of extend_alloca.  Make control flow more explicit.
23716 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23718         [BZ #19137]
23719         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
23720         Add -fomit-frame-pointer.
23721         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
23723 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23725         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
23726         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
23727         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
23728         only if !__GNUC_PREREQ (5,0).
23729         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
23730         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
23731         (INTERNAL_SYSCALL_NCS): Likewise.
23732         (LOADREGS_0): New macro for GCC 5.
23733         (ASMARGS_0): Likewise.
23734         (LOADREGS_1): Likewise.
23735         (ASMARGS_1): Likewise.
23736         (LOADREGS_2): Likewise.
23737         (ASMARGS_2): Likewise.
23738         (LOADREGS_3): Likewise.
23739         (ASMARGS_3): Likewise.
23740         (LOADREGS_4): Likewise.
23741         (ASMARGS_4): Likewise.
23742         (LOADREGS_5): Likewise.
23743         (ASMARGS_5): Likewise.
23744         (LOADREGS_6): Likewise.
23745         (ASMARGS_6): Likewise.
23747 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
23749         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
23750         -fomit-frame-pointer.
23751         (CFLAGS-mmap64.c): Likewise.
23752         (CFLAGS-semtimedop.c): Likewise.
23753         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
23754         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
23755         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23756         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23758 2015-10-15  Florian Weimer  <fweimer@redhat.com>
23760         [BZ #18928]
23761         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
23762         _dl_pointer_guard member.
23763         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
23764         initializer.
23765         (security_init): Always set up pointer guard.
23766         (process_envvars): Do not process LD_POINTER_GUARD.
23768 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
23770         [BZ #19134]
23771         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
23772         (.LC2): Likewise.
23773         (.LC3): Likewise.
23774         (__lround): Do not add 0.5 to integer or out-of-range arguments.
23776 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23778         [BZ #19129]
23779         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
23780         r0 and r1.
23782 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
23784         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
23786 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
23788         * include/stap-probe.h: Fix macro definition formatting.
23790 2015-10-14  Florian Weimer  <fweimer@redhat.com>
23792         [BZ #19074]
23793         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
23794         load and store num_ifs.
23796 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23798         [BZ #18822]
23799         * sysdeps/unix/sysv/linux/sched_getaffinity.c
23800         (__sched_getaffinity_new): Add libc_hidden_proto and
23801         libc_hidden_def.
23803 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23805         [BZ #19007]
23806         * scripts/localplt.awk: Also allow GOT references.
23807         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
23808         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
23809         with "+ REL R_386_GLOB_DAT".
23810         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
23811         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
23813 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
23815         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
23816         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23817         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
23818         Likewise.
23819         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
23820         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
23821         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
23822         INTERNAL_SYSCALLINTERNAL_SYSCALL and
23823         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23824         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
23825         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23826         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
23827         Likewise.
23828         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23830 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23832         [BZ #19125]
23833         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
23834         <math_private.h> and <stdint.h>.
23835         (__llround): Avoid conversions to and from long long int, and
23836         subtractions, where those might raise spurious exceptions.
23837         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
23838         <math_private.h> and <stdint.h>.
23839         (__llroundf): Avoid conversions to and from long long int, and
23840         subtractions, where those might raise spurious exceptions.
23842 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23844         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
23845         INLINE_SYSCALL_ERROR_RETURN_VALUE.
23846         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
23847         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
23848         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
23849         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
23850         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
23851         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
23852         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
23853         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
23854         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
23855         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23856         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
23857         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23858         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23859         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
23860         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
23861         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
23862         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
23863         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
23864         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
23865         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
23866         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
23867         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
23868         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
23869         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23870         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
23871         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
23872         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23873         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
23874         (__xstat64_conv): Likewise.
23875         (__xstat32_conv): Likewise.
23877 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23879         * sysdeps/unix/sysv/linux/sysdep.h: New file.
23880         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
23881         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
23882         <sysdeps/unix/sysv/linux/sysdep.h>.
23883         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
23884         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
23885         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
23886         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23887         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
23888         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
23889         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
23890         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23891         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23894         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23896         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23897         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
23898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23899         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
23900         (sysdep-dl-routines): Add sysdep.
23901         [$(subdir) == nptl] (libpthread-routines): Likewise.
23902         [$(subdir) == rt] (librt-routines): Likewise.
23903         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
23904         PIC when branching to SYSCALL_ERROR_LABEL.
23905         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
23906         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
23907         <sysdeps/unix/sysv/linux/sysdep.h>.
23908         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
23909         (SYSCALL_ERROR_ERRNO): Removed.
23910         (SYSCALL_ERROR_HANDLER): Changed to empty.
23911         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
23912         (__syscall_error): New prototype.
23913         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
23914         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
23916 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
23918         [BZ #19124]
23919         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
23920         (_dl_runtime_resolve_avx512): Make it a hidden alias of
23921         _dl_runtime_resolve_avx.
23922         (_dl_runtime_profile_avx512): Make it a hidden alias of
23923         _dl_runtime_profile_avx.
23925 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
23927         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
23928         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
23929         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
23930         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
23932         [BZ #16422]
23933         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
23934         New configure test.
23935         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
23936         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
23937         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
23938         <math_private.h> and <stdint.h>.
23939         (__llrint): Avoid conversions to long long int where those might
23940         raise spurious exceptions.
23941         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
23942         <math_private.h> and <stdint.h>.
23943         (__llrintf): Avoid conversions to long long int where those might
23944         raise spurious exceptions.
23946 2015-10-12  Andreas Schwab  <schwab@suse.de>
23948         [BZ #18969]
23949         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
23950         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
23951         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
23952         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
23953         $(gen-locales).
23954         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
23955         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
23956         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
23957         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
23958         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
23959         $(gen-locales).
23960         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
23961         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
23962         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
23963         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
23964         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
23965         ($(objpfx)tst-ftell-active-handler.out)
23966         ($(objpfx)tst-ftell-append.out)
23967         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
23968         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
23969         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
23970         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
23971         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
23972         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
23973         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
23974         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
23975         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
23976         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
23977         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
23978         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
23979         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
23980         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
23981         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
23982         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
23983         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
23984         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
23985         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
23986         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
23987         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
23988         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
23989         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
23990         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
23991         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
23992         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
23993         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
23994         $(gen-locales).
23995         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
23996         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
23997         $(gen-locales).
23998         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
23999         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
24000         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
24001         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
24002         $(gen-locales).
24003         * libio/tst_wprintf2.c (main): Use explicit locale.
24004         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
24006 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24008         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
24009         __msg_sig_post.
24010         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
24012 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24014         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24015         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24017         * sysdeps/arm/libm-test-ulps: Regenerated.
24019         [BZ #15470]
24020         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
24022         [BZ #16399]
24023         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
24024         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
24025         and <fix-fp-int-convert-overflow.h>.
24026         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24027         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24028         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
24029         and <fix-fp-int-convert-overflow.h>.
24030         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
24031         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24032         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
24033         <fix-fp-int-convert-overflow.h>.
24034         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
24035         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24036         * sysdeps/ieee754/dbl-64/s_lround.c: Include
24037         <fix-fp-int-convert-overflow.h>.
24038         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
24039         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24040         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
24041         and <fix-fp-int-convert-overflow.h>.
24042         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24043         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24044         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
24045         <limits.h> and <fix-fp-int-convert-overflow.h>.
24046         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24047         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24048         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
24049         and <fix-fp-int-convert-overflow.h>.
24050         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
24051         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24052         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
24053         and <fix-fp-int-convert-overflow.h>.
24054         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
24055         FIX_DBL_LLONG_CONVERT_OVERFLOW.
24056         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
24058 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
24060         [BZ #18589]
24061         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
24062         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
24063         $(gen-locales).
24065 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24066             Phil Blundell <pb@pbcl.net>
24068         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
24069         * nptl/tst-cancel26.c: New file.
24070         * nptl/tst-cancel27.c: Likewise.
24072 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
24074         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
24075         __ILP32__ isn't defined.
24076         (lrint): Likewise.
24077         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
24078         (lrintf): Likewise.
24079         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
24080         (lrintl): Likewise.
24081         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
24082         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
24083         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
24085 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24087         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
24088         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
24090         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
24091         file.
24092         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
24093         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
24095 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
24097         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
24098         configure test.
24099         * sysdeps/i386/configure: Regenerated.
24100         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
24101         configure test.
24102         * sysdeps/x86_64/configure: Regenerated.
24103         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
24104         Make code unconditional.
24106         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
24107         test.
24108         * sysdeps/i386/configure: Regenerated.
24109         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
24110         test.
24111         * sysdeps/x86_64/configure: Regenerated.
24112         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
24113         Make code unconditional.
24114         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24115         Likewise.
24116         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
24117         Likewise.
24118         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24119         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
24120         code unconditional.
24121         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24122         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
24123         code unconditional.
24124         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24125         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
24126         code unconditional.
24127         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
24128         code unconditional.
24129         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24130         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
24131         code unconditional.
24132         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24133         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
24134         code unconditional.
24135         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24136         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
24137         code unconditional.
24138         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24139         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
24140         code unconditional.
24141         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
24142         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
24144         [BZ #19095]
24145         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
24146         mantissa to long int before shifting left.
24148 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24150         [BZ #19094]
24151         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
24152         <limits.h>.
24153         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24154         when result overflows but exception would not result from cast.
24155         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
24156         <limits.h>.
24157         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24158         when result overflows but exception would not result from cast.
24159         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
24160         <limits.h>.
24161         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24162         when result overflows but exception would not result from cast.
24163         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
24164         <limits.h>.
24165         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24166         when result overflows but exception would not result from cast.
24167         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
24168         <limits.h>.
24169         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
24170         when result overflows but exception would not result from cast.
24171         * math/libm-test.inc (lrint_test_data): Add more tests.
24172         (llrint_test_data): Likewise.
24174 2015-10-08  Roland McGrath  <roland@hack.frob.com>
24176         [BZ #18872]
24177         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
24178         Move out from under [$(run-built-tests) = yes] conditional.
24179         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
24180         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
24182 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
24184         [BZ #18589]
24185         * string/Makefile (tests): Add bug-strcoll2.
24186         (LOCALES): Add cs_CZ.UTF-8.
24187         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
24189         [BZ #18589]
24190         * string/bug-strcoll2.c: New file.
24191         * locale/categories.def: Revert commit
24192         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
24193         * locale/langinfo.h: Likewise.
24194         * locale/localeinfo.h: Likewise.
24195         * locale/C-collate.c: Likewise.
24196         * locale/programs/ld-collate.c (collate_output): Likewise.
24197         * string/strcoll_l.c (STRDIFF): Likewise.
24198         (STRCOLL): Likewise.
24199         * wcsmbs/wcscoll_l.c: Likewise.
24201 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
24203         * math/libm-test.inc (lround_test_data): Do not expect the absence
24204         of "inexact" for some tests with non-integer arguments.
24205         (llround_test_data): Likewise.
24207         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
24208         test.
24209         (libc_cv_cc_sse2avx): Likewise.
24210         * sysdeps/i386/configure: Regenerated.
24211         * sysdeps/i386/i686/multiarch/Makefile
24212         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
24213         [$(subdir) = math].
24214         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
24215         code unconditional.
24216         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24217         Likewise.
24218         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
24219         Likewise.
24220         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24221         Likewise.
24222         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
24223         test.
24224         (libc_cv_cc_sse2avx): Likewise.
24225         * sysdeps/x86_64/configure: Regenerated.
24226         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
24227         unconditional.
24228         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
24229         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
24230         unconditional.
24231         (_dl_runtime_profile)
24232         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
24233         conditional code.
24234         * sysdeps/x86_64/fpu/multiarch/Makefile
24235         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
24236         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24237         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24238         * sysdeps/x86_64/fpu/multiarch/e_exp.c
24239         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24240         * sysdeps/x86_64/fpu/multiarch/e_log.c
24241         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24242         * sysdeps/x86_64/fpu/multiarch/s_atan.c
24243         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24244         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
24245         Likewise.
24246         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
24247         Likewise.
24248         * sysdeps/x86_64/fpu/multiarch/s_sin.c
24249         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24250         * sysdeps/x86_64/fpu/multiarch/s_tan.c
24251         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24252         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
24253         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
24254         (HAVE_SSE2AVX_SUPPORT): Likewise.
24256 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
24258         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
24259         instead of #pragma optimize.
24261 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24263         [BZ #17195]
24264         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
24265         as is similarly done in systrim and _int_free already.
24267 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24269         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
24271 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24273         [BZ #19088]
24274         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
24275         <limits.h>.
24276         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24277         overflows but exception would not result from cast.
24278         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
24279         and <limits.h>.
24280         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
24281         overflows but exception would not result from cast.
24282         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
24283         <limits.h>.
24284         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24285         overflows but exception would not result from cast.
24286         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
24287         <limits.h>.
24288         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24289         overflows but exception would not result from cast.
24290         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
24291         <limits.h>.
24292         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
24293         overflows but exception would not result from cast.
24294         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
24295         <limits.h>.
24296         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
24297         overflows but exception would not result from cast.
24298         * math/libm-test.inc (lround_test_data): Add more tests.
24299         (llround_test_data): Likewise.
24301 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
24303         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
24304         (CFLAGS-ialloc.c): Ditto.
24305         (CFLAGS-scheck.c): Ditto.
24307 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
24309         [BZ #19086]
24310         * manual/filesys.texi (Storage Allocation): Fix argument order for
24311         posix_fallocate64.
24313 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24315         [BZ #19085]
24316         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
24317         exponent below 48 inside case for non-overflowing exponent.
24318         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
24320 2015-10-07  Florian Weimer  <fweimer@redhat.com>
24322         * iconvdata/cp737.h (from_idx): Add const.
24323         * iconvdata/cp775.h (from_idx): Likewise.
24325 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
24327         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
24328         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
24329         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
24331         [BZ #19079]
24332         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
24333         file, conditioned on [!_LP64].
24334         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
24335         [!_LP64] (__lround): Do not define as function or alias.
24336         [!_LP64] (lround): Likewise.
24337         [!_LP64] (__lroundl): Likewise.
24338         [!_LP64] (lroundl): Likewise.
24339         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
24340         macro.
24341         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24342         Likewise.
24344 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24346         * math/libm-test.inc (lrint_test_data): Add more tests.
24347         (llrint_test_data): Likewise.
24348         (lround_test_data): Likewise.
24349         (llround_test_data): Likewise.
24351         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
24352         (llrint_test_data): Add tests used for lrint.
24354         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
24355         test.
24356         * sysdeps/i386/configure: Regenerated.
24357         * sysdeps/i386/i686/multiarch/Makefile
24358         [$(config-cflags-sse4) = yes]: Make code unconditional.
24359         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24360         Likewise.
24361         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
24362         Likewise.
24363         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
24364         test.
24365         * sysdeps/x86_64/configure: Regenerated.
24366         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
24367         Make code unconditional.
24368         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
24369         Likewise.
24370         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
24371         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
24373         * scripts/rpm2dynsym.sh: Remove file.
24375 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24377         * configure.ac (libc_cv_cxx_thread_local): Define.
24378         * configure: Regenerate.
24379         * config.make.in (have-cxx-thread_local): Define.
24380         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
24381         (LDLIBS-tst-thread_local1): Define.
24382         (tests): Add tst-thread_local1.
24383         [have-cxx-thread_local != yes] (tests-unsupported): Add
24384         tst-thread_local1.
24385         * nptl/tst-thread_local1.cc: New file.
24387 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
24389         [BZ #19078]
24390         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
24391         (u_thres): Likewise.
24392         (__expl): Determine whether to call __kernel_standard_l based on
24393         value of result, not argument.
24395         * math/libm-test.inc (scalb_test_data): Add more expectations for
24396         the "inexact" exception.
24398         [BZ #19077]
24399         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
24400         0.0L for argument 1.0L.
24402         [BZ #19076]
24403         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
24404         constant 0.0L when computing infinite result.
24406 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24408         [BZ #10432]
24409         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
24410         malloc_usable_size.
24412 2015-10-06  Florian Weimer  <fweimer@redhat.com>
24414         [BZ #19018]
24415         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
24416         Mangle function pointer before storing it.
24417         (__call_tls_dtors): Demangle function pointer before calling it.
24419 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
24421         [BZ #19012]
24422         * iconv/gconv_db.c (gen_steps): Check for additional errors.
24423         Clean up on failure.
24425 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
24427         [BZ #19071]
24428         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
24429         long int variable to store possibly incremented high part of
24430         mantissa.
24431         * math/libm-test.inc (lround_test_data): Add tests used for
24432         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
24433         for tests requiring 64-bit long.  Do not condition tests on
24434         [TEST_FLOAT] unnecessarily.
24435         (llround_test_data): Add tests used for lround.  Add another
24436         expectation for the "inexact" exception.  Do not condition tests
24437         on [TEST_FLOAT] unnecessarily.
24439         [BZ #887]
24440         [BZ #19049]
24441         [BZ #19050]
24442         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
24443         * sysdeps/ieee754/dbl-64/e_log10.c: Include
24444         <fix-int-fp-convert-zero.h>.
24445         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24446         * sysdeps/ieee754/dbl-64/e_log2.c: Include
24447         <fix-int-fp-convert-zero.h>.
24448         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24449         * sysdeps/ieee754/dbl-64/s_erf.c: Include
24450         <fix-int-fp-convert-zero.h>.
24451         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24452         * sysdeps/ieee754/dbl-64/s_logb.c: Include
24453         <fix-int-fp-convert-zero.h>.
24454         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24455         * sysdeps/ieee754/flt-32/e_log10f.c: Include
24456         <fix-int-fp-convert-zero.h>.
24457         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24458         * sysdeps/ieee754/flt-32/e_log2f.c: Include
24459         <fix-int-fp-convert-zero.h>.
24460         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24461         * sysdeps/ieee754/flt-32/s_erff.c: Include
24462         <fix-int-fp-convert-zero.h>.
24463         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24464         * sysdeps/ieee754/flt-32/s_logbf.c: Include
24465         <fix-int-fp-convert-zero.h>.
24466         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24467         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
24468         <fix-int-fp-convert-zero.h>.
24469         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24470         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
24471         <fix-int-fp-convert-zero.h>.
24472         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
24473         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
24474         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
24475         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
24476         file.
24477         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
24479 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24483 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
24485         [BZ #19059]
24486         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
24487         overflowing computation.
24488         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24489         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
24490         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24491         Likewise.
24492         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24493         Likewise.
24494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
24495         Likewise.
24496         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24497         Likewise.
24498         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24499         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24500         Likewise.
24501         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24502         Likewise.
24503         * math/libm-test.inc (nexttoward_test_data): Add more tests.
24505         * nss/rewrite_field.c (__nss_rewrite_field): Use
24506         internal_function.
24507         * nss/valid_field.c (__nss_valid_field): Likewise.
24508         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
24510 2015-10-02  Florian Weimer  <fweimer@redhat.com>
24512         [BZ #18724]
24513         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
24514         (__nss_invalid_field_characters, __nss_valid_field)
24515         (__nss_valid_list_field, __nss_rewrite_field): Declare.
24516         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
24517         tst-field.c: New file.
24518         * nss/Makefile (routines): Add valid_field, rewrite_field.
24519         (tests-static): Define unconditionally.
24520         (tests): Include tests-static.
24521         [build-static-nss] (tests-static): Use append.
24522         [build-static-nss] (tests): Remove modification.
24523         * nss/getent.c (print_group): Call putgrent.  Report error.
24524         (print_gshadow): Call putsgent.  Report error.
24525         (print_passwd): Call putpwent.  Report error.
24526         (print_shadow): Call putspent.  Report error.
24527         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
24528         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
24529         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
24530         name, password, directory, shell fields for valid syntax.  Rewrite
24531         GECOS field to match syntax.
24532         * pwd/Makefile (tests): Add tst-putpwent.
24533         * pwd/tst-putpwent.c: New file.
24534         * grp/putgrent.c (putgrent): Convert to ISO function definition.
24535         Check grName, grpasswd, gr_mem fields for valid syntax.
24536         Change loop variable i to size_t.
24537         * grp/Makefile (tests): Add tst-putgrent.
24538         * grp/tst-putgrent.c: New file.
24539         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
24540         valid syntax.
24541         * shadow/Makefile (tests): Add tst-putspent.
24542         * shadow/tst-putspent.c: New file.
24543         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
24544         sg_mem fields for valid syntax.
24545         * gshadow/Makefile (tests): Add tst-putsgent.
24546         * gshadow/tst-putsgent.c: New file.
24548 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24550         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
24551         assembly instructions.
24553 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24555         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
24556         prefix from operands.
24558 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
24560         [BZ #16347]
24561         [BZ #19046]
24562         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
24563         <libc-internal.h>.
24564         (MAXLGM): Do not use diagnostic control macros.
24565         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
24566         threshold for ldbl-128ibm.
24567         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
24568         instead of multiplying by log then subtracting.
24569         * math/auto-libm-test-in: Add more tests of lgamma.
24570         * math/auto-libm-test-out: Regenerated.
24572         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
24573         (TYPE_HEX_DIG): Likewise.
24574         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
24575         precisions when printing floating-point numbers.
24576         (check_float_internal): Likewise.
24578 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24580         [BZ #16620]
24581         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
24582         of log (10) rounded downward to 48 bits.
24583         (log10_low): Use corresponding low part of log (10).
24585         [BZ #19032]
24586         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
24587         compute result as (x - x) / (x - x) not as 0 / 0.
24588         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
24589         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
24591         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
24592         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
24593         and expm1.
24594         * math/auto-libm-test-out: Regenerated.
24595         * math/libm-test.inc (acos_test_data): Add more tests.
24596         (asin_test_data): Likewise.
24597         (asinh_test_data): Likewise.
24598         (atan_test_data): Likewise.
24599         (atanh_test_data): Likewise.
24600         (atan2_test_data): Likewise.
24601         (cbrt_test_data): Likewise.
24602         (ceil_test_data): Likewise.
24603         (copysign_test_data): Likewise.
24604         (cos_test_data): Likewise.
24605         (cosh_test_data): Likewise.
24606         (erf_test_data): Likewise.
24607         (erfc_test_data): Likewise.
24608         (exp_test_data): Likewise.
24609         (exp10_test_data): Likewise.
24610         (exp2_test_data): Likewise.
24611         (expm1_test_data): Likewise.
24612         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24614 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
24616         [BZ #19006]
24617         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
24618         to ...
24619         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
24620         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
24621         to ...
24622         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
24623         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
24624         to ...
24625         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
24626         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
24627         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
24628         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
24629         to ...
24630         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
24631         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
24632         Moved to ...
24633         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
24634         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
24635         Moved to ...
24636         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
24637         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
24638         to ...
24639         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
24640         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
24641         Moved to ...
24642         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
24643         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
24644         to ...
24645         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
24646         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
24647         Removed.
24648         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
24649         Likewise.
24650         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
24651         Likewise.
24652         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
24653         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
24654         Likewise.
24655         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
24656         Likewise.
24657         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
24658         Likewise.
24659         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
24660         Likewise.
24661         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
24662         Likewise.
24663         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
24664         Likewise.
24665         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
24666         Likewise.
24667         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
24668         Likewise.
24669         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
24670         Likewise.
24671         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
24672         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
24673         Likewise.
24674         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
24675         Likewise.
24676         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
24677         Likewise.
24678         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
24679         Likewise.
24680         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
24681         Likewise.
24682         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
24683         Replace ../i486/pthread_cond_timedwait.S with
24684         ../pthread_cond_timedwait.S.
24686 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
24688         * math/libm-test.inc (acos_test_data): Refine expectations for
24689         errno and "inexact" exceptions.
24690         (acosh_test_data): Likewise.
24691         (asin_test_data): Likewise.
24692         (asinh_test_data): Likewise.
24693         (atan_test_data): Likewise.
24694         (atanh_test_data): Likewise.
24695         (atan2_test_data): Likewise.
24696         (cbrt_test_data): Likewise.
24697         (ceil_test_data): Likewise.
24698         (copysign_test_data): Likewise.
24699         (cosh_test_data): Likewise.
24700         (erf_test_data): Likewise.
24701         (erfc_test_data): Likewise.
24702         (exp_test_data): Likewise.
24703         (exp10_test_data): Likewise.
24704         (exp2_test_data): Likewise.
24705         (expm1_test_data): Likewise.
24706         (fabs_test_data): Likewise.
24707         (floor_test_data): Likewise.
24708         (fma_test_data): Likewise.
24709         (fmax_test_data): Likewise.
24710         (fmin_test_data): Likewise.
24711         (fmod_test_data): Likewise.
24712         (fpclassify_test_data): Likewise.
24713         (frexp_test_data): Likewise.
24714         (hypot_test_data): Likewise.
24715         (ilogb_test_data): Likewise.
24716         (isgreater_test_data): Likewise.
24717         (isgreaterequal_test_data): Likewise.
24718         (isinf_test_data): Likewise.
24719         (isless_test_data): Likewise.
24720         (islessequal_test_data): Likewise.
24721         (islessgreater_test_data): Likewise.
24722         (isnan_test_data): Likewise.
24723         (isnormal_test_data): Likewise.
24724         (issignaling_test_data): Likewise.
24725         (isunordered_test_data): Likewise.
24726         (j0_test_data): Likewise.
24727         (j1_test_data): Likewise.
24728         (jn_test_data): Likewise.
24729         (lgamma_test_data): Likewise.
24730         (lrint_test_data): Likewise.
24731         (llrint_test_data): Likewise.
24732         (log_test_data): Likewise.
24733         (log10_test_data): Likewise.
24734         (log1p_test_data): Likewise.
24735         (log2_test_data): Likewise.
24736         (logb_test_data): Likewise.
24737         (lround_test_data): Likewise.
24738         (llround_test_data): Likewise.
24739         (modf_test_data): Likewise.
24740         (nearbyint_test_data): Likewise.
24741         (nextafter_test_data): Likewise.
24742         (nexttoward_test_data): Likewise.
24743         (pow_test_data): Likewise.
24744         (remainder_test_data): Likewise.
24745         (remquo_test_data): Likewise.
24746         (rint_test_data): Likewise.
24747         (round_test_data): Likewise.
24748         (signbit_test_data): Likewise.
24749         (sinh_test_data): Likewise.
24750         (sqrt_test_data): Likewise.
24751         (tanh_test_data): Likewise.
24752         (tgamma_test_data): Likewise.
24753         (trunc_test_data): Likewise.
24754         (y0_test_data): Likewise.
24755         (y1_test_data): Likewise.
24756         (yn_test_data): Likewise.
24757         (significand_test_data): Likewise.
24759 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
24761         * manual/filesys.texi (Storage Allocation): Document that
24762         posix_fallocate emulation fails when fd is open with O_WRONLY.
24764 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
24766         [BZ #19016]
24767         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
24768         allow more cases with X^2 + Y^2 >= 0.5.
24769         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
24770         normal element in sum instead of special-casing based on values of
24771         arguments.
24772         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
24773         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
24774         -1 as normal element in sum instead of special-casing based on
24775         values of arguments.
24776         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
24777         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
24778         (__x2y2m1): Update comment.
24779         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
24780         as normal element in sum instead of special-casing based on values
24781         of arguments.
24782         * math/s_clog.c (__clog): Handle more cases using log1p without
24783         hypot.
24784         * math/s_clog10.c (__clog10): Likewise.
24785         * math/s_clog10f.c (__clog10f): Likewise.
24786         * math/s_clog10l.c (__clog10l): Likewise.
24787         * math/s_clogf.c (__clogf): Likewise.
24788         * math/s_clogl.c (__clogl): Likewise.
24789         * math/auto-libm-test-in: Add more tests of clog and clog10.
24790         * math/auto-libm-test-out: Regenerated.
24791         * sysdeps/i386/fpu/libm-test-ulps: Update.
24792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24794 2015-09-28  Martin Sebor  <msebor@redhat.com>
24796         [BZ #18969]
24797         * string/Makefile (LOCALES): Define.
24798         (gen-locales.mk): Include.
24799         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
24800         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
24801         * string/tst-strxfrm2.c (do_test): Print the name of the locale
24802         on setlocale failure.
24804 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
24806         [BZ #18985]
24807         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
24808         (__strftime_internal): Likewise.
24809         * time/tst-strftime.c (do_bz18985): New test.
24810         (do_test): Call it.
24812 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
24814         [BZ #18956]
24815         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
24816         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
24817         extracting high part.
24818         * math/auto-libm-test-in: Add another test of pow.
24819         * math/auto-libm-test-out: Regenerated.
24820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24822 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24824         [BZ #18825]
24825         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
24826         New macro.
24827         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
24828         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24829         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
24830         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
24831         DBL_NARROW_EVAL, reloading the PIC register as needed.
24832         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
24833         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
24834         FLT_NARROW_EVAL.  Use separate return path for case when first
24835         argument is NaN.
24836         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
24837         DEFINE_LDBL_MIN.
24838         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
24839         PIC register.
24840         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
24841         math_check_force_underflow_nonneg.
24842         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
24843         underflow for subnormal result.
24844         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
24845         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
24846         math_check_force_underflow_nonneg.
24847         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
24848         math_check_force_underflow.
24849         * sysdeps/x86_64/fpu/x86_64-math-asm.h
24850         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
24851         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
24852         DEFINE_LDBL_MIN.
24853         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
24854         * math/auto-libm-test-in: Add more tests of pow.
24855         * math/auto-libm-test-out: Regenerated.
24857 2015-09-25  Florian Weimer  <fweimer@redhat.com>
24859         * nss/bug17079.c (init_test_items): Add diagnostic for
24860         inconsistent entries.
24861         (test_buffer_size): Skip inconsistent entries.
24863 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
24865         [BZ #13304]
24866         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
24867         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
24868         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
24870         [BZ #13304]
24871         * sysdeps/microblaze/s_fma.c: New file.
24872         * sysdeps/microblaze/s_fmaf.c: Likewise.
24873         * sysdeps/microblaze/sfp-machine.h: Likewise.
24875 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
24877         [BZ #17250]
24878         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
24879         member.
24881 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24883         [BZ #18803]
24884         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
24885         (MO): New macro.
24886         (__ieee754_hypot) [PIC]: Load PIC register.
24887         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
24888         DBL_NARROW_EVAL.
24889         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
24890         math_check_force_underflow_nonneg in case where result might be
24891         tiny.
24892         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
24893         Likewise.
24894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24895         Likewise.
24896         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
24897         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
24898         * math/auto-libm-test-in: Add more tests of hypot.
24899         * math/auto-libm-test-out: Regenerated.
24901 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
24903         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
24905 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
24907         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
24908         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
24909         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24910         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24911         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
24912         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24913         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24915         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
24916         LOAD_PIC_REG.
24918         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
24919         (FLT_CHECK_FORCE_UFLOW): Likewise.
24920         (DBL_CHECK_FORCE_UFLOW): Likewise.
24921         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
24922         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
24923         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
24924         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24925         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
24926         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24927         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24928         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
24929         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
24930         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24931         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
24932         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
24933         (flt_min): Replace with use of DEFINE_FLT_MIN.
24934         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
24935         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
24936         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24937         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
24938         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
24939         (flt_min): Replace with use of DEFINE_FLT_MIN.
24940         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
24941         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
24942         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24943         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
24944         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
24945         (flt_min): Replace with use of DEFINE_FLT_MIN.
24946         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
24947         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
24948         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
24949         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
24950         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
24951         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
24952         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
24953         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
24954         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24955         (__atan): Use DBL_CHECK_FORCE_UFLOW.
24956         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
24957         (flt_min): Replace with use of DEFINE_FLT_MIN.
24958         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
24959         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
24960         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24961         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
24962         main computation.
24963         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
24964         (flt_min): Replace with use of DEFINE_FLT_MIN.
24965         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
24966         main computation.
24967         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
24968         (dbl_min): Replace with use of DEFINE_DBL_MIN.
24969         (MO): New macro.
24970         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
24971         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
24972         (flt_min): Replace with use of DEFINE_FLT_MIN.
24973         (MO): New macro.
24974         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
24975         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
24976         (__log1pl): Use MO.
24978         [BZ #19003]
24979         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
24980         $(config-cflags-nofma).
24982 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24984         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24986 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
24988         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
24989         (TWO127): Likewise.
24991         * sysdeps/generic/math_private.h (fabs_tg): New macro.
24992         (min_of_type): Likewise.
24993         (math_check_force_underflow): Likewise.
24994         (math_check_force_underflow_nonneg): Likewise.
24995         (math_check_force_underflow_complex): Likewise.
24996         * math/e_exp2l.c (__ieee754_exp2l): Use
24997         math_check_force_underflow_nonneg.
24998         * math/k_casinh.c (__kernel_casinh): Likewise.
24999         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25000         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25001         * math/s_catan.c (__catan): Use
25002         math_check_force_underflow_complex.
25003         * math/s_catanf.c (__catanf): Likewise.
25004         * math/s_catanh.c (__catanh): Likewise.
25005         * math/s_catanhf.c (__catanhf): Likewise.
25006         * math/s_catanhl.c (__catanhl): Likewise.
25007         * math/s_catanl.c (__catanl): Likewise.
25008         * math/s_ccosh.c (__ccosh): Likewise.
25009         * math/s_ccoshf.c (__ccoshf): Likewise.
25010         * math/s_ccoshl.c (__ccoshl): Likewise.
25011         * math/s_cexp.c (__cexp): Likewise.
25012         * math/s_cexpf.c (__cexpf): Likewise.
25013         * math/s_cexpl.c (__cexpl): Likewise.
25014         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
25015         * math/s_clog10.c (__clog10): Likewise.
25016         * math/s_clog10f.c (__clog10f): Likewise.
25017         * math/s_clog10l.c (__clog10l): Likewise.
25018         * math/s_clogf.c (__clogf): Likewise.
25019         * math/s_clogl.c (__clogl): Likewise.
25020         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
25021         * math/s_csinf.c (__csinf): Likewise.
25022         * math/s_csinh.c (__csinh): Likewise.
25023         * math/s_csinhf.c (__csinhf): Likewise.
25024         * math/s_csinhl.c (__csinhl): Likewise.
25025         * math/s_csinl.c (__csinl): Likewise.
25026         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
25027         * math/s_csqrtf.c (__csqrtf): Likewise.
25028         * math/s_csqrtl.c (__csqrtl): Likewise.
25029         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
25030         * math/s_ctanf.c (__ctanf): Likewise.
25031         * math/s_ctanh.c (__ctanh): Likewise.
25032         * math/s_ctanhf.c (__ctanhf): Likewise.
25033         * math/s_ctanhl.c (__ctanhl): Likewise.
25034         * math/s_ctanl.c (__ctanl): Likewise.
25035         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
25036         instead of volatile.
25037         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
25038         math_check_force_underflow.
25039         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
25040         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
25041         volatile when forcing underflow.
25042         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25043         math_check_force_underflow_nonneg.
25044         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
25045         Likewise.
25046         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
25047         math_check_force_underflow.
25048         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
25049         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25050         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
25051         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
25052         math_check_force_underflow_nonneg.
25053         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
25054         math_check_force_underflow.
25055         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
25056         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
25057         instead of volatile.
25058         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
25059         math_check_force_underflow.
25060         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25061         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25062         math_check_force_underflow_nonneg.
25063         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
25064         math_check_force_underflow.
25065         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
25066         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
25067         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
25068         math_check_force_underflow_nonneg.
25069         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25070         Likewise.
25071         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
25072         math_check_force_underflow.
25073         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
25074         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25075         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
25076         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
25077         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
25078         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
25079         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
25080         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
25081         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
25082         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
25083         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
25084         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
25085         Likewise.
25086         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
25087         math_check_force_underflow_nonneg.
25088         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25089         Likewise.
25090         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
25091         math_check_force_underflow.
25092         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
25093         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
25094         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25095         Likewise.
25096         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
25097         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
25098         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
25099         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
25100         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
25101         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
25102         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
25103         instead of volatile.
25104         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
25105         math_check_force_underflow.
25106         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
25107         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
25108         math_check_force_underflow.
25109         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
25110         Likewise.
25111         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25112         Use math_check_force_underflow_nonneg.
25113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
25114         math_check_force_underflow.
25115         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25116         Likewise.
25117         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25118         Likewise.
25119         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25120         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25121         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25122         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25123         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
25124         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25125         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
25126         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
25127         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
25128         math_check_force_underflow_nonneg.
25129         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
25130         math_check_force_underflow.
25131         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
25132         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
25133         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
25134         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
25135         math_check_force_underflow_nonneg.
25136         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
25137         math_check_force_underflow.
25138         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
25139         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
25140         instead of volatile.
25141         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
25142         math_check_force_underflow.
25144         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
25145         * stdlib/strtod_l.c: Include <math_private.h>.
25146         (overflow_value): Use math_narrow_eval.
25147         (underflow_value): Likewise.
25148         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
25149         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
25150         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
25151         (__ieee754_gamma_r): Likewise.
25152         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
25153         Likewise.
25154         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
25155         Likewise.
25156         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
25157         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
25158         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
25159         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
25160         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
25161         (__ieee754_gammaf_r): Likewise.
25162         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25163         Likewise.
25164         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
25165         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
25166         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
25167         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
25168         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
25169         volatile.
25170         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
25171         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
25172         math_narrow_eval.
25173         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
25174         Likewise.
25175         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25176         Likewise.
25177         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
25178         Likewise.
25179         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
25180         volatile.
25181         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
25182         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
25183         math_narrow_eval.
25184         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
25185         Likewise.
25186         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
25187         Likewise.
25189 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
25191         * nptl/Versions: Remove ignored symbols.
25193 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25195         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
25196         * nss/Makefile (tests): Update.
25198 2015-09-22  Florian Weimer  <fweimer@redhat.com>
25200         * nss/bug18287.c: New file.
25201         * nss/Makefile (tests): Add bug18287.
25203 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25205         * mach/Versions (__mach_host_self_): Add symbol.
25207 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25209         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
25210         vm_page_size.
25212 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25214         Really fix sysdeps/i386/fpu/s_scalbn.S build
25216         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
25217         (libc: GLIBC_2_22): Remove unused version set.
25219 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25221         * config.make.in (enable-timezone-tools): New variable.
25222         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
25223         (enable_timezone_tools): Export to generated files.
25224         * configure: Regenerate.
25225         * INSTALL: Regenerate.
25226         * manual/install.texi (--disable-timezone-tools): Document new flag.
25227         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
25228         ifeq ($(enable-timezone-tools),yes) check.
25230 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25232         * timezone/Makefile: Revert previous change.
25234         [BZ #18980]
25235         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
25236         (DEFINE_DBL_MIN): Likewise.
25237         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25238         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
25239         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25240         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
25241         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
25242         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25243         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25244         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
25245         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
25246         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25247         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25248         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
25249         (flt_min): Replace with use of DEFINE_FLT_MIN.
25250         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25251         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
25252         (dbl_min): Replace with use of DEFINE_DBL_MIN.
25253         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
25254         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
25255         (flt_min): Replace with use of DEFINE_FLT_MIN.
25256         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25257         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
25258         (flt_min): Replace with use of DEFINE_FLT_MIN.
25259         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
25260         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
25261         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
25262         (__ieee754_hypot): Use DBL_NARROW_EVAL.
25263         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
25264         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
25265         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
25266         (__ieee754_pow): Use DBL_NARROW_EVAL.
25267         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
25268         (__ieee754_powf): Use FLT_NARROW_EVAL.
25269         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
25270         (__ieee754_expf_sse2): Convert double-precision result to single
25271         precision.
25272         * sysdeps/i386/fpu/libm-test-ulps: Update.
25274 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25276         * timezone/Makefile: Ignore unused variable errors due to private.h
25277         (time_t_min) and (time_t_max).
25278         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
25279         Likewise.
25281 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25283         [BZ #18981]
25284         * sysdeps/i386/fpu/i386-math-asm.h: New file.
25285         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
25286         (__ieee754_scalb): Use DBL_NARROW_EVAL.
25287         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
25288         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
25289         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
25290         (__scalbn): Use DBL_NARROW_EVAL.
25291         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
25292         (__scalbnf): Use FLT_NARROW_EVAL.
25294 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25296         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
25297         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
25298         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
25299         * stdio-common/printf_fp.c (___printf_fp):
25300         Use signbit to get the sign. Use isinf macro to allow inlining.
25301         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
25302         * stdio-common/printf_size.c (__printf_size): Likewise.
25304 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
25306         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
25308 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
25310         [BZ #18980]
25311         * sysdeps/generic/math_private.h: Include <float.h>.
25312         (math_narrow_eval): New macro.
25313         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
25314         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
25315         math_narrow_eval on overflowing return value.
25316         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
25317         Likewise.
25318         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
25319         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
25320         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
25321         Likewise.
25322         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
25324 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25326         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
25327         * math/Makefile: Remove isinf_ns.c.
25328         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
25329         * math/multc3.c (__multc3): Likewise.
25330         * math/s_casin.c (__casin): Likewise.
25331         * math/s_casinf.c (__casinf): Likewise.
25332         * math/s_casinl.c (__casinl): Likewise.
25333         * math/s_cproj.c (__cproj): Likewise.
25334         * math/s_cprojf.c (__cprojf): Likewise.
25335         * math/s_cprojl.c (__cprofl): Likewise.
25336         * math/s_ctan.c (__ctan): Likewise.
25337         * math/s_ctanf.c (__ctanf): Likewise.
25338         * math/s_ctanh.c (__ctanh): Likewise.
25339         * math/s_ctanhf.c (__ctanhf): Likewise.
25340         * math/s_ctanhl.c (__ctanhl): Likewise.
25341         * math/s_ctanl.c (__ctanl): Likewise.
25342         * math/w_fmod.c (__fmod): Likewise.
25343         * math/w_fmodf.c (__fmodf): Likewise.
25344         * math/w_fmodl.c (_fmodl): Likewise.
25345         * math/w_remainder.c (__remainder): Likewise.
25346         * math/w_remainderf.c (__remainderf): Likewise.
25347         * math/w_remainderl.c (__remainderl): Likewise.
25348         * math/w_scalb.c (__scalb): Likewise.
25349         * math/w_scalbf.c (__scalbf): Likewise.
25350         * math/w_scalbl.c (__scalbl): Likewise.
25351         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
25352         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
25353         with isinf.
25354         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
25355         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
25356         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
25357         __isinf_nsf with isinf.
25358         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
25359         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
25360         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
25361         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
25362         with isinf.
25363         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
25364         __isinf_nsl with isinf.
25365         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
25366         with isinf.
25367         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
25368         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
25369         __isinf_nsl with isinf.
25370         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
25371         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
25372         with isinf.
25374 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25376         * resolv/base64.c (rcsid): Remove unused static.
25377         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
25378         static.  (tqpi1): Likewise.
25379         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
25380         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
25381         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
25382         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
25383         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
25384         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
25385         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
25386         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
25387         Likewise.
25389 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
25391         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
25392         <nptl/pthreadP.h>.
25393         (_longjmp_unwind): Use __libc_ptf_call.
25394         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
25396 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
25398         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
25399         * sysdeps/arm/__longjmp.S: Likewise.
25401 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25403         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
25404         Use __builtin_signbit.
25405         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
25406         Use __builtin_signbitf.
25407         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
25408         Use __builtin_signbitl.
25409         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25410         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
25412 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25414         [BZ #15367]
25415         [BZ #17441]
25417         * math/Makefile: Build test-snan.c with -fsignaling-nans.
25418         * math/math.h (fpclassify): Use __builtin_fpclassify when
25419         available.  (signbit): Use __builtin_signbit(f/l).
25420         (isfinite): Use__builtin_isfinite.  (isnormal): Use
25421         __builtin_isnormal.  (isnan): Use __builtin_isnan.
25422         (isinf): Use __builtin_isinf_sign.
25424 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
25426         * benchtests/Makefile: Add bench-math-inlines, link with libm.
25427         * benchtests/bench-math-inlines.c: New benchmark.
25428         * benchtests/bench-util.h: New file.
25429         * benchtests/bench-util.c: New file.
25430         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
25432 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
25434         * elf/tst-dlmopen1.c: Define TEST_SO.
25435         (do_test): Use TEST_SO.
25437         * elf/dl-load.c: Include libc-internal.h.
25438         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
25440 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25442         [BZ #17887]
25443         * time/strptime_l.c (__strptime_internal): Make %z accept
25444         [+-]HH:MM time zones.
25446 2015-09-18  Vincent Bernat  <vincent@bernat.im>
25448         [BZ #17886]
25449         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
25450         valid time zone.
25452 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
25454         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
25455         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
25456         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25457         (__ASSUME_FDATASYNC): Delete.
25459 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25461         * conform/linknamespace.pl: Require weak undefined symbols to be
25462         in the standard namespace.
25463         (%strong_syms): Rename to %seen_syms.
25464         (%strong_seen): Rename to %seen_where.
25466 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
25468         [BZ #18970]
25469         * misc/error.c (error): Replace pthread_setcancelstate with
25470         __pthread_setcancelstate.
25471         (error_at_line): Likewise.
25472         * posix/wordexp.c (parse_comm): Likewise.
25473         * stdlib/fmtmsg.c (fmtmsg): Likewise.
25474         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
25475         (__pthread_setcancelstate): This.
25476         (pthread_setcancelstate): Add an alias.
25477         * nptl/nptl-init.c (pthread_functions): Replace
25478         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
25479         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
25480         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
25481         hidden_proto.
25482         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
25483         it with hidden_def.
25484         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
25485         (pthread_setcancelstate): Renamed to ...
25486         (__pthread_setcancelstate): This.
25487         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
25488         __libc_ptf_call with __pthread_setcancelstate.
25490 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25491             Andreas Schwab  <schwab@suse.de>
25493         [BZ #17118]
25494         * math/s_ctan.c (__ctan): Determine sign of zero real part of
25495         result when imaginary part of argument is infinite using sine and
25496         cosine.
25497         * math/s_ctanf.c (__ctanf): Likewise.
25498         * math/s_ctanl.c (__ctanl): Likewise.
25499         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
25500         of result when real part of argument is infinite using sine and
25501         cosine.
25502         * math/s_ctanhf.c (__ctanhf): Likewise.
25503         * math/s_ctanhl.c (__ctanhl): Likewise.
25504         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
25505         (ctanh_test_data): Add more tests of ctanh.
25507 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
25509         [BZ #15384]
25510         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
25511         bit-mask as in subtraction.
25512         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
25513         Likewise.
25514         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
25515         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
25516         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
25518         [BZ #18951]
25519         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
25520         underflow exception for small results.
25521         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
25522         Likewise.
25523         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
25524         Likewise.
25525         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25526         Likewise.
25527         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
25528         Likewise.
25529         * math/auto-libm-test-in: Add more tests of tgamma.
25530         * math/auto-libm-test-out: Regenerated.
25532 2015-09-17  Andreas Schwab  <schwab@suse.de>
25534         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
25536 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25538         [BZ #18977]
25539         * math/bits/mathcalls.h
25540         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
25541         not declare.
25542         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
25543         Likewise.
25544         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
25545         Likewise.
25546         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
25547         Likewise.
25548         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
25549         Likewise.
25550         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
25551         Likewise.
25552         * conform/data/math.h-data
25553         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
25554         function.
25555         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25556         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
25557         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
25558         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
25559         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
25560         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
25561         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
25562         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
25563         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
25564         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
25565         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
25567         [BZ #6803]
25568         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
25569         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
25570         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
25571         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
25572         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
25573         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
25574         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
25575         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
25576         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25577         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
25578         Likewise.
25579         [NO_LONG_DOUBLE] (scalbnl): Likewise.
25580         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
25581         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
25582         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
25583         long_double_symbol calls.
25584         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
25585         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
25586         strong alias of __ldexpl.
25587         (scalbnl): Define using long_double_symbol.
25588         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
25589         Remove alias.
25590         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
25591         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
25592         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
25593         (scalbln_test_data): Add more errno expectations.
25595 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
25597         Cache the host port like we cache the task port.  This way we do not
25598         need to call the kernel just to get the port.  Furthermore, we no
25599         longer increase the reference count on every invocation of
25600         `mach_host_self'.
25602         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
25603         Protect declarations against the macro expansion.
25604         * mach/mach_init.c (__mach_host_self_): New variable.
25605         (mach_init): Initialize `__mach_host_self_'.
25606         * mach/mach_init.h (__mach_host_self_): New declaration.
25607         (__mach_host_self, mach_host_self): New macros.
25608         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
25609         Release reference.
25611 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
25613         [BZ #4404]
25614         * po/de.po: Update from Translation Project.
25616         [BZ #16415]
25617         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
25618         (__expm1l): Remove code to handle positive infinity and overflow.
25619         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
25620         variable.
25621         (__expm1l): Remove code to handle positive infinity and overflow.
25623 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
25624             Paul Pluzhnikov  <ppluzhnikov@google.com>
25626         [BZ #18872]
25627         * stdio-common/Makefile (tst-printf-bz18872): New test.
25628         (tst-printf-bz18872-mem.out): Likewise.
25629         * stdio-common/tst-printf-bz18872.sh: Generate new test.
25630         * stdio-common/vfprintf.c: Fix memory leaks.
25632 2015-09-16  Andreas Schwab  <schwab@suse.de>
25634         [BZ #17244]
25635         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
25636         Remove extra va_start/va_end calls.
25638         [BZ #17243]
25639         * posix/execl.c (execl): Add missing va_end.
25640         * posix/execle.c (execle): Likewise.
25641         * posix/execlp.c (execlp): Likewise.
25643 2015-09-15  Roland McGrath  <roland@hack.frob.com>
25645         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
25646         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
25648 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
25650         [BZ #18967]
25651         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
25652         undefine around includes of <bits/mathcalls.h>.
25653         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
25654         not declare function.
25655         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
25656         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
25657         (scalb): Likewise.
25658         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
25659         not define macro.
25660         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
25661         variable.
25662         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
25663         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
25664         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
25666         [BZ #18857]
25667         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
25668         return non-finite argument without doing ordered comparisons on
25669         it.
25671         [BZ #16296]
25672         * math/fenv.h (fegetround): Use __attribute_pure__.
25673         * include/fenv.h (__fegetround): Likewise.
25675         [BZ #18595]
25676         * math/s_ctan.c (__ctan): Force underflow exception for results
25677         whose real or imaginary part has small absolute value.
25678         * math/s_ctanf.c (__ctanf): Likewise.
25679         * math/s_ctanh.c (__ctanh): Likewise.
25680         * math/s_ctanhf.c (__ctanhf): Likewise.
25681         * math/s_ctanhl.c (__ctanhl): Likewise.
25682         * math/s_ctanl.c (__ctanl): Likewise.
25683         * math/auto-libm-test-in: Do not allow missing underflow for ctan
25684         and ctanh.  Add more tests of ctan and ctanh.
25686         [BZ #15918]
25687         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
25688         handling of cases where one argument is an infinity.
25690         [BZ #18875]
25691         [BZ #18966]
25692         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
25693         (MO): New macro.
25694         (__ieee754_exp10): For small results, force underflow exception
25695         and remove excess range and precision from return value.
25696         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
25697         (MO): New macro.
25698         (__ieee754_exp10f): For small results, force underflow exception
25699         and remove excess range and precision from return value.
25700         * math/auto-libm-test-in: Add more tests of exp10.
25701         * math/auto-libm-test-out: Regenerated.
25703 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
25705         [BZ #18875]
25706         [BZ #18961]
25707         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
25708         (MO): New macro.
25709         (__ieee754_exp): For small results, force underflow exception and
25710         remove excess range and precision from return value.
25711         (__exp_finite): Likewise.
25712         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
25713         (MO): New macro.
25714         (__ieee754_expf): For small results, force underflow exception and
25715         remove excess range and precision from return value.
25716         (__expf_finite): Likewise.
25717         * math/auto-libm-test-in: Add more tests of exp.
25718         * math/auto-libm-test-out: Regenerated.
25720         [BZ #16521]
25721         [BZ #18875]
25722         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
25723         small results.
25724         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
25725         (MO): New macro.
25726         (__ieee754_exp2): For small results, force underflow exception and
25727         remove excess range and precision from return value.
25728         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
25729         (MO): New macro.
25730         (__ieee754_exp2f): For small results, force underflow exception
25731         and remove excess range and precision from return value.
25732         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
25733         (MO): New macro.
25734         (__ieee754_exp2l): Force underflow exception for small results.
25735         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25736         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25737         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
25738         (MO): New macro.
25739         (__ieee754_exp2l): Force underflow exception for small results.
25740         * math/auto-libm-test-in: Add more tests or exp2.
25741         * math/auto-libm-test-out: Regenerated.
25743 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
25745         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
25747         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
25748         /dev/null.
25750 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25752         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
25753         io fs process)): Drop spurious backslash.
25755 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25757         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
25758         Use sysinfo system call instead of parsing /proc/meminfo.
25759         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
25760         Likewise.
25762 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
25764         [BZ #16985]
25765         * programs/localedef.c (main): Display argv[remaining] when
25766         output_path is NULL.
25768 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25770         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
25771         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
25772         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
25773         tanh.
25774         * math/auto-libm-test-out: Regenerated.
25775         * sysdeps/i386/fpu/libm-test-ulps: Update.
25776         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
25777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25780 2015-09-11  Roland McGrath  <roland@hack.frob.com>
25782         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
25783         Use 'override' keyword to freeze the value here, preventing
25784         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
25786 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
25788         [BZ #14912]
25789         * sysdeps/aarch64/bits/atomic.h: Move to ...
25790         * sysdeps/aarch64/atomic-machine.h: ...here.
25791         (_AARCH64_BITS_ATOMIC_H): Rename macro to
25792         _AARCH64_ATOMIC_MACHINE_H.
25793         * sysdeps/alpha/bits/atomic.h: Move to ...
25794         * sysdeps/alpha/atomic-machine.h: ...here.
25795         * sysdeps/arm/bits/atomic.h: Move to ...
25796         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
25797         * bits/atomic.h: Move to ...
25798         * sysdeps/generic/atomic-machine.h: ...here.
25799         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25800         * sysdeps/i386/bits/atomic.h: Move to ...
25801         * sysdeps/i386/atomic-machine.h: ...here.
25802         * sysdeps/ia64/bits/atomic.h: Move to ...
25803         * sysdeps/ia64/atomic-machine.h: ...here.
25804         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
25805         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
25806         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25807         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
25808         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
25809         * sysdeps/microblaze/bits/atomic.h: Move to ...
25810         * sysdeps/microblaze/atomic-machine.h: ...here.
25811         * sysdeps/mips/bits/atomic.h: Move to ...
25812         * sysdeps/mips/atomic-machine.h: ...here.
25813         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
25814         * sysdeps/powerpc/bits/atomic.h: Move to ...
25815         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
25816         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
25817         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
25818         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
25819         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
25820         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
25821         <atomic-machine.h> instead of <bits/atomic.h>.
25822         * sysdeps/s390/bits/atomic.h: Move to ...
25823         * sysdeps/s390/atomic-machine.h: ...here.
25824         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
25825         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
25826         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25827         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
25828         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
25829         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
25830         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
25831         * sysdeps/tile/bits/atomic.h: Move to ...
25832         * sysdeps/tile/atomic-machine.h: ...here.
25833         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
25834         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
25835         <sysdeps/tile/atomic-machine.h> instead of
25836         <sysdeps/tile/bits/atomic.h>.
25837         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25838         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
25839         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
25840         <sysdeps/tile/atomic-machine.h> instead of
25841         <sysdeps/tile/bits/atomic.h>.
25842         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25843         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
25844         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
25845         <sysdeps/arm/atomic-machine.h> instead of
25846         <sysdeps/arm/bits/atomic.h>.
25847         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
25848         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
25849         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25850         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
25851         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
25852         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
25853         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
25854         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
25855         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
25856         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
25857         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
25858         * sysdeps/x86_64/bits/atomic.h: Move to ...
25859         * sysdeps/x86_64/atomic-machine.h: ...here.
25860         * include/atomic.h: Include <atomic-machine.h> instead of
25861         <bits/atomic.h>.
25863         * sysdeps/mips/mips32/libm-test-ulps: Update.
25864         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25866         [BZ #18952]
25867         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
25868         not convert non-integer negative arguments to int to determine the
25869         value of signgam.
25870         * math/auto-libm-test-in: Add more tests of lgamma.
25871         * math/auto-libm-test-out: Regenerated.
25873         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
25874         cosh, csqrt, erfc, expm1 and lgamma.
25875         * math/auto-libm-test-out: Regenerated.
25876         * sysdeps/i386/fpu/libm-test-ulps: Update.
25877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25879 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
25881         [BZ #2542]
25882         [BZ #2543]
25883         [BZ #2558]
25884         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
25885         __lgamma_neg for arguments from -28.0 to -2.0.
25886         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
25887         __lgamma_negf for arguments from -15.0 to -2.0.
25888         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
25889         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
25890         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
25891         Call __lgamma_negl for arguments from -33.0 to -2.0.
25892         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
25893         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
25894         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
25895         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
25896         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
25897         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
25898         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
25899         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
25900         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
25901         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
25902         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
25903         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
25904         (__lgamma_neg): Likewise.
25905         (__lgamma_negl): Likewise.
25906         (__lgamma_product): Likewise.
25907         (__lgamma_productl): Likewise.
25908         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
25909         * math/auto-libm-test-in: Add more tests of lgamma.
25910         * math/auto-libm-test-out: Regenerated.
25911         * sysdeps/i386/fpu/libm-test-ulps: Update.
25912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25914 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
25916         [BZ #18675]
25917         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
25919 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
25921         [BZ #14912]
25922         * bits/libc-lock.h: Move to ...
25923         * sysdeps/generic/libc-lock.h: ...here.
25924         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25925         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
25926         * sysdeps/mach/hurd/libc-lock.h: ...here.
25927         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25928         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
25929         * sysdeps/mach/bits/libc-lock.h: Move to ...
25930         * sysdeps/mach/libc-lock.h: ...here.
25931         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25932         * sysdeps/nptl/bits/libc-lock.h: Move to ...
25933         * sysdeps/nptl/libc-lock.h: ...here.
25934         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
25935         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
25936         * sysdeps/nptl/libc-lockP.h: ...here.
25937         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
25938         * crypt/crypt_util.c: Include <libc-lock.h> instead of
25939         <bits/libc-lock.h>.
25940         * dirent/scandir-tail.c: Likewise.
25941         * dlfcn/dlerror.c: Likewise.
25942         * elf/dl-close.c: Likewise.
25943         * elf/dl-iteratephdr.c: Likewise.
25944         * elf/dl-lookup.c: Likewise.
25945         * elf/dl-open.c: Likewise.
25946         * elf/dl-support.c: Likewise.
25947         * elf/dl-writev.h: Likewise.
25948         * elf/rtld.c: Likewise.
25949         * grp/fgetgrent.c: Likewise.
25950         * gshadow/fgetsgent.c: Likewise.
25951         * gshadow/sgetsgent.c: Likewise.
25952         * iconv/gconv_conf.c: Likewise.
25953         * iconv/gconv_db.c: Likewise.
25954         * iconv/gconv_dl.c: Likewise.
25955         * iconv/gconv_int.h: Likewise.
25956         * iconv/gconv_trans.c: Likewise.
25957         * include/link.h: Likewise.
25958         * inet/getnameinfo.c: Likewise.
25959         * inet/getnetgrent.c: Likewise.
25960         * inet/getnetgrent_r.c: Likewise.
25961         * intl/bindtextdom.c: Likewise.
25962         * intl/dcigettext.c: Likewise.
25963         * intl/finddomain.c: Likewise.
25964         * intl/gettextP.h: Likewise.
25965         * intl/loadmsgcat.c: Likewise.
25966         * intl/localealias.c: Likewise.
25967         * intl/textdomain.c: Likewise.
25968         * libidn/idn-stub.c: Likewise.
25969         * libio/libioP.h: Likewise.
25970         * locale/duplocale.c: Likewise.
25971         * locale/freelocale.c: Likewise.
25972         * locale/newlocale.c: Likewise.
25973         * locale/setlocale.c: Likewise.
25974         * login/getutent_r.c: Likewise.
25975         * login/getutid_r.c: Likewise.
25976         * login/getutline_r.c: Likewise.
25977         * login/utmp-private.h: Likewise.
25978         * login/utmpname.c: Likewise.
25979         * malloc/mtrace.c: Likewise.
25980         * misc/efgcvt.c: Likewise.
25981         * misc/error.c: Likewise.
25982         * misc/fstab.c: Likewise.
25983         * misc/getpass.c: Likewise.
25984         * misc/mntent.c: Likewise.
25985         * misc/syslog.c: Likewise.
25986         * nis/nis_call.c: Likewise.
25987         * nis/nis_callback.c: Likewise.
25988         * nis/nss-default.c: Likewise.
25989         * nis/nss_compat/compat-grp.c: Likewise.
25990         * nis/nss_compat/compat-initgroups.c: Likewise.
25991         * nis/nss_compat/compat-pwd.c: Likewise.
25992         * nis/nss_compat/compat-spwd.c: Likewise.
25993         * nis/nss_nis/nis-alias.c: Likewise.
25994         * nis/nss_nis/nis-ethers.c: Likewise.
25995         * nis/nss_nis/nis-grp.c: Likewise.
25996         * nis/nss_nis/nis-hosts.c: Likewise.
25997         * nis/nss_nis/nis-network.c: Likewise.
25998         * nis/nss_nis/nis-proto.c: Likewise.
25999         * nis/nss_nis/nis-pwd.c: Likewise.
26000         * nis/nss_nis/nis-rpc.c: Likewise.
26001         * nis/nss_nis/nis-service.c: Likewise.
26002         * nis/nss_nis/nis-spwd.c: Likewise.
26003         * nis/nss_nisplus/nisplus-alias.c: Likewise.
26004         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
26005         * nis/nss_nisplus/nisplus-grp.c: Likewise.
26006         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
26007         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
26008         * nis/nss_nisplus/nisplus-network.c: Likewise.
26009         * nis/nss_nisplus/nisplus-proto.c: Likewise.
26010         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
26011         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
26012         * nis/nss_nisplus/nisplus-service.c: Likewise.
26013         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
26014         * nis/ypclnt.c: Likewise.
26015         * nptl/libc_pthread_init.c: Likewise.
26016         * nss/getXXbyYY.c: Likewise.
26017         * nss/getXXent.c: Likewise.
26018         * nss/getXXent_r.c: Likewise.
26019         * nss/nss_db/db-XXX.c: Likewise.
26020         * nss/nss_db/db-netgrp.c: Likewise.
26021         * nss/nss_db/nss_db.h: Likewise.
26022         * nss/nss_files/files-XXX.c: Likewise.
26023         * nss/nss_files/files-alias.c: Likewise.
26024         * nss/nsswitch.c: Likewise.
26025         * posix/regex_internal.h: Likewise.
26026         * posix/wordexp.c: Likewise.
26027         * pwd/fgetpwent.c: Likewise.
26028         * resolv/res_hconf.c: Likewise.
26029         * resolv/res_libc.c: Likewise.
26030         * shadow/fgetspent.c: Likewise.
26031         * shadow/lckpwdf.c: Likewise.
26032         * shadow/sgetspent.c: Likewise.
26033         * socket/opensock.c: Likewise.
26034         * stdio-common/reg-modifier.c: Likewise.
26035         * stdio-common/reg-printf.c: Likewise.
26036         * stdio-common/reg-type.c: Likewise.
26037         * stdio-common/vfprintf.c: Likewise.
26038         * stdio-common/vfscanf.c: Likewise.
26039         * stdlib/abort.c: Likewise.
26040         * stdlib/cxa_atexit.c: Likewise.
26041         * stdlib/fmtmsg.c: Likewise.
26042         * stdlib/random.c: Likewise.
26043         * stdlib/setenv.c: Likewise.
26044         * string/strsignal.c: Likewise.
26045         * sunrpc/auth_none.c: Likewise.
26046         * sunrpc/bindrsvprt.c: Likewise.
26047         * sunrpc/create_xid.c: Likewise.
26048         * sunrpc/key_call.c: Likewise.
26049         * sunrpc/rpc_thread.c: Likewise.
26050         * sysdeps/arm/backtrace.c: Likewise.
26051         * sysdeps/generic/ldsodefs.h: Likewise.
26052         * sysdeps/generic/stdio-lock.h: Likewise.
26053         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
26054         * sysdeps/i386/backtrace.c: Likewise.
26055         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26056         * sysdeps/m68k/backtrace.c: Likewise.
26057         * sysdeps/mach/hurd/cthreads.c: Likewise.
26058         * sysdeps/mach/hurd/dirstream.h: Likewise.
26059         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26060         * sysdeps/nptl/malloc-machine.h: Likewise.
26061         * sysdeps/nptl/stdio-lock.h: Likewise.
26062         * sysdeps/posix/dirstream.h: Likewise.
26063         * sysdeps/posix/getaddrinfo.c: Likewise.
26064         * sysdeps/posix/system.c: Likewise.
26065         * sysdeps/pthread/aio_suspend.c: Likewise.
26066         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26067         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26068         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26069         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
26070         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
26071         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
26072         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
26073         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
26074         * sysdeps/unix/sysv/linux/system.c: Likewise.
26075         * sysdeps/x86_64/backtrace.c: Likewise.
26076         * time/alt_digit.c: Likewise.
26077         * time/era.c: Likewise.
26078         * time/tzset.c: Likewise.
26079         * wcsmbs/wcsmbsload.c: Likewise.
26080         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
26081         instead of <bits/libc-lock.h> in comment.
26083 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
26085         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
26086         Only use .set mips2 if the current ISA is below mips2.
26087         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
26088         Likewise.
26089         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
26090         mips32r2 if the current ISA is below mips32r2.
26091         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
26092         (TLS_IE): Updated to use the TLD_RDHWR macro.
26093         (TLS_LE): Likewise.
26094         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
26095         __ASSEMBLER__ condition.
26097 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26099         Fix parallel build of before-compile targets.
26101         * sysdeps/mach/Makefile ($(patsubst
26102         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
26103         mach-before-compile target.
26104         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26105         io fs process)): Move rule to dedicated hurd-before-compile target.
26107 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26109         Fix rules generating headers in hurd/ and mach/ when initial make call
26110         has subdir= explicitly set.
26112         * sysdeps/mach/Makefile ($(patsubst
26113         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
26114         calling $(MAKE).
26115         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
26116         io fs process)): Force subdir to hurd when calling $(MAKE).
26117         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
26118         subdir to mach when calling $(MAKE).
26120 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
26122         Check sysheaders when looking for Mach and Hurd headers
26124         * sysdeps/mach/configure.ac: Add sysheaders check.
26125         * sysdeps/mach/configure: Regenerate.
26126         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
26127         * sysdeps/mach/hurd/configure: Regenerate.
26129 2015-09-04  Roland McGrath  <roland@hack.frob.com>
26131         [BZ #18921]
26132         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
26133         Fix inverted sense of test of 'o_directory_works' value.
26134         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
26135         Bernhard Voelker <mail@bernhard-voelker.de>.
26137 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26139         [BZ #14912]
26140         * bits/linkmap.h: Move to ...
26141         * sysdeps/generic/linkmap.h: ...here.
26142         * sysdeps/aarch64/bits/linkmap.h: Move to ...
26143         * sysdeps/aarch64/linkmap.h: ...here.
26144         * sysdeps/arm/bits/linkmap.h: Move to ...
26145         * sysdeps/arm/linkmap.h: ...here.
26146         * sysdeps/hppa/bits/linkmap.h: Move to ...
26147         * sysdeps/hppa/linkmap.h: ...here.
26148         * sysdeps/ia64/bits/linkmap.h: Move to ...
26149         * sysdeps/ia64/linkmap.h: ...here.
26150         * sysdeps/mips/bits/linkmap.h: Move to ...
26151         * sysdeps/mips/linkmap.h: ...here.
26152         * sysdeps/s390/bits/linkmap.h: Move to ...
26153         * sysdeps/s390/linkmap.h: ...here.
26154         * sysdeps/sh/bits/linkmap.h: Move to ...
26155         * sysdeps/sh/linkmap.h: ...here.
26156         * sysdeps/x86/bits/linkmap.h: Move to ...
26157         * sysdeps/x86/linkmap.h: ...here.
26158         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
26160 2015-09-04  Andreas Schwab  <schwab@suse.de>
26162         [BZ #18635]
26163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
26164         (__makecontext): Terminate FDE before return label.
26165         (__novec_makecontext): Likewise.
26167 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26169         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
26170         first member of struct sv in syscall macro.
26172 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
26174         [BZ #14912]
26175         * bits/stdio-lock.h: Move to ...
26176         * sysdeps/generic/stdio-lock.h: ...here.
26177         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26178         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
26179         * sysdeps/nptl/stdio-lock.h: ...here.
26180         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
26181         * include/libio.h: Include <stdio-lock.h> instead of
26182         <bits/stdio-lock.h>.
26183         * sysdeps/nptl/fork.c: Likewise.
26184         * sysdeps/pthread/flockfile.c: Likewise.
26185         * sysdeps/pthread/ftrylockfile.c: Likewise.
26186         * sysdeps/pthread/funlockfile.c: Likewise.
26188         [BZ #14912]
26189         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
26190         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
26191         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
26192         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
26193         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
26194         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26195         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
26197 2015-09-03  Roland McGrath  <roland@hack.frob.com>
26199         * elf/Makefile (test-xfail-tst-protected1a): New variable.
26200         (test-xfail-tst-protected1b): New variable.
26202 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
26204         [BZ #14912]
26205         * bits/libc-tsd.h: Move to ...
26206         * sysdeps/generic/libc-tsd.h: ...here.
26207         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
26208         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
26209         * sysdeps/mach/hurd/libc-tsd.h: ...here.
26210         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
26211         * include/ctype.h: Include <libc-tsd.h> instead of
26212         <bits/libc-tsd.h>.
26213         * include/rpc/rpc.h: Likewise.
26214         * locale/localeinfo.h: Likewise.
26215         * sunrpc/rpc_thread.c: Likewise.
26216         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
26217         * sysdeps/nptl/malloc-machine.h: Likewise.
26219         * Makefile (headers): Remove bits/libc-lock.h.
26220         * libio/Makefile (headers): Remove bits/stdio-lock.h.
26222         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
26223         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
26224         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
26225         <bits/stdio-lock.h>.
26226         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
26227         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
26229 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26231         [BZ #18757]
26232         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
26233         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
26234         BZ #18757.
26236 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
26238         * malloc/mtrace.pl: Filter out NULL entries.
26240 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
26242         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
26243         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
26244         macro.
26246         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
26247         (TCP_CC_INFO): Likewise.
26248         (TCP_SAVE_SYN): Likewise.
26249         (TCP_SAVED_SYN): Likewise.
26251 2015-08-31  Brett Neumeier <brett@neumeier.us>
26253         [BZ #18870]
26254         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
26256 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
26258         [BZ #18873]
26259         Fix broken overflow check in posix_fallocate
26260         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
26261         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26262         Fix parenthesization typo.
26264 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
26266         [BZ #18887]
26267         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
26268         tst-mntent-blank-passno.
26269         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
26270         * misc/tst-mntent-blank-corrupt.c: New test.
26271         * misc/tst-mntent-blank-passno.c: New test ripped from ...
26272         * misc/tst-mntent.c (do_test): ... here.
26274 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
26276         [BZ #4404]
26277         * po/de.po: Fix SIGALRM typo.
26279 2015-08-28  James Perkins  <james@loowit.net>
26281         * time/tst-strptime2.c (tests): Replace short list of test
26282         strings for strptime %z specifier with code which exhaustively
26283         tests every combination of sign and 0 to 5 digits. Tests for
26284         rejection of invalid strings.
26286 2015-08-28  James Perkins  <james@loowit.net>
26288         [BZ #16141]
26289         * time/strptime_l.c (__strptime_internal): Fix %z minutes
26290         calculation, removing incorrect decimal time rounding, so that
26291         all minute values result in a valid seconds value.
26292         * time/strptime_l.c (__strptime_internal): Extend %z time zone
26293         offset range limits to UTC-99:59 through UTC+99:59 to parse
26294         current and historical use cases.
26295         * time/tst-strptime2.c (tests): Modify and add tests for the
26296         strptime %z input field descriptor, specifically conversion of
26297         minutes to seconds and validating an offset range of -9959 to
26298         +9959.
26300 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26301             Dmitry V. Levin  <ldv@altlinux.org>
26303         [BZ #18877]
26304         * posix/Makefile (tests): Add tst-mmap-offset.
26305         * posix/tst-mmap.c: New file.
26306         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
26307         offset calculation for negative values.
26309 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26311         * sysdeps/i386/init-arch.h: New file.
26312         * sysdeps/i386/i586/init-arch.h: Likewise.
26313         * sysdeps/i386/i686/init-arch.h: Likewise.
26314         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
26315         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
26316         * sysdeps/x86/cpu-features.h (bit_I586): New.
26317         (bit_I686): Likewise.
26318         (bit_CX8): Likewise.
26319         (bit_CMOV): Likewise.
26320         (index_CX8): Likewise.
26321         (index_CMOV): Likewise.
26322         (index_I586): Likewise.
26323         (index_I686): Likewise.
26324         (reg_CX8): Likewise.
26325         (reg_CMOV): Likewise.
26326         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
26327         available at compile-time.
26328         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
26329         available at compile-time.
26330         * sysdeps/x86/init-arch.h (USE_I586): New macro.
26331         (USE_I686): Likewise.
26333 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26335         * sysdeps/i386/bcopy.S: New file.
26336         * sysdeps/i386/bzero.S: Likewise.
26337         * sysdeps/i386/memcpy.S: Likewise.
26338         * sysdeps/i386/memmove.S: Likewise.
26339         * sysdeps/i386/mempcpy.S: Likewise.
26340         * sysdeps/i386/memset.S: Likewise.
26341         * sysdeps/i386/bzero.c: Removed.
26342         * sysdeps/i386/memset.c: Likewise.
26343         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
26344         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
26345         * sysdeps/i386/i586/memset_chk.S: Likewise.
26346         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
26347         * sysdeps/i386/memcpy_chk.S: Here.
26348         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
26349         * sysdeps/i386/memmove_chk.S: Here.
26350         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
26351         * sysdeps/i386/mempcpy_chk.S: Likewise.
26352         * sysdeps/i386/i686/memset_chk.S: Moved to ...
26353         * sysdeps/i386/memset_chk.S: Likewise.
26355 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
26357         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
26358         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
26359         file, move DIAG_POP_NEEDS_COMMENT to end of file.
26360         * soft-fp/fmadf4.c: Ditto.
26361         * soft-fp/fmatf4.c: Ditto.
26363 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26365         * sysdeps/i386/i586/Implies: Removed.
26366         * sysdeps/i386/i686/Implies: Likewise.
26368 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26370         * sysdeps/i386/i486/strlen.S: Moved to ...
26371         * sysdeps/i386/strlen.S: Here.
26373 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26375         * sysdeps/i386/i486/strcat.S: Moved to ...
26376         * sysdeps/i386/strcat.S: Here.
26378 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26380         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
26381         * sysdeps/i386/pthread_spin_trylock.S: Here.
26382         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
26383         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
26385 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26387         * sysdeps/i386/i486/string-inlines.c: Moved to ...
26388         * sysdeps/i386/string-inlines.c: Here.
26390 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26392         * sysdeps/i386/i486/htonl.S: Moved ...
26393         * sysdeps/i386/htonl.S: here.
26395 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26397         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
26398         * sysdeps/i386/bits/atomic.h: Here.
26400 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
26402         * sysdeps/i386/i486/Versions: Removed.
26404 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26406         [BZ #2898]
26407         * misc/mktemp.c: Add mkdtemp to the link_warning message.
26408         Based on patch by Aurelien Jarno.
26410 2015-08-26  Stan Shebs  <stanshebs@google.com>
26412         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
26413         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26415 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26417         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
26418         * sysdeps/powerpc/dl-procinfo.c:
26419         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
26420         feature so it shows when LD_SHOW_AUXV=1.
26422 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26424         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26425         (__arch_compare_and_exchange_val_32_acq): Remove and use common
26426         definition.  ISA 2.07B no longer requires full sync.
26428 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
26430         [BZ #18863]
26431         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
26432         (si_call_addr): Define.
26433         (si_syscall): Define.
26434         (si_arch): Define.
26436 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
26438         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
26439         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
26440         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
26441         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26442         (__memset_zero_constant_len_parameter): New.
26443         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
26444         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
26445         (__memset_zero_constant_len_parameter): Don't define if
26446         __memset_chk or USE_AS_BZERO are defined.
26448         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
26449         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
26450         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
26452         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
26453         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
26454         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
26455         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
26456         comments.
26457         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
26458         -mno-mmx for $(all-rtld-routines).
26459         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
26460         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
26461         i386.
26463 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
26465         * sysdeps/generic/unwind.h
26466         (_Unwind_Word): Use __mode__(__unwind_word__)
26467         instead of __mode__(__word__).
26468         (_Unwind_Sword): Likewise.
26470         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26471         (MAX_NEEDED_INPUT): New define.
26472         (MAX_NEEDED_OUTPUT): New define.
26474         * NEWS: New item for IBM z13 string optimizations.
26476         * sysdeps/s390/multiarch/memrchr-c.c: New File.
26477         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
26478         * sysdeps/s390/multiarch/memrchr.c: Likewise.
26479         * sysdeps/s390/multiarch/Makefile
26480         (sysdep_routines): Add memrchr functions.
26481         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26482         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
26484         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
26485         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
26486         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
26487         * sysdeps/s390/multiarch/Makefile
26488         (sysdep_routines): Add wmemcmp functions.
26489         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26490         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
26491         * benchtests/bench-wmemcmp.c: New File.
26492         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
26494         * sysdeps/s390/multiarch/wmemset-c.c: New File.
26495         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
26496         * sysdeps/s390/multiarch/wmemset.c: Likewise.
26497         * sysdeps/s390/multiarch/Makefile
26498         (sysdep_routines): Add wmemset functions.
26499         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26500         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
26501         * wcsmbs/wmemset.c: Use WMEMSET if defined.
26502         * string/test-memset.c: Add wmemset support.
26503         * wcsmbs/test-wmemset.c: New File.
26504         * wcsmbs/Makefile (strop-tests): Add wmemset.
26505         * benchtests/bench-memset.c: Add wmemset support.
26506         * benchtests/bench-wmemset.c: New File.
26507         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
26509         * sysdeps/s390/multiarch/memccpy-c.c: New File.
26510         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
26511         * sysdeps/s390/multiarch/memccpy.c: Likewise.
26512         * sysdeps/s390/multiarch/Makefile
26513         (sysdep_routines): Add memccpy functions.
26514         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26515         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
26516         * string/memccpy.c: Use MEMCCPY if defined.
26518         * sysdeps/s390/multiarch/memchr-vx.S: New File.
26519         * sysdeps/s390/multiarch/memchr.c: Likewise.
26520         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
26521         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
26522         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
26523         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
26524         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
26525         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
26526         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
26527         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
26528         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
26529         and rawmemchr functions.
26530         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
26531         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
26532         and wmemchr.
26533         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
26534         * string/test-memchr.c: Add wmemchr support.
26535         * wcsmbs/test-wmemchr.c: New File.
26536         * wcsmbs/Makefile (strop-tests): Add wmemchr.
26537         * benchtests/bench-memchr.c: Add wmemchr support.
26538         * benchtests/bench-wmemchr.c: New File.
26539         * benchtests/Makefile (wcsmbs-bench): wmemchr.
26541         * sysdeps/s390/multiarch/strcspn-c.c: New File.
26542         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
26543         * sysdeps/s390/multiarch/strcspn.c: Likewise.
26544         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
26545         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
26546         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
26547         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
26548         wcscspn functions.
26549         * sysdeps/s390/multiarch/ifunc-impl-list.c
26550         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
26551         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
26552         * string/test-strcspn.c: Add wcscspn support.
26553         * wcsmbs/test-wcscspn.c: New File.
26554         * wcsmbs/Makefile (strop-tests): Add wcscspn.
26555         * benchtests/bench-strcspn.c: Add wcscspn support.
26556         * benchtests/bench-wcscspn.c: New File.
26557         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
26559         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
26560         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
26561         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
26562         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
26563         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
26564         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
26565         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
26566         wcspbrk functions.
26567         * sysdeps/s390/multiarch/ifunc-impl-list.c
26568         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
26569         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
26570         * string/test-strpbrk.c: Add wcspbrk support.
26571         * wcsmbs/test-wcspbrk.c: New File.
26572         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
26573         * benchtests/bench-strpbrk.c: Add wcspbrk support.
26574         * benchtests/bench-wcspbrk.c: New File.
26575         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
26577         * sysdeps/s390/multiarch/strspn-c.c: New File.
26578         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
26579         * sysdeps/s390/multiarch/strspn.c: Likewise.
26580         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
26581         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
26582         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
26583         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
26584         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
26585         wcsspn functions.
26586         * sysdeps/s390/multiarch/ifunc-impl-list.c
26587         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
26588         * string/test-strspn.c: Add wcsspn support.
26589         * wcsmbs/test-wcsspn.c: New File.
26590         * wcsmbs/Makefile (strop-tests): Add wcsspn.
26591         * benchtests/bench-strspn.c: Add wcsspn support.
26592         * benchtests/bench-wcsspn.c: New File.
26593         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
26595         * sysdeps/s390/multiarch/strrchr-c.c: New File.
26596         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
26597         * sysdeps/s390/multiarch/strrchr.c: Likewise.
26598         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
26599         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
26600         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
26601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
26602         wcsrchr functions.
26603         * sysdeps/s390/multiarch/ifunc-impl-list.c
26604         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
26605         * benchtests/bench-wcsrchr.c: New File.
26606         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
26608         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
26609         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
26610         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
26611         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
26612         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
26613         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
26614         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
26615         wcschrnul functions.
26616         * sysdeps/s390/multiarch/ifunc-impl-list.c
26617         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
26618         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
26619         * string/test-strchr.c: Add wcschrnul support.
26620         * wcsmbs/test-wcschrnul.c: New File.
26621         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
26622         * benchtests/bench-strchr.c: Add wcschrnul support.
26623         * benchtests/bench-wcschrnul.c: New File.
26624         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
26626         * sysdeps/s390/multiarch/strchr-c.c: New File.
26627         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
26628         * sysdeps/s390/multiarch/strchr.c: Likewise.
26629         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
26630         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
26631         * sysdeps/s390/multiarch/wcschr.c: Likewise.
26632         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
26633         wcschr functions.
26634         * sysdeps/s390/multiarch/ifunc-impl-list.c
26635         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
26636         * string/strchr.c (STRCHR): Define and use macro.
26637         * benchtests/bench-wcschr.c: New File.
26638         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
26640         * sysdeps/s390/multiarch/strncmp-c.c: New File.
26641         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
26642         * sysdeps/s390/multiarch/strncmp.c: Likewise.
26643         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
26644         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
26645         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
26646         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
26647         wcsncmp functions.
26648         * sysdeps/s390/multiarch/ifunc-impl-list.c
26649         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
26650         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
26651         * benchtests/bench-strncmp.c: Add wcsncmp support.
26652         * benchtests/bench-wcsncmp.c: New File.
26653         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
26655         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
26656         * sysdeps/s390/multiarch/strcmp.c: Likewise.
26657         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
26658         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
26659         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
26660         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
26661         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
26662         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
26663         wcscmp functions.
26664         * sysdeps/s390/multiarch/ifunc-impl-list.c
26665         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
26666         * string/strcmp.c (STRCMP): Define and use macro.
26667         * benchtests/bench-wcscmp.c: New File.
26668         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
26669         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
26670         instead of _HAVE_STRING_ARCH_memchr.
26672         * sysdeps/s390/multiarch/strncat-c.c: New File.
26673         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
26674         * sysdeps/s390/multiarch/strncat.c: Likewise.
26675         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
26676         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
26677         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
26678         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
26679         wcsncat functions.
26680         * sysdeps/s390/multiarch/ifunc-impl-list.c
26681         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
26682         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
26683         * string/test-strncat.c: Add wcsncat support.
26684         * wcsmbs/test-wcsncat.c: New File.
26685         * wcsmbs/Makefile (strop-tests): Add wcsncat.
26686         * benchtests/bench-strncat.c: Add wcsncat support.
26687         * benchtests/bench-wcsncat.c: New File.
26688         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
26690         * sysdeps/s390/multiarch/strcat-c.c: New File.
26691         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
26692         * sysdeps/s390/multiarch/strcat.c: Likewise.
26693         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
26694         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
26695         * sysdeps/s390/multiarch/wcscat.c: Likewise.
26696         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
26697         wcscat functions.
26698         * sysdeps/s390/multiarch/ifunc-impl-list.c
26699         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
26700         * string/strcat.c (STRCAT): Define and use macro.
26701         * wcsmbs/wcscat.c: Use WCSCAT if defined.
26702         * string/test-strcat.c: Add wcscat support.
26703         * wcsmbs/test-wcscat.c: New File.
26704         * wcsmbs/Makefile (strop-tests): Add wcscat.
26705         * benchtests/bench-strcat.c: Add wcscat support.
26706         * benchtests/bench-wcscat.c: New File.
26707         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
26709         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
26710         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
26711         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
26712         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
26713         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
26714         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
26715         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
26716         wcpncpy functions.
26717         * sysdeps/s390/multiarch/ifunc-impl-list.c
26718         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
26719         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
26720         * string/test-stpncpy.c: Add wcpncpy support.
26721         * wcsmbs/test-wcpncpy.c: New File.
26722         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
26723         * benchtests/bench-stpncpy.c: Add wcpncpy support.
26724         * benchtests/bench-wcpncpy.c: New File.
26725         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
26727         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
26728         * sysdeps/s390/multiarch/strncpy.c: Likewise.
26729         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
26730         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
26731         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
26732         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
26733         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
26734         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
26735         wcsncpy functions.
26736         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
26737         * sysdeps/s390/multiarch/ifunc-impl-list.c
26738         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
26739         * string/test-strncpy.c: Add wcsncpy support.
26740         * wcsmbs/test-wcsncpy.c: New File.
26741         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
26742         * benchtests/bench-strncpy.c: Add wcsncpy support.
26743         * benchtests/bench-wcsncpy.c: New File.
26744         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
26746         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
26747         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
26748         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
26749         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
26750         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
26751         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
26752         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
26753         wcpcpy functions.
26754         * string/stpcpy.c: Use STPCPY if defined.
26755         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
26756         * sysdeps/s390/multiarch/ifunc-impl-list.c
26757         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
26758         * string/test-stpcpy.c: Add wcpcpy support.
26759         * wcsmbs/test-wcpcpy.c: New File.
26760         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
26761         * benchtests/bench-stpcpy.c: Add wcpcpy support.
26762         * benchtests/bench-wcpcpy.c: New File.
26763         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
26765         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
26766         * sysdeps/s390/multiarch/strcpy.c: Likewise.
26767         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
26768         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
26769         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
26770         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
26771         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
26772         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
26773         wcscpy functions.
26774         * sysdeps/s390/multiarch/ifunc-impl-list.c
26775         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
26776         * benchtests/bench-wcscpy.c: New File.
26777         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
26779         * sysdeps/s390/multiarch/strnlen-c.c: New File.
26780         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
26781         * sysdeps/s390/multiarch/strnlen.c: Likewise.
26782         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
26783         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
26784         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
26785         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
26786         wcsnlen functions.
26787         * sysdeps/s390/multiarch/ifunc-impl-list.c
26788         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
26789         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
26790         * string/test-strnlen.c: Add wcsnlen support.
26791         * wcsmbs/test-wcsnlen.c: New File.
26792         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
26793         * benchtests/bench-strnlen.c: Add wcsnlen support.
26794         * benchtests/bench-wcsnlen.c: New File.
26795         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
26797         * sysdeps/s390/multiarch/Makefile: New File.
26798         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
26799         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
26800         * sysdeps/s390/multiarch/strlen.c: Likewise.
26801         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
26802         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
26803         * sysdeps/s390/multiarch/wcslen.c: Likewise.
26804         * string/strlen.c (STRLEN): Define and use macro.
26805         * sysdeps/s390/multiarch/ifunc-impl-list.c
26806         (IFUNC_VX_IMPL): New macro function.
26807         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
26808         * benchtests/Makefile (wcsmbs-bench): New variable.
26809         (string-bench-all): Added wcsmbs-bench.
26810         * benchtests/bench-wcslen.c: New File.
26812         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
26813         s390_vx_libc_ifunc2): New macro function.
26815         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
26816         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
26817         assembler support.
26818         * sysdeps/s390/configure: Regenerated.
26820         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
26821         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
26823         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
26824         * sysdeps/s390/dl-procinfo.h: Add vector capability.
26825         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
26827         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
26828         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
26829         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
26830         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
26831         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
26832         (memcmp, bcmp): Use __memcmp_default as alias source.
26833         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
26834         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
26835         Rename to __memcmp_default.
26836         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
26837         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
26838         (memcpy): Use __memcpy_default as alias source.
26839         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
26840         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
26841         Rename to __memcpy_default.
26842         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
26843         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
26844         (memset): Use __memset_default as alias source.
26845         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
26846         * sysdeps/s390/s390-32/memset.S (__memset_g5):
26847         Rename to __memset_default.
26848         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
26849         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
26850         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
26851         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
26852         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
26853         (memcmp, bcmp): Use __memcmp_default as alias source.
26854         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
26855         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
26856         Rename to __memcmp_default.
26857         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
26858         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
26859         (memcpy): Use __memcpy_default as alias source.
26860         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
26861         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
26862         Rename to __memcpy_default.
26863         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
26864         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
26865         (memset): Use __memset_default as alias source.
26866         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
26867         * sysdeps/s390/s390-64/memset.S (__memset_z900):
26868         Rename to __memset_default.
26869         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
26870         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
26872         [BZ #18610]
26873         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
26874         __ieee_instruction_pointer to __unused.
26875         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
26876         __ieee_instruction_pointer.
26877         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
26878         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
26879         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26880         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26881         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
26882         Mark dxc-field as reserved.
26884 2015-08-25  Roland McGrath  <roland@hack.frob.com>
26886         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
26887         if the weak reference is not null.
26889 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26891         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
26893         [BZ #11214]
26894         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
26896 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26898         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
26899         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
26900         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
26901         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
26902         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
26903         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
26904         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
26905         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
26906         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
26907         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
26908         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
26909         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
26910         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
26911         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
26912         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
26913         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
26914         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
26915         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
26917 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26919         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
26920         register other than r0 for tabort, it has special meaning.
26921         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
26922         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
26923         transaction before starting syscall.
26925 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26927         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
26929 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26931         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
26933         * sysdeps/x86_64/rtld-memcmp.c: Removed.
26934         * sysdeps/x86_64/rtld-memset.S: Likewise.
26935         * sysdeps/x86_64/rtld-strchr.S: Likewise.
26936         * sysdeps/x86_64/rtld-strlen.S: Likewise.
26937         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
26938         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26940         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
26942 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
26944         * debug/strcpy_chk.c: Improve performance.
26945         * debug/stpcpy_chk.c: Likewise.
26946         * sysdeps/x86_64/strcpy_chk.S: Remove.
26947         * sysdeps/x86_64/stpcpy_chk.S: Remove.
26949         [BZ #18240]
26950         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
26952 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
26954         [BZ #15128]
26955         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
26956         ifuncmain8.
26957         (modules-names): Add ifuncmod8.
26958         ($(objpfx)ifuncmain8): New rule.
26959         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
26960         <cpuid.h>.
26961         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
26962         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
26963         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
26964         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
26965         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
26966         * sysdeps/x86_64/dl-trampoline.h: Likewise.
26967         * sysdeps/x86_64/ifuncmain8.c: New file.
26968         * sysdeps/x86_64/ifuncmod8.c: Likewise.
26969         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
26970         Removed.
26971         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
26972         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
26973         Change rtld_savespace_sse to __glibc_unused2.
26974         (RTLD_CHECK_FOREIGN_CALL): Removed.
26975         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
26976         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
26977         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
26979 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26981         * sysdeps/aarch64/bzero.S (__bzero): Remove.
26983 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
26985         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
26986         Unconditionally set __fpcr to avoid uninialized warning.
26987         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
26989 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26991         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
26992         is corrupt.
26994         * malloc/arena.c (arena_get2): Drop unused argument.
26995         (arena_lock): Adjust.
26996         (arena_get_retry): Likewise.
26998 2015-08-24  Andreas Schwab  <schwab@suse.de>
27000         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
27001         Don't define.
27002         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
27003         (__ASSUME_IPC64): Don't undef.
27004         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
27005         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
27006         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
27007         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
27008         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
27009         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
27010         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
27011         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
27012         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
27013         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
27014         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
27015         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
27016         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
27017         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
27018         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
27019         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
27020         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
27021         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
27022         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
27023         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
27024         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
27026 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
27028         * manual/Makefile (install): Only build manual when perl is available.
27030 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27032         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
27033         '#undef memcpy' by '#undef memchr'.
27035 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27037         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
27038         memchr not point to the internal __GI_memchr implementation.
27040 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27042         * timezone/Makefile (CFLAGS-zdump.c): Remove
27043         -Wno-strict-prototypes.
27044         (CFLAGS-zic.c): Likewise.
27045         (CFLAGS-ialloc.c): Likewise.
27046         (CFLAGS-scheck.c): Likewise.
27048         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
27049         -Wno-error=undef.
27051 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27053         * i386/i686/multiarch/strcasestr-c.c: Removed.
27054         * x86_64/multiarch/strcasestr.c: Likewise.
27055         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27056         Remove strcasestr.
27058 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
27060         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
27062         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
27063         variables for high and low parts before possibly modifying them.
27065 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27067         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
27068         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
27069         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
27070         of "multiarch/init-arch.h".
27071         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
27072         * sysdeps/x86/init-arch.h: This.
27074 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
27076         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
27077         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
27079 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
27081         [BZ #17787]
27082         * manual/macros.texi: Add twoexp macro.
27083         * manual/filesys.texi: Fix exponents.
27084         * manual/llio.texi: Likewise.
27085         * manual/stdio.texi: Likewise.
27087 2015-08-20  Florian Weimer  <fweimer@redhat.com>
27089         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
27090         incorrect use.
27092 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27094         [BZ #18370]
27095         * math/s_csqrt.c (__csqrt): Force underflow exception for results
27096         whose real or imaginary part has small absolute value.
27097         * math/s_csqrtf.c (__csqrtf): Likewise.
27098         * math/s_csqrtl.c (__csqrtl): Likewise.
27099         * math/auto-libm-test-in: Add more tests of csqrt.
27100         * math/auto-libm-test-out: Regenerated.
27101         * sysdeps/i386/fpu/libm-test-ulps: Update.
27103 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27105         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
27106         __ppc_set_ppr_very_low): New functions.
27107         * manual/platform.texi: Add documentation about
27108         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
27110 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
27112         * string/stpncpy.c (stpncpy): Improve performance using
27113         __strnlen/memcpy/memset.
27115 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
27117         [BZ #18796]
27118         * scripts/test-installation.pl: Don't add -lmvec to build options if
27119         libmvec wasn't built.
27121 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
27123         [BZ #14341]
27124         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
27125         case when there is a gap between DT_REL and DT_JMPREL sections.
27126         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
27127         (LDFLAGS-tst-split-dynreloc): New.
27128         (tst-split-dynreloc-ENV): Likewise.
27129         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
27130         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
27132 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27134         [BZ #18822]
27135         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
27136         attribute_hidden.
27137         (__xstat64_conv): Likewise.
27138         (__xstat32_conv): Likewise.
27140 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27142         [BZ #18822]
27143         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
27144         Don't load %ebx when calling __setcontext.  Call __setcontext
27145         with HIDDEN_JUMPTARGET.
27146         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
27147         libc_hidden_def.
27149 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27151         * sysdeps/i386/i686/Makefile
27152         [$(subdir) == string] (sysdep_routines): Moved to ...
27153         * sysdeps/i386/Makefile: Here.
27154         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
27155         * sysdeps/i386/cacheinfo.c: Here.
27156         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
27157         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
27158         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
27159         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
27161 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
27163         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
27164         __i586__ is defined.
27165         (HAS_I686): Defined to 1 if __i686__ is defined.
27167 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
27169         * elf/Makefile [$(have-z-execstack) = yes]
27170         (CPPFLAGS-tst-execstack.c): New variable.
27172         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
27173         conditional to [defined UTMPX || _HAVE_UT_TYPE].
27174         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
27175         UTMPX || _HAVE_UT_TV].
27176         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
27177         UTMPX || _HAVE_UT_TV - 0].
27179 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
27181         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
27182         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
27183         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
27185 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27187         * sysdeps/powerpc/dl-procinfo.c:
27188         (_dl_powerpc_cap_flags): Added missing strings for some
27189         hwcap features.
27190         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
27192 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
27194         Port the 0x7efe...feff pattern to GCC 6.
27195         See Steve Ellcey's bug report in:
27196         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
27197         * string/memrchr.c (MEMRCHR):
27198         * string/rawmemchr.c (RAWMEMCHR):
27199         * string/strchr.c (strchr):
27200         * string/strchrnul.c (STRCHRNUL):
27201         Rewrite code to avoid issues with signed shift overflow.
27203 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
27205         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
27206         whether cpuid is available only if HAS_CPUID is 0.
27207         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
27208         (HAS_I586): Likewise.
27209         (HAS_I686): Likewise.
27211 2015-08-18  Zack Weinberg  <zackw@panix.com>
27213         * misc/Versions (libc): Add GLIBC_2.23.
27215 2015-08-18  Alan Modra  <amodra@gmail.com>
27217         [BZ #18421]
27218         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
27219         .Lp__global.
27220         (_start): Load %dp via .Lp__global.
27221         [!SHARED]: Use .section .rodata.
27223 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27225         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
27226         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
27228 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27230         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
27231         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
27233 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27235         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
27236         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
27238 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27240         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
27241         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
27243 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27245         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
27246         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
27248 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27250         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
27251         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
27253 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27255         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
27257 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27259         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
27260         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
27261         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27262         (__ASSUME_LWS_CAS): Delete.
27264 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
27266         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
27267         * sysdeps/hppa/configure: Regenerated.
27268         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
27269         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
27270         * sysdeps/hppa/nptl/tls.h: Likewise.
27272 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
27274         [BZ #18823]
27275         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
27276         for scaling up small arguments.
27277         * math/s_csqrtf.c (__csqrtf): Likewise.
27278         * math/s_csqrtl.c (__csqrtl): Likewise.
27279         * math/auto-libm-test-in: Add more tests of csqrt.
27280         * math/auto-libm-test-out: Regenerated.
27282 2015-08-17  Andreas Schwab  <schwab@suse.de>
27284         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
27285         version set GLIBC_2.19.
27287 2015-08-16  Zack Weinberg  <zackw@panix.com>
27289         [BZ #18681]
27290         * misc/regexp.h: This interface is no longer supported.
27291         Remove all contents, leaving only an #error directive.
27292         * misc/regexp.c (loc1, loc2, locs, step, advance):
27293         Demote to compatibility symbols.
27295 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
27297         [BZ #18084]
27298         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
27299         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
27300         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27301         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
27302         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
27303         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
27304         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
27305         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
27306         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27308 2015-08-15  Zack Weinberg  <zackw@panix.com>
27310         [BZ #18795]
27311         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
27312         buffer length is known to be too large, not if it's known to be
27313         small enough.
27314         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
27315         overflow at runtime, involving a length parameter, twice: once
27316         with a compile-time constant length parameter, once without.
27318 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
27320         [BZ #18824]
27321         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
27322         scaling x * y up instead of down.
27323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27325         * math/auto-libm-test-in: Add more tests of fma.
27326         * math/auto-libm-test-out: Regenerated.
27328 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27330         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27332 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27334         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
27335         unnecessary movq.
27336         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
27337         Likewise.
27339 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
27341         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27342         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
27343         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
27344         and tgamma.
27345         * math/auto-libm-test-out: Regenerated.
27346         * sysdeps/i386/fpu/libm-test-ulps: Update.
27347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27349         [BZ #16520]
27350         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
27351         (__tanh): Force underflow exception for arguments with small
27352         absolute value.
27353         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
27354         (__tanhf): Force underflow exception for arguments with small
27355         absolute value.
27356         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
27357         (__tanhl): Force underflow exception for arguments with small
27358         absolute value.
27359         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
27360         (__tanhl): Force underflow exception for arguments with small
27361         absolute value.
27362         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
27363         (__tanhl): Force underflow exception for arguments with small
27364         absolute value.
27365         * math/auto-libm-test-in: Add more tests of tanh.
27366         * math/auto-libm-test-out: Regenerated.
27367         * sysdeps/i386/fpu/libm-test-ulps: Update.
27369 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27371         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
27372         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
27374 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27376         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
27377         <cpuid.h>.
27379 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27381         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
27382         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
27384 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27386         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
27387         Remove $(objpfx)init-arch.o.
27388         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
27389         init-arch.
27390         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
27391         (INIT_ARCH_EXT): Defined as empty.
27392         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
27393         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
27394         __init_cpu_features call.  Replace HAS_XXX with
27395         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27396         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
27397         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
27398         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
27399         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
27400         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
27401         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
27402         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
27403         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
27404         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
27405         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
27406         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
27407         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
27408         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
27409         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
27410         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
27411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
27412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
27413         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
27414         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
27415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
27416         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
27417         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
27418         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
27419         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
27420         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
27421         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
27422         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
27423         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
27424         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
27425         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
27426         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
27427         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
27428         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
27429         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
27430         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
27432 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27434         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
27435         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27436         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27437         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
27438         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
27439         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
27440         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
27441         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
27442         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
27443         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
27444         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
27445         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
27446         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27447         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27448         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27449         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27450         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27451         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27452         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27453         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27454         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27455         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27456         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27457         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27458         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27459         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27460         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27461         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27462         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27463         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27464         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27465         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27466         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27467         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27468         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27469         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27470         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27471         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27472         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27473         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27474         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27475         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27476         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27478 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27480         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
27481         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27482         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
27483         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27484         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27485         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
27486         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27487         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
27488         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
27489         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27490         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27491         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
27492         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
27493         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
27494         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
27495         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
27496         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
27497         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
27498         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
27499         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
27500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
27501         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
27502         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
27503         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27504         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27505         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
27506         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
27507         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
27508         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
27509         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27510         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27511         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27512         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27513         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27514         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27515         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27516         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27517         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27518         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27519         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27520         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27521         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27522         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27524 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
27526         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
27527         (dl_platform_init): Call init_cpu_features.
27528         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
27529         * sysdeps/i386/i686/cacheinfo.c
27530         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
27531         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
27532         * sysdeps/i386/i686/multiarch/Versions: Removed.
27533         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
27534         Removed.
27535         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
27536         * sysdeps/unix/sysv/linux/x86/Makefile
27537         (libpthread-sysdep_routines): Remove init-arch.
27538         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
27539         <sysdeps/x86_64/dl-procinfo.c> instead of
27540         sysdeps/generic/dl-procinfo.c>.
27541         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
27542         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
27543         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
27544         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
27545         [$(subdir) == elf] (tests-static): Add
27546         tst-get-cpu-features-static.
27547         * sysdeps/x86/Versions: New file.
27548         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
27549         * sysdeps/x86/cpu-features.c: Likewise.
27550         * sysdeps/x86/cpu-features.h: Likewise.
27551         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
27552         * sysdeps/x86/libc-start.c: Likewise.
27553         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
27554         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
27555         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
27556         * sysdeps/x86_64/dl-procinfo.c: Likewise.
27557         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
27558         Assume USE_MULTIARCH is defined and don't check it.
27559         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
27560         (is_amd): Likewise.
27561         (max_cpuid): Likewise.
27562         (intel_check_word): Likewise.
27563         (__cache_sysconf): Don't call __init_cpu_features.
27564         (__x86_preferred_memory_instruction): Removed.
27565         (init_cacheinfo): Don't call __init_cpu_features. Replace
27566         __cpu_features with GLRO(dl_x86_cpu_features).
27567         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
27568         (dl_platform_init): Call init_cpu_features.
27569         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
27570         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
27571         * sysdeps/x86_64/multiarch/Versions: Removed.
27572         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
27573         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
27574         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
27575         Removed.
27576         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
27578 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27580         [BZ #18820]
27581         * libio/Makefile (test-fmemopen-mem): New test.
27582         * libio/test-fmemopen.c (do_bz18820): New test.
27583         * libio/fmemopen.c (__fmemopen): Fix memory leak.
27584         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
27586 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
27588         [BZ #16734]
27589         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
27590         (FREE_BUF): Delete.
27591         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
27592         * libio/genops.c (_IO_setb): Use malloc and free directly.
27593         (_IO_default_doallocate, _IO_default_finish): Likewise.
27594         ( _IO_unbuffer_all): Likewise.
27595         ( libc_freeres_fn): Likewise.
27596         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27597         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
27598         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
27599         (_IO_wdefault_doallocate): Likewise.
27601 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
27603         [BZ #18086]
27604         * sysdeps/posix/nice.c (nice): Restore old errno.
27605         * posix/tst-nice.c (do_test): Add test for BZ #18086.
27607 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
27609         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
27611 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27613         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
27614         __bcopy and add a weak_alias to bcopy.
27615         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
27616         for static build.
27618         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
27619         cleanup macro usage.
27620         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
27621         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
27622         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
27623         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
27624         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
27625         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
27626         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
27627         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27628         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27629         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
27630         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27631         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
27632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27633         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
27634         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
27635         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
27636         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
27637         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
27638         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
27640         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
27641         libc_hidden_def.
27642         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
27644         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
27645         (sysdep_routines): Add strstr-ppc64.
27646         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
27648 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
27650         [BZ #18778]
27651         * elf/Makefile (tests): Add Add tst-nodelete2.
27652         (modules-names): Add tst-nodelete2mod.
27653         (tst-nodelete2mod.so-no-z-defs): New.
27654         ($(objpfx)tst-nodelete2): Likewise.
27655         ($(objpfx)tst-nodelete2.out): Likewise.
27656         (LDFLAGS-tst-nodelete2): Likewise.
27657         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
27658         out of loop through all loaded libraries.
27659         * elf/tst-nodelete2.c: New file.
27660         * elf/tst-nodelete2mod.c: Likewise.
27661         * elf/tst-znodelete-zlib.cc: Delete.
27663 2015-08-11  Andreas Schwab  <schwab@suse.de>
27665         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
27666         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
27667         (__openat64_nocancel): Likewise.
27669 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
27671         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
27672         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
27673         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
27674         * math/auto-libm-test-out: Regenerated.
27675         * sysdeps/i386/fpu/libm-test-ulps: Update.
27676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27678 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27680         [BZ #18790]
27681         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
27682         threshold for returning +/- 1.
27683         * math/auto-libm-test-in: Add more tests of tanh.
27684         * math/auto-libm-test-out: Regenerated.
27685         * sysdeps/i386/fpu/libm-test-ulps: Update.
27687 2015-08-10  Andreas Schwab  <schwab@suse.de>
27689         [BZ #18781]
27690         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
27691         MORE_OFLAGS to oflag.
27692         * io/test-lfs.c (do_test): Test openat64.
27694 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
27696         [BZ #18789]
27697         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
27698         smaller threshold for returning the argument.
27699         * math/auto-libm-test-in: Add more tests of sinh.
27700         * math/auto-libm-test-out: Regenerated.
27701         * sysdeps/i386/fpu/libm-test-ulps: Update.
27703 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
27705         [BZ #18674]
27706         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
27707         break.
27709 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
27711         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
27712         (generated): Don't add $(addprefix z.,$(tzfiles)).
27714 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27716         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
27717         * scripts/sysd-rules.awk: Likewise.
27719 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27721         * iconvdata/tst-tables.sh: Change echo -n to printf.
27722         * nss/db-Makefile: Likewise.
27723         * posix/tst-getconf.sh: Likewise.
27724         * stdio-common/tst-unbputc.sh: Likewise.
27726 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
27728         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
27729         MADV_*_PAGES defines behind this feature check.
27731 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
27733         [BZ #18480]
27734         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
27735         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
27736         Define.
27737         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
27738         LOAD_REGS_5, LOAD_REGS_6): Update.
27739         (INTERNAL_SYSCALL): Update using new LOAD defines.
27740         (INTERNAL_SYSCALL_NCS): Likewise.
27741         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
27743 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27745         [BZ #16734]
27746         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
27748 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27750         [BZ #17905]
27751         * catgets/Makefile (tst-catgets-mem): New test.
27752         * catgets/catgets.c (catopen): Don't use unbounded alloca.
27753         * catgets/open_catalog.c (__open_catalog): Likewise.
27754         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
27756 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
27758         [BZ #18787]
27759         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
27760         clobber registers.
27761         (atomic_compare_and_exchange_val_acq): Use register asms to assign
27762         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
27763         Cast return to __typeof (oldval).
27765 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
27767         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
27768         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
27769         and delete sys/syscall.h include.
27771 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
27773         [BZ #16517]
27774         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
27775         (tan): Force underflow exception for arguments with small absolute
27776         value.
27777         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
27778         (__kernel_tanf): Force underflow exception for arguments with
27779         small absolute value.
27780         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
27781         (__kernel_tanl): Force underflow exception for arguments with
27782         small absolute value.
27783         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
27784         (__kernel_tanl): Force underflow exception for arguments with
27785         small absolute value.
27786         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
27787         (__kernel_tanl): Force underflow exception for arguments with
27788         small absolute value.
27789         * math/auto-libm-test-in: Add more tests of tan.
27790         * math/auto-libm-test-out: Regenerated.
27792 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27794         Fix sysdeps/i386/fpu/s_scalbn.S build
27796         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
27798 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
27800         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
27802 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27804         Fix gcrt0.o compilation
27806         When static-start-installed-name is different from
27807         start-installed-name, we must not use the shared objects.
27809         * csu/Makefile
27810         (extra-objs): Add gmon-start.o when building shared library and
27811         $(static-start-installed-name) is different from
27812         $(start-installed-name).
27813         $(objpfx)g$(static-start-installed-name): When building shared
27814         library and $(static-start-installed-name) is different from
27815         $(static-start-installed-name), revert to non-shared rule,
27816         i.e. using $(objpfx)% and gmon-start.o.
27818 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
27820         [BZ #16519]
27821         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
27822         (__ieee754_sinh): Force underflow exception for arguments with
27823         small absolute value.
27824         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
27825         (__ieee754_sinhf): Force underflow exception for arguments with
27826         small absolute value.
27827         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
27828         (__ieee754_sinhl): Force underflow exception for arguments with
27829         small absolute value.
27830         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
27831         (__ieee754_sinhl): Force underflow exception for arguments with
27832         small absolute value.
27833         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
27834         (__ieee754_sinhl): Force underflow exception for arguments with
27835         small absolute value.
27836         * math/auto-libm-test-in: Add more tests of sinh.
27837         * math/auto-libm-test-out: Regenerated.
27838         * sysdeps/i386/fpu/libm-test-ulps: Update.
27840 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
27842         * libio/oldfileops.c: Include unistd.h.
27844 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
27846         * stdlib/isomac.c: Include ctype.h.
27848 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
27850         * dirent/tst-seekdir.c (main): Converted to ...
27851         (do_test): ... this.
27852         (TEST_FUNCTION): New macro.
27853         Include test-skeleton.c.
27854         * elf/tst-dlmodcount.c (main): Converted to ...
27855         (do_test): ... this.
27856         (TEST_FUNCTION): New macro.
27857         Include test-skeleton.c.
27858         * elf/tst-order-main.c (main): Converted to ...
27859         (do_test): ... this.
27860         (TEST_FUNCTION): New macro.
27861         Include test-skeleton.c.
27862         * elf/tst-pie2.c (main): Converted to ...
27863         (do_test): ... this.
27864         (TEST_FUNCTION): New macro.
27865         Include test-skeleton.c.
27866         * inet/tst-ether_aton.c (main): Converted to ...
27867         (do_test): ... this.
27868         (TEST_FUNCTION): New macro.
27869         Include test-skeleton.c.
27870         * misc/tst-mntent.c (main): Converted to ...
27871         (do_test): ... this.
27872         (TEST_FUNCTION): New macro.
27873         Include test-skeleton.c.
27874         * misc/tst-tsearch.c (main): Converted to ...
27875         (do_test): ... this.
27876         (TEST_FUNCTION): New macro.
27877         Include test-skeleton.c.
27878         * posix/tst-regexloc.c (main): Converted to ...
27879         (do_test): ... this.
27880         (TEST_FUNCTION): New macro.
27881         Include test-skeleton.c.
27882         * resolv/tst-aton.c (main): Converted to ...
27883         (do_test): ... this.
27884         (TEST_FUNCTION): New macro.
27885         Include test-skeleton.c.
27886         * stdio-common/test-fwrite.c (main): Converted to ...
27887         (do_test): ... this.
27888         (TEST_FUNCTION): New macro.
27889         Include test-skeleton.c.
27890         * stdio-common/tst-ferror.c (main): Converted to ...
27891         (do_test): ... this.
27892         (TEST_FUNCTION): New macro.
27893         Include test-skeleton.c.
27894         * stdio-common/tst-printf.c (main): Converted to ...
27895         (do_test): ... this.
27896         (TEST_FUNCTION): New macro.
27897         Include test-skeleton.c.
27898         * stdio-common/tst-printfsz.c (main): Converted to ...
27899         (do_test): ... this.
27900         (TEST_FUNCTION): New macro.
27901         Include test-skeleton.c.
27902         * stdlib/tst-strtod.c (main): Converted to ...
27903         (do_test): ... this.
27904         (TEST_FUNCTION): New macro.
27905         Include test-skeleton.c.
27906         * string/tst-strlen.c (main): Converted to ...
27907         (do_test): ... this.
27908         (TEST_FUNCTION): New macro.
27909         Include test-skeleton.c.
27910         * string/tst-svc.c (main): Converted to ...
27911         (do_test): ... this.
27912         (TEST_FUNCTION): New macro.
27913         Include test-skeleton.c.
27914         * time/tst-strptime.c (main): Converted to ...
27915         (do_test): ... this.
27916         (TEST_FUNCTION): New macro.
27917         Include test-skeleton.c.
27918         * timezone/tst-timezone.c (main): Converted to ...
27919         (do_test): ... this.
27920         (TEST_FUNCTION): New macro.
27921         Include test-skeleton.c.
27923 2015-08-05  Zack Weinberg  <zackw@panix.com>
27925         * misc/regexp.h: Update comments.
27927 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
27929         [BZ #18635]
27930         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
27931         before return label.
27933 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27935         [BZ #18661]
27936         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
27937         when calling __errno_location.
27938         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
27939         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
27941 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27943         [BZ #18661]
27944         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
27945         (__lll_timedwait_tid): Align stack to 16 bytes when calling
27946         __gettimeofday.
27948 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27950         [BZ #18661]
27951         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27952         (__start_context): Don't use pop to restore %rdi so that stack
27953         is aligned to 16 bytes when calling __setcontext.
27955 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27957         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
27958         only for libc.
27959         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
27961 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27963         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
27964         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
27965         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
27967 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27969         * string/memccpy.c (memccpy):
27970         Improve performance by using memchr/memcpy/__mempcpy.
27972 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27974         * string/strncpy.c (strncpy):
27975         Improve performance by using __strnlen/memcpy.
27977 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27979         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27980         Optimize to avoid an unnecessary FPCR read.
27982 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
27984         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27985         Optimize to reduce FPCR/FPSR accesses.
27987 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
27989         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
27990         dead->data[category] != NULL.
27992 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
27994         [BZ #18647]
27995         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
27996         and |x| close to 1, use absolute value of x when computing log.
27997         * math/auto-libm-test-in: Add more tests of pow.
27998         * math/auto-libm-test-out: Regenerated.
28000 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28002         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
28003         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
28004         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
28006 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
28008         [BZ #18525]
28009         * locales/km_KH: Remove timezone definition.
28010         * locales/lo_LA: Likewise.
28011         * locales/my_MM: Likewise.
28012         * locales/nan_TW@latin: Likewise.
28013         * locales/th_TH: Likewise.
28014         * locales/uk_UA: Likewise.
28016 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
28018         [BZ #18265]
28019         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
28020         (wcsncat): Likewise.
28021         (wcscmp): Likewise.
28022         (wcsncmp): Likewise.
28024 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28026         * test-skeleton.c (usage): New function.
28027         (main): Call usage when opt is '?'.
28029 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28031         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
28032         before first use.
28034 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
28036         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
28037         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
28038         in there too.
28040 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
28042         * version.h (RELEASE): Set to "development".
28043         (VERSION): Set to "2.22.90"
28045         * version.h (RELEASE): Set to "stable".
28046         (VERSION): Set to "2.22"
28047         * include/features.h (__GLIBC_MINOR__): Set to 22.
28049 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
28051         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
28052         Restructure macro to avoid "value computed is not used" warning.
28053         (atomic_compare_and_exchange_val_acq): Likewise.
28055 2015-08-04  Andreas Schwab  <schwab@suse.de>
28057         [BZ #18635]
28058         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
28059         ret.
28060         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
28062 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
28064         * po/pl.po: Updated translation.
28065         * po/uk.po: Likewise.
28066         * po/fi.po: Likewise.
28067         * po/ko.po: Likewise.
28068         * po/ru.po: Likewise.
28069         * po/vi.po: Likewise.
28071 2015-07-31  Zack Weinberg  <zackw@panix.com>
28073         [BZ #18681]
28074         * regexp.h: Add unconditional #warning stating that this header
28075         will be removed soon.  Revise banner comment to match.
28076         (compile): Consistently use ERROR instead of RETURN to report
28077         errors (partial fix for BZ #18681).
28078         * regexp.c: Don't include regexp.h. Remove some unnecessary
28079         declarations.
28081 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
28083         * po/libc.pot: Regenerated.
28085 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28087         [BZ #18740]
28088         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
28089         float-vlen4-arch-ext-cflags): Removed.
28090         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
28091         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
28093 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28095         [BZ #14113]
28096         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
28097         aligned to __aligned__.
28098         (pthread_cond_t, pthread_rwlock_t): Likewise.
28100 2015-07-30  Torvald Riegel  <triegel@redhat.com>
28102         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
28104 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28106         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
28107         (struct sigaction): Change sa_flags from a long to an int, and add
28108         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
28110 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28112         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
28113         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
28114         sysdeps/generic/sysdep.h include.
28115         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
28116         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
28117         sysdeps/hppa/sysdep.h.
28118         (ENTRY, PSEUDO): Undefine before defining.
28120 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
28122         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
28123         from scratch to use INTERNAL_SYSCALL.
28125 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
28127         [BZ #18078]
28128         * scripts/check-localplt.awk: Support alternate relocations.
28129         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
28130         sections.
28131         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
28132         malloc entries with + REL R_386_GLOB_DAT.
28133         * sysdeps/x86_64/localplt.data: New file.
28135 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
28137         [BZ #18731]
28138         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
28139         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
28140         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
28142 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28144         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
28146 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28148         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
28149         directly in terms of __sync_fetch_and_add and delete (int) cast.
28151 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28153         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
28154         the -D_ASM_IA64_CURRENT_H flag.
28156 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
28158         [BZ #18641]
28159         * pwd/pwd.h (putpwent): Delete __nonnull markings.
28161 2015-07-27  Andreas Schwab  <schwab@suse.de>
28163         * conform/conformtest.pl (checknamespace): Filter out string
28164         literals while tokenizing.
28166 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28168         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28169         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
28170         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28172 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
28174         * nptl/tst-join7mod.c: Add #include <string.h>.
28176 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28178         * sysdeps/nios2/libm-test-ulps: Update.
28180 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
28182         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
28183         Fix order of arguments to the rt_sigprocmask syscall.
28184         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
28185         Likewise.
28187 2015-07-24  Roland McGrath  <roland@hack.frob.com>
28189         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
28191 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28193         [BZ #18457]
28194         * nptl/Makefile (tests): New test case tst-join7.
28195         (modules-names): New test case module tst-join7mod.
28196         * nptl/tst-join7.c: New file.
28197         * nptl/tst-join7mod.c: New file.
28198         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
28199         all translation units in libc.so, libpthread.so and rtld.
28201 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28205 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
28207         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
28208         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
28209         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
28210         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
28211         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
28212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
28213         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
28214         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
28215         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
28216         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
28217         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
28218         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
28219         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
28220         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
28221         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
28222         implementation.
28224 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28226         [BZ #17711]
28227         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28228         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
28229         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28230         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
28231         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
28232         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
28234 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28236         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
28237         instead of just saying load lock in the comments.
28239 2015-07-23  Roland McGrath  <roland@hack.frob.com>
28241         * sysdeps/unix/Subdirs: Moved ...
28242         * sysdeps/posix/Subdirs: ... here.
28243         * login/pty.h (struct termios, struct winsize): Add forward decls.
28244         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
28245         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
28246         * sysdeps/arm/nacl/libc.abilist: Updated.
28247         * sysdeps/nacl/libutil.abilist: New file.
28249         * bits/signum.h: Update comments to mention 1003.1-2013 too.
28250         (SIGWINCH): New macro.
28252         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
28253         * sysdeps/arm/nacl/libc.abilist: Add it.
28255 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28257         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
28259 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
28261         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28262         Swap __glibc_reserved0 and sa_flags order.
28264 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28266         [BZ #18657]
28267         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
28268         are pending TLS destructor calls.
28269         * include/link.h (struct link_map): Add concurrency note for
28270         L_TLS_DTOR_COUNT.
28271         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28272         Don't touch the link map flag.  Atomically increment
28273         l_tls_dtor_count.
28274         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
28275         Avoid taking the load lock and don't touch the link map flag.
28276         * stdlib/tst-tls-atexit-nodelete.c: New test case.
28277         * stdlib/Makefile (tests): Use it.
28278         * stdlib/tst-tls-atexit.c (do_test): dlopen
28279         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
28280         to allow tst-tls-atexit-nodelete test case to use it.
28282 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28284         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
28285         to bits/types.h.
28286         (msgqnum_t): New typedef.
28287         (msglen_t): Likewise.
28288         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
28289         and msg_qbytes type to msglen_t.
28291 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28293         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
28294         pad0 to __glibc_reserved0.
28295         (struct stat64): Likewise.
28297 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28299         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
28300         Change sa_flags from a long to an int and add __glibc_reserved0 before
28301         it for padding.
28303 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
28305         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
28306         anonymous by deleting "siginfo" name.
28308 2015-07-21  Roland McGrath  <roland@hack.frob.com>
28310         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
28311         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
28312         rather than __nacl_irt_filename.
28313         * sysdeps/nacl/xstat.c (__xstat): Likewise.
28315         * NEWS: New item for arm-nacl port.
28316         * sysdeps/arm/nacl/libc.abilist: New file.
28317         * sysdeps/nacl/ld.abilist: New file.
28318         * sysdeps/nacl/libBrokenLocale.abilist: New file.
28319         * sysdeps/nacl/libanl.abilist: New file.
28320         * sysdeps/nacl/libcrypt.abilist: New file.
28321         * sysdeps/nacl/libdl.abilist: New file.
28322         * sysdeps/nacl/libm.abilist: New file.
28323         * sysdeps/nacl/libpthread.abilist: New file.
28324         * sysdeps/nacl/libresolv.abilist: New file.
28325         * sysdeps/nacl/librt.abilist: New file.
28327 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
28329         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
28330         __startcontext to initialize the new context.
28331         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
28332         up CFI directive to forbid further backtracing.
28334 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
28336         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
28337         reference.
28338         * charmaps/ANSI_X3.4-1968: Likewise.
28339         * charmaps/BS_4730: Likewise.
28340         * charmaps/BS_VIEWDATA: Likewise.
28341         * charmaps/CP1250: Likewise.
28342         * charmaps/CP1251: Likewise.
28343         * charmaps/CP1252: Likewise.
28344         * charmaps/CP1253: Likewise.
28345         * charmaps/CP1254: Likewise.
28346         * charmaps/CP1255: Likewise.
28347         * charmaps/CP1256: Likewise.
28348         * charmaps/CSN_369103: Likewise.
28349         * charmaps/EBCDIC-DK-NO: Likewise.
28350         * charmaps/GB_1988-80: Likewise.
28351         * charmaps/GREEK-CCITT: Likewise.
28352         * charmaps/GREEK7: Likewise.
28353         * charmaps/INIS-8: Likewise.
28354         * charmaps/ISIRI-3342: Likewise.
28355         * charmaps/ISO_2033-1983: Likewise.
28356         * charmaps/ISO_5427-EXT: Likewise.
28357         * locales/POSIX: Likewise.
28358         * locales/ar_SA: Likewise.
28359         * locales/be_BY: Likewise.
28360         * locales/be_BY@latin: Likewise.
28361         * locales/ca_ES: Likewise.
28362         * locales/cs_CZ: Likewise.
28363         * locales/da_DK: Likewise.
28364         * locales/de_BE: Likewise.
28365         * locales/de_CH: Likewise.
28366         * locales/de_LU: Likewise.
28367         * locales/en_AU: Likewise.
28368         * locales/en_BW: Likewise.
28369         * locales/en_CA: Likewise.
28370         * locales/en_DK: Likewise.
28371         * locales/en_GB: Likewise.
28372         * locales/en_IE: Likewise.
28373         * locales/en_NZ: Likewise.
28374         * locales/en_ZA: Likewise.
28375         * locales/en_ZW: Likewise.
28376         * locales/es_AR: Likewise.
28377         * locales/es_BO: Likewise.
28378         * locales/es_CL: Likewise.
28379         * locales/es_CO: Likewise.
28380         * locales/es_DO: Likewise.
28381         * locales/es_EC: Likewise.
28382         * locales/es_ES: Likewise.
28383         * locales/es_HN: Likewise.
28384         * locales/es_MX: Likewise.
28385         * locales/es_PA: Likewise.
28386         * locales/es_PE: Likewise.
28387         * locales/es_PY: Likewise.
28388         * locales/es_SV: Likewise.
28389         * locales/es_US: Likewise.
28390         * locales/es_UY: Likewise.
28391         * locales/es_VE: Likewise.
28392         * locales/et_EE: Likewise.
28393         * locales/fa_IR: Likewise.
28394         * locales/fo_FO: Likewise.
28395         * locales/fr_CA: Likewise.
28396         * locales/fr_CH: Likewise.
28397         * locales/gv_GB: Likewise.
28398         * locales/he_IL: Likewise.
28399         * locales/hr_HR: Likewise.
28400         * locales/id_ID: Likewise.
28401         * locales/is_IS: Likewise.
28402         * locales/it_CH: Likewise.
28403         * locales/iw_IL: Likewise.
28404         * locales/kl_GL: Likewise.
28405         * locales/ko_KR: Likewise.
28406         * locales/kw_GB: Likewise.
28407         * locales/lg_UG: Likewise.
28408         * locales/lt_LT: Likewise.
28409         * locales/lv_LV: Likewise.
28410         * locales/mi_NZ: Likewise.
28411         * locales/nhn_MX: Likewise.
28412         * locales/nl_BE: Likewise.
28413         * locales/pl_PL: Likewise.
28414         * locales/sk_SK: Likewise.
28415         * locales/sl_SI: Likewise.
28416         * locales/sv_FI: Likewise.
28417         * locales/tl_PH: Likewise.
28418         * locales/tr_TR: Likewise.
28419         * locales/vi_VN: Likewise.
28421 2015-07-21  Khem Raj  <raj.khem@gmail.com>
28423         [BZ #17475]
28424         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
28425         of tu_IN and bh_IN.
28427 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
28429         [BZ #18694]
28430         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
28431         bits/wordsize.h.
28432         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
28434 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28436         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
28437         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
28438         (spawn_thread): New function.
28439         (load): Rename to reg_dtor_and_close.  Move dlopen to...
28440         (do_test): ... here.  Use IS_LOADED to test for its
28441         availability.
28443 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
28445         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
28447 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
28449         [BZ #18696]
28450         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
28451         si_addr_bnd.
28452         (si_lower): New.
28453         (si_upper): Likewise.
28455 2015-07-16  David S. Miller  <davem@davemloft.net>
28457         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
28459 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28461         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
28462         buffer.
28463         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
28464         fail output information.
28466 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
28469         and strstr-ppc64..
28470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28471         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
28472         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
28473         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
28474         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
28476 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28478         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28479         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28480         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
28481         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28483 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
28485         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
28486         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
28487         rtld_hidden_proto.
28488         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
28490 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28492         * tst-nodelete-opened.c (do_test): Add comment to clarify how
28493         the test can fail.
28495         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
28497         [BZ #18676]
28498         * elf/tst-nodelete-opened.c: New test case.
28499         * elf/tst-nodelete-opened-lib.c: New test case module.
28500         * elf/Makefile (tests, modules-names): Use them.
28501         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
28502         early.
28504 2015-07-15  David S. Miller  <davem@davemloft.net>
28506         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
28507         futex-intenal.h
28508         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
28509         * sysdeps/sparc/sparc64/Makefile: Likewise.
28510         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
28511         Remove space from macro define.
28512         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
28514 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
28516         [BZ #17475]
28517         * locale/iso-639.def: Update Bhili and Tulu language codes as
28518         per iso639-3.
28520 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
28522         * elf/tst-leaks1.c (main): Converted to ...
28523         (do_test): ... this.
28524         (TEST_FUNCTION): New macro.
28525         Include test-skeleton.c.
28526         * localedata/tst-langinfo.c (main): Converted to ...
28527         (do_test): ... this.
28528         (TEST_FUNCTION): New macro.
28529         Include test-skeleton.c.
28530         * math/test-fpucw.c (main): Converted to ...
28531         (do_test): ... this.
28532         (TEST_FUNCTION): New macro.
28533         Include test-skeleton.c.
28534         * math/test-tgmath.c (main): Converted to ...
28535         (do_test): ... this.
28536         (TEST_FUNCTION): New macro.
28537         Include test-skeleton.c.
28538         * math/test-tgmath2.c (main): Converted to ...
28539         (do_test): ... this.
28540         (TEST_FUNCTION): New macro.
28541         Include test-skeleton.c.
28542         * setjmp/tst-setjmp.c (main): Converted to ...
28543         (do_test): ... this.
28544         (TEST_FUNCTION): New macro.
28545         Include test-skeleton.c.
28546         * stdio-common/tst-sscanf.c (main): Converted to ...
28547         (do_test): ... this.
28548         (TEST_FUNCTION): New macro.
28549         Include test-skeleton.c.
28550         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
28551         (do_test): ... this.
28552         (TEST_FUNCTION): New macro.
28553         Include test-skeleton.c.
28555         * elf/tst-audit9.c (main): Converted to ...
28556         (do_test): ... this.
28557         (TEST_FUNCTION): New macro.
28558         Include test-skeleton.c.
28560 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
28562         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
28564 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28566         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
28567         New variable.
28569 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
28571         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28573 2015-07-14  Roland McGrath  <roland@hack.frob.com>
28575         * sysdeps/generic/dl-fileid.h: New file.
28576         * sysdeps/posix/dl-fileid.h: New file.
28577         * sysdeps/nacl/dl-fileid.h: New file.
28578         * include/link.h: Include <dl-fileid.h>.
28579         (struct link_map): Replace l_dev and l_ino with l_file_id.
28580         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
28581         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
28582         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
28584 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28586         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
28588 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28590         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
28591         Add iff $CXX is set.
28592         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
28593         Likewise.
28594         (tst-nodelete-zmodiff): Likewise.
28595         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
28597 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28599         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
28601 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28603         * sysdeps/aarch64/fpu/math_private.h
28604         (define math_opt_barrier): Add AArch64 version.
28605         (math_force_eval): Likewise.
28607 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
28609         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
28611 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
28613         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
28614         %ld with %jd and cast to intmax_t.
28615         (do_test_length_zero): Likewise.
28617 2015-07-10  Roland McGrath  <roland@hack.frob.com>
28619         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
28621 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
28623         * sysdeps/tile/libm-test-ulps: Regenerated.
28625         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
28626         Comment out the whole function, not just its body.
28628 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28630         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
28631         locks.
28633         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
28635 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28637         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
28638         (sem_assume_only_signals_cause_futex_EINTR): Remove.
28640 2015-07-10  Torvald Riegel  <triegel@redhat.com>
28642         * sysdeps/nptl/futex-internal.h: New file.
28643         * sysdeps/nacl/futex-internal.h: New file.
28644         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
28645         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
28646         error checking.
28647         (setxid_unmark_thread): Likewise.
28648         (__nptl_setxid): Likewise.
28649         (__wait_lookup_done): Likewise.
28650         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
28651         * nptl/nptl-init.c (sighandler_setxid): Likewise.
28652         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
28653         * nptl/pthread_once.c (clear_once_control): Likewise.
28654         (__pthread_once_slow): Likewise.
28655         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28656         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
28657         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
28658         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
28659         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
28660         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
28661         Likewise.
28662         (__pthread_rwlock_rdlock): Likewise.
28663         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28664         Likewise.
28665         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28666         Likewise.
28667         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
28668         Likewise.
28669         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
28670         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
28671         Likewise.
28672         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
28673         __ASSUME_PRIVATE_FUTEX check.
28674         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
28675         Check that shared futexes are supported.
28676         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
28677         wrappers with error checking.
28678         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
28679         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
28680         * nptl/pthread_barrierattr_setpshared.c
28681         (pthread_barrierattr_setpshared): Check that shared futexes are
28682         supported.
28683         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
28684         Likewise.
28685         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
28686         Likewise.
28687         * nptl/sem_init.c (futex_private_if_supported): Remove.
28688         (__new_sem_init): Adapt and check that shared futexes are supported.
28689         * nptl/sem_open.c (sem_open): Likewise.
28690         * nptl/sem_post.c (futex_wake): Remove.
28691         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
28692         (do_futex_wait): Use futex wrappers with error checking.
28693         * nptl/sem_wait.c: Include lowlevellock.h.
28694         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
28695         Use futex_supports_pshared.
28696         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
28697         Use futex wrappers with error checking.
28698         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
28699         Likewise.
28700         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
28701         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
28702         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
28703         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
28704         (futex_wake): Likewise.
28705         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
28706         (do_futex_wait): Use futex wrappers with error checking.
28707         (__new_sem_wait_slow): Update EINTR handling.
28708         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
28710 2015-07-09  Martin Sebor  <msebor@redhat.com>
28712         [BZ #18435]
28713         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
28714         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
28715         * nptl/Makefile (test-xfail-tst-once5): Define.
28717 2015-07-09  Roland McGrath  <roland@hack.frob.com>
28719         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
28720         * elf/dl-minimal.c: For readability, reorder some definitions and
28721         introduce more page breaks.  Include <stdio.h>.
28722         (__libc_fatal): New function.
28724         * include/unistd.h: Add rtld_hidden_proto for _exit.
28725         * posix/_exit.c: Add rtld_hidden_def.
28726         * sysdeps/mach/hurd/_exit.c: Likewise.
28727         * sysdeps/nacl/_exit.c: Likewise.
28728         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
28729         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
28731 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
28733         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
28734         bndmov encoding with zero displacement.
28736 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
28737             H.J. Lu  <hongjiu.lu@intel.com>
28739         [BZ #18134]
28740         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
28741         * sysdeps/i386/configure: Regenerated.
28742         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28743         (_dl_runtime_profile): Save and restore Intel MPX return bound
28744         registers when calling _dl_call_pltexit.  Add
28745         PRESERVE_BND_REGS_PREFIX before return.
28746         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
28747         (LRV_BND1_OFFSET): Likewise.
28748         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
28749         lrv_bnd1.
28750         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
28751         typo in bndmov encoding.
28752         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
28753         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
28754         branch instructions to preserve bounds.
28756 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
28759         [GLIBC_2.22]: Add fmemopen.
28761 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28763         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
28764         returns an error, also try to use host port from __mach_host_self for
28765         the __vm_wire call.
28766         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
28768 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28770         [BZ #18400]
28771         [BZ #18648]
28772         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
28773         Fix pr_uid and pr_gid members.
28774         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
28775         definition to elf_greg_t.
28777 2015-07-08  Roland McGrath  <roland@hack.frob.com>
28779         [BZ #18383]
28780         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
28781         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
28782         * sysdeps/arm/configure: Regenerated.
28783         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
28784         (test-xfail-tst-tlsalign-static): Variable removed.
28786         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
28787         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
28788         rather than explicit 'ln -s'.
28790         * resolv/rpc/netdb.h: New file.
28791         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
28793 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28795         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
28796         length buffers.
28797         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
28798         test-skeleton.c.
28800         [BZ #6544]
28801         [BZ #11216]
28802         [BZ #12836]
28803         [BZ #13151]
28804         [BZ #13152]
28805         [BZ #14292]
28806         * include/stdio.h (fmemopen): Remove hidden prototype.
28807         (__fmemopen): Add new hidden prototype.
28808         * libio/Makefile: Add oldfmemopen object.
28809         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
28810         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
28811         compliance.
28812         * libio/oldfmemopen.c: New file: old fmemopen implementation for
28813         symbol compatibility.
28814         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
28815         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
28816         fmemopen.
28817         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
28818         on append and read mode.
28819         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
28820         fmemopen.
28821         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
28822         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
28823         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
28824         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
28825         Likewise.
28826         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
28827         [GLIBC_2.22]: Likewise.
28828         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
28829         Likewise.
28830         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
28831         Likewise.
28832         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
28833         [GLIBC_2.22]: Likewise.
28834         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
28835         [GLIBC_2.22]: Likewise.
28836         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
28837         [GLIBC_2.22]: Likewise.
28838         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
28839         [GLIBC_2.22]: Likewise.
28840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
28841         [GLIBC_2.22]: Likewise.
28842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
28843         [GLIBC_2.22]: Likewise.
28844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
28845         [GLIBC_2.22]: Likewise.
28846         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
28847         Likewise.
28848         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
28849         Likewise.
28850         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
28851         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
28852         [GLIBC_2.22]: Likewise.
28853         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
28854         [GLIBC_2.22]: Likewise.
28855         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
28856         [GLIBC_2.22]: Likewise.
28857         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
28858         [GLIBC_2.22]: Likewise.
28859         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
28860         Likewise.
28861         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
28862         Likewise.
28863         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
28864         Likewise.
28865         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
28866         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
28868 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28870         [BZ #18643]
28871         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
28872         IPV6_PATHMTU, and IPV6_DONTFRAG.
28874 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
28876         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
28877         and _IO_UNBUFFERED.
28878         * libio/oldfileops.c: Likewise.
28879         * libio/wfileops.c: Likewise.
28881 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28883         * nscd/selinux.c: Delete selinux/flask.h include.
28885 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
28887         [BZ #18641]
28888         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
28889         (putpwent): Likewise.
28890         (getpwnam): Likewise.
28891         (getpwent_r): Likewise.
28892         (getpwuid_r): Likewise.
28893         (getpwnam_r): Likewise.
28894         (fgetpwent_r): Likewise.
28896 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
28898         [BZ #18557]
28899         * inet/rcmd.c (__validuser2_sa): Check user first to
28900         short-circuit host check.
28902 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
28903             Mikhail Ilin  <m.ilin@samsung.com>
28905         [BZ #17833]
28906         * elf/Makefile (tests): Add tst-nodelete.
28907         (modules-names): Add tst-nodelete-uniquemod.
28908         (tst-nodelete-uniquemod.so-no-z-defs): New.
28909         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
28910         (tst-nodelete-zmod.so-no-z-defs): Likewise.
28911         ($(objpfx)tst-nodelete): Likewise.
28912         ($(objpfx)tst-nodelete.out): Likewise.
28913         (LDFLAGS-tst-nodelete): Likewise.
28914         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
28915         * elf/dl-close.c (_dl_close_worker): Add a parameter to
28916         implement forced object deletion.
28917         (_dl_close): Pass false to _dl_close_worker.
28918         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
28919         * elf/tst-nodelete.cc: New file.
28920         * elf/tst-nodeletelib.cc: Likewise.
28921         * elf/tst-znodeletelib.cc: Likewise.
28922         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
28924 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28926         [BZ #18508]
28927         * stdlib/Makefile ($(objpfx)tst-makecontext3):
28928         Depend on $(libdl).
28929         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
28930         is not called infinitely times.
28931         (backtrace_helper): New function.
28932         (trace_arg): New struct.
28933         (st1): Enlarge stack size.
28934         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
28935         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
28936         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
28937         Likewise.
28939 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28941         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28943 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
28945         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
28946         Include sys/types.h instead of bits/types.h.
28947         Remove inclusion of bits/wordsize.h.
28949 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28951         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
28952         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
28953         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
28954         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
28955         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
28956         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
28958 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28960         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
28961         link-defines.sym.
28962         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
28963         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
28964         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
28965         and LR_SIZE.
28966         * sysdeps/i386/link-defines.sym: New file.
28968 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
28970         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
28971         (modules-names): Add tst-auditmod3a tst-auditmod3b.
28972         ($(objpfx)tst-audit3): New rule.
28973         ($(objpfx)tst-audit3.out): Likewise.
28974         * sysdeps/i386/tst-audit3.c: New file.
28975         * sysdeps/i386/tst-audit3.h: Likewise.
28976         * sysdeps/i386/tst-auditmod3a.c: Likewise.
28977         * sysdeps/i386/tst-auditmod3b.c: Likewise.
28979 2015-07-07  Torvald Riegel  <triegel@redhat.com>
28981         [BZ #18633]
28982         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
28983         pointer in C code.
28984         (__strcat_c): Likewise.
28985         (__strcat_g): Likewise.
28987 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
28989         [BZ #18592]
28990         * misc/sbrk.c: Set errno to ENOMEM on overflow.
28992 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
28994         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
28995         New function.  (__ieee754_sqrtf): New function.
28996         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
28997         New function.
28998         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
28999         New function.
29001 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
29003         * sysdeps/ieee754/support.c: Remove unused file.
29005 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29007         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
29008         registers instead of d ones so the layout is kernel abi compatible.
29009         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
29010         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
29011         Likewise.
29013 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29015         * sysdeps/aarch64/libm-test-ulps: Regenerated.
29017 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29019         [BZ #18619]
29020         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
29021         and return argument in case of subnormal argument.
29023 2015-07-01  Martin Sebor  <msebor@redhat.com>
29025         [BZ #18435]
29026         * nptl/Makefile: Add tst-once5.cc.
29027         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
29028         Remove macro redefinitions.
29029         * nptl/tst-once5.cc: New test.
29031 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
29033         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
29035         * sysdeps/arm/libm-test-ulps: Regenerated.
29037         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29038         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29040 2015-06-30  Torvald Riegel  <triegel@redhat.com>
29042         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
29043         lll_lock_wait_private and lll_futex_wake probes.
29045         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29046         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
29047         Likewise.
29048         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
29049         atomic_spin_nop.
29050         * sysdeps/x86_64/bits/atomic.h: Likewise.
29051         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
29052         to atomic_spin_nop and move ...
29053         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
29054         ... here and ...
29055         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
29056         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
29057         atomic_spin_nop instead of BUSY_WAIT_NOP.
29058         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
29059         Likewise.
29060         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
29061         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
29062         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
29063         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
29064         instead of atomic_delay.
29066 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
29068         [BZ #18613]
29069         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
29070         X_ADJ not X when adjusting exponent.
29071         (__ieee754_gamma_r): Do intermediate computations in
29072         round-to-nearest then adjust overflowing and underflowing results
29073         as needed.
29074         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
29075         of X_ADJ not X when adjusting exponent.
29076         (__ieee754_gammaf_r): Do intermediate computations in
29077         round-to-nearest then adjust overflowing and underflowing results
29078         as needed.
29079         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
29080         log of X_ADJ not X when adjusting exponent.
29081         (__ieee754_gammal_r): Do intermediate computations in
29082         round-to-nearest then adjust overflowing and underflowing results
29083         as needed.  Use 1.0L not 1.0f as numerator of division.
29084         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
29085         log of X_ADJ not X when adjusting exponent.
29086         (__ieee754_gammal_r): Do intermediate computations in
29087         round-to-nearest then adjust overflowing and underflowing results
29088         as needed.  Use 1.0L not 1.0f as numerator of division.
29089         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
29090         of X_ADJ not X when adjusting exponent.
29091         (__ieee754_gammal_r): Do intermediate computations in
29092         round-to-nearest then adjust overflowing and underflowing results
29093         as needed.  Use 1.0L not 1.0f as numerator of division.
29094         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
29095         to auto-libm-test-in.
29096         (tgamma_test): Use ALL_RM_TEST.
29097         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
29098         tests of tgamma with spurious-overflow.
29099         * math/auto-libm-test-out: Regenerated.
29100         * math/gen-libm-have-vector-test.sh: Do not check for START.
29101         * sysdeps/i386/fpu/libm-test-ulps: Update.
29102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29104         [BZ #18612]
29105         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
29106         arguments, just return 0.5 times the argument, with underflow
29107         forced as needed.
29108         * math/auto-libm-test-in: Add more tests of j1.
29109         * math/auto-libm-test-out: Regenerated.
29111         [BZ #16559]
29112         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
29113         (__ieee754_j1): Force underflow exception for small results.
29114         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
29115         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
29116         (__ieee754_j1f): Force underflow exception for small results.
29117         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29118         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29119         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29120         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
29121         (__ieee754_j1l): Force underflow exception for small results.
29122         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29123         * math/auto-libm-test-in: Add more tests of j1 and jn.
29124         * math/auto-libm-test-out: Regenerated.
29126         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
29127         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
29128         (PF_MPLS): Likewise.
29129         (AF_IB): Likewise.
29130         (AF_MPLS): Likewise.
29131         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
29132         value and macro.
29133         (MS_RMT_MASK): Include MS_LAZYTIME.
29135 2015-06-26  Mel Gorman  <mgorman@suse.de>
29137         [BZ #18502]
29138         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
29139         already minimal.
29141 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
29143         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
29144         (DT_MIPS_NUM): Update.
29145         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
29146         DT_MIPS_RLD_MAP_REL.
29148 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
29150         [BZ #16559]
29151         [BZ #18602]
29152         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
29153         round-to-nearest internally then recompute results that
29154         underflowed to zero in the original rounding mode.
29155         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
29156         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
29157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
29158         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
29159         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
29160         * sysdeps/i386/fpu/libm-test-ulps: Update.
29161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29163 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
29165         * NEWS: Fixed description of link with vector math library.
29167 2015-06-25  Andreas Schwab  <schwab@suse.de>
29169         [BZ #18549]
29170         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
29171         * libio/test-fmemopen.c (do_test): Add test for it.
29173 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
29175         [BZ #17841]
29176         * Makeconfig (no-pie-ldflag): New.
29177         (+link): Set to $(+link-pie) if default to PIE.
29178         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
29179         * config.make.in (build-pie-default): New.
29180         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
29181         is default.  AC_SUBST.
29182         * configure: Regenerated.
29183         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
29185 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29187         * nptl/descr.h (struct pthread): Change type of field setxid_futex
29188         to 'unsigned int'.
29190         * resolv/gai_misc.h (struct waitlist): Change type of field
29191         counterp to 'volatile unsigned int *'.
29192         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
29193         FUTEXADDR and OLDVAL.
29194         * resolv/getaddrinfo_a.c (getaddrinfo_a):
29195         Give local variable TOTAL type 'volatile unsigned int'.
29196         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29197         * resolv/gai_suspend.c (gai_suspend):
29198         Give local variable CNTR type 'unsigned int'.
29200         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
29201         counterp to 'volatile unsigned int *'.
29202         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
29203         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
29204         (aio_suspend): Give local variable CNTR type 'unsigned int'.
29205         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
29206         Give local variable TOTAL type 'volatile unsigned int'.
29207         (struct async_waitlist): Change type of field counter to 'unsigned int'.
29209 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29211         [BZ #18383]
29212         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
29213         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
29214         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
29215         comment for i386/x86-64.
29216         (test-xfail-tst-tlsalign-extern-static): Removed.
29218 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29220         * math/test-double.h: New file.
29221         * math/test-float.h: Likewise.
29222         * math/test-ldouble.h: Likewise.
29223         * math/test-math-inline.h: Likewise.
29224         * math/test-math-no-inline.h: Likewise.
29225         * math/test-math-scalar.h: Likewise.
29226         * math/test-math-vector.h: Likewise.
29227         * math/test-vec-loop.h: Remove file.  Contents moved into
29228         test-math-vector.h.
29229         * math/libm-test.inc (MATHCONST): Do not document macro.
29230         * math/test-double.c: Include test-double.h, test-math-no-inline.h
29231         and test-math-scalar.h.
29232         (FUNC): Remove macro.
29233         (FUNC_TEST): Likewise.
29234         (FLOAT): Likewise.
29235         (MATHCONST): Likewise.
29236         (PRINTF_EXPR): Likewise.
29237         (PRINTF_XEXPR): Likewise.
29238         (PRINTF_NEXPR): Likewise.
29239         (TEST_DOUBLE): Likewise.
29240         (TEST_MATHVEC): Likewise.
29241         (__NO_MATH_INLINES): Likewise.
29242         * math/test-float.c: Include test-float.h, test-math-no-inline.h
29243         and test-math-scalar.h.
29244         (FUNC): Remove macro.
29245         (FUNC_TEST): Likewise.
29246         (FLOAT): Likewise.
29247         (MATHCONST): Likewise.
29248         (PRINTF_EXPR): Likewise.
29249         (PRINTF_XEXPR): Likewise.
29250         (PRINTF_NEXPR): Likewise.
29251         (TEST_FLOAT): Likewise.
29252         (TEST_MATHVEC): Likewise.
29253         (__NO_MATH_INLINES): Likewise.
29254         * math/test-idouble.c: Include test-double.h, test-math-inline.h
29255         and test-math-scalar.h.
29256         (FUNC): Remove macro.
29257         (FUNC_TEST): Likewise.
29258         (FLOAT): Likewise.
29259         (MATHCONST): Likewise.
29260         (PRINTF_EXPR): Likewise.
29261         (PRINTF_XEXPR): Likewise.
29262         (PRINTF_NEXPR): Likewise.
29263         (TEST_DOUBLE): Likewise.
29264         (TEST_MATHVEC): Likewise.
29265         (TEST_INLINE): Likewise.
29266         (__NO_MATH_INLINES): Likewise.
29267         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
29268         test-math-scalar.h.
29269         (FUNC): Remove macro.
29270         (FUNC_TEST): Likewise.
29271         (FLOAT): Likewise.
29272         (MATHCONST): Likewise.
29273         (PRINTF_EXPR): Likewise.
29274         (PRINTF_XEXPR): Likewise.
29275         (PRINTF_NEXPR): Likewise.
29276         (TEST_FLOAT): Likewise.
29277         (TEST_MATHVEC): Likewise.
29278         (TEST_INLINE): Likewise.
29279         (__NO_MATH_INLINES): Likewise.
29280         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
29281         and test-math-scalar.h.
29282         (FUNC): Remove macro.
29283         (FUNC_TEST): Likewise.
29284         (FLOAT): Likewise.
29285         (MATHCONST): Likewise.
29286         (PRINTF_EXPR): Likewise.
29287         (PRINTF_XEXPR): Likewise.
29288         (PRINTF_NEXPR): Likewise.
29289         (TEST_LDOUBLE): Likewise.
29290         (TEST_MATHVEC): Likewise.
29291         (TEST_INLINE): Likewise.
29292         (__NO_MATH_INLINES): Likewise.
29293         * math/test-ldouble.c: Include test-ldouble.h,
29294         test-math-no-inline.h and test-math-scalar.h.
29295         (FUNC): Remove macro.
29296         (FUNC_TEST): Likewise.
29297         (FLOAT): Likewise.
29298         (MATHCONST): Likewise.
29299         (PRINTF_EXPR): Likewise.
29300         (PRINTF_XEXPR): Likewise.
29301         (PRINTF_NEXPR): Likewise.
29302         (TEST_LDOUBLE): Likewise.
29303         (TEST_MATHVEC): Likewise.
29304         (__NO_MATH_INLINES): Likewise.
29305         * math/test-double-vlen2.h: Include test-double.h,
29306         test-math-no-inline.h and test-math-vector.h.
29307         (FLOAT): Remove macro.
29308         (FUNC): Likewise.
29309         (MATHCONST): Likewise.
29310         (PRINTF_EXPR): Likewise.
29311         (PRINTF_XEXPR): Likewise.
29312         (PRINTF_NEXPR): Likewise.
29313         (TEST_DOUBLE): Likewise.
29314         (TEST_MATHVEC): Likewise.
29315         (__NO_MATH_INLINES): Likewise.
29316         (CNCT): Likewise.
29317         (CONCAT): Likewise.
29318         (WRAPPER_NAME): Likewise.
29319         (WRAPPER_DECL): Likewise.
29320         (WRAPPER_DECL_ff): Likewise.
29321         (WRAPPER_DECL_fFF): Likewise.
29322         (VECTOR_WRAPPER): Likewise.
29323         (VECTOR_WRAPPER_ff): Likewise.
29324         (VECTOR_WRAPPER_fFF): Likewise.
29325         (VEC_LEN): New macro.
29326         * math/test-double-vlen4.h: Include test-double.h,
29327         test-math-no-inline.h and test-math-vector.h.
29328         (FLOAT): Remove macro.
29329         (FUNC): Likewise.
29330         (MATHCONST): Likewise.
29331         (PRINTF_EXPR): Likewise.
29332         (PRINTF_XEXPR): Likewise.
29333         (PRINTF_NEXPR): Likewise.
29334         (TEST_DOUBLE): Likewise.
29335         (TEST_MATHVEC): Likewise.
29336         (__NO_MATH_INLINES): Likewise.
29337         (CNCT): Likewise.
29338         (CONCAT): Likewise.
29339         (WRAPPER_NAME): Likewise.
29340         (WRAPPER_DECL): Likewise.
29341         (WRAPPER_DECL_ff): Likewise.
29342         (WRAPPER_DECL_fFF): Likewise.
29343         (VECTOR_WRAPPER): Likewise.
29344         (VECTOR_WRAPPER_ff): Likewise.
29345         (VECTOR_WRAPPER_fFF): Likewise.
29346         (VEC_LEN): New macro.
29347         * math/test-double-vlen8.h: Include test-double.h,
29348         test-math-no-inline.h and test-math-vector.h.
29349         (FLOAT): Remove macro.
29350         (FUNC): Likewise.
29351         (MATHCONST): Likewise.
29352         (PRINTF_EXPR): Likewise.
29353         (PRINTF_XEXPR): Likewise.
29354         (PRINTF_NEXPR): Likewise.
29355         (TEST_DOUBLE): Likewise.
29356         (TEST_MATHVEC): Likewise.
29357         (__NO_MATH_INLINES): Likewise.
29358         (CNCT): Likewise.
29359         (CONCAT): Likewise.
29360         (WRAPPER_NAME): Likewise.
29361         (WRAPPER_DECL): Likewise.
29362         (WRAPPER_DECL_ff): Likewise.
29363         (WRAPPER_DECL_fFF): Likewise.
29364         (VECTOR_WRAPPER): Likewise.
29365         (VECTOR_WRAPPER_ff): Likewise.
29366         (VECTOR_WRAPPER_fFF): Likewise.
29367         (VEC_LEN): New macro.
29368         * math/test-float-vlen4.h: Include test-float.h,
29369         test-math-no-inline.h and test-math-vector.h.
29370         (FLOAT): Remove macro.
29371         (FUNC): Likewise.
29372         (MATHCONST): Likewise.
29373         (PRINTF_EXPR): Likewise.
29374         (PRINTF_XEXPR): Likewise.
29375         (PRINTF_NEXPR): Likewise.
29376         (TEST_FLOAT): Likewise.
29377         (TEST_MATHVEC): Likewise.
29378         (__NO_MATH_INLINES): Likewise.
29379         (CNCT): Likewise.
29380         (CONCAT): Likewise.
29381         (WRAPPER_NAME): Likewise.
29382         (WRAPPER_DECL): Likewise.
29383         (WRAPPER_DECL_ff): Likewise.
29384         (WRAPPER_DECL_fFF): Likewise.
29385         (VECTOR_WRAPPER): Likewise.
29386         (VECTOR_WRAPPER_ff): Likewise.
29387         (VECTOR_WRAPPER_fFF): Likewise.
29388         (VEC_LEN): New macro.
29389         * math/test-float-vlen8.h: Include test-float.h,
29390         test-math-no-inline.h and test-math-vector.h.
29391         (FLOAT): Remove macro.
29392         (FUNC): Likewise.
29393         (MATHCONST): Likewise.
29394         (PRINTF_EXPR): Likewise.
29395         (PRINTF_XEXPR): Likewise.
29396         (PRINTF_NEXPR): Likewise.
29397         (TEST_FLOAT): Likewise.
29398         (TEST_MATHVEC): Likewise.
29399         (__NO_MATH_INLINES): Likewise.
29400         (CNCT): Likewise.
29401         (CONCAT): Likewise.
29402         (WRAPPER_NAME): Likewise.
29403         (WRAPPER_DECL): Likewise.
29404         (WRAPPER_DECL_ff): Likewise.
29405         (WRAPPER_DECL_fFF): Likewise.
29406         (VECTOR_WRAPPER): Likewise.
29407         (VECTOR_WRAPPER_ff): Likewise.
29408         (VECTOR_WRAPPER_fFF): Likewise.
29409         (VEC_LEN): New macro.
29410         * math/test-float-vlen16.h: Include test-float.h,
29411         test-math-no-inline.h and test-math-vector.h.
29412         (FLOAT): Remove macro.
29413         (FUNC): Likewise.
29414         (MATHCONST): Likewise.
29415         (PRINTF_EXPR): Likewise.
29416         (PRINTF_XEXPR): Likewise.
29417         (PRINTF_NEXPR): Likewise.
29418         (TEST_FLOAT): Likewise.
29419         (TEST_MATHVEC): Likewise.
29420         (__NO_MATH_INLINES): Likewise.
29421         (CNCT): Likewise.
29422         (CONCAT): Likewise.
29423         (WRAPPER_NAME): Likewise.
29424         (WRAPPER_DECL): Likewise.
29425         (WRAPPER_DECL_ff): Likewise.
29426         (WRAPPER_DECL_fFF): Likewise.
29427         (VECTOR_WRAPPER): Likewise.
29428         (VECTOR_WRAPPER_ff): Likewise.
29429         (VECTOR_WRAPPER_fFF): Likewise.
29430         (VEC_LEN): New macro.
29431         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
29432         test-vec-loop.h.
29433         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29434         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29435         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29436         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29437         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29438         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29439         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29441 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29443         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
29444         (__getlogin_r): ... this.
29446 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29448         [BZ #18594]
29449         * math/s_ccosh.c (__ccosh): Compare with least normal value
29450         instead of comparing class with FP_SUBNORMAL.
29451         * math/s_ccoshf.c (__ccoshf): Likewise.
29452         * math/s_ccoshl.c (__ccoshl): Likewise.
29453         * math/s_cexp.c (__cexp): Likewise.
29454         * math/s_cexpf.c (__cexpf): Likewise.
29455         * math/s_cexpl.c (__cexpl): Likewise.
29456         * math/s_csin.c (__csin): Likewise.
29457         * math/s_csinf.c (__csinf): Likewise.
29458         * math/s_csinh.c (__csinh): Likewise.
29459         * math/s_csinhf.c (__csinhf): Likewise.
29460         * math/s_csinhl.c (__csinhl): Likewise.
29461         * math/s_csinl.c (__csinl): Likewise.
29462         * math/s_ctan.c (__ctan): Likewise.
29463         * math/s_ctanf.c (__ctanf): Likewise.
29464         * math/s_ctanh.c (__ctanh): Likewise.
29465         * math/s_ctanhf.c (__ctanhf): Likewise.
29466         * math/s_ctanhl.c (__ctanhl): Likewise.
29467         * math/s_ctanl.c (__ctanl): Likewise.
29468         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
29469         csin, csinh, ctan and ctanh.
29470         * math/auto-libm-test-out: Regenerated.
29471         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
29472         * sysdeps/i386/fpu/libm-test-ulps: Update.
29473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29475 2015-06-24  Roland McGrath  <roland@hack.frob.com>
29477         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
29478         return value is wrong, print the expected value too.
29480 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
29482         [BZ #18585]
29483         * elf/readlib.c (is_gdb_python_file): New.
29484         (process_file): Don't issue errors on filenames with -gdb.py
29485         suffix.
29487 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
29489         * math/auto-libm-test-in: Add more tests of csin and csinh.
29490         * math/auto-libm-test-out: Regenerated.
29491         * math/libm-test.inc (csin_test_data): Remove tests moved to
29492         auto-libm-test-in.
29493         (csinh_test_data): Likewise.
29495         [BZ #18593]
29496         * math/s_csin.c (__csin): Negate before rather than after possibly
29497         overflowing multiplication.
29498         * math/s_csinf.c (__csinf): Likewise.
29499         * math/s_csinh.c (__csinh): Likewise.
29500         * math/s_csinhf.c (__csinhf): Likewise.
29501         * math/s_csinhl.c (__csinhl): Likewise.
29502         * math/s_csinl.c (__csinl): Likewise.
29503         * math/auto-libm-test-in: Add some tests of csin and csinh.
29504         * math/auto-libm-test-out: Regenerated.
29505         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
29506         (csinh_test_data): Likewise.
29507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29509         [BZ #18586]
29510         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
29511         underflow exception for small results.
29513 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
29515         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29516         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
29517         variable and included header.
29518         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
29519         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
29520         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
29521         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
29522         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
29523         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
29524         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
29525         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
29526         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
29527         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
29528         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
29529         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
29530         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
29531         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
29532         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
29533         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
29535 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29537         [BZ #16526]
29538         [BZ #16538]
29539         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
29540         (__sin): Force underflow exception for arguments with small
29541         absolute value.
29542         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
29543         (__kernel_sinf): Force underflow exception for arguments with
29544         small absolute value.
29545         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
29546         (__kernel_sincosl): Force underflow exception for arguments with
29547         small absolute value.
29548         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
29549         (__kernel_sinl): Force underflow exception for arguments with
29550         small absolute value.
29551         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
29552         (__kernel_sincosl): Force underflow exception for arguments with
29553         small absolute value.
29554         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
29555         (__kernel_sinl): Force underflow exception for arguments with
29556         small absolute value.
29557         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
29558         (__kernel_sinl): Force underflow exception for arguments with
29559         small absolute value.
29560         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
29561         (__kernel_sinf): Force underflow exception for arguments with
29562         small absolute value.
29563         * math/auto-libm-test-in: Add more tests of sin and sincos.
29564         * math/auto-libm-test-out: Regenerated.
29566         [BZ #18245]
29567         [BZ #18583]
29568         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
29569         (__kernel_standard_l): Use feholdexcept and fesetenv around
29570         conversion to double instead of special-casing overflow and
29571         underflow.
29572         * math/libm-test.inc (fmod_test_data): Add more tests.
29573         (remainder_test_data): Likewise.
29574         (sqrt_test_data): Likewise.
29576 2015-06-23  Torvald Riegel  <triegel@redhat.com>
29578         [BZ #17403]
29579         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
29580         atomic_read_barrier, atomic_write_barrier): Define.
29581         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
29582         atomic_read_barrier, atomic_write_barrier): Define.
29584 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29586         * math/Makefile [$(PERL) != no]
29587         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
29588         dependency on libm-test.stmp below the inclusion of Rules.
29590 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
29592         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
29593         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
29594         and included header.
29595         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
29596         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
29597         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
29598         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
29599         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
29600         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
29601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
29602         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
29603         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
29604         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
29605         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
29606         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
29607         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
29608         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
29609         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
29610         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
29611         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
29612         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
29613         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
29615 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
29617         [BZ #18371]
29618         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
29619         intermediate but not final result might underflow.
29620         * math/s_csqrtf.c (__csqrtf): Likewise.
29621         * math/s_csqrtl.c (__csqrtl): Likewise.
29622         * math/auto-libm-test-in: Add more tests of csqrt.
29623         * math/auto-libm-test-out: Regenerated.
29624         * sysdeps/i386/fpu/libm-test-ulps: Update.
29626         [BZ #18219]
29627         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
29628         threshold on absolute value of exponent for which scaling is used.
29629         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29630         * math/auto-libm-test-in: Add more tests of exp2.
29631         * math/auto-libm-test-out: Regenerated.
29633 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
29635         [BZ #17977]
29636         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
29637         when initializing interface list, based on the bug analysis
29638         and the patch proposed by Eric Newton.
29639         * resolv/tst-res_hconf_reorder.c: New test.
29640         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
29641         tst-res_hconf_reorder.
29642         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
29643         and $(shared-thread-library).
29644         (tst-res_hconf_reorder-ENV): New variable.
29646         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
29647         in comment.
29649 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
29651         [BZ #16353]
29652         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
29653         (__expm1): Force underflow exception for arguments with small
29654         absolute value.
29655         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
29656         (__expm1f): Force underflow exception for arguments with small
29657         absolute value.
29658         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
29659         (__expm1): Force underflow exception for arguments with small
29660         absolute value.
29661         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
29662         (__expm1f): Force underflow exception for arguments with small
29663         absolute value.
29664         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
29665         Check for small arguments before calling __expm1.
29666         * math/auto-libm-test-in: Do not mark underflow exceptions as
29667         possibly missing for bug 16353.
29668         * math/auto-libm-test-out: Regenerated.
29670 2015-06-22  Andreas Schwab  <schwab@suse.de>
29672         [BZ #18513]
29673         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
29674         PTR queries.
29676 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
29678         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
29680         * string/strcoll_l.c: Remove unused struct element idxnow.
29682 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
29684         [BZ #18569]
29685         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
29686         underflow and return argument in case of subnormal argument.
29687         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29688         Likewise.
29689         * math/auto-libm-test-in: Add more tests of expm1.
29690         * math/auto-libm-test-out: Regenerated.
29692         [BZ #16361]
29693         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29694         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29695         tiny results.
29696         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
29697         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
29698         tiny results.
29699         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
29700         mark underflow exceptions as possibly missing for bug 16361.
29701         * math/auto-libm-test-out: Regenerated.
29703 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
29705         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
29706         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
29707         Remove variable.
29708         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
29709         (test-xfail-XOPEN2K8/utmpx.h/conform).
29711         * conform/conformtest.pl ($xerrors): New variable.
29712         (note_error): New function.
29713         (compiletest): New argument $xfail.  Use not_error.
29714         (runtest): Likewise.
29715         (top level): Handle xfail- lines.  Update calls to compiletest and
29716         runtest.  Handle xfail- and optional- in headers listed with
29717         allow-header.
29718         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
29719         (O_EXEC): Likewise.
29720         (O_SEARCH): Likewise.
29721         * conform/data/stropts.h-data (ioctl): Likewise.
29722         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
29723         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
29724         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
29725         (msghdr.msg_controllen): Likewise.
29726         (cmsghdr.cmsg_len): Likewise.
29727         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
29728         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
29729         variable.
29730         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
29731         (test-xfail-XPG4/stropts.h/conform): Likewise.
29732         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
29733         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
29734         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
29735         (test-xfail-UNIX98/stropts.h/conform): Likewise.
29736         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
29737         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
29738         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
29739         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
29740         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
29741         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
29742         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
29743         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
29744         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
29745         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
29746         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
29747         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
29748         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
29749         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
29750         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
29752 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29754         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
29755         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
29756         definitions for proper unfolding of __MATHDECL_VEC.
29758 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29760         * benchtests/bench-strcoll.c:
29761         Include string.h.
29762         (main): Remove unused variable res.
29764 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29766         * timezone/Makefile (%/UTC %/Universal):
29767         Generate test-result files for UTC and Universal.
29769 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
29771         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
29773 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
29775         [BZ #16350]
29776         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
29777         for arguments with small absolute value.
29778         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
29779         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
29780         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
29781         (__asinh): Force underflow exception for arguments with small
29782         absolute value.
29783         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
29784         (__asinhf): Force underflow exception for arguments with small
29785         absolute value.
29786         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
29787         (__asinhl): Force underflow exception for arguments with small
29788         absolute value.
29789         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
29790         (__asinhl): Force underflow exception for arguments with small
29791         absolute value.
29792         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
29793         (__asinhl): Force underflow exception for arguments with small
29794         absolute value.
29795         * math/auto-libm-test-in: Do not mark underflow exceptions as
29796         possibly missing for bug 16350.
29797         * math/auto-libm-test-out: Regenerated.
29799         * include/bits/ipc.h: Remove file.
29800         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
29801         variable.
29802         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
29803         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
29804         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
29805         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
29806         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
29807         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
29808         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
29809         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
29810         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
29812         * math/auto-libm-test-in: Remove spurious underflow allowance for
29813         tests of cexp.
29814         * math/auto-libm-test-out: Regenerated.
29816         [BZ #18558]
29817         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
29818         unconditional definition.
29819         (MCAST_BLOCK_SOURCE): Likewise.
29820         (MCAST_UNBLOCK_SOURCE): Likewise.
29821         (MCAST_LEAVE_GROUP): Likewise.
29822         (MCAST_JOIN_SOURCE_GROUP): Likewise.
29823         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
29824         (MCAST_MSFILTER): Likewise.
29825         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
29826         Remove variable.
29827         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
29828         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
29829         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
29830         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
29831         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
29833 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
29835         * NEWS: Mention addition of x86_64 vector sincosf.
29836         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
29837         * math/test-float-vlen4.h: Likewise.
29838         * math/test-float-vlen8.h: Likewise.
29839         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29840         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
29841         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29842         * sysdeps/x86_64/fpu/Versions: New versions added.
29843         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29844         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29845         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
29847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
29848         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
29849         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
29850         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
29851         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
29852         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
29853         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
29854         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
29855         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
29856         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
29857         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
29858         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
29859         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
29860         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
29861         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29862         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29863         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29864         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29865         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29866         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29868         * NEWS: Mention addition of x86_64 vector sincos.
29869         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
29870         * math/math.h (__MATHDECL_VEC): New macro.
29871         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
29872         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
29873         declaration under condition.
29874         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
29875         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
29876         TEST_VEC_LOOP change.
29877         * math/test-double-vlen4.h: Likewise.
29878         * math/test-double-vlen8.h: Likewise.
29879         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
29880         * math/test-float-vlen4.h: Likewise.
29881         * math/test-float-vlen8.h: Likewise.
29882         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29883         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
29884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29885         * sysdeps/x86_64/fpu/Versions: New versions added.
29886         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29887         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29888         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29889         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
29890         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
29891         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
29892         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
29893         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
29894         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
29895         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
29896         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
29897         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
29898         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
29899         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
29900         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
29901         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
29902         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
29903         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
29904         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
29905         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
29906         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
29907         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
29908         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
29909         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
29911         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
29912         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
29913         redirections for powf.
29914         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
29915         * sysdeps/x86_64/fpu/Versions: New versions added.
29916         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29917         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
29918         Added build of SSE, AVX2 and AVX512 IFUNC versions.
29919         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
29920         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
29921         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
29922         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
29923         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
29924         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
29925         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
29926         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
29927         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
29928         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
29929         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
29930         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
29931         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
29932         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
29933         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
29934         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
29935         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
29936         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
29937         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
29938         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
29939         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
29940         * math/test-float-vlen16.h: Fixed 2 argument macro.
29941         * math/test-float-vlen4.h: Likewise.
29942         * math/test-float-vlen8.h: Likewise.
29943         * NEWS: Mention addition of x86_64 vector powf.
29945 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
29947         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29948         and redefine.
29949         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29950         and redefine.
29951         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
29952         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
29953         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29955         [BZ #18553]
29956         * resource/getpriority.c (getpriority): Rename to __getpriority
29957         and define as weak alias of __getpriority.
29958         * resource/setpriority.c (setpriority): Rename to __setpriority
29959         and define as weak alias of __setpriority.
29960         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
29961         __getpriority and define as weak alias of __getpriority.
29962         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
29963         __setpriority and define as weak alias of __setpriority.
29964         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
29965         strong name.
29966         (setpriority): Use __setpriority as strong name.
29967         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
29968         __getpriority and define as weak alias of __getpriority.
29969         * include/sys/resource.h (__getpriority): Declare.  Use
29970         libc_hidden_proto.
29971         (__setpriority): Likewise.
29972         (getpriority): Don't use libc_hidden_proto.
29973         (setpriority): Likewise.
29974         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
29975         getpriority.  Call __setpriority instead of setpriority.
29976         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
29977         Remove variable.
29979         [BZ #18547]
29980         * misc/getttyent.c (getttynam): Rename to __getttynam and define
29981         as weak alias of __getttynam.  Use prototype function definition.
29982         Call __setttyent, __getttyent and __endttyent instead of
29983         setttyent, getttyent and endttyent.
29984         (getttyent): Rename to __getttyent and define as weak alias of
29985         __getttyent.  Call __setttyent instead of setttyent.  Call
29986         __fgets_unlocked instead of fgets_unlocked.
29987         (setttyent): Rename to __setttyent and define as weak alias of
29988         __setttyent.
29989         (endttyent): Rename to __endttyent and define as weak alias of
29990         __endttyent.
29991         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
29992         (__setttyent): Likewise.
29993         (__endttyent): Likewise.
29994         (getttyent): Don't use libc_hidden_proto.
29995         (setttyent): Likewise.
29996         (endttyent): Likewise.
29997         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
29998         __endttyent instead of setttyent, getttyent and endttyent.
29999         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
30000         Remove variable.
30002         [BZ #18546]
30003         * socket/recv.c (__recv): Use libc_hidden_def.
30004         * socket/socket.c (__socket): Likewise.
30005         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
30006         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
30007         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
30008         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
30009         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
30010         libc_hidden_def.
30011         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
30012         libc_hidden_weak.
30013         * include/sys/socket.h (__socket): Do not use attribute_hidden.
30014         Use libc_hidden_proto.
30015         (__recv): Likewise.
30016         * socket/Versions (libc): Export __recv and __socket at version
30017         GLIBC_PRIVATE.
30018         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
30019         instead of recv.
30020         (init_mq_netlink): Call __socket instead of socket.
30021         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
30022         Remove variable.
30024         [BZ #18545]
30025         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
30026         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
30027         hidden_weak.
30028         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
30029         define as alias of __mq_timedsend.  Use hidden_weak.
30030         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
30031         __mq_timedsend as strong name.
30032         (mq_timedreceive): Use __mq_timedreceive as strong name.
30033         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
30034         (__mq_timedreceive): Likewise.
30035         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
30036         __mq_timedreceive instead of mq_timedreceive.
30037         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
30038         instead of mq_timedsend.
30039         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
30040         Remove variable.
30042         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
30043         hidden_def and hidden_weak instead of libc_hidden_def and
30044         libc_hidden_weak.
30045         (top level): Refer to hidden_def in comment.
30046         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
30047         macro.  Use it instead of libc_hidden_def.
30048         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
30049         specify __GI_* name explicitly.
30050         (mq_timedreceive): Likewise.
30051         (mq_setattr): Likewise.
30053         [BZ #18544]
30054         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
30055         __pthread_barrier_init and define as weak alias of
30056         __pthread_barrier_init.
30057         * sysdeps/sparc/nptl/pthread_barrier_init.c
30058         (pthread_barrier_init): Likewise.
30059         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
30060         __pthread_barrier_wait and define as weak alias of
30061         __pthread_barrier_wait.
30062         * sysdeps/sparc/nptl/pthread_barrier_wait.c
30063         (pthread_barrier_wait): Likewise.
30064         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
30065         (pthread_barrier_wait): Likewise.
30066         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
30067         (pthread_barrier_wait): Likewise.
30068         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
30069         (pthread_barrier_wait): Likewise.
30070         * nptl/Versions (libpthread): Export __pthread_barrier_init and
30071         __pthread_barrier_wait at version GLIBC_PRIVATE.
30072         * include/pthread.h (__pthread_barrier_init): Declare.
30073         (__pthread_barrier_wait): Likewise.
30074         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
30075         Call __pthread_barrier_wait instead of pthread_barrier_wait.
30076         (helper_thread): Likewise.
30077         (init_mq_netlink): Call __pthread_barrier_init instead of
30078         pthread_barrier_init.
30080         [BZ #18542]
30081         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
30082         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
30083         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
30084         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
30085         vswscanf.
30086         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
30087         Remove variable.
30089         [BZ #18540]
30090         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
30091         strong alias of _IO_fflush.  Use libc_hidden_def.
30092         * libio/iofflush_u.c (fflush_unlocked): Rename to
30093         __fflush_unlocked and define as weak alias of __fflush_unlocked.
30094         Use libc_hidden_weak.
30095         * include/stdio.h (__fflush_unlocked): Declare.  Use
30096         libc_hidden_proto.
30097         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
30098         fflush_unlocked.
30099         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
30100         Remove variable.
30102         [BZ #18539]
30103         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
30104         define as weak alias of __addseverity.
30105         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
30106         Remove variable.
30107         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
30108         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
30109         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
30111         [BZ #18536]
30112         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
30113         (__tfind): Likewise.
30114         (__tdelete): Likewise.
30115         (__twalk): Likewise.
30116         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
30117         __twalk to GLIBC_PRIVATE.
30118         * include/search.h (__tsearch): Use libc_hidden_proto.
30119         (__tfind): Likewise.
30120         (__tdelete): Likewise.
30121         (__twalk): Likewise.
30122         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
30123         Call __tdelete instead of tdelete.
30124         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
30125         tfind.  Call __tsearch instead of tsearch.
30126         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
30127         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
30128         Remove variable.
30129         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
30131         [BZ #18534]
30132         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
30133         (dprintf): Define as a weak alias of __dprintf, not a strong
30134         alias.
30135         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
30136         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
30137         dprintf.
30138         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
30139         Remove variable.
30140         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
30141         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
30143         [BZ #18533]
30144         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
30145         not a strong alias.
30146         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
30147         Remove variable.
30149         [BZ #18532]
30150         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
30151         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
30152         (in6addr_loopback): Rename to __in6addr_loopback and define as
30153         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
30154         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
30155         libc_hidden_proto.
30156         (__in6addr_any): Likewise.
30157         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
30158         in6addr_any.
30159         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
30160         variable.
30161         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
30163 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
30165         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
30166         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
30167         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30168         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30169         redirections for pow.
30170         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30171         * sysdeps/x86_64/fpu/Versions: New versions added.
30172         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30173         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30174         build of SSE, AVX2 and AVX512 IFUNC versions.
30175         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
30176         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
30177         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
30178         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
30179         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
30180         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
30181         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
30182         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
30183         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
30184         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
30185         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
30186         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
30187         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
30188         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
30189         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30190         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30192         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30193         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30194         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30195         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30196         * NEWS: Mention addition of x86_64 vector pow.
30198         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30199         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30200         redirections for expf.
30201         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30202         * sysdeps/x86_64/fpu/Versions: New versions added.
30203         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30204         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30205         build of SSE, AVX2 and AVX512 IFUNC versions.
30206         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
30207         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
30208         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
30209         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
30210         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
30211         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
30212         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
30213         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
30214         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
30215         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
30216         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
30217         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
30218         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
30219         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30220         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30221         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30222         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30223         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30224         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30225         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30226         * NEWS: Mention addition of x86_64 vector expf.
30228         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
30229         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
30230         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30231         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30232         redirections for exp.
30233         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30234         * sysdeps/x86_64/fpu/Versions: New versions added.
30235         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30236         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30237         build of SSE, AVX2 and AVX512 IFUNC versions.
30238         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
30239         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
30240         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
30241         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
30242         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
30243         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
30244         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
30245         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
30246         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
30247         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
30248         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
30249         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
30250         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
30251         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30252         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30253         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30254         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30255         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30256         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30257         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30258         * NEWS: Mention addition of x86_64 vector exp.
30260         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30261         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30262         redirections for logf.
30263         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30264         * sysdeps/x86_64/fpu/Versions: New versions added.
30265         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30266         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30267         build of SSE, AVX2 and AVX512 IFUNC versions.
30268         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
30269         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
30270         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
30271         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
30272         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
30273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
30274         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
30275         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
30276         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
30277         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
30278         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
30279         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
30280         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
30281         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30282         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30283         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30284         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30285         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30286         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30287         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30288         * NEWS: Mention addition of x86_64 vector logf.
30290         * bits/libm-simd-decl-stubs.h: Added stubs for log.
30291         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
30292         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30293         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
30294         redirections for log.
30295         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30296         * sysdeps/x86_64/fpu/Versions: New versions added.
30297         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30298         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30299         build of SSE, AVX2 and AVX512 IFUNC versions.
30300         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
30301         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
30302         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
30303         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
30304         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
30305         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
30306         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
30307         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
30308         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
30309         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
30310         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
30311         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
30312         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
30313         test.
30314         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30315         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30316         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30317         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30318         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30319         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30320         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30321         * NEWS: Mention addition of x86_64 vector log.
30323 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30325         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
30326         cfi_adjust_cfa_offset argument.
30327         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
30328         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
30330         [BZ #18034]
30331         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
30332         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
30333         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
30334         ordering using ldar.
30335         (_dl_tlsdesc_dynamic): Likewise.
30336         (_dl_tlsdesc_return_lazy): Likewise.
30337         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
30338         relaxed atomics instead of volatile and synchronize with release store.
30339         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
30340         volatile.
30341         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30343 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
30345         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
30346         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
30347         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30348         * sysdeps/x86_64/fpu/Versions: New versions added.
30349         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30350         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
30351         build of SSE, AVX2 and AVX512 IFUNC versions.
30352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
30353         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
30354         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
30355         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
30356         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
30357         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
30358         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
30359         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
30360         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
30361         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
30362         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
30363         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
30364         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
30365         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
30366         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
30367         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
30368         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
30369         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
30370         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
30371         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30372         * NEWS: Mention addition of x86_64 vector sinf.
30374 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
30376         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
30377         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
30378         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
30379         Remove variable.
30380         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
30381         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
30383 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30385         [BZ #18530]
30386         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
30387         strong alias of _IO_fputs.  Use libc_hidden_def.
30388         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
30389         and define as weak alias of __fputs_unlocked.  Use
30390         libc_hidden_weak.
30391         * include/stdio.h (__fputs_unlocked): Declare.  Use
30392         libc_hidden_proto.
30393         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
30394         fputs_unlocked.
30396         [BZ #18529]
30397         * resolv/netdb.h [__USE_POSIX]: Change condition to
30398         [__USE_XOPEN2K].
30399         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
30400         not expect.
30401         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
30402         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
30403         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
30404         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
30405         [XPG4 || UNIX98] (AI_ALL): Likewise.
30406         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
30407         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
30408         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
30409         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
30410         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
30411         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
30412         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
30413         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
30414         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
30415         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
30416         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
30417         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
30418         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
30419         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
30420         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
30421         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30422         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
30423         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
30424         [XPG4 || UNIX98] (gai_strerror): Likewise.
30425         [XPG4 || UNIX98] (getaddrinfo): Likewise.
30426         [XPG4 || UNIX98] (getnameinfo): Likewise.
30428         [BZ #18528]
30429         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
30430         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
30431         __USE_XOPEN2K8].
30432         (getgrent): Likewise.
30433         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
30434         expect.
30435         [XPG3 || POSIX2008] (endgrent): Likewise.
30436         [XPG3] (setgrent): Likewise.
30437         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
30438         variable.
30439         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
30441         [BZ #18527]
30442         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
30443         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
30444         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
30445         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
30446         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
30447         * include/unistd.h (__getlogin_r): Declare.  Use
30448         libc_hidden_proto.
30449         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
30450         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
30451         variable.
30452         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30453         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30454         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
30456 2015-06-12  Martin Sebor  <msebor@redhat.com>
30458         [BZ #18512]
30459         * Makerules (check-install-supported): New target.
30460         (install): Add check-install-supported as a dependency.
30461         * manual/install.texi (Installing the C Library): Document
30462         that overriding prefix and exec_prefix is not supported.
30463         Mention DESTDIR.
30464         * INSTALL: Regenerate from the above.
30466 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
30468         [BZ #18519]
30469         * posix/Versions (libc): Export __libc_pread at version
30470         GLIBC_PRIVATE.
30471         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
30472         instead of pread.
30473         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
30474         variable.
30476         [BZ #18522]
30477         * misc/efgcvt_r.c
30478         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
30479         (cvt_symbol): Use weak_alias instead of strong_alias.
30480         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
30481         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
30482         Remove variable.
30483         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
30484         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
30486         [BZ #18520]
30487         * inet/herrno.c (h_errno): Rename to __h_errno.
30488         (__libc_h_errno): Define as alias of __h_errno not h_errno.
30489         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
30490         to __h_errno instead of h_errno.
30491         * nptl/herrno.c (h_errno): Rename to __h_errno.
30492         (__h_errno_location): Refer to __h_errno not h_errno.
30493         * resolv/Versions (h_errno): Rename to __h_errno.
30494         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
30495         Remove variable.
30496         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
30498 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
30500         * configure.ac: More strict check for AVX512 assembler support.
30501         * configure: Regenerated.
30503         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
30504         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
30505         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30506         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
30507         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30508         * sysdeps/x86_64/fpu/Versions: New versions added.
30509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30510         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30511         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30512         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
30513         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
30514         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
30515         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
30516         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
30517         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
30518         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
30519         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
30520         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
30521         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
30522         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
30523         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
30524         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
30525         test.
30526         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
30527         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
30528         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
30529         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
30530         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30531         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
30532         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
30533         * NEWS: Mention addition of x86_64 vector sin.
30535 2015-06-11  Florian Weimer  <fweimer@redhat.com>
30537         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
30538         comment.
30540 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
30542         [BZ #18479]
30543         * nptl/pt-interp.c: New file.
30544         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
30545         Add pt-interp.
30546         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
30547         $(common-objpfx)runtime-linker.h.
30549 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
30551         * Makeconfig (+interp): Remove unused variable.
30552         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
30553         only.  Depend on $(common-objpfx)runtime-linker.h instead of
30554         $(elf-objpfx)runtime-linker.h.
30555         ($(elf-objpfx)runtime-linker.h): Rename to
30556         $(common-objpfx)runtime-linker.h and move ...
30557         * Makerules [$(build-shared) = yes]: ... here.
30558         * elf/interp.c: Include <runtime-linker.h> instead of
30559         <elf/runtime-linker.h>.
30561 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30563         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
30564         (__gettimeofday_syscall): Remove vsyscall fallback.
30565         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
30566         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
30567         Add syscall fallback function.
30568         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
30569         if vDSO is not present.
30570         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
30571         fallback function.
30572         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
30573         present.
30574         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
30575         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30577 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
30579         [BZ #18497]
30580         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
30581         of wcscmp.
30582         (wcscmp): Define as weak alias of WCSCMP.
30583         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
30584         wcscoll.
30585         (USE_HIDDEN_DEF): Define.
30586         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
30587         __wcscoll.  Don't use libc_hidden_weak.
30588         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
30589         wcscmp.
30590         * sysdeps/i386/i686/multiarch/wcscmp-c.c
30591         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
30592         __GI_wcscmp.
30593         (weak_alias): Undefine and redefine.
30594         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
30595         __wcscmp and define as weak alias of __wcscmp.
30596         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
30597         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
30598         (__wcscoll): Likewise.
30599         (wcscmp): Don't use libc_hidden_proto.
30600         (wcscoll): Likewise.
30601         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
30602         wcscoll.
30603         * posix/regexec.c (check_node_accept_bytes): Likewise.
30604         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
30605         variable.
30606         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30607         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
30609         [BZ #18507]
30610         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
30611         __fstatvfs and define as weak alias of __fstatvfs.  Use
30612         libc_hidden_weak.
30613         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
30614         and define as weak alias of __statvfs.  Use libc_hidden_weak.
30615         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
30616         Define as alias of __fstatvfs, not fstatvfs.
30617         (fstatvfs64): Likewise.
30618         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
30619         Define as alias of __statvfs, not statvfs.
30620         (statvfs64): Likewise.
30621         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
30622         Remove variable.
30624 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30627         (HAVE_GETCPU_VSYSCALL): Define.
30628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30629         (HAVE_GETCPU_VSYSCALL): Likewise.
30630         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
30631         * sysdeps/unix/sysv/linux/sched_getcpu.c
30632         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
30633         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
30634         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
30635         prototype.
30636         * sysdeps/unix/sysv/linux/x86_64/init-first.c
30637         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
30638         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
30639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
30640         Define.
30641         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
30642         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30643         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
30644         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30646 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
30648         * sysdeps/x86_64/fpu/Makefile: New file.
30649         * sysdeps/x86_64/fpu/Versions: New file.
30650         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
30651         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
30652         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
30653         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
30654         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
30655         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
30656         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
30657         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
30658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
30659         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
30660         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
30661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
30662         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
30663         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30664         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30665         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
30666         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
30667         * sysdeps/x86_64/configure.ac: Options for libmvec build.
30668         * sysdeps/x86_64/configure: Regenerated.
30669         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
30670         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
30671         * manual/install.texi (Configuring and compiling): Document
30672         --disable-mathvec.
30673         * INSTALL: Regenerated.
30674         * NEWS: Mention addition of libmvec and x86_64 vector cos.
30676         * math/Makefile: Added rules for vector tests.
30677         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
30678         declaration under condition.
30679         * math/test-double-vlen2.h: New file.
30680         * math/test-double-vlen4.h: New file.
30681         * math/test-double-vlen8.h: New file.
30682         * math/test-vec-loop.h: Added initialization macro.
30683         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
30684         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
30685         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
30686         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
30687         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
30688         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
30689         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
30690         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
30691         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
30692         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
30693         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
30695         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
30696         * sysdeps/x86_64/fpu/Versions: New versions added.
30697         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
30698         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
30699         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
30700         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
30701         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
30702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
30703         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
30704         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
30705         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
30706         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
30707         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
30708         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
30709         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
30710         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
30711         Added build of SSE, AVX2 and AVX512 IFUNC versions.
30712         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
30713         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
30714         * NEWS: Mention addition of x86_64 vector cosf.
30716         * math/Makefile: Added CFLAGS for new tests.
30717         * math/test-float-vlen16.h: New file.
30718         * math/test-float-vlen4.h: New file.
30719         * math/test-float-vlen8.h: New file.
30720         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
30721         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
30722         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30723         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
30724         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
30725         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
30726         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
30727         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
30728         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
30729         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
30730         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
30732 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
30734         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
30735         * locale/programs/ld-ctype.c: Likewise.
30737 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
30739         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
30740         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
30741         bit_ZMM16_31_state): New macro.
30742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30743         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
30745 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
30747         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
30749 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
30751         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
30753 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
30755         [BZ #18498]
30756         * libio/memstream.c (open_memstream): Rename to __open_memstream
30757         and define as weak alias of __open_memstream.
30758         * include/stdio.h (__open_memstream): Declare.  Use
30759         libc_hidden_proto.
30760         (open_memstream): Don't use libc_hidden_proto.
30761         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
30762         open_memstream.
30763         * posix/getopt.c (_getopt_internal_r): Likewise.
30764         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
30765         variable.
30766         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30767         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
30768         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
30770         [BZ #18496]
30771         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
30772         instead of wcrtomb.
30774         [BZ #18483]
30775         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
30776         [__USE_XOPEN2K8].  Remove redundant #endif.
30777         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
30778         Remove redundant #if.
30779         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
30780         Remove variable.
30781         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30782         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
30784         [BZ #18495]
30785         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
30786         (__iswlower): Likewise.
30787         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
30788         (__iswlower): Likewise.
30789         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
30790         instead of towlower.
30791         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
30792         instead of iswlower.  Call __towupper instead of towupper.
30793         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
30794         instead of iswalnum.
30796 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30798         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
30799         errors to stderr.
30801 2015-06-05  Florian Weimer  <fweimer@redhat.com>
30803         [BZ #15661]
30804         [BZ #17322]
30805         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
30806         Check for overflow properly.  Check for O_APPEND.  Ignore large
30807         file system block sizes.  Add comments about problems.
30808         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
30809         * manual/filesys.texi (Storage Allocation): New node.
30811 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30813         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
30814         cancellable syscalls.
30815         (SYS_ify): Add guard to no redefine it.
30816         (INLINE_SYSCALL): Likewise.
30817         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
30818         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
30819         SYSCALL_CANCEL instead.
30820         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
30821         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30822         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30823         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30824         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30825         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
30826         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
30827         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
30828         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
30829         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
30830         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
30831         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
30832         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
30833         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
30834         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
30835         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30836         Likewise.
30837         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30838         (__libc_pread64): Likewise.
30839         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
30840         (__libc_preadv): Likewise.
30841         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
30842         (__libc_readv64): Likewise.
30843         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30844         (__libc_pwrite): Likewise.
30845         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30846         (__libc_pwrite64): Likewise.
30847         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
30848         (__libc_pwritev): Likewise.
30849         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
30850         (__libc_pwritev64): Likewise.
30851         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
30852         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
30853         (sync_file_range): Likewise.
30854         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
30855         Likewise.
30856         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
30857         Likewise.
30858         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30859         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30860         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30861         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30862         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30863         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30864         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
30865         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30867         Likewise.
30868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30869         (__libc_read64): Likewise.
30870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
30871         Likewise.
30872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
30873         Likewise.
30874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
30875         Likewise.
30876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
30877         Likewise.
30878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30879         (__libc_pread64): Likewise.
30880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
30881         Likewise.
30882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30883         (__libc_pwrite64): Likewise.
30884         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
30885         (sync_file_range): Likewise.
30886         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
30887         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30888         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30889         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
30890         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
30891         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30892         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30893         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
30894         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
30895         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
30896         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30897         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30898         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30899         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30900         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
30901         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30902         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30903         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30904         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30905         Likewise.
30906         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
30907         Likewise.
30908         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
30909         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
30910         Likewise.
30911         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
30912         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
30913         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
30914         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
30915         Likewise.
30916         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
30917         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
30918         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
30919         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
30920         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
30922 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
30924         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
30925         Include dl-vdso.
30926         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
30927         Use VDSO routines for gettimeofday, clock_gettime if
30928         available.
30929         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
30930         Declare VDSO symbols.
30931         * sysdeps/unix/sysv/linux/arm/sysdep.h:
30932         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
30933         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
30934         * sysdeps/unix/sysv/linux/arm/Versions: Add
30935         __vdso_clock_gettime.
30937 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30939         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
30940         be an inline implementation regardless of library is built within.
30941         (open_not_cancel_2): Likewise.
30942         (__read_nocancel): Likewise.
30943         (__write_nocancel): Likewise.
30944         (openat_not_cancel): Likewise.
30945         (openat_not_cancel_3): Likewise.
30946         (openat64_not_cancel): Likewise.
30947         (openat64_not_cancel_3): Likewise.
30948         (__close_nocancel): Likewise.
30949         (pause_not_cancel): Likewise.
30950         (nanosleep_not_cancel): Likewise.
30951         (sigsuspend_not_cancel): Likewise.
30953 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30955         [BZ #14958]
30956         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
30957         wake-up.
30958         (__pthread_rwlock_rdlock_slow): Likewise.
30959         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
30960         Likewise.
30961         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
30962         Likewise.
30963         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
30964         * nptl/tst-rwlock16.c: New file.
30965         * nptl/Makefile (tests): Add new test.
30967 2015-06-04  Torvald Riegel  <triegel@redhat.com>
30969         [BZ #18324]
30970         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
30971         missing wake-up of readers.
30972         * nptl/tst-rwlock15.c: New file.
30973         * nptl/Makefile (tests): Add new test.
30975 2015-06-03  Roland McGrath  <roland@hack.frob.com>
30977         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
30978         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
30979         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
30980         and __nacl_supply_interface_rtld.
30981         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
30982         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
30983         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
30984         Add __nacl_supply_interface_rtld.
30985         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
30987 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30989         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
30990         isfinite.
30991         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30992         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
30994 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
30996         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
30997         __signbit* with standard C99 macros.
30998         * math/e_exp10l.c: Likewise.
30999         * math/e_exp2l.c: Likewise.
31000         * math/e_scalb.c: Likewise.
31001         * math/e_scalbf.c: Likewise.
31002         * math/e_scalbl.c: Likewise.
31003         * math/s_ldexp.c: Likewise.
31004         * math/s_ldexpf.c: Likewise.
31005         * math/s_ldexpl.c: Likewise.
31006         * math/w_atan2.c: Likewise.
31007         * math/w_atan2f.c: Likewise.
31008         * math/w_atan2l.c: Likewise.
31009         * math/w_cosh.c: Likewise.
31010         * math/w_coshf.c: Likewise.
31011         * math/w_coshl.c: Likewise.
31012         * math/w_exp10.c: Likewise.
31013         * math/w_exp10f.c: Likewise.
31014         * math/w_exp10l.c: Likewise.
31015         * math/w_exp2.c: Likewise.
31016         * math/w_exp2f.c: Likewise.
31017         * math/w_exp2l.c: Likewise.
31018         * math/w_fmod.c: Likewise.
31019         * math/w_fmodf.c: Likewise.
31020         * math/w_fmodl.c: Likewise.
31021         * math/w_hypot.c: Likewise.
31022         * math/w_hypotf.c: Likewise.
31023         * math/w_hypotl.c: Likewise.
31024         * math/w_jnl.c: Likewise.
31025         * math/w_lgamma.c: Likewise.
31026         * math/w_lgamma_r.c: Likewise.
31027         * math/w_lgammaf.c: Likewise.
31028         * math/w_lgammaf_r.c: Likewise.
31029         * math/w_lgammal.c: Likewise.
31030         * math/w_lgammal_r.c: Likewise.
31031         * math/w_pow.c: Likewise.
31032         * math/w_powf.c: Likewise.
31033         * math/w_powl.c: Likewise.
31034         * math/w_remainder.c: Likewise.
31035         * math/w_remainderf.c: Likewise.
31036         * math/w_remainderl.c: Likewise.
31037         * math/w_scalb.c: Likewise.
31038         * math/w_scalbf.c: Likewise.
31039         * math/w_scalbl.c: Likewise.
31040         * math/w_scalbln.c: Likewise.
31041         * math/w_scalblnf.c: Likewise.
31042         * math/w_scalblnl.c: Likewise.
31043         * math/w_sinh.c: Likewise.
31044         * math/w_sinhf.c: Likewise.
31045         * math/w_sinhl.c: Likewise.
31046         * math/w_tgamma.c: Likewise.
31047         * math/w_tgammaf.c: Likewise.
31048         * math/w_tgammal.c: Likewise.
31049         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31050         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
31051         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31052         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31053         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31055         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
31056         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31057         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31058         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31059         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31060         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31061         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31062         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31063         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31064         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31065         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31066         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
31067         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31068         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31069         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31070         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31071         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31072         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31073         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31074         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31075         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
31076         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31077         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31078         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31079         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
31080         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
31081         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
31082         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
31083         * stdio-common/printf_fp.c: Likewise.
31084         * stdio-common/printf_fphex.c: Likewise.
31085         * stdio-common/printf_size.c: Likewise.
31087 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
31089         [BZ #18470]
31090         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
31091         strnlen.
31092         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
31093         Remove variable.
31094         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
31095         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31096         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31097         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31098         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31099         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31100         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31101         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31102         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31103         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31105         [BZ #18468]
31106         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
31107         weak alias of __wmemchr.  Use libc_hidden_weak.
31108         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
31109         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
31110         instead of wmemchr.
31112 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31114         [BZ #18383]
31115         * elf/tst-tlsalign-extern.c: New file.
31116         * elf/tst-tlsalign-extern-static.c: New file.
31117         * elf/tst-tlsalign-vars.c: New file.
31118         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
31119         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
31120         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
31121         ($(objpfx)tst-tlsalign-extern-static): Likewise.
31122         (test-xfail-tst-tlsalign-extern-static): New variable.
31124 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
31126         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
31127         Use variable name _sc_err instead of err.
31128         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
31129         instead of ret.
31130         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
31131         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
31132         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
31133         (INLINE_SYSCALL): Likewise.
31135         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
31136         * include/string.h (__strnlen): Use libc_hidden_proto.
31137         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
31138         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
31139         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
31140         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
31141         (libc_hidden_def): Undefine and redefine.
31142         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
31143         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
31144         __GI_strnlen.
31145         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
31146         libc_hidden_def.
31147         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
31149         [BZ #18469]
31150         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
31151         weak alias of __towlower.  Use libc_hidden_weak.
31152         (towupper): Rename to __towupper and define as weak alias of
31153         __towupper.  Use libc_hidden_weak.
31154         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
31155         (__towupper): Likewise.
31156         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
31157         __towlower instead of towlower.
31159 2015-06-02  Roland McGrath  <roland@hack.frob.com>
31161         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
31162         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
31164 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31166         * sysdeps/aarch64/libm-test-ulps: Update.
31168 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31170         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
31171         Define.
31172         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
31174         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31175         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31176         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
31177         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
31178         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
31180 2015-06-01  Martin Sebor  <msebor@redhat.com>
31182         [BZ #18116]
31183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
31184         (__setcontext): Use extended four-operand version of mtsf whenever
31185         possible.
31186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
31187         (__novec_swapcontext): Likewise.
31189 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31191         * benchtests/scripts/compare_bench.py: New file.
31192         * benchtests/scripts/import_bench.py (mean): New function.
31193         (split_list): Likewise.
31194         (do_for_all_timings): Likewise.
31195         (compress_timings): Likewise.
31197         * benchtests/scripts/import_bench.py: New file.
31198         * benchtests/scripts/validate_benchout.py: Import import_bench
31199         instead of jsonschema.
31200         (validate_bench): Remove function.
31201         (main): Use import_bench.
31203 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
31205         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
31206         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
31208 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31212 2015-05-28  Roland McGrath  <roland@hack.frob.com>
31214         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
31215         set THREAD_SELF->tid to a magic value and futex-wake it.
31216         Pass its address to the thread_exit system call.
31217         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
31218         bit is clear.
31219         * sysdeps/nacl/lowlevellock.h: New file.
31220         * sysdeps/nacl/lll_timedwait_tid.c: New file.
31222         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
31223         Add TIMEOUT to current time, don't subtract it.
31225 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
31227         [BZ #2981]
31228         [BZ #18422]
31229         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
31230         ($(objpfx)tst-audit2.out): Also depend on
31231         $(objpfx)tst-auditmod9b.so.
31232         * elf/tst-audit2.c: Include <dlfcn.h>.
31233         (calloc_called): New.
31234         (calloc): Allow to be called more than once.
31235         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
31237 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
31239         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
31240         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
31242 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
31244         * stdlib/monetary.h: Fix comment.
31246 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
31248         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
31249         Avoid using variables in #defines that might cause shadowing.
31250         (INTERNAL_VSYSCALL_CALL): Likewise.
31252 2015-05-26  Roland McGrath  <roland@hack.frob.com>
31254         * sysdeps/nacl/lll_timedlock_wait.c: New file.
31256         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
31257         * nptl/lll_timedlock_wait.c: ... to this new file.
31258         * nptl/Makefile (libpthread-routines): Add it.
31259         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
31260         * nptl/lll_timedwait_tid.c: ... to this new file.
31261         * nptl/Makefile (libpthread-routines): Add it.
31262         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
31263         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
31264         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
31265         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
31266         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
31267         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
31268         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
31269         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
31270         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
31271         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
31273 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31275         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
31276         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31277         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
31278         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
31279         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
31280         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31281         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31282         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31283         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31284         * sysdeps/unix/sysv/linux/tile/sysdep.h
31285         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
31286         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
31287         using vDSO syscall macro.
31289 2015-05-26  Andriy Rysin  <arysin@gmail.com>
31291         [BZ #17293]
31292         * uk_UA: Fix sorting order for Ukrainian locale
31294 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
31296         * stdlib/monetary.h: Fix comment.
31298 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31300         [BZ #18234]
31301         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
31302         st_mtim and st_ctim members.
31303         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
31304         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
31305         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
31306         (struct stat64): Likewise.
31307         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
31308         (struct stat64): Likewise.
31309         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
31310         (struct stat64): Likewise.
31312 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31314         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
31315         Define and include sysdep-vdso.h.
31316         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
31317         Likewise.
31318         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
31319         Likewise.
31320         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
31321         Define with VDSO_SYMBOL and use PTR_MANGLE.
31322         (__vdso_clock_gettime): Likewise.
31323         (__vdso_clock_getres): Likewise.
31324         (_libc_vdso_platform_setup): Likewise.
31325         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
31326         Likewise.
31327         (_libc_vdso_platform_setup): Likewise.
31328         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
31329         Likewise.
31330         (__vdso_clock_gettime): Likewise.
31331         (__vdso_clock_getres): Likewise.
31332         (__vdso_get_tbfreq): Likewise.
31333         (__vdso_getcpu): Likewise.
31334         (__vdso_time): Likewise.
31335         (__vdso_sigtramp_rt64): Likewise.
31336         (__vdso_signtramp32): Likewise.
31337         (__vdso_sigtramp_rt32): Likewise.
31338         (_libc_vdso_platform_setup): Likewise.
31339         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
31340         Likewise.
31341         (__vdso_clock_gettime): Likewise.
31342         (__vdso_clock_getres): Likewise.
31343         (_libc_vdso_platform_setup): Likewise.
31344         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
31345         Likewise.
31346         (__vdso_clock_gettime): Likewise.
31347         (_libc_vdso_platform_setup): Likewise.
31348         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
31349         Likewise.
31350         (__vdso_getcpu): Likewise.
31351         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
31352         Use VDSO_SYMBOL macro to define.
31353         (__vdso_clock_gettime): Likewise.
31354         (__vdso_clock_getres): Likewise.
31355         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
31356         Likewise.
31357         (__vdso_clock_gettime): Likewise.
31358         (__vdso_clock_getres): Likewise.
31359         (__vdso_get_tbfreq): Likewise.
31360         (__vdso_getcpu): Likewise.
31361         (__vdso_time): Likewise.
31362         (__vdso_sigtramp_rt64): Likewise.
31363         (__vdso_signtramp32): Likewise.
31364         (__vdso_sigtramp_rt32): Likewise.
31365         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
31366         Likewise.
31367         (__vdso_clock_gettime): Likewise.
31368         (__vdso_clock_getres): Likewise.
31369         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
31370         Likewise.
31371         (__vdso_clock_gettime): Likewise.
31372         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
31373         Likewise.
31374         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
31375         macro.
31376         (INTERNAL_VSYSCALL): Likewise.
31377         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
31378         Remove macro.
31379         (INTERNAL_VSYSCALL): Likewise.
31380         (INTERNAL_VSYSCALL_NCS): Likewise.
31381         (INTERNAL_VSYSCALL_CALL): New macro.
31382         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31383         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
31384         Likewise.
31385         (INTERNAL_VSYSCALL): Likewise.
31386         (INTERNAL_VSYSCALL_NCS): Likewise.
31387         (INTERNAL_VSYSCALL_CALL): New macro.
31388         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
31389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31390         (INLINE_VSYSCALL): Remove macro.
31391         (INTERNAL_VSYSCALL): Remove macro.
31392         (INTERNAL_VSYSCALL_NCS): Remove macro.
31393         (INTERNAL_VSYSCALL_CALL): New macro.
31394         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
31395         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
31396         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31397         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
31398         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
31399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31400         (INLINE_VSYSCALL): Remove macro.
31401         (INTERNAL_VSYSCALL): Likewise.
31402         (INTERNAL_VSYSCALL_NCS): Likewise.
31403         (INTERNAL_VSYSCALL_CALL): New macro.
31404         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
31405         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
31406         PTR_DEMANGLE on vDSO pointer.
31407         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
31408         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
31409         macro.
31410         (INTERNAL_SYSCALL): Likewise.
31411         (INTERNAL_VSYSCALL_NCS): Remove macro.
31412         (INTERNAL_VSYSCALL_CALL): New macro.
31413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
31414         Remove macro.
31415         (INTERNAL_VSYSCALL): Likewise.
31416         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
31417         sysdep-vdso.h instead of libc-vdso.h.
31418         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
31419         definition.
31420         (INLINE_VSYSCALL): Likewise.
31421         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
31422         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
31423         definition.
31424         (INLINE_VSYSCALL): Likewise.
31425         (INTERNAL_VSYSCALL): Likewise.
31426         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31427         * sysdeps/unix/sysv/linux/timespec_get.c
31428         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
31429         (timespec_get): Use ANSI prototype.
31430         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
31431         and definition for Linux.
31433 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31435         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
31436         * include/libc-symbols.h: libmvec_hidden_* macro series added.
31438 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31440         [BZ #2981]
31441         [BZ #18410]
31442         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
31443         for missing DT_PLTRELSZ.
31445 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31447         Remove obsolete aliases that broke 'locale -a'
31448         [BZ #18412]
31449         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
31450         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
31451         breaking some applications that use 'locale -a' output.
31452         Change the encoding of this file from Latin-1 to ASCII to avoid
31453         other potential problems with people grepping this file.
31455 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31457         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
31458         -fasynchronous-unwind-tables.
31459         (CFLAGS-sendto.c): Likewise.
31460         (CFLAGS-sendmsg.c): Likewise.
31461         (CFLAGS-connect.c): Likewise.
31462         (CFLAGS-recvmsg.c): Likewise.
31463         (CFLAGS-recvfrom.c): Likewise.
31464         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
31465         (SOCKETCALL): New macro: non-cancellable socketcall.
31466         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
31467         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
31468         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
31469         * sysdeps/unix/sysv/linux/accept.c: New file.
31470         * sysdeps/unix/sysv/linux/bind.c: Likewise.
31471         * sysdeps/unix/sysv/linux/connect.c: Likewise.
31472         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
31473         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
31474         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
31475         * sysdeps/unix/sysv/linux/listen.c: Likewise.
31476         * sysdeps/unix/sysv/linux/recv.c: Likewise.
31477         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
31478         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
31479         * sysdeps/unix/sysv/linux/send.c: Likewise.
31480         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
31481         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
31482         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
31483         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
31484         * sysdeps/unix/sysv/linux/socket.c: Likewise.
31485         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
31486         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
31487         prototype.
31488         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
31489         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31490         instead of __internal_xxx function.
31491         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
31492         prototype.
31493         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
31494         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31495         instead of __internal_xxx function.
31496         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
31497         prototype.
31498         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
31499         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
31500         instead of __internal_xxx function.
31501         * sysdeps/unix/sysv/linux/accept.S: Remove file.
31502         * sysdeps/unix/sysv/linux/bind.S: Likewise.
31503         * sysdeps/unix/sysv/linux/connect.S: Likewise.
31504         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
31505         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
31506         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
31507         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
31508         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
31509         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
31510         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
31511         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
31512         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
31513         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
31514         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
31515         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
31516         * sysdeps/unix/sysv/linux/listen.S: Likewise.
31517         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
31518         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
31519         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
31520         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
31521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
31522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
31523         * sysdeps/unix/sysv/linux/recv.S: Likewise.
31524         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
31525         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
31526         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
31527         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
31528         * sysdeps/unix/sysv/linux/send.S: Likewise.
31529         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
31530         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
31531         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
31532         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
31533         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
31534         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
31535         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
31536         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
31537         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
31538         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
31539         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
31540         socketcall is implemented in GLIBC.
31542 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31544         * soft-fp/fmadf4.c: Include <libc-internal.h>.
31545         (__fma): Ignore uninitialized warnings around packing.
31546         * soft-fp/fmasf4.c: Include <libc-internal.h>.
31547         (__fmaf): Ignore uninitialized warnings around packing.
31548         * soft-fp/fmatf4.c: Include <libc-internal.h>.
31549         (__fmal): Ignore uninitialized warnings around packing.
31551         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
31552         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31553         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
31554         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31556         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
31557         switch statement into default case.
31558         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
31560         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
31561         a conditional in forcing "inexact".
31562         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31563         Likewise.
31565 2015-05-22  Roland McGrath  <roland@hack.frob.com>
31567         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
31568         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
31569         for each INTERNAL_SYSCALL use.
31571 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
31573         [BZ #438]
31574         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
31575         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
31576         variable.
31578         [BZ #18444]
31579         * string/basename.c (basename): Rename to __basename and define as
31580         weak alias of __basename.  Use libc_hidden_weak.
31581         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
31582         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
31583         __basename instead of basename.
31584         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
31585         Remove variable.
31586         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31588 2015-05-18  Florian Weimer  <fweimer@redhat.com>
31590         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
31591         (_IO_JUMPS_FILE_plus): New.
31592         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
31593         _IO_CAST_FIELD_ACCESS.
31594         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
31595         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
31596         * libio/freopen.c (freopen): Likewise.
31597         * libio/freopen64.c (freopen64): Likewise.
31598         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
31599         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
31600         * libio/iofwide.c (_IO_fwide): Likewise.
31601         * libio/memstream.c (open_memstream): Likewise.
31602         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31603         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
31604         * libio/oldiopopen.c (_IO_old_popen): Likewise.
31606 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
31608         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
31609         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
31610         NADJ.
31611         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
31612         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
31613         NADJ.
31614         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
31615         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
31616         NADJ.
31618         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
31619         (p == 4) case.
31621         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
31622         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
31623         Remove variable.
31624         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31625         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31626         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31628 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31630         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
31631         Adjust jump table label generation macros.
31633 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31635         * stdio-common/vfprintf.c (vfprintf): Move local variables
31636         args_malloced, specs, specs_malloced, and the code after
31637         do_positional to the printf_positional function.
31638         (printf_positional): New function.
31640 2015-05-21  Florian Weimer  <fweimer@redhat.com>
31642         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
31643         function.
31644         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
31645         STEP4_TABLE, process_arg): Move macro definitions
31646         out of the vfprintf function.  (Cosmetic change only.)
31648 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
31650         * benchtests/Makefile (stdio-common-bench): Define.
31651         (benchset): Add stdio-common-bench.
31652         * sprintf-inputs: New file.
31653         * sprintf-source.c: New file.
31655 2015-05-21  Andreas Schwab  <schwab@suse.de>
31657         [BZ #13028]
31658         [BZ #17053]
31659         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
31660         of struct __res_state.
31661         * resolv/res_send.c (__libc_res_nsend): Likewise.
31662         (get_nsaddr): New function.
31663         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
31664         statp directly.
31666 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
31668         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
31669         -D_POSIX_C_SOURCE=199506L.
31671         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
31673         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
31674         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
31675         Do not mention otherwise.
31676         [POSIX] (_XOPEN_VERSION): Do not expect.
31677         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
31678         [POSIX] (_POSIX2_C_BIND): Likewise.
31679         [POSIX] (_POSIX2_VERSION): Likewise.
31680         [POSIX] (_XOPEN_XPG2): Likewise.
31681         [POSIX] (_XOPEN_XPG3): Likewise.
31682         [POSIX] (_XOPEN_XPG4): Likewise.
31683         [POSIX] (_XOPEN_UNIX): Likewise.
31684         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
31685         [POSIX] (_POSIX_BARRIERS): Likewise.
31686         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
31687         [POSIX] (_POSIX_CPUTIME): Likewise.
31688         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
31689         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
31690         [POSIX] (_POSIX_SHELL): Likewise.
31691         [POSIX] (_POSIX_SPAWN): Likewise.
31692         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
31693         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
31694         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
31695         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
31696         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
31697         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
31698         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
31699         [POSIX] (_XBS5_LP64_OFF64): Likewise.
31700         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
31701         [POSIX] (_POSIX_TIMEOUTS): Likewise.
31702         [POSIX] (_POSIX2_PBS): Likewise.
31703         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
31704         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
31705         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
31706         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
31707         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
31708         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
31709         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
31710         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
31711         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
31712         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
31713         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
31714         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
31715         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
31716         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
31717         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
31718         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
31719         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
31720         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
31721         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
31722         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
31723         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
31724         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
31725         [POSIX] (_SC_2_C_BIND): Likewise.
31726         [POSIX] (_SC_2_C_VERSION): Likewise.
31727         [POSIX] (_SC_2_PBS): Likewise.
31728         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
31729         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
31730         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
31731         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
31732         [POSIX] (_SC_2_PBS_TRACK): Likewise.
31733         [POSIX] (_SC_ATEXIT_MAX): Likewise.
31734         [POSIX] (_SC_BARRIERS): Likewise.
31735         [POSIX] (_SC_BASE): Likewise.
31736         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
31737         [POSIX] (_SC_DEVICE_IO): Likewise.
31738         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
31739         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
31740         [POSIX] (_SC_FD_MGMT): Likewise.
31741         [POSIX] (_SC_FIFO): Likewise.
31742         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
31743         [POSIX] (_SC_FILE_LOCKING): Likewise.
31744         [POSIX] (_SC_FILE_SYSTEM): Likewise.
31745         [POSIX] (_SC_IOV_MAX): Likewise.
31746         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
31747         [POSIX] (_SC_NETWORKING): Likewise.
31748         [POSIX] (_SC_PAGE_SIZE): Likewise.
31749         [POSIX] (_SC_PASS_MAX): Likewise.
31750         [POSIX] (_SC_PIPE): Likewise.
31751         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
31752         [POSIX] (_SC_REGEXP): Likewise.
31753         [POSIX] (_SC_SHELL): Likewise.
31754         [POSIX] (_SC_SIGNALS): Likewise.
31755         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
31756         [POSIX] (_SC_SPIN_LOCKS): Likewise.
31757         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
31758         [POSIX] (_SC_USER_GROUPS): Likewise.
31759         [POSIX] (_SC_USER_GROUPS_R): Likewise.
31760         [POSIX] (_SC_STREAMS): Likewise.
31761         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
31762         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
31763         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
31764         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
31765         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
31766         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
31767         [POSIX] (_PC_FILESIZEBITS): Likewise.
31768         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
31769         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
31770         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
31771         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
31772         [POSIX] (uid_t): Likewise.
31773         [POSIX] (gid_t): Likewise.
31774         [POSIX] (off_t): Likewise.
31775         [POSIX] (pid_t): Likewise.
31776         [POSIX] (cuserid): Allow.
31777         (_SC_2_CHAR_TERM): Require constant.
31778         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
31779         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
31780         variable.
31782 2015-05-20  Roland McGrath  <roland@hack.frob.com>
31784         * sysdeps/nacl/pthread-pids.h: New file.
31785         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
31786         (create_thread): Use __nacl_get_tid to initialize PD->tid.
31788         * nptl/pthread-pids.h: New file.
31789         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
31790         * nptl/nptl-init.c: Include <pthread-pids.h>.
31791         (__pthread_initialize_minimal_internal):
31792         Call __pthread_initialize_pids instead of set_tid_address syscall.
31794         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
31795         * sysdeps/posix/usleep.c: ... here.
31797 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31799         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
31800         call_pselect6 object.
31801         [$(subdir) = io]: Remove call_sync_file_range object.
31802         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
31803         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
31804         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
31805         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
31807 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
31809         * math/s_cproj.c: Add include "math_private.h".
31810         * math/s_cprojf.c: Likewise.
31811         * math/s_cprojl.c: Likewise.
31813 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
31815         [BZ #18244]
31816         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
31817         high mantissa bit when testing whether P is a NaN.
31818         * math/libm-test.inc (remainder_test_data): Add more tests.
31819         (remquo_test_data): Likewise.
31821         [BZ #18049]
31822         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
31823         below -32, return the argument, with underflow if subnormal.
31824         * math/auto-libm-test-in: Add more tests of atanh.
31825         * math/auto-libm-test-out: Regenerated.
31827 2015-05-19  Roland McGrath  <roland@hack.frob.com>
31829         [BZ #18434]
31830         * nptl/tst-sem15.c: New file.
31831         * nptl/Makefile (tests): Add it.
31832         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
31833         s/<</>>/ to fix typo in EOVERFLOW check.
31834         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
31836 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31838         * manual/strings.texi (envz_remove): Fix typo in safety
31839         annotations.
31841 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
31842             Steve Ellcey  <sellcey@imgtec.com>
31844         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
31845         in order to avoid strict alias warnings.
31846         (iruserok_af): Ditto for ra.
31848 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
31850         [BZ #17581]
31851         * malloc/hooks.c
31852         (magicbyte): Convert to a function and avoid returning 0x01.
31853         (mem2mem_check): Avoid using a length byte equal to the magic byte.
31854         (mem2chunk_check): Fix unsigned comparisons to zero.
31855         Hoist defs of sz and magic.
31857 2015-05-19  Richard Henderson  <rth@redhat.com>
31859         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
31861         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31863 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31865         [BZ #16159]
31866         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
31867         * malloc/arena.c (arena_lock): Check if arena is corrupt.
31868         (reused_arena): Find a non-corrupt arena.
31869         (heap_trim): Pass arena to unlink.
31870         * malloc/hooks.c (malloc_check_get_size): Pass arena to
31871         malloc_printerr.
31872         (top_check): Likewise.
31873         (free_check): Likewise.
31874         (realloc_check): Likewise.
31875         * malloc/malloc.c (malloc_printerr): Add arena argument.
31876         (unlink): Likewise.
31877         (munmap_chunk): Adjust.
31878         (ARENA_CORRUPTION_BIT): New macro.
31879         (arena_is_corrupt): Likewise.
31880         (set_arena_corrupt): Likewise.
31881         (sysmalloc): Use mmap if there are no usable arenas.
31882         (_int_malloc): Likewise.
31883         (__libc_malloc): Don't fail if arena_get returns NULL.
31884         (_mid_memalign): Likewise.
31885         (__libc_calloc): Likewise.
31886         (__libc_realloc): Adjust for additional argument to
31887         malloc_printerr.
31888         (_int_free): Likewise.
31889         (malloc_consolidate): Likewise.
31890         (_int_realloc): Likewise.
31891         (_int_memalign): Don't touch corrupt arenas.
31892         * malloc/tst-malloc-backtrace.c: New test case.
31894         * Makefile (summarize-tests): Fix return value on success.
31896         * manual/string.texi (Envz Functions): Add envz_remove.
31898 2015-05-18  Roland McGrath  <roland@hack.frob.com>
31900         * sysdeps/posix/opendir.c: Include <stdbool.h>.
31901         (invalid_name): New function, broken out of ...
31902         (__opendirat): ... here.  Call it.
31903         (need_isdir_precheck): New function, broken out of ...
31904         (__opendirat): ... here.  Call it.
31905         Use __fxstatat64, not __xstatat64.
31906         (opendir_oflags): New function, broken out of ...
31907         (__opendirat): ... here.  Call it.
31908         (opendir_tail): New function, broken out of ...
31909         (__opendirat): ... here.  Call it.
31910         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
31911         opendir_tail, rather than punting to __opendirat.
31912         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
31914 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31916         * .gitignore: Ignore generated *.pyc.
31918 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
31920         * include/stdio.h: Define __need_wint_t.
31921         * test-skeleton.c: Avoid `for' loop initial declaration.
31922         * nptl/tst-initializers1.c: Use test-skeleton.c.
31924 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31926         [BZ #18418]
31927         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
31929 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31931         [BZ #16352]
31932         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
31933         (__ieee754_atanh): Force underflow exception for results with
31934         small absolute value.
31935         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
31936         (__ieee754_atanhf): Force underflow exception for results with
31937         small absolute value.
31938         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
31939         (__ieee754_atanh): Force underflow exception for results with
31940         small absolute value.
31941         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
31942         (__ieee754_atanhf): Force underflow exception for results with
31943         small absolute value.
31944         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
31945         (__ieee754_atanhl): Force underflow exception for results with
31946         small absolute value.
31947         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
31948         (__ieee754_atanhl): Force underflow exception for results with
31949         small absolute value.
31950         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
31951         (__ieee754_atanhl): Force underflow exception for results with
31952         small absolute value.
31953         * math/auto-libm-test-in: Do not allow missing underflow
31954         exceptions from atanh.
31955         * math/auto-libm-test-out: Regenerated.
31957         [BZ #18221]
31958         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
31959         2**-28 as threshold for returning x or +/- 1/x.
31960         * math/auto-libm-test-in: Add more tests of tan.
31961         * math/auto-libm-test-out: Regenerated.
31963         [BZ #18220]
31964         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
31965         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
31966         * math/auto-libm-test-in: Add another test of lgamma.
31967         * math/auto-libm-test-out: Regenerated.
31969 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
31971         * stdio-common/printf_fp.c (___printf_fp): Use abs.
31972         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
31973         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
31974         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
31975         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
31976         (ADD2A): Use fabs.  (SUB2A): Use fabs.
31977         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
31978         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
31979         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
31980         (log1): Use fabs.  (my_log2): Use fabs.
31981         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
31982         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
31983         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
31984         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
31985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
31986         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
31987         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
31988         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
31989         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
31990         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
31991         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
31993 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
31995         [BZ #18217]
31996         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
31997         as threshold for returning 1 - x.
31998         * math/auto-libm-test-in: Add more tests of erfc.
31999         * math/auto-libm-test-out: Regenerated.
32001 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
32003         [BZ #18196]
32004         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
32005         threshold for large arguments.
32006         * math/auto-libm-test-in: Add another test of atan.
32007         * math/auto-libm-test-out: Regenerated.
32009         [BZ #16339]
32010         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
32011         (__log1p): Force underflow exception for results with small
32012         absolute value.
32013         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
32014         (__log1pf): Force underflow exception for results with small
32015         absolute value.
32016         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
32017         (__log1p): Force underflow exception for results with small
32018         absolute value.
32019         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
32020         (__log1pf): Force underflow exception for results with small
32021         absolute value.
32022         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
32023         (__log1pl): Force underflow exception for results with small
32024         absolute value.
32025         * math/auto-libm-test-in: Do not allow missing underflow
32026         exceptions from log1p.
32027         * math/auto-libm-test-out: Regenerated.
32029 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
32030             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32032         [BZ #16704]
32033         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
32035 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
32037         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
32038         (libmvec): New variable.
32039         * configure.ac: Added option for mathvec build.
32040         * configure: Regenerated.
32041         * mathvec/Depend: New file.
32042         * mathvec/Makefile: New file.
32043         * shlib-versions: Added libmvec.
32044         * math/Makefile: Added rule for libm.so installation.
32046         * bits/math-vector.h: New file.
32047         * bits/libm-simd-decl-stubs.h: New header.
32048         * math/Makefile (headers): Added new header
32049         libm-simd-decl-stubs.h.
32050         * math/math.h (__MATHCALL_VEC): New macro.
32052         * math/gen-libm-have-vector-test.sh: Script generates series of macros
32053         for conditions in testing functions.
32054         * math/Makefile: Added call of libm-have-vector-test.sh.
32055         * math/libm-test.inc (HAVE_VECTOR): New macros.
32057         * math/libm-test.inc: START refactored.
32058         * math/test-double.c (TEST_MATHVEC): Add define.
32059         * math/test-float.c: Likewise.
32060         * math/test-idouble.c: Likewise.
32061         * math/test-ifloat.c: Likewise.
32062         * math/test-ildoubl.c: Likewise.
32063         * math/test-ldouble.c: Likewise.
32064         * sysdeps/generic/math-tests-arch.h
32065         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
32066         architecture check.
32068         * math/test-double.c (FUNC_TEST): New macro.
32069         * math/test-float.c: Likewise.
32070         * math/test-idouble.c: Likewise.
32071         * math/test-ifloat.c: Likewise.
32072         * math/test-ildoubl.c: Likewise.
32073         * math/test-ldouble.c: Likewise.
32074         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
32076 2015-05-13  Roland McGrath  <roland@hack.frob.com>
32078         * sysdeps/nacl/fdopendir.c: New file.
32080         * dirent/scandir-tail.c: New file.
32081         * dirent/scandir64-tail.c: New file.
32082         * dirent/Makefile (routines): Add them.
32083         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
32084         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
32085         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
32086         [!SCANDIR] (SCANDIR_TAIL): New macro.
32087         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
32088         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
32089         (SCANDIRAT): Macro removed.
32090         (SCANDIR_TAIL): New macro.
32091         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
32092         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
32093         (SCANDIRAT): Just call __opendirat and __scandir_tail.
32094         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
32095         (READDIR): Macro removed.
32096         (SCANDIR_TAIL): New macro.
32097         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
32098         (SCANDIR_TAIL): New macro.
32100         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
32101         * dirent/scandir-cancel.c: ... to this new file.
32102         * dirent/Makefile (routines): Add it.
32103         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
32104         * sysdeps/unix/sysv/linux/i386/scandir64.c
32105         (SKIP_SCANDIR_CANCEL): Macro removed.
32106         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
32108         * dirent/tst-scandir.c: New file.
32109         * dirent/tst-scandir64.c: New file.
32110         * dirent/Makefile (tests): Add them.
32112 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
32114         [BZ #18409]
32115         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
32117 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32119         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
32120         list.
32122 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
32124         * benchtests/bench-strcoll.c: New benchmark.
32125         * benchtests/Makefile: Generate locales and run benchmark.
32126         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
32127         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
32128         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
32129         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
32130         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
32131         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
32132         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
32133         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
32134         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
32135         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
32136         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
32137         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
32138         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
32139         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
32140         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
32141         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
32142         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
32143         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
32144         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
32145         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
32146         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
32147         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
32148         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
32149         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
32151 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
32153         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
32154         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32156 2015-05-12  Roland McGrath  <roland@hack.frob.com>
32158         * posix/uname-values.h: New file.
32159         * posix/uname.c: Include that instead of <config-name.h>.
32160         * sysdeps/nacl/uname-values.h: New file.
32161         * sysdeps/arm/nacl/uname-values.h: New file.
32163 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
32165         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
32166         splitting into fields.
32168 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
32170         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
32171         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
32172         * locale/localeinfo.h: Add enum collation_encoding_type.
32173         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
32174         * programs/ld-collate.c (collate_output): Add encoding type info.
32175         * string/strcoll_l.c (STRDIFF): New function.
32176         * (STRCOLL): Use STRDIFF to skip over equal prefix.
32177         * wcsmbs/wcscoll_l.c: Define STRDIFF.
32179 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
32181         [BZ #18397]
32182         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
32183         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
32184         <fpu_control.h> instead of <math/fpu_control.c>.
32185         * sysdeps/mips/mips32/fpu/Makefile: New file.
32187 2015-05-11  Andreas Schwab  <schwab@suse.de>
32189         [BZ #18007]
32190         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
32191         nss_endgrent.
32192         (_nss_compat_endgrent): Call nss_endgrent.
32193         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
32194         nss_endpwent.
32195         (_nss_compat_endpwent): Call nss_endpwent.
32196         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
32197         needent, call nss_setspent only if non-zero.
32198         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
32199         (internal_endspent): Don't call nss_endspent.
32200         (_nss_compat_endspent): Call nss_endspent.
32201         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
32202         Remove.  All uses removed.
32203         (internal_setent): Remove parameter stayopen, add parameter
32204         stream.  Use it instead of global variable.
32205         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
32206         (internal_endent, internal_getent): Add parameter stream.  Use it
32207         instead of global variable.
32208         (CONCAT(_nss_files_end,ENTNAME))
32209         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
32210         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
32211         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
32212         uses removed.
32213         (internal_setent, internal_endent): Add parameter stream.  Use it
32214         instead of global variable.
32215         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
32216         stream.
32217         (get_next_alias): Add parameter stream.
32218         (_nss_files_getaliasent_r): Pass global stream.
32219         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
32220         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
32221         (_nss_files_gethostbyname4_r): Pass local stream to
32222         internal_setent, internal_getent and internal_endent.  Remove
32223         locking.
32225 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32227         * tst-strfmon1.c (tests): Update expected currency symbol.
32229 2015-05-08  Roland McGrath  <roland@hack.frob.com>
32231         * sysdeps/nacl/gethostname.c: New file.
32233 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
32235         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
32236         and sinh.
32237         * math/auto-libm-test-out: Regenerated.
32238         * sysdeps/i386/fpu/libm-test-ulps: Update.
32239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32241 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
32243         [BZ #18125]
32244         * stdlib/tst-setcontext3.c: New file.
32245         * stdlib/tst-setcontext3.sh: New file.
32246         * stdlib/Makefile (tests): Add tst-setcontext3.
32247         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
32248         to verify test program created output file.
32249         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
32250         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
32251         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
32252         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
32254 2015-05-06  Roland McGrath  <roland@hack.frob.com>
32256         [BZ #18383]
32257         * elf/tst-tlsalign.c: New file.
32258         * elf/tst-tlsalign-static.c: New file.
32259         * elf/tst-tlsalign-lib.c: New file.
32260         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
32261         (tests-static): Add tst-tlsalign-static.
32262         (modules-names): Add tst-tlsalign-lib.
32263         (test-xfail-tst-tlsalign): New variable.
32264         (test-xfail-tst-tlsalign-static): New variable.
32266         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
32267         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
32269 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
32271         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
32272         csqrt, erfc, sin and sincos.
32273         * math/auto-libm-test-out: Regenerated.
32274         * sysdeps/i386/fpu/libm-test-ulps: Update.
32275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32277 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32279         * sysdeps/aarch64/libm-test-ulps: Update.
32281 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
32283         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
32284         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
32285         * math/auto-libm-test-out: Regenerated.
32286         * sysdeps/i386/fpu/libm-test-ulps: Update.
32287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32289 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
32291         [BZ #18265]
32292         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
32293         (wcsncpy): Likewise.
32295 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32297         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
32298         Assume __ASSUME_FALLOCATE is always true.
32299         * sysdeps/unix/sysv/linux/posix_fallocate64.c
32300         (__posix_fallocate64_l64): Likewise.
32301         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
32302         (posix_fallocate): Likewise.
32303         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
32304         (__posix_fallocate64_l64): Likewise.
32305         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
32306         [!__ASSUME_FALLOCATE]: Add comment.
32308 2015-05-05  Florian Weimer  <fweimer@redhat.com>
32310         * sysdeps/unix/sysv/linux/i386/Makefile
32311         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
32312         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
32313         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
32314         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32315         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32316         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
32317         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
32319 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
32321         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
32322         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
32323         tgamma.
32324         * math/auto-libm-test-out: Regenerated.
32325         * sysdeps/i386/fpu/libm-test-ulps: Update.
32326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32328 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32330         * math/auto-libm-test-in: Add more tests of tgamma.
32331         * math/auto-libm-test-out: Regenerated.
32332         * sysdeps/i386/fpu/libm-test-ulps: Update.
32333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32335         * math/auto-libm-test-in: Add more tests of tanh.
32336         * math/auto-libm-test-out: Regenerated.
32337         * sysdeps/i386/fpu/libm-test-ulps: Update.
32338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32340         * math/auto-libm-test-in: Add more tests of tan.
32341         * math/auto-libm-test-out: Regenerated.
32342         * sysdeps/i386/fpu/libm-test-ulps: Update.
32343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32345         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
32346         * math/auto-libm-test-out: Regenerated.
32347         * sysdeps/i386/fpu/libm-test-ulps: Update.
32348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32350         * math/auto-libm-test-in: Add another test of pow.
32351         * math/auto-libm-test-out: Regenerated.
32352         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32354         * math/auto-libm-test-in: Add more tests of lgamma.
32355         * math/auto-libm-test-out: Regenerated.
32356         * sysdeps/i386/fpu/libm-test-ulps: Update.
32357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32359         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
32360         log1p.
32361         * math/auto-libm-test-out: Regenerated.
32362         * sysdeps/i386/fpu/libm-test-ulps: Update.
32363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32365 2015-05-01  Mark Wielaard  <mjw@redhat.com>
32367         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
32368         Elf64_Chdr structs and ELFCOMPRESS constants.
32370 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
32372         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
32373         expm1.
32374         * math/auto-libm-test-out: Regenerated.
32375         * sysdeps/i386/fpu/libm-test-ulps: Update.
32376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32378         * math/auto-libm-test-in: Add more tests of erf and erfc.
32379         * math/auto-libm-test-out: Regenerated.
32380         * sysdeps/i386/fpu/libm-test-ulps: Update.
32381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32383 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32385         * config.h.in (HAVE_AARCH64_BE): Add.
32387 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
32389         * math/auto-libm-test-in: Add more tests of csqrt.
32390         * math/auto-libm-test-out: Regenerated.
32391         * sysdeps/i386/fpu/libm-test-ulps: Update.
32392         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32394         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32395         * math/auto-libm-test-out: Regenerated.
32396         * sysdeps/i386/fpu/libm-test-ulps: Update.
32397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32399         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
32401 2015-04-29  Roland McGrath  <roland@hack.frob.com>
32403         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
32404         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
32406         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
32407         (euidaccess, eaccess): Define as weak aliases.
32409         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
32410         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
32411         but __suseconds_t is often 'long int' so some sources assume that
32412         type is being used (e.g. they use %ld to print tv_usec).
32414 2015-04-29  Florian Weimer  <fweimer@redhat.com>
32416         [BZ #18007]
32417         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
32418         (CVE-2014-8121)
32419         * nss/tst-nss-getpwent.c: New file.
32420         * nss/Makefile (tests): Add new test.
32422 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
32424         [BZ #18346]
32425         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
32426         exponents less than 48 as cases where high part of mantissa needs
32427         examining to determine whether argument is integral.
32428         * math/libm-test.inc (round_test_data): Add more tests.
32430 2015-04-28  Mark Wielaard  <mjw@redhat.com>
32432         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
32434 2015-04-27  David S. Miller  <davem@davemloft.net>
32436         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
32437         __tls_get_addr.
32438         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
32440 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
32442         [BZ #18333]
32443         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
32445 2015-04-27  Florian Weimer  <fweimer@redhat.com>
32447         [BZ #18333]
32448         * time/tzset.c (parse_tzname): Return error on memory allocation
32449         failure.
32450         * test-skeleton.c (struct temp_name_list): Change type of name
32451         member to non-const.
32452         (add_temp_file): Create a copy of the file name.
32453         (delete_temp_files): Deallocate memory.
32454         (create_temp_file): Add comment.
32456 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32458         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
32459         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
32461 2015-04-24  Roland McGrath  <roland@hack.frob.com>
32463         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
32464         * sysdeps/arm/configure: Regenerated.
32466 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32468         [BZ #17715]
32469         * time/tzfile.c (__tzfile_read): Check for large values of
32470         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
32471         * time/tzset.c (__tzstring_len): New function, based on the old
32472         __tzstring function.
32473         (__tzstring): Call __tzstring_len.
32474         (parse_tzname): New helper function extracted from
32475         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
32476         the input string.
32477         (parse_offset): New helper function extracted from
32478         __tzset_parse_tz.  Replace switch with fallthrough with
32479         initialization before sscanf.
32480         (parse_rule): Likewise.
32481         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
32482         new-style function definition.
32483         * timezone/Makefile (tests): Add tst-tzset.
32484         (tst-tzset.out): Dependencies on time zone files.
32485         (tst-tzset-ENV): Set TZDIR.
32486         (testdata/XT%): Copy crafted time zone files.
32487         * timezone/README: Mention crafted time zone files.
32488         * timezone/testdata/XT1, timezone/testdata/XT2,
32489         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
32490         files.
32491         * timezone/tst-tzset.c: New test.
32493 2015-04-24  Florian Weimer  <fweimer@redhat.com>
32495         * Makeconfig (+gccwarn): Remove -Winline.
32497 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32499         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
32501 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
32503         * NEWS: Mention sysconf() cache information support for s390.
32504         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
32506 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
32508         * math/k_casinh.c (__kernel_casinh): Use __copysign.
32509         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
32510         (__nearbyint): Likewise.
32511         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
32512         (copysignl): Likewise.
32514 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
32516         [BZ #18287]
32517         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
32518         based on padding.  (CVE-2015-1781)
32520 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32522         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
32523         libc-vdso.h.
32524         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
32525         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
32526         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
32527         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
32528         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
32529         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
32530         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
32531         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32532         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32533         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
32534         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32535         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
32536         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
32537         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
32538         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
32539         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
32540         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
32541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
32542         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
32543         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
32544         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
32545         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
32546         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
32548 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
32550         * stdlib/setenv.c (__add_to_environ):
32551         Dump core quickly if setenv (..., NULL, ...) is called.
32552         This time, do it the right way, and pacify GCC with a pragma.
32554 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32556         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
32557         IMAP->l_prev cannot be null, and #if out the code for the contrary
32558         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
32559         believe that NS (&_dl_ns[NSID]) could point outside the array.
32561         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
32562         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
32563         before using NSID as an index.
32565 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
32567         [BZ #17825]
32568         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
32569         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
32570         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
32572 2015-04-17  Roland McGrath  <roland@hack.frob.com>
32574         Add preliminary port to Google Native Client on ARM.
32575         * abi-tags (.*-.*-nacl.*): New entry.
32576         * sysdeps/arm/nacl: New directory.
32577         * sysdeps/nacl: New directory.
32579 2015-04-16  David S. Miller  <davem@davemloft.net>
32581         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
32582         lowlevellock-futex.h
32584 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
32586         * sysdeps/tile/configure.ac: New file.
32587         * sysdeps/tile/configure: Regenerated.
32589 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32591         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
32592         conditionals for weak_alias and libc_hidden_weak.
32593         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
32594         libc_hidden_weak and weak_alias.
32595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
32596         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
32597         and weak_alias for static one.
32599 2015-04-15  David S. Miller  <davem@davemloft.net>
32601         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
32603 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32605         [BZ #18206]
32606         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
32607           Use signed comparision instead of substraction to avoid
32608           overflow bug.
32609         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
32610           Take the sign of ret.
32611         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
32612           Do not expect precise return values. Only the sign matters.
32613         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
32614         * wcsmbs/test-wcsncmp.c: New File.
32615         * string/test-strncmp.c: Add wcsncmp support.
32617 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32619         [BZ #6792]
32620         * math/w_log1p.c: New file.
32621         * math/w_log1pf.c: Likewise.
32622         * math/w_log1pl.c: Likewise.
32623         * math/Makefile (libm-calls): Add w_log1p.
32624         * math/s_log1pl.c (log1pl): Remove weak_alias.
32625         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
32626         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
32627         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
32628         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
32629         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
32630         [NO_LONG_DOUBLE] (log1pl): Likewise.
32631         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
32632         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
32633         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
32634         (log1p): Remove long_double_symbol.
32635         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
32636         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
32637         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
32638         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
32639         remove weak_alias for corresponding log1p function.
32640         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
32641         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
32642         * sysdeps/ia64/fpu/w_log1p.c: New file.
32643         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
32644         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
32645         * math/libm-test.inc (log1p_test_data): Add errno expectations.
32647 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
32649         [BZ #18247]
32650         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
32651         decimal exponent by 1.
32652         * stdlib/tst-strtod-round-data: Add more tests.
32653         * stdlib/tst-strtod-round.c (tests): Regenerated.
32655 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
32657         * math/auto-libm-test-in: Add more tests of clog and clog10.
32658         * math/auto-libm-test-out: Regenerated.
32659         * sysdeps/i386/fpu/libm-test-ulps: Update.
32660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32662 2015-04-09  Roland McGrath  <roland@hack.frob.com>
32664         * Makeconfig (module-cppflags): Exclude all .v.i files.
32665         (skip-module-cppflags): Variable removed.
32667         * configure.ac (libc_config_ok): Initialize before reading
32668         preconfigure scripts, not after.
32669         * configure: Regenerated.
32671         * test-skeleton.c (TIMEOUT): Move #define to top level.
32672         (main): Grok environment variable TEST_DIRECT.  If set, print
32673         test expectation details into that file and then behave as if
32674         given --direct.
32676 2015-04-09  Florian Weimer  <fweimer@redhat.com>
32678         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
32679         warning on 32-bit.
32681 2015-04-08  David S. Miller  <davem@davemloft.net>
32683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32685 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32687         * math/auto-libm-test-in: Add more tests of atanh.
32688         * math/auto-libm-test-out: Regenerated.
32689         * sysdeps/i386/fpu/libm-test-ulps: Update.
32690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32692         * math/auto-libm-test-in: Add more tests of atan.
32693         * math/auto-libm-test-out: Regenerated.
32694         * sysdeps/i386/fpu/libm-test-ulps: Update.
32695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32697 2015-04-08  Florian Weimer  <fweimer@redhat.com>
32699         * elf/pldd.c (main): Rewrite to use struct
32700         scratch_buffer instead of extend_alloca.
32701         * elf/pldd-xx.c (find_maps): Likewise.
32702         * grp/initgroups.c: Include <scratch_buffer.h> instead of
32703         <alloca.h>.
32704         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
32705         scratch_buffer instead of extend_alloca.
32706         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
32707         grp/compat-initgroups.c.
32708         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
32709         Rewrite to use struct scratch_buffer instead of extend_alloca.
32710         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
32711         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32713 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
32715         * math/auto-libm-test-in: Add more tests of cbrt.
32716         * math/auto-libm-test-out: Regenerated.
32717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32719         * math/auto-libm-test-in: Add more tests of cabs.
32720         * math/auto-libm-test-out: Regenerated.
32721         * sysdeps/i386/fpu/libm-test-ulps: Update.
32722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32724         [BZ #18210]
32725         [BZ #18211]
32726         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
32727         (__ieee754_atan2): Set FE_TONEAREST mode for internal
32728         computations.
32729         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
32730         clog10.
32731         * math/auto-libm-test-out: Regenerated.
32732         * sysdeps/i386/fpu/libm-test-ulps: Update.
32733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32735         [BZ #18197]
32736         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
32737         (atan): Set FE_TONEAREST mode for internal computations.
32738         * math/auto-libm-test-in: Add more tests of atan.
32739         * math/auto-libm-test-out: Regenerated.
32741 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
32743         [BZ #17930]
32744         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
32746 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32748         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
32750 2015-04-07  Florian Weimer  <fweimer@redhat.com>
32752         * include/scratch_buffer.h: New file.
32753         * malloc/scratch_buffer_grow.c: Likewise.
32754         * malloc/scratch_buffer_grow_preserve.c: Likewise.
32755         * malloc/scratch_buffer_set_array_size.c: Likewise.
32756         * malloc/tst-scratch_buffer.c: Likewise.
32757         * malloc/Makefile (routines): Add scratch_buffer_grow.
32758         (tests): Add test case.
32759         * malloc/Versions (GLIBC_PRIVATE): Export
32760         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
32761         __libc_scratch_buffer_set_array_size.
32763 2015-04-06  Richard Henderson  <rth@redhat.com>
32765         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
32766         * sysdeps/alpha/fpu/libm-test-ulps: Update.
32768         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
32769         unsigned int before printing.
32771 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32773         [BZ #17596]
32774         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
32775         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
32777 2015-04-02  Florian Weimer  <fweimer@redhat.com>
32779         * include/libc-internal.h (libc_max_align_t): Define.
32781 2015-04-02  Andreas Schwab  <schwab@suse.de>
32783         [BZ #16850]
32784         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
32786 2015-04-02  Mel Gorman  <mgorman@suse.de>
32788         [BZ #17195]
32789         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
32790         as well as the main arena.
32792 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32794         [BZ #18185]
32795         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
32796         sharing L2 cache to 2 for Silvermont/Knights Landing.
32798 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32800         [BZ #17711]
32801         * config.make.in (have-protected-data): New.
32802         * configure.ac: Check linker support for protected data symbol.
32803         * configure: Regenerated.
32804         * elf/Makefile (modules-names): Add tst-protected1moda and
32805         tst-protected1modb if $(have-protected-data) is yes.
32806         (tests): Add tst-protected1a and tst-protected1b if
32807         $(have-protected-data) is yes.
32808         ($(objpfx)tst-protected1a): New.
32809         ($(objpfx)tst-protected1b): Likewise.
32810         (tst-protected1modb.so-no-z-defs): Likewise.
32811         * elf/tst-protected1a.c: New file.
32812         * elf/tst-protected1b.c: Likewise.
32813         * elf/tst-protected1mod.h: Likewise.
32814         * elf/tst-protected1moda.c: Likewise.
32815         * elf/tst-protected1modb.c: Likewise.
32817 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
32819         [BZ #17711]
32820         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
32821         indicates it is called from do_lookup_x on relocation against
32822         protected data, skip the data definion in the executable from
32823         copy reloc.
32824         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
32825         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
32826         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
32827         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
32828         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
32829         otherwise to 0.
32830         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32831         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
32832         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
32833         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
32834         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
32835         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
32837 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
32839         * sysdeps/nptl/pthread.h: Remove duplicate definition of
32840         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
32842 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
32844         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
32845         THREAD_SETMEM_NC.
32846         * sysdeps/x86_64/nptl/tls.h: Ditto.
32848 2015-03-27  Roland McGrath  <roland@hack.frob.com>
32850         * dlfcn/tststatic.c (main): Converted to ...
32851         (do_test): ... this.
32852         (TEST_FUNCTION): New macro.
32853         Include test-skeleton.c.
32855 2015-03-26  Alan Modra  <amodra@gmail.com>
32857         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
32858         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
32859         zero for undefined weak.
32860         (elf_machine_plt_conflict): Similarly.
32862 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32864         * math/auto-libm-test-in: Add more tests of acosh, asinh and
32865         atanh.
32866         * math/auto-libm-test-out: Regenerated.
32867         * sysdeps/i386/fpu/libm-test-ulps: Update.
32868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32870         * math/auto-libm-test-in: Add another test of asin.
32871         * math/auto-libm-test-out: Regenerated.
32872         * sysdeps/i386/fpu/libm-test-ulps: Update.
32873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32875         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
32876         Remove macro.
32877         (LLL_EBX_REG): Likewise.
32878         (LLL_ENTER_KERNEL): Likewise.
32880         * math/auto-libm-test-in: Add more tests of asin.
32881         * math/auto-libm-test-out: Regenerated.
32882         * sysdeps/i386/fpu/libm-test-ulps: Update.
32883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32885         [BZ #18138]
32886         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
32887         libc_do_syscall_args): New structure.
32888         (INTERNAL_SYSCALL_MAIN_0): New macro.
32889         (INTERNAL_SYSCALL_MAIN_1): Likewise.
32890         (INTERNAL_SYSCALL_MAIN_2): Likewise.
32891         (INTERNAL_SYSCALL_MAIN_3): Likewise.
32892         (INTERNAL_SYSCALL_MAIN_4): Likewise.
32893         (INTERNAL_SYSCALL_MAIN_5): Likewise.
32894         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
32895         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
32896         Replace conditional definitions by conditional definitions of ....
32897         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
32898         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
32899         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
32900         (libpthread-sysdep_routines): Add libc-do-syscall.
32901         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
32902         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
32903         to __NR_futex not 240.
32905 2015-03-25  Alan Modra  <amodra@gmail.com>
32907         * NEWS: Advertise TLS optimization.
32908         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
32909         (DT_PPC_NUM): Increment.
32910         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
32911         (CHECK_STATIC_TLS): Use here.
32912         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
32913         TLS descriptors.
32914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
32915         * sysdeps/powerpc/dl-tls.c: New file.
32916         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
32917         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
32918         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
32919         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
32920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
32921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
32922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
32924 2015-03-25  Alan Modra  <amodra@gmail.com>
32926         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
32927         for overlapping .opd entries" to "support...".
32928         * sysdeps/powerpc/powerpc64/configure: Regenerate
32930 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
32932         * math/auto-libm-test-in: Add more tests of acos.
32933         * math/auto-libm-test-out: Regenerated.
32934         * sysdeps/i386/fpu/libm-test-ulps: Update.
32935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32937         * math/auto-libm-test-in: Add more tests of expm1.
32938         * math/auto-libm-test-out: Regenerated.
32939         * sysdeps/i386/fpu/libm-test-ulps: Update.
32940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32942 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
32944         * math/auto-libm-test-in: Add more tests of cosh and sinh.
32945         * math/auto-libm-test-out: Regenerated.
32946         * sysdeps/i386/fpu/libm-test-ulps: Update.
32947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32949         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
32950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32952         * math/auto-libm-test-in: Add more tests of log2.
32953         * math/auto-libm-test-out: Regenerated.
32954         * sysdeps/i386/fpu/libm-test-ulps: Update.
32955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32957 2015-03-23  Roland McGrath  <roland@hack.frob.com>
32959         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
32960         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
32961         _IO_IS_APPENDING bit in READ_WRITE instead.
32963 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32965         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
32966         (__determine_cpumask_size): Replace extend_alloca with a
32967         variable-length array.  Do not treat res == 0 as an error.
32969 2015-03-23  Florian Weimer  <fweimer@redhat.com>
32971         [BZ #18100]
32972         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
32973         and integer overflow.
32974         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
32975         (main): Add integer overflow tests.
32976         * manual/pattern.texi (Calling Wordexp): Document additional use
32977         for WRDE_SYNTAX.
32979 2015-03-23  Alan Modra  <amodra@gmail.com>
32981         * config.h.in: Remove HAVE_ASM_PPC_REL16.
32982         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
32983         and false branch of conditional.
32984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32985         Likewise.
32987 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
32989         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
32990         libc-modules.h
32991         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
32992         unused declaration of _hurd_intr_rpc_msg_in_trap.
32993         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
32994         defined instead of whether it is non-zero.
32995         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
32996         input constraint instead of both input and output constraint.  Use ecx
32997         clobber instead of %ecx.
32998         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
32999         mutex_unlock): Use a statement expression instead of an expression list.
33000         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
33001         type to vm_size_t instead of vm_address_t.
33002         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
33003         defined instead of whether it is non-zero.
33004         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
33005         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
33006         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
33007         comparisons with mapaddr.
33008         * nscd/nscd-client.h: Include <time.h>.
33009         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
33010         9th parameter to __vm_region instead of int.
33011         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
33012         * scripts/check-local-headers.sh (exclude): Add device/,
33013         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
33014         cthreads.h.
33016 2015-03-19  Roland McGrath  <roland@hack.frob.com>
33018         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
33019         to account for alignment padding.
33020         * sysdeps/arm/memmove.S: Likewise.
33022 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
33024         * sysdeps/unix/sysv/linux/generic/README: New file.
33026 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
33028         [BZ #18138]
33029         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
33030         (futex_abstimed_wait)
33031         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
33032         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
33033         of lll_futex_timed_wait.
33035 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
33037         [BZ #17542]
33038         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
33040 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
33042         [BZ #17090]
33043         [BZ #17620]
33044         [BZ #17621]
33045         [BZ #17628]
33046         * NEWS: Update.
33047         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
33048         entries with Static TLS too.  Skip entries past the end of the
33049         allocated DTV, from Alan Modra.
33050         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
33051         Static TLS DTV entry set up from...
33052         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
33053         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
33054         * nptl/allocatestack.c (init_one_static_tls): ... and here...
33055         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
33056         for Static TLS.
33057         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
33058         that the slot we find is associated with the given map before
33059         using its generation count.
33060         * nptl_db/db_info.c: Include ldsodefs.h.
33061         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
33062         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
33063         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
33064         (link_map::l_tls_offset): New struct field.
33065         (dtv_t::counter): Likewise.
33066         (rtld_global): New struct.
33067         (_rtld_global): New rtld variable.
33068         (dl_tls_dtv_slotinfo_list): New rtld global field.
33069         (dtv_slotinfo_list): New struct.
33070         (dtv_slotinfo): Likewise.
33071         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
33072         (td_lookup): Rename to...
33073         (td_mod_lookup): ... this.  Use new mod parameter instead of
33074         LIBPTHREAD_SO.
33075         * nptl_db/td_thr_tlsbase.c: Include link.h.
33076         (dtv_slotinfo_list, dtv_slotinfo): New functions.
33077         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
33078         addresses even if the DTV is out of date or missing them.
33079         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
33080         index zero-length arrays.
33081         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
33082         (td_lookup): Make it a macro implemented in terms of...
33083         (td_mod_lookup): ... this declaration.
33084         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
33085         (DB_MAIN_VARIABLE): Likewise.
33087 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
33089         [BZ #18134]
33090         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33092 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
33094         * stdlib/setenv.c (__add_to_environ): Revert previous change.
33096 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
33098         [BZ #18128]
33099         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
33100         (atomic_add, atomic_increment_and_test)
33101         (atomic_decrement_and_test): Fix 64-bit arithmetic.
33103 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
33105         * stdlib/setenv.c (__add_to_environ):
33106         Dump core quickly if setenv (..., NULL, ...) is called.
33108 2015-03-13  Roland McGrath  <roland@hack.frob.com>
33110         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
33111         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
33112         all the necessary asm magic in one place.
33113         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
33114         using those.
33116 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
33118         [BZ #14906]
33119         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
33120         traced file mtime. Use consistent log message.
33121         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
33122         (register_traced_file): Call install_watches. Always set mtime.
33123         (invalidate_cache): Iterate over all trace files. Call install_watches.
33124         (inotify_check_files): Don't inline. Handle watching parent
33125         directories and configuration file movement in and out.
33126         (handle_inotify_events): New function.
33127         (main_loop_poll): Call handle_inotify_events.
33128         (main_loop_epoll): Likewise.
33129         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
33130         (struct traced_file): Use array of inotify fds. Add parent directory,
33131         and basename.
33132         (struct database_dyn): Remove unused file_mtime.
33133         (init_traced_file): New inline function.
33134         (define_traced_file): New macro.
33135         * nss/nss_db/db-init.c: Use define_traced_file.
33136         (_nss_db_init): Use init_traced_file.
33137         * nss/nss_files/files-init.c: Use define_traced_file.
33138         (_nss_files_init): Use init_traced_file.
33140 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
33142         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
33143         [_LIBC]: Do not include <stdlib.h>.
33144         [!_LIBC] (abort): Remove declaration.
33145         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
33146         _FP_STATIC_ASSERT instead of conditionally calling abort.
33147         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
33148         (_FP_EXTEND_CNAN): Likewise.
33149         (FP_TRUNC): Likewise.
33150         (__FP_CLZ): Likewise.
33151         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
33153 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
33155         * manual/string.texi (XPG basename): Fix prototype.
33157 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33159         [BZ #18080]
33160         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
33161         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33162         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
33163         (__setcontext): Likewise.
33164         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
33165         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
33166         Call rt_sigprocmask syscall one time to set new signal mask
33167         and retrieve the current signal mask instead of two calls.
33168         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
33169         (__swapcontext): Likewise.
33170         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
33171         * stdlib/tst-setcontext2.c: New file.
33173 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33175         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33177 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
33179         [BZ #18093]
33180         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
33181         the wrong size.
33183 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33185         [BZ #18043]
33186         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
33188 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33190         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
33191         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
33192         Remove define.
33193         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
33194         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
33195         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
33196         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
33197         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
33198         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
33199         define.
33200         * nptl_db/td_symbol_list.c (td_lookup): Remove
33201         HAVE_ASM_GLOBAL_DOT_NAME code.
33202         * sysdeps/powerpc/powerpc64/configure.ac: Remove
33203         HAVE_ASM_GLOBAL_DOT_NAME check.
33204         * sysdeps/powerpc/powerpc64/configure: Regenerate.
33205         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
33206         (DOT_LABEL): Remove define.
33207         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
33208         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
33209         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
33210         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
33211         (__TLS_GET_ADDR): Likewise.
33212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
33213         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
33215 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
33217         [BZ #18111]
33218         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
33219         (_FPU_SETCW): Initialize cw from fpsr before storing.
33220         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
33221         (fesetexceptflag): Rewrite using fpu_control.h.
33222         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
33224 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
33226         [BZ #18110]
33227         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
33228         asms.
33229         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
33231 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
33233         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
33234         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
33235         abort.
33236         (_FP_FMA): Likewise.
33237         (_FP_DIV): Likewise.
33239 2015-03-10  Roland McGrath  <roland@hack.frob.com>
33241         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
33242         with 0 in that case.
33243         * Makefile (summarize-tests): New canned sequence, factored out of
33244         commands for targets tests and xtests.  Display summary lines that
33245         don't start with PASS: or XFAIL: rather than ones that do start with
33246         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
33247         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
33248         do start with ERROR: or FAIL:.
33249         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
33250         (except for [$(build-shared) = yes]).
33251         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
33252         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
33253         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
33254         * nptl/Makefile: Revert 2015-03-04 changes.
33255         [$(CXX) empty] (tests-unsupported): New variable.
33256         * debug/Makefile: Likewise.
33258         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
33259         gnulib file.  Replace __attribute with __attribute__ throughout.
33261 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
33263         * sysdeps/hppa/fpu/libm-test-ulps: Update.
33265 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33267         [BZ #18104]
33268         * math/auto-libm-test-in: Add another test of pow.
33269         * math/auto-libm-test-out: Regenerated.
33271 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33273         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
33274         $(config-cflags-nofma).
33276 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
33278         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
33279         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
33280         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
33281         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
33282         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
33283         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
33284         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
33285         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
33286         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
33287         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
33288         Add comment on closing #endif.
33290 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33292         * posix/wordexp.c (CHAR_IN_SET): New macro.
33293         (parse_param): Use it.
33295 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33297         * sysdeps/powerpc/fpu/libm-test-ulps: update.
33299 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33301         [BZ #18043]
33302         * posix/wordexp.c (parse_param): Fix buffer overflow.
33303         * posix/wordexp-test.c (test_case): Add test case.
33305 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33307         [BZ #18042]
33308         * posix/wordexp.c (parse_backtick): Fix off-by-one.
33309         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
33311 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
33313         [BZ #18043]
33314         * posix/wordexp-test.c (test_case): Add test for BZ #18043
33315         (do_bz18043): Delete.
33316         (at_page_end): New.
33317         (testit): Refactor to have words at the edge of unreadable page.
33319 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33321         [BZ #16734]
33322         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
33323         Cleanup read-only streams as well.
33324         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
33326 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33328         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
33329         <bits/libc-lockP.h>
33331 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
33333         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
33334         on [__KERNEL__].
33335         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
33336         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
33337         * soft-fp/op-common.h (_FP_DECL): Likewise.
33339 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
33341         * elf/ifuncdep2.c (global): Replace
33342         __attribute__((visibility("protected"))) with
33343         asm (".protected global").
33344         * elf/ifuncmod1.c (global): Likewise.
33345         * elf/ifuncmod5.c (global): Likewise.
33347 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
33349         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
33350         <asm/sfp-machine.h> instead of <sfp-machine.h>.
33352 2015-03-06  Roland McGrath  <roland@hack.frob.com>
33354         * manual/install.texi (Configuring and compiling):
33355         Document test-wrapper-env-only.
33356         * INSTALL: Regenerated.
33358 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33360         [BZ #18043]
33361         * posix/wordexp.c (parse_param): Fix buffer overflow.
33362         * posix/wordexp-test.c (do_bz18043): Add test case.
33364 2015-03-06  Vincent Bernat  <vincent@bernat.im>
33366         * time/tst-strptime2.c (do_test): Ensure failing tests are
33367         reported correctly.
33368         * time/tst-strptime3.c (do_test): Likewise.
33370 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
33372         Fix aio_error thread-safety.
33373         * sysdeps/pthread/aio_error.c: New file
33374         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
33375         synchronization.
33377 2015-03-06  Florian Weimer  <fweimer@redhat.com>
33379         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
33380         (group_number, vfprintf): Use it.
33381         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
33382         (JUMP, REF): Use it.
33383         (WORK_BUFFER_SIZE): New enum constant.
33384         (process_arg, vfprintf): Use it.
33386 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
33388         * manual/errno.texi (Error Messages): Complete example function
33389         by adding missing #define.
33390         (program_invocation_name): Add statement indicating GNU
33391         extension and reference which header file declares the variable.
33392         (program_invocation_short_name): Likewise.
33394 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
33396         * manual/errno.texi (Error Messages): Delete strerror ISO C89
33397         compatibility note.
33399 2015-03-05  Roland McGrath  <roland@hack.frob.com>
33401         * Makeconfig (test-wrapper-env-only): New variable.
33402         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
33403         then use that with $(test-wrapper-env-only) rather than using
33404         $(test-wrapper-env) $(run-program-env) $($*-ENV).
33406 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
33408         [BZ #18082]
33409         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
33410         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
33411         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
33412         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
33413         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
33414         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
33415         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
33416         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
33417         Likewise.
33418         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
33419         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
33420         Likewise.
33421         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
33422         Likewise.
33423         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
33424         Likewise.
33425         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
33426         Likewise.
33427         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
33428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
33429         Likewise.
33430         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
33431         Likewise.
33432         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
33433         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
33435 2015-03-04  Roland McGrath  <roland@hack.frob.com>
33437         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
33438         (ETH_ALEN): New macro.
33439         (struct ether_addr): Use it for length of ether_addr_octet.
33441         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
33442         (setdb): Don't call __nss_configure_lookup for "rpc".
33443         (do_test): Don't call test_rpc.
33444         (output_rpcent, test_rpc): Functions moved ...
33445         * sunrpc/test-rpcent.c: ... to this new file.
33446         * sunrpc/Makefile (tests): Add it.
33448         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
33449         __xpg_sigpause.
33450         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
33451         * nptl/tst-signal6.c: Likewise.
33452         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
33453         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
33455         * configure.ac (libc_cv_cxx_link_ok): New check.
33456         Reset CXX to empty if it fails to link.
33457         * configure: Regenerated.
33458         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
33459         bug-atexit3-lib only if $(CXX) is nonempty.
33460         * nptl/Makefile (tests): Likewise for tst-cancel24.
33461         (tests, tests-static): Likewise for tst-cancel24-static.
33462         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
33463         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
33464         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
33465         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
33467 2015-03-04  Andreas Schwab  <schwab@suse.de>
33469         [BZ #17631]
33470         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
33471         for non-GCC compilers.
33472         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
33473         Likewise.
33475 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
33477         [BZ #17776]
33478         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
33479         integer before bitwise and assembly operations.
33480         (feclearexcept): Likewise.
33481         * math/test-fenvinline.c: New file.
33482         * math/Makefile: Add test-fenvinline test.
33484 2015-03-03  Alan Modra  <amodra@gmail.com>
33486         [BZ #16512]
33487         * scripts/localplt.awk: Strip off symbol version.
33488         * NEWS: Mention bug fix.
33490 2015-03-02  Roland McGrath  <roland@hack.frob.com>
33492         * sysdeps/pthread/timer_routines.c
33493         (timer_free_list, thread_free_list, thread_active_list): Make static.
33495 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
33497         [BZ #17779]
33498         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33499         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33500         Undefine.
33501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33502         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33503         Likewise.
33504         * sysdeps/unix/sysv/linux/sh/kernel-features.h
33505         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
33506         Likewise.
33508 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33510         [BZ #18036]
33511         * posix/fnmatch_loop.c (END): Detect invalid pattern.
33512         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
33514 2015-03-02  Andreas Schwab  <schwab@suse.de>
33516         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
33517         variable name.
33519 2015-03-02  Florian Weimer  <fweimer@redhat.com>
33521         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
33522         Return error status.
33524 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
33526         [BZ #15969]
33527         * locale/findlocale.c (_nl_find_locale): Introduce const
33528         version of loc_name and drop unsafe type casts.
33530 2015-02-27  Roland McGrath  <roland@hack.frob.com>
33532         * dlfcn/tststatic2.c (main): Converted to ...
33533         (do_test): ... this.
33534         (TEST_FUNCTION): New macro.
33535         Include test-skeleton.c.
33537 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
33539         [BZ #17711]
33540         * elf/Makefile (tests): Add vismain only if PIE is enabled.
33541         (tests-pie): Add vismain.
33542         (CFLAGS-vismain.c): New.
33543         * elf/vismain.c: Add comments for PIE requirement.
33545 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33547         [BZ #18046]
33548         [BZ #18047]
33549         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
33550         0x1p-56L as threshold for just returning the argument.
33551         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
33552         0x1p-32L as threshold for just returning the argument.
33553         * math/auto-libm-test-in: Add more tests of atanh.
33554         * math/auto-libm-test-out: Regenerated.
33555         * sysdeps/i386/fpu/libm-test-ulps: Update.
33556         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
33558 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33560         * string/bcopy.c (bcopy): Call memmove for performance.
33562 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
33564         * string/bzero.c (__bzero): Call memset for performance.
33566 2015-02-27  John David Anglin  <dave.anglin@bell.net>
33568         [BZ #18068]
33569         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
33570         to 00100000.
33572 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
33574         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
33576 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33578         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
33579         (__kernel_standard): Use CSTR macro when setting exc.name.
33580         * sysdeps/ieee754/Makefile [$(subdir) = math]
33581         (CFLAGS-k_standard.c): Remove variable.
33583         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
33584         setting p and q from "else if" to "else".
33585         (qzero): Likewise.
33586         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
33587         (qone): Likewise.
33588         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
33589         (qzerof): Likewise.
33590         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
33591         (qonef): Likewise.
33592         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
33593         (qzero): Likewise.
33594         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
33595         (qone): Likewise.
33597         [BZ #18038]
33598         [BZ #18039]
33599         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
33600         return pi/2 for arguments below 0x1p-113L.
33601         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
33602         return pi/2 for arguments below 0x1p-106L.
33603         * math/auto-libm-test-in: Add more tests of acos.
33604         * math/auto-libm-test-out: Regenerated.
33606         [BZ #16351]
33607         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
33608         (MO): New macro.
33609         (__ieee754_asin): Force underflow exception for results with small
33610         absolute value.
33611         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
33612         (MO): New macro.
33613         (__ieee754_asinf): Force underflow exception for results with
33614         small absolute value.
33615         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
33616         (__ieee754_asin): Force underflow exception for results with small
33617         absolute value.
33618         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
33619         (__ieee754_asinf): Force underflow exception for results with
33620         small absolute value.
33621         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
33622         (__ieee754_asinl): Force underflow exception for results with
33623         small absolute value.
33624         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
33625         (__ieee754_asinl): Force underflow exception for results with
33626         small absolute value.
33627         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
33628         (__ieee754_asinl): Force underflow exception for results with
33629         small absolute value.
33630         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
33631         Include <math.h>.
33632         * math/auto-libm-test-in: Do not mark underflow exceptions as
33633         possibly missing for bug 16351.
33634         * math/auto-libm-test-out: Regenerated.
33636         [BZ #18030]
33637         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
33638         of power of 2 down when low part has opposite sign.
33639         * math/libm-test.inc (logb_test_data): Add more tests.
33641 2015-02-26  Andreas Schwab  <schwab@suse.de>
33643         [BZ #18032]
33644         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
33645         over collating symbol inside a bracket expression.  Minor cleanup.
33646         * posix/tst-fnmatch3.c (do_test): Add test case.
33648 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
33650         [BZ #18029]
33651         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
33652         Adjust exponent of power of 2 down when low part has opposite
33653         sign.
33654         * math/libm-test.inc (ilogb_test_data): Add more tests.
33656 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
33658         [BZ #15969]
33659         * locale/findlocale.c (_nl_find_locale): Fix constness error in
33660         the previous change.
33662         [BZ #15969]
33663         * locale/findlocale.c (_nl_find_locale): Retry archive search
33664         after alias expansion.
33666 2015-02-25  Roland McGrath  <roland@hack.frob.com>
33668         * iconv/tst-iconv3.c (main): Converted to ...
33669         (do_test): ... this.
33670         (TEST_FUNCTION): New macro.
33671         Include test-skeleton.c.
33673         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
33674         (convert): Make function static.
33675         (test_unalign): Likewise.  Add const to argument pointee types.
33676         (main): Replace with static function do_test.
33677         Print "Succeeded." only if RET is zero.
33678         (TEST_FUNCTION): New macro.
33679         Include test-skeleton.c.
33681         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
33682         returns a null pointer.
33684 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33686         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
33687         to __memcpy_ppc only for static builds.
33689 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
33691         [BZ #18020]
33692         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
33693         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
33694         * math/auto-libm-test-in: Add more tests of asinh.
33695         * math/auto-libm-test-out: Regenerated.
33696         * sysdeps/i386/fpu/libm-test-ulps: Update.
33697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33699 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
33701         [BZ #15850]
33702         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
33703         and ip6_mtuinfo definitions here.
33704         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
33705         in this define too.  Update comment.
33707 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
33709         * elf/sprof.c (load_shobj): Tweak error message to match others.
33711 2015-02-24  Kevin Easton  <kevin@guarana.org>
33713         [BZ #16145] (partial fix)
33714         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
33715         to reduce lock contention.
33717 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
33719         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
33720         (struct timex): Update time comment.
33721         (ADJ_SETOFFSET): Define.
33723 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33725         [BZ #18019]
33726         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33727         2**56 not 2**28 as threshold for log (2x) formula.
33728         * math/auto-libm-test-in: Add more tests of acosh.
33729         * math/auto-libm-test-out: Regenerated.
33730         * sysdeps/i386/fpu/libm-test-ulps: Update.
33731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33733 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33735         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
33736         parenthesis around the buf assignment.
33737         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
33739 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
33741         [BZ #16783]
33742         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
33743         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
33744         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
33745         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33746         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
33747         * math/libm-test.inc (scalb_test_data): Add more tests.
33749 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33751         [BZ #17916]
33752         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
33753         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
33755 2015-02-24  Eric Rannaud  <e@nanocritical.com>
33757         [BZ #17523]
33758         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
33759         * io/bits/fcntl2.h (open): Use it.
33760         (openat): Likewise.
33761         * io/open.c (__libc_open): Likewise.
33762         * io/open64.c (__libc_open64): Likewise.
33763         * io/open64_2.c (__open64_2): Likewise.
33764         * io/open_2.c (__open_2): Likewise.
33765         * io/openat.c (__openat): Likewise.
33766         * io/openat64.c (__openat64): Likewise.
33767         * io/openat64_2.c (__openat64_2): Likewise.
33768         * io/openat_2.c (__openat_2): Likewise.
33769         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
33770         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
33771         * sysdeps/posix/open64.c (__libc_open64): Likewise.
33772         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
33773         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33774         (__open_nocancel): Likewise.
33775         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33776         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33777         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
33779 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33781         [BZ #14841]
33782         * resolv/gethnamaddr.c (getanswer): Skip logging if
33783         RES_USE_DNSSEC is set.
33784         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
33786 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
33788         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
33790 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
33792         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
33793         201304L, for Unicode 7.
33795 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
33797         [BZ #17836]
33798         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
33799         shared library.  Add gmon-start.os otherwise.
33800         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
33801         $(objpfx)gmon-start.os if builing shared library.
33802         ($(objpfx)g$(static-start-installed-name)): Likewise.
33804 2015-02-23  Andreas Schwab  <schwab@suse.de>
33806         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
33808 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33810         [BZ #17269]
33811         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
33812         (enlarge_userbuf): Likewise.
33814 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
33816         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
33817         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33818         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
33819         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
33821 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
33823         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
33824         expression inside statement expression.
33826 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33828         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
33829         <sysdeps/nptl/lowlevellock.h> and remove macros and
33830         functions that are now defined there.
33831         (SYS_futex): Remove.
33832         (lll_compare_and_swap): Remove.
33833         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
33835 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
33837         [BZ #17999]
33838         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
33839         instead of scandirat.
33840         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
33841         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
33842         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
33843         __scandirat.
33844         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
33845         (__scandirat): Declare.  Use libc_hidden_proto.
33846         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
33847         Remove variable.
33848         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
33850 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33852         [BZ #15319]
33853         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
33854         (MO): New macro.
33855         (__ieee754_atan2): For results with small absolute value, force
33856         underflow exception and remove excess range and precision from
33857         return value.
33858         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
33859         (MO): New macro.
33860         (__ieee754_atan2f): For results with small absolute value, force
33861         underflow exception and remove excess range and precision from
33862         return value.
33863         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
33864         (MO): New macro.
33865         (__atan): For results with small absolute value, force underflow
33866         exception and remove excess range and precision from return value.
33867         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
33868         (MO): New macro.
33869         (__atanf): For results with small absolute value, force underflow
33870         exception and remove excess range and precision from return value.
33871         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
33872         <math.h>.
33873         (__ieee754_atan2): Force underflow exception for results with
33874         small absolute value.
33875         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
33876         <math_private.h>.
33877         (atan): Force underflow exception for results with small absolute
33878         value.
33879         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
33880         (__atanf): Force underflow exception for results with small
33881         absolute value.
33882         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
33883         <math.h>.
33884         (__atanl): Force underflow exception for results with small
33885         absolute value.
33886         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
33887         (__atanl): Force underflow exception for results with small
33888         absolute value.
33889         * sysdeps/x86/fpu/bits/mathinline.h
33890         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
33891         (__ieee754_atan2): Only define inline for long double.
33892         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
33893         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
33894         * math/auto-libm-test-in: Do not mark underflow exceptions as
33895         possibly missing for bug 15319.  Add more tests of atan2.
33896         * math/auto-libm-test-out: Regenerated.
33897         * math/libm-test.inc (casin_test_data): Do not mark underflow
33898         exceptions as possibly missing for bug 15319.
33899         (casinh_test_data): Likewise.
33900         * sysdeps/i386/fpu/libm-test-ulps: Update.
33902 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
33904         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
33905         * sysdeps/mips/bits/endian.h: Fix comments.
33907 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
33909         [BZ #17996]
33910         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
33911         (hdestroy_r): Likewise.
33912         (hsearch_r): Likewise.
33913         (__hcreate_r): Declare and use libc_hidden_proto.
33914         (__hdestroy_r): Likewise.
33915         (__hsearch_r): Likewise.
33916         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
33917         (hcreate): Call __hcreate_r instead of hcreate_r.
33918         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
33919         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
33920         as weak alias of __hcreate_r.
33921         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
33922         __hdestroy_r.
33923         (hsearch_r): Rename to __hsearch_r and define as weak alias of
33924         __hsearch_r.
33925         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
33926         Remove variable.
33927         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33928         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33929         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33930         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
33932 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33934         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
33935         arena_lock into a single arena_get.
33937 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
33939         * dl-reloc.c: Inlucde libc-internal.h.
33940         (_dl_try_allocate_static_tls): Call ALIGN_UP.
33941         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
33942         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
33943         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
33944         (grow_heap): Likewise.
33945         * malloc/malloc.c: Include libc-internal.h.
33946         (do_check_malloc): Call powerof2.
33947         (sysmalloc): Use pagesize. Call ALIGN_UP.
33948         (systrim): Use pagesize.
33949         (mremap_chunk): Use pagesize. Call ALIGN_UP.
33950         (__libc_valloc): Use pagesize.
33951         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
33953 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33955         [BZ #17991]
33956         * include/sys/resource.h (__getrlimit64): Declare.  Use
33957         libc_hidden_proto.
33958         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
33959         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
33960         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
33961         getrlimit64.
33962         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
33963         __getrlimit64.
33964         [!getrlimit64] (getrlimit64): Define as weak alias of
33965         __getrlimit64.  Use libc_hidden_weak.
33966         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
33967         using __getrlimit64 not __new_getrlimit64.
33968         (__GI_getrlimit64): Likewise.
33969         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
33970         Likewise.
33971         (__GI_getrlimit64): Likewise.
33972         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
33973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
33974         (getrlimit): Add __getrlimit64 alias.
33975         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
33976         Likewise.
33977         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
33978         Remove variable.
33979         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
33980         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
33982 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
33984         * libio/fileops.c: Add missing sys/mman.h
33985         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
33987 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
33989         * manual/math.texi (Errors in Math Functions): Clarify goals
33990         regarding inexact and underflow exceptions.
33992 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33994         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
33995         * sysdeps/mips/memset.S: Ditto.
33997 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
33999         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
34001 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
34003         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
34004         (__v1longjmp): Remove versioned symbol.
34005         (__v1siglongjmp): Remove alias and versioned symbol.
34006         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
34007         (__v2siglongjmp): Likewise.
34009 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34011         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
34013 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
34015         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
34017 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34019         [BZ #17987]
34020         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
34021         zero result does not depend on the sign resulting from
34022         subtraction.
34023         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34024         Likewise.
34025         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34026         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34027         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34028         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34029         * math/libm-test.inc (remquo_test_data): Add more tests.
34031 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
34033         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
34034         Problem reported by J William Piggott.
34036 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
34038         [BZ #17978]
34039         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
34040         products 4 * y and 2 * y where those would overflow.
34041         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34042         Likewise.
34043         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34044         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
34045         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
34046         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
34047         * math/libm-test.inc (remquo_test_data): Add more tests.
34049         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
34051         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
34052         [defined _COMPILING_NEWLIB].
34053         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
34054         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
34056         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
34057         [!defined __mips_isa_rev || __mips_isa_rev < 6].
34059 2015-02-16  Torvald Riegel  <triegel@redhat.com>
34061         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
34062         acquired.
34064 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
34066         [BZ #17792]
34067         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
34068         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
34069         HOST_STACK_END_ADDR): Likewise.
34071 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
34073         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
34074         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
34075         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
34077 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34079         * sysdeps/generic/c++-types.data: New file.
34080         * sysdeps/generic/ld.abilist: New file.
34081         * sysdeps/generic/libBrokenLocale.abilist: New file.
34082         * sysdeps/generic/libanl.abilist: New file.
34083         * sysdeps/generic/libc.abilist: New file.
34084         * sysdeps/generic/libcrypt.abilist: New file.
34085         * sysdeps/generic/libdl.abilist: New file.
34086         * sysdeps/generic/libm.abilist: New file.
34087         * sysdeps/generic/libpthread.abilist: New file.
34088         * sysdeps/generic/libresolv.abilist: New file.
34089         * sysdeps/generic/librt.abilist: New file.
34091 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34093         [BZ #17569]
34094         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
34095         Compute absolute value of x as modified by fmod, not original
34096         value of x.
34097         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
34098         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
34099         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
34100         RUN_TEST_ffI_f1_mod8.
34101         (remquo_test_data): Add more tests.
34103 2015-02-13  Roland McGrath  <roland@hack.frob.com>
34105         * sysdeps/init_array/pt-crti.S: New file.
34107 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
34109         [BZ #17967]
34110         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
34111         __builtin_fmaf instead of relying on contraction of a * b + c.
34113 2015-02-12  J William Piggott  <elseifthen@gmx.com>
34115         [BZ #17969]
34116         * manual/time.texi: correct the zoneinfo path in the TZ Variable
34117         node.
34119 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34121         [BZ #17964]
34122         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
34123         __builtin_fma instead of relying on contraction of a * b + c.
34125 2015-02-12  Roland McGrath  <roland@hack.frob.com>
34127         * Makeconfig (ASFLAGS): Add -Werror=undef.
34128         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
34129         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
34130         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
34132         * Makeconfig (after-link): New variable.
34133         (+link-pie, +link-pie-tests): Use it.
34134         (+link-static, +link-static-tests): Likewise.
34135         (+link, +link-tests): Likewise.
34136         * Makerules (build-module, build-module-asneeded): Likewise.
34137         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
34138         Likewise.
34139         * elf/Makefile ($(objpfx)ld.so): Likewise.
34141 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
34143         [BZ #17965]
34144         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
34145         both struct timeval and struct timespec.
34147 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
34149         [BZ #16560]
34150         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
34151         and redefine.
34152         (__ieee754_exp2l): Do not multiply small fractional parts by
34153         M_LN2l.
34154         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
34155         small argument.
34156         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34157         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34158         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
34159         * math/auto-libm-test-in: Add more tests of exp2.
34160         * math/auto-libm-test-out: Regenerated.
34162 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34164         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
34165         unaligned path.
34167 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34169         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
34170         little endian.
34172 2015-02-12  Andreas Schwab  <schwab@suse.de>
34174         [BZ #15790]
34175         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
34176         Filter out elision flags from value returned in kind.
34177         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
34178         * nptl/tst-pthread-mutexattr.c: New file.
34180 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34182         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
34183         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
34184         into gnu-gnu, and update comment to refer to abi-tags.
34186 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
34188         [BZ #15467]
34189         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
34190         (__sincos): Set errno to EDOM for infinite argument.
34191         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
34192         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
34193         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
34194         (__sincosl): Set errno to EDOM for infinite argument.
34195         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
34196         (__sincosl): Set errno to EDOM for infinite argument.
34197         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
34198         (__sincosl): Set errno to EDOM for infinite argument.
34199         * math/libm-test.inc (sincos_test_data): Test errno setting.
34201 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
34203         * string/strxfrm_l.c: Remove #define STRCMP.
34204         * string/strcoll_l.c: Remove #define STRLEN.
34205         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
34206         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
34208 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
34210         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
34211         * sysdeps/mips/mips32/sfp-machine.h: ... here.
34212         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
34213         * sysdeps/mips/mips64/Makefile: ... here.
34214         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
34215         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
34216         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
34217         * sysdeps/mips/mips64/sfp-machine.h: ... here.
34218         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34219         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
34220         * sysdeps/mips/mips64/n64/Implies: Likewise.
34222 2015-02-10  Roland McGrath  <roland@hack.frob.com>
34224         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
34225         <sys/time.h>, <string.h>, and <errno.h>.
34226         (dest_offset, dest_address, value, zero): Remove unused variables.
34227         (ldouble): Remove typedef.
34228         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
34229         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
34230         1).  Fix code style.
34231         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
34232         (check): Function removed.
34233         (CHECK): New macro.
34234         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
34235         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
34236         Don't call set_sigaction_FP and remove_sigaction_FP here.
34237         (ldouble_test): Just use 'long double' as macro argument, no need for
34238         the 'ldouble' typedef.
34239         (do_test): Set up SIGFPE handler at start, using plain signal rather
34240         than sigaction.  Fix code style.
34242 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
34244         [BZ #17949]
34245         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
34246         jump label.
34248 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34250         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
34251         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34253         * sysdeps/powerpc/configure.ac: Remove file.
34254         * sysdeps/powerpc/configure: Likewise.
34256         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34257         [sysdep_routines]: Remove wordcopy-power6 object.
34258         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34259         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
34260         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
34261         (__memmove_ppc32): Likewise.
34262         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
34263         file.
34264         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
34265         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
34266         Remove preprocessor.
34268         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
34269         [sysdep_routines]: Remove wide chars objects.
34270         [wcsmbs]: New rule for wide char objects.
34272         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34273         Remove wordcopy-power6 obejct.
34274         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
34275         Use local call for wordcopy and memcpy symbols.
34276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
34277         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
34278         implementation for loader.
34279         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
34281         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34282         Remove wordcopy-power7 object.
34283         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
34284         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
34285         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
34286         (_wordcopy_fwd_dest_aligned): Likewise.
34287         (_wordcopy_bwd_aligned): Likewise.
34288         (_wordcopy_bwd_dest_aligned): Likewise.
34290         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
34291         Rewrite to call __memmove_ppc instead of include default
34292         implementation.
34294         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
34295         Remove wide chars objects.
34296         [wcsmbs]: New rule for wide char objects.
34298 2015-02-09  Andreas Schwab  <schwab@suse.de>
34300         [BZ #17912]
34301         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34302         in terms of __O_DIRECTORY.
34304 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34306         * time/getdate.c: Include <stdbool.h>.
34307         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
34308         call PTR_MANGLE.
34309         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
34310         PTR_DEMANGLE.
34312 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
34314         Add ersatz _Static_assert on older C hosts
34315         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
34316         pre-C11 C platform that is not known to support _Static_assert.
34318 2015-02-07  Richard Braun  <rbraun@sceen.net>
34320         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
34321         sigstate.
34322         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
34324 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34326         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
34327         priority against unexistent AIO_PRIO_DELTA_MAX.
34328         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
34329         instead of int.
34330         * misc/fchflags.c (fchflags): Likewise.
34331         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
34332         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
34333         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
34334         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
34335         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
34336         Declare macros.
34337         [__USE_MISC] (chflags, fchflags): Declare functions.
34338         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
34339         EINVAL when nfds is greater than FD_SETSIZE.
34340         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
34341         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
34342         45.
34343         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
34344         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
34345         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
34346         MACH_RCV_TIMED_OUT.
34347         * hurd/hurd/signal.h (_hurd_self_sigstate,
34348         _hurd_critical_section_lock, _hurd_critical_section_unlock):
34349         Explicit casts from void *.
34350         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
34351         * abi-tags: Rename gnu-gnu os into gnu.
34353         [BZ #4719]
34354         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
34355         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
34356         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
34357         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
34358         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
34359         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
34361         [BZ #17944]
34362         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
34363         duplicates ADDR->sun_path with sockaddr LEN limitation.
34364         * sysdeps/mach/hurd/connect.c: Include <string.h>
34365         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
34366         * sysdeps/mach/hurd/sendmsg.c: Likewise.
34367         * sysdeps/mach/hurd/sendto.c: Likewise.
34368         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
34369         implementing it by hand.
34371 2015-02-06  Roland McGrath  <roland@hack.frob.com>
34373         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
34374         Use sfi_breg on ldr.
34375         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
34376         Likewise.
34378         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
34379         it's defined.
34380         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
34381         Test SIGSETXID only if it's defined.
34383         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
34385         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
34386         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
34388         * nptl/tst-align2.c: Moved ...
34389         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
34390         * nptl/Makefile (tests): Remove tst-align2.
34391         * sysdeps/unix/sysv/linux/Makefile
34392         [$(subdir) = nptl] (tests): Add tst-align-clone.
34393         * nptl/tst-getpid1.c: Moved ...
34394         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
34395         * nptl/tst-getpid2.c: Moved ...
34396         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
34397         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
34398         * sysdeps/unix/sysv/linux/Makefile
34399         [$(subdir) = nptl] (tests): ... here.
34400         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
34401         * sysdeps/unix/sysv/linux/Makefile
34402         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34404         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
34405         Drop trailing \n from perror argument.  Use return rather than exit.
34407         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
34408         on [SA_SIGINFO].
34409         * nptl/tst-cancel21.c (do_test): Likewise.
34410         * debug/tst-backtrace6.c: Include <signal.h> first thing.
34411         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
34412         [!SA_SIGINFO]: Make it a stub test.
34414         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
34415         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
34417         * posix/tst-getlogin.c: Move to ...
34418         * login/tst-getlogin.c: ... here.
34419         * posix/Makefile (tests): Move tst-getlogin to ...
34420         * login/Makefile (tests): ... here.
34422         * libio/tst-atime.c (do_test): Move local variables SV and E
34423         inside [ST_NOATIME] conditional.
34425         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
34427         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
34429         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
34430         (wait_code): New function replaces macro.
34431         Call nanosleep rather than syscall.
34433         * nptl/pt-system.c: Rewritten.  Put everything under
34434         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34435         Use IFUNC to redirect when possible.
34437         * nptl/pt-longjmp.c: Rewritten.  Put everything under
34438         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34439         Use IFUNC to redirect when possible.
34441         * nptl/pt-fork.c: Rewritten.  Put everything under
34442         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
34443         Use IFUNC to redirect when possible.
34444         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
34446         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
34447         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
34448         unconditionally nowadays.  This included the only reference to
34449         __vdso_clock_gettime that appears outside libc proper.
34450         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
34451         Remove version set (containing only __vdso_clock_gettime).
34452         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34453         Add attribute_hidden.
34454         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
34455         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
34456         libc_hidden_data_def.
34457         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34458         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34460         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
34461         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
34462         setrpcent, and getrpcport to ...
34463         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
34464         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
34465         getrpcbynumber_r, and getrpcent_r to ...
34466         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
34467         * inet/getrpcbyname.c: Moved ...
34468         * sunrpc/getrpcbyname.c: ... here.
34469         * inet/getrpcbyname_r.c: Moved ...
34470         * sunrpc/getrpcbyname_r.c: ... here.
34471         * inet/getrpcbynumber.c: Moved ...
34472         * sunrpc/getrpcbynumber.c: ... here.
34473         * inet/getrpcbynumber_r.c: Moved ...
34474         * sunrpc/getrpcbynumber_r.c: ... here.
34475         * inet/getrpcent.c: Moved ...
34476         * sunrpc/getrpcent.c: ... here.
34477         * inet/getrpcent_r.c: Moved ...
34478         * sunrpc/getrpcent_r.c: ... here.
34479         * inet/Makefile (routines): Move those to ...
34480         * sunrpc/Makefile (routines): ... here.
34481         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
34482         the $(subdirs) list.
34483         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
34484         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
34485         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
34486         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
34488         * elf/Makefile (routines): Include $(all-dl-routines), not just
34489         $(dl-routines).
34490         (rtld-routines): Likewise.  Use = rather than :=.
34491         * sysdeps/aarch64/Makefile [$(subdir) = elf]
34492         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
34493         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
34494         * sysdeps/arm/Makefile: Likewise.
34495         * sysdeps/i386/Makefile: Likewise.
34496         * sysdeps/x86_64/Makefile: Likewise.
34497         * sysdeps/hppa/Makefile [$(subdir) = elf]
34498         (sysdep_routines, sysdep-rtld-routines): Don't add
34499         $(sysdep-dl-routines) to these.
34500         * sysdeps/ia64/Makefile: Likewise.
34501         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
34502         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
34503         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
34504         Don't add dl-static to these; sysdep-dl-routines alone is enough.
34505         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
34506         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
34507         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
34508         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
34509         * sysdeps/powerpc/Makefile [$(subdir) = elf]
34510         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
34511         these; sysdep-dl-routines alone is enough.
34513 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
34515         [BZ #17932]
34516         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
34517         where multiplication results in zero and third argument is finite
34518         and nonzero.
34519         * math/auto-libm-test-in: Add more tests of fma.
34520         * math/auto-libm-test-out: Regenerated.
34522         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
34523         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
34524         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
34525         (_FP_CMP_EQ): Likewise.
34526         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
34528         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
34529         extra argument CHECK_NAN.  Redefine as wrapper around
34530         _FP_EXTEND_CNAN.
34532 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
34534         * version.h (RELEASE): Set to "stable".
34535         (VERSION): Set to "2.21"
34536         * include/features.h (__GLIBC_MINOR__): Set to 21.
34538         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
34540 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34541             Paul Eggert  <eggert@cs.ucla.edu>
34543         [BZ #16618]
34544         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
34545         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
34546         size in bytes. Store needed elements in wpmax. Use needed size
34547         in bytes for extend_alloca.
34549 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
34551         * manual/install.texi: Latest tested versions are GCC 4.9.2,
34552         binutls 2.25, and texinfo 5.2.
34553         * INSTALL: Regenerate.
34554         * sysdeps/nios2/configure: Regenerate.
34555         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
34556         * manual/contrib.texi: Update.
34557         * po/be.po: Update.
34558         * po/bg.po: Update.
34559         * po/ca.po: Update.
34560         * po/cs.po: Update.
34561         * po/da.po: Update.
34562         * po/de.po: Update.
34563         * po/el.po: Update.
34564         * po/eo.po: Update.
34565         * po/es.po: Update.
34566         * po/fi.po: Update.
34567         * po/fr.po: Update.
34568         * po/gl.po: Update.
34569         * po/hr.po: Update.
34570         * po/hu.po: Update.
34571         * po/ia.po: Update.
34572         * po/id.po: Update.
34573         * po/it.po: Update.
34574         * po/ja.po: Update.
34575         * po/ko.po: Update.
34576         * po/lt.po: Update.
34577         * po/nb.po: Update.
34578         * po/nl.po: Update.
34579         * po/pl.po: Update.
34580         * po/pt_BR.po: Update.
34581         * po/ru.po: Update.
34582         * po/rw.po: Update.
34583         * po/sk.po: Update.
34584         * po/sl.po: Update.
34585         * po/sv.po: Update.
34586         * po/tr.po: Update.
34587         * po/uk.po: Update.
34588         * po/vi.po: Update.
34589         * po/zh_CN.po: Update.
34590         * po/zh_TW.po: Update.
34592         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
34593         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
34594         * sysdeps/hppa/dl-irel.h: Remove #warning.
34595         * sysdeps/hppa/entry.h: Provide prototype for
34596         __canonicalize_funcptr_for_compare and cast argument.
34597         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
34598         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
34599         * sysdeps/hppa/sotruss-lib.c: New file.
34600         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
34601         (atomic_compare_and_exchange_val_acq): Use __typeof__.
34602         (atomic_compare_and_exchange_bool_acq): Likewise.
34603         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
34604         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
34606         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
34607         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
34608         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
34610 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
34612         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
34613         called function in non-PIC case.
34615 2015-01-31  David S. Miller  <davem@davemloft.net>
34617         * sysdeps/sparc/sparc32/bits/atomic.h
34618         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
34619         unlock not after it.
34620         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
34621         volatile register usage warnings from the compiler.
34623         * sysdeps/sparc/nptl/sem_init.c: Delete.
34624         * sysdeps/sparc/nptl/sem_post.c: Delete.
34625         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
34626         * sysdeps/sparc/nptl/sem_wait.c: Delete.
34627         * sysdeps/sparc/sparc32/sem_init.c: New file.
34628         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
34629         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
34630         padding explicitly initialized.
34631         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
34632         padding for in-semaphore spinlock.
34633         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
34634         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
34635         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
34636         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
34637         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
34638         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
34639         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
34640         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
34641         version.
34642         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
34643         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
34645 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
34647         [BZ #17801]
34648         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34649         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
34650         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
34651         New.
34652         (index_AVX_Fast_Unaligned_Load): Likewise.
34653         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
34654         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
34655         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
34656         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
34657         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
34658         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
34659         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
34660         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
34661         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
34663 2015-01-29  Andreas Schwab  <schwab@suse.de>
34665         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
34667 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
34669         [BZ #17892]
34670         * nscd/nscd_stat.c (send_stats): Initialize DATA.
34672 2015-01-28  Martin Sebor  <msebor@redhat.com>
34674         * math/README.libm-test: Clarify. Add "How to read the test output."
34676 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
34678         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
34679         Define to 0.
34681 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
34683         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
34684         (__HAVE_64B_ATOMICS): Define to 0.
34686 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34688         [BZ #17885]
34689         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
34690         value to set as new flag.
34692         [BZ #16576]
34693         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
34694         and use _ARCH_PPCSQ instead.
34695         (__ieee754_sqrt): Likewise.
34696         (__ieee754_sqrtf): Likewise.
34697         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
34698         _ARCH_PPCSQ is defined.
34699         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
34700         fsqrt instruction.
34701         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
34702         _ARCH_PPCSQ is defined.
34703         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
34704         fsqrts instruction.
34705         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
34707 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34709         * iconv/loop.c: Suppress array out of bound warning caused by GCC
34710         bug (GCC BZ #64739).
34712 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
34714         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
34715         Mark _retval as used.
34716         (lll_futex_wake_unlock): Likewise.
34717         (lll_futex_timed_wait_requeue_pi): Likewise.
34719         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
34720         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
34721         register variables.
34723         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
34724         libm_hidden_def.
34726         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
34727         (__bswap_64): Mark as __always_inline.
34729 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
34731         [BZ #15378]
34732         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
34733         when none of the search directories exist.
34735 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
34737         [BZ #17869]
34738         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
34739         power8 in .machine directive.
34741         [BZ #17868]
34742         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
34743         set dependency from opd value.
34745 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34748         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
34749         architecture.
34751 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
34753         [BZ #17870]
34754         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
34755         with uint64_t.
34756         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
34757         (uint64_t) 1.
34758         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
34759         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
34760         Replace 1UL with (uint64_t) 1.
34761         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
34762         int with uint64_t.
34764 2015-01-23  Roland McGrath  <roland@hack.frob.com>
34766         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
34767         (if_freenameindex): Likewise.
34769         * resource/getrlimit64.c: Add missing libc_hidden_def.
34771 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
34773         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
34774         __label__.
34775         (_FP_FMA): Likewise.
34776         (_FP_TO_INT_ROUND): Likewise.
34777         (_FP_FROM_INT): Likewise.
34779 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34781         [BZ #16418]
34782         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
34783         Make code racy and cancel safe.
34785 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
34787         * sysdeps/arm/unwind-resume.h: Fix copyright year.
34788         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
34789         attribution.
34791         * pwd/tst-getpw.c: Rewrite.
34793         [BZ #17702]
34794         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
34795         (modules-names): Add moddummy1 and moddummy2.
34796         ($(objpfx)tst-rec-dlopen): Define.
34797         * dlfcn/moddummy1.c: New file.
34798         * dlfcn/moddummy2.c: New file.
34799         * dlfcn/tst-rec-dlopen.c: New file.
34800         * elf/dl-cache.c (_dl_load_cache_lookup):
34801         Return char*. Copy result with alloca/strcpy/strdup.
34802         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
34803         returns char*. Free cached. If not saving realname
34804         free cached.
34805         * elf/dl-open.c (dl_open_worker): Do not assert that
34806         _r_debug->r_state is RT_CONSISTENT.
34807         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
34808         returns char*.
34810 2015-01-21  Torvald Riegel  <triegel@redhat.com>
34811             Carlos O'Donell  <carlos@redhat.com>
34813         [BZ #12674]
34814         * nptl/sem_waitcommon.c: New file.
34815         * nptl/sem_wait.c: Include sem_waitcommon.c.
34816         (__sem_wait_cleanup, do_futex_wait): Remove.
34817         (__new_sem_wait): Adapt.
34818         (__new_sem_trywait): New function.
34819         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
34820         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
34821         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
34822         (sem_timedwait): Adapt.
34823         * nptl/sem_post.c (__new_sem_post): Adapt.
34824         (futex_wake): New function.
34825         (__old_sem_post): Add release MO fence.
34826         * nptl/sem_open.c (sem_open): Adapt.
34827         * nptl/sem_init.c (__new_sem_init): Adapt.
34828         (futex_private_if_supported): New function.
34829         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
34830         (__old_sem_getvalue): Add using previous code.
34831         * sysdeps/nptl/internaltypes.h: Adapt.
34832         * nptl/tst-sem13.c (do_test): Adapt.
34833         * nptl/tst-sem11.c (main): Adapt.
34834         * nptl/sem_trywait.c: Remove.
34835         * nptl/DESIGN-sem.txt: Remove.
34836         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
34837         (gen-as-const-headers): Remove structsem.sym.
34838         * nptl/structsem.sym: Remove.
34839         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
34840         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
34841         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
34842         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
34843         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
34844         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
34845         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
34846         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
34847         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
34848         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
34849         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
34850         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
34851         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
34852         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
34853         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
34854         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
34855         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
34856         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
34857         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
34858         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
34859         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
34860         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
34862 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
34864         * INSTALL: Regenerated.
34866         * po/libc.pot: Regenerated.
34868 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
34869             Sandra Loosemore  <sandra@codesourcery.com>
34870             Andrew Jenner  <andrew@codesourcery.com>
34871             Joseph Myers  <joseph@codesourcery.com>
34872             Nathan Sidwell  <nathan@codesourcery.com>
34874         * NEWS: Mention new Nios II port.
34875         * sysdeps/nios2/Implies: New file.
34876         * sysdeps/nios2/Makefile: New file.
34877         * sysdeps/nios2/Subdirs: New file.
34878         * sysdeps/nios2/Versions: New file.
34879         * sysdeps/nios2/__longjmp.S: New file.
34880         * sysdeps/nios2/abort-instr.h: New file.
34881         * sysdeps/nios2/backtrace.c: New file.
34882         * sysdeps/nios2/bits/endian.h: New file.
34883         * sysdeps/nios2/bits/fenv.h: New file.
34884         * sysdeps/nios2/bits/link.h: New file.
34885         * sysdeps/nios2/bits/setjmp.h: New file.
34886         * sysdeps/nios2/bsd-_setjmp.S: New file.
34887         * sysdeps/nios2/bsd-setjmp.S: New file.
34888         * sysdeps/nios2/configure: New generated file.
34889         * sysdeps/nios2/configure.ac: New file.
34890         * sysdeps/nios2/crti.S: New file.
34891         * sysdeps/nios2/crtn.S: New file.
34892         * sysdeps/nios2/dl-init.c: New file.
34893         * sysdeps/nios2/dl-machine.h: New file.
34894         * sysdeps/nios2/dl-sysdep.h: New file.
34895         * sysdeps/nios2/dl-tls.h: New file.
34896         * sysdeps/nios2/dl-trampoline.S: New file.
34897         * sysdeps/nios2/gccframe.h: New file.
34898         * sysdeps/nios2/gmp-mparam.h: New file.
34899         * sysdeps/nios2/jmpbuf-offsets.h: New file.
34900         * sysdeps/nios2/jmpbuf-unwind.h: New file.
34901         * sysdeps/nios2/ldsodefs.h: New file.
34902         * sysdeps/nios2/libc-tls.c: New file.
34903         * sysdeps/nios2/libm-test-ulps: New file.
34904         * sysdeps/nios2/machine-gmon.h: New file.
34905         * sysdeps/nios2/math-tests.h: New file.
34906         * sysdeps/nios2/math_private.h: New file.
34907         * sysdeps/nios2/memusage.h: New file.
34908         * sysdeps/nios2/nptl/Makefile: New file.
34909         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
34910         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
34911         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
34912         * sysdeps/nios2/nptl/pthreaddef.h: New file.
34913         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
34914         * sysdeps/nios2/nptl/tls.h: New file.
34915         * sysdeps/nios2/preconfigure: New file.
34916         * sysdeps/nios2/s_fma.c: New file.
34917         * sysdeps/nios2/s_fmaf.c: New file.
34918         * sysdeps/nios2/setjmp.S: New file.
34919         * sysdeps/nios2/sfp-machine.h: New file.
34920         * sysdeps/nios2/sotruss-lib.c: New file.
34921         * sysdeps/nios2/stackguard-macros.h: New file.
34922         * sysdeps/nios2/stackinfo.h: New file.
34923         * sysdeps/nios2/start.S: New file.
34924         * sysdeps/nios2/sysdep.h: New file.
34925         * sysdeps/nios2/tls-macros.h: New file.
34926         * sysdeps/nios2/tst-audit.h: New file.
34927         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
34928         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
34929         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
34930         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
34931         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
34932         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
34933         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
34934         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
34935         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
34936         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
34937         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
34938         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
34939         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
34940         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
34941         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
34942         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
34943         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
34944         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
34945         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
34946         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
34947         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
34948         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
34949         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
34950         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
34951         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
34952         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
34953         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
34954         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
34955         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
34956         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
34957         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
34958         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
34959         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
34960         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
34961         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
34962         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
34963         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
34964         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
34965         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
34966         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
34967         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
34968         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
34969         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
34970         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
34972 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34974         [BZ #17844]
34975         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
34976         (getutent): Use weak_alias in non SHARED case
34977         and default_symbol_version in SHARED case.
34978         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
34979         (getutent_r, pututline): Likewise.
34980         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
34981         (getutid): Likewise.
34982         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
34983         (getutid_r): Likewise.
34984         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
34985         (getutline): Likewise.
34986         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
34987         (getutline_r): Likewise.
34988         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
34989         (updwtmp): Likewise.
34991 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
34993         [BZ #17848]
34994         * sysdeps/s390/s390-32/memcmp.S
34995         (memcmp_g5): Rename to __memcmp_g5.
34996         * sysdeps/s390/s390-32/memcpy.S
34997         (memcpy_g5): Rename to __memcpy_g5.
34998         Jump to __memcpy_mvcle instead of memcpy_mvcle.
34999         (memcpy_mvcle) Rename to __memcpy_mvcle.
35000         * sysdeps/s390/s390-32/memset.S
35001         (memset_g5): Rename to __memset_g5.
35002         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35003         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35004         and use prefixed functions.
35005         * sysdeps/s390/s390-32/multiarch/memcmp.S
35006         (memcmp_z196): Rename to __memcmp_z196.
35007         (memcmp_z10): Rename to __memcmp_z10.
35008         (memcmp): Set alias to __memcmp_g5.
35009         (bcmp): Set alias to __memcmp_g5.
35010         * sysdeps/s390/s390-32/multiarch/memcpy.S
35011         (memcpy_z196): Rename to __memcpy_z196.
35012         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35013         (memcpy_z10): Rename to __memcpy_z10.
35014         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35015         (memcpy): Set alias to __memcpy_g5.
35016         * sysdeps/s390/s390-32/multiarch/memset.S
35017         (memset_z196): Rename to __memset_z196.
35018         Jump to __memset_mvcle instead of memset_mvcle.
35019         (memset_z10): Rename to __memset_z10.
35020         Jump to __memset_mvcle instead of memset_mvcle.
35021         (memset_mvcle) Rename to __memset_mvcle.
35022         (memset): Set alias to __memset_g5.
35023         * sysdeps/s390/s390-64/memcmp.S
35024         (memcmp_z900): Rename to __memcmp_z900.
35025         * sysdeps/s390/s390-64/memcpy.S
35026         (memcpy_z900): Rename to __memcpy_z900.
35027         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35028         (memcpy_mvcle) Rename to __memcpy_mvcle.
35029         * sysdeps/s390/s390-64/memset.S
35030         (memset_z900): Rename to __memset_z900.
35031         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
35032         (IFUNC_RESOLVE): Prefix ifunc-resolve function
35033         and use prefixed functions.
35034         * sysdeps/s390/s390-64/multiarch/memcmp.S
35035         (memcmp_z196): Rename to __memcmp_z196.
35036         (memcmp_z10): Rename to __memcmp_z10.
35037         (memcmp): Set alias to __memcmp_z900.
35038         (bcmp): Set alias to __memcmp_z900.
35039         * sysdeps/s390/s390-64/multiarch/memcpy.S
35040         (memcpy_z196): Rename to __memcpy_z196.
35041         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35042         (memcpy_z10): Rename to __memcpy_z10.
35043         Jump to __memcpy_mvcle instead of memcpy_mvcle.
35044         (memcpy): Set alias to __memcpy_z900.
35045         * sysdeps/s390/s390-64/multiarch/memset.S
35046         (memset_z196): Rename to __memset_z196.
35047         Jump to __memset_mvcle instead of memset_mvcle.
35048         (memset_z10): Rename to __memset_z10.
35049         Jump to __memset_mvcle instead of memset_mvcle.
35050         (memset_mvcle) Rename to __memset_mvcle.
35051         (memset): Set alias to __memset_z900.
35053 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
35055         [BZ #17748]
35056         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
35057         __fesetenv instead of fesetenv.
35059 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35061         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
35062         macro.
35064 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35066         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
35067         regression on LE.
35069         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
35070         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
35071         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35072         strncmp-power8 object.
35073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35074         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
35075         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
35076         * NEWS: Update.
35078 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35079             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35081         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
35082         trailing byte check.
35084 2015-01-13  David S. Miller  <davem@davemloft.net>
35086         * include/signal.h (__sigreturn): Guard with __USE_MISC.
35088 2015-01-13  Roland McGrath  <roland@hack.frob.com>
35090         * login/logout.c (logout): Use memset rather than bzero.
35091         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
35092         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
35093         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
35094         (_gethtbyaddr): Likewise.
35095         * locale/programs/simple-hash.c (bcopy): Macro removed.
35097 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35099         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35100         Add strcmp-power8 object.
35101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35102         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
35103         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
35104         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
35105         __strcmp_power8 implementation.
35106         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
35107         * NEWS: Update.
35109         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
35110         Add strncpy-power8 and stpncpy-power8 objects.
35111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35112         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
35113         implementations.
35114         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
35115         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
35116         __stpncpy_power8 implementation.
35117         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
35118         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
35119         __strncpy_power8 implementation.
35120         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
35121         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
35122         * NEWS: Update.
35124         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
35125         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
35126         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
35128         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35129         strncat-power8 object.
35130         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
35131         __strcat_power8 implementation.
35132         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35133         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
35134         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
35135         optimized strcat for power8.
35137         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
35138         strcpy-power8 and stpcpy-power8 objects.
35139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
35140         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
35141         implementations.
35142         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
35143         multiarch stpcpy implementation for POWER8.
35144         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
35145         multiarch strcpy implementation for POWER8.
35146         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
35147         __strcpy_power8 function.
35148         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
35149         stpcpy for POWER8.
35150         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
35151         strcpy for POWER8.
35152         * NEWS: Update.
35154 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
35156         [BZ #16009]
35157         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
35158         weights and rules. Use do_xfrm_cached if data fits in cache,
35159         do_xfrm otherwise.  Moved former main loop to...
35160         * (do_xfrm_cached): New function.
35161         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
35162         find_idx, find_position and stack_push.
35163         * (find_idx): New function.
35164         * (find_position): Likewise.
35165         * localedata/sort-test.sh: Added test run for do_xfrm.
35166         * localedata/xfrm-test.c (main): Added command line option
35167         -nocache to run the test with strings that are too large for
35168         the STRXFRM cache.
35170 2015-01-13  Torvald Riegel  <triegel@redhat.com>
35172         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
35173         variable to lll_futex_wake call, not the value itself.
35175 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
35177         [BZ #17803]
35178         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
35179         twom64.  Adjust value to 0x1p-64L.
35180         (__scalblnl): Only return standard underflowing result for K <=
35181         -64 not K <= -63; adjust exponent for underflowing result by 64
35182         not 63.
35183         * math/libm-test.inc (scalbn_test_data): Add more tests.
35184         (scalbln_test_data): Likewise.
35186         [BZ #17834]
35187         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
35188         0x1p63L.
35189         (__scalblnl): Get new exponent of adjusted subnormal value from ES
35190         not HX.
35191         * math/libm-test.inc (scalbn_test_data): Add more tests.
35192         (scalbln_test_data): Likewise.
35194 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35195             Stefani Seibold  <stefani@seibold.net>
35197         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
35198         (sysdep_routines): Add dl-vdso here, ...
35199         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
35200         (sysdep_routines): ... not here.
35201         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
35202         fallback when vDSO is not presented.
35203         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
35204         Define with libc_hidden_proto/libc_hidden_data_def definitions.
35205         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
35206         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
35207         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
35208         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
35209         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
35210         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
35211         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
35212         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
35213         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
35214         fallback configurable symbol when vDSO is not available.
35215         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
35216         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
35217         be able to redefine fallback symbol when vDSO is not available.
35218         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
35219         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
35221 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35223         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
35224         (TLS_INIT_TP): Add tm_capable initialization.
35225         (TLS_DEFINE_INIT_TP): Likewise.
35226         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
35227         TCB.
35228         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
35229         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
35230         calculation.
35231         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
35232         transactoion is lock elision is built and TCB tm_capable is set.
35233         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
35234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35235         (INTERNAL_SYSCALL_NCS): Likewise.
35236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35237         (INTERNAL_SYSCALL_NCS): Likewise.
35238         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
35240         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
35241         for powerpc.
35242         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35243         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
35244         and remove it for 32 bits case.
35245         [pthread_rwlock_t] (__rwelision): New field for lock elision.
35246         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
35247         initialization.
35248         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
35249         Disable lock elision with rdlocks if elision is not available.
35251         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
35252         (sysdep_routines): Add lock elision objects.
35253         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35254         [pthread_mutex_t] (__spins): Rework to add lock elision field.
35255         [pthread_mutex_t] (__elision): Add field.
35256         [__PTHREAD_SPINS]: Adjust to init lock elision field.
35257         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
35258         elision definitions for powerpc.
35259         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
35260         implementation of lock elision for powerpc.
35261         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
35262         implementation of timed lock elision for powerpc.
35263         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
35264         implementation of trylock with lock elision for powerpc.
35265         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
35266         implementaion of unlock for lock elision for powerpc.
35267         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
35268         automatic enable lock elision for mutexes.
35269         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
35270         transaction execution definitions for powerpc.
35271         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
35272         definitions.
35273         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
35274         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
35275         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
35276         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
35277         * NEWS: Update.
35279 2015-01-09  Roland McGrath  <roland@hack.frob.com>
35281         * sysdeps/posix/shm-directory.c: Use <> rather than ""
35282         for #include of <shm-directory.h>.
35284 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
35286         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
35287         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
35289 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
35291         [BZ #17791]
35292         * NEWS: Mention bug fix.
35293         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
35294         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
35295         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
35297 2015-01-09  Torvald Riegel <triegel@redhat.com>
35299         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
35301 2015-01-09  Torvald Riegel <triegel@redhat.com>
35303         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
35305 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35307         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
35308         pointer and cast to uintptr_t.
35310 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35312         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
35313         removed.
35314         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
35316 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
35318         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
35319         of 0.
35321 2015-01-08  Roland McGrath  <roland@hack.frob.com>
35323         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
35324         <nptl/pthreadP.h> instead.
35325         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
35327         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
35328         already defined.
35329         [__SIGRTMIN] (init): Function removed.
35330         [__SIGRTMIN] (initialized): Variable removed.
35331         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
35332         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
35333         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
35334         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
35335         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
35336         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
35337         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
35338         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
35339         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
35340         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
35341         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
35342         * sysdeps/nptl/allocrtsig.c: New file.
35343         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35344         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
35345         * sysdeps/generic/testrtsig.h: File removed.
35347         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
35348         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
35350         * nptl/nptl-init.c (pthread_functions): Conditionalize
35351         .ptr__nptl_setxid initialization on [SIGSETXID].
35353         * sysdeps/nptl/sys/procfs.h: New file.
35354         * nptl_db/Makefile (headers): Add it.
35355         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
35357         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
35358         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
35359         * nptl/pthread_attr_setaffinity.c: Include it.
35360         * nptl/pthread_setattr_default_np.c: Likewise.
35361         * nptl/check-cpuset.h: New file.
35363 2015-01-08  Richard Henderson  <rth@redhat.com>
35365         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
35366         (CFLAGS-tst-execstack-prog.c): Likewise.
35367         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
35369 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
35370             Sandra Loosemore  <sandra@codesourcery.com>
35371             Andrew Jenner  <andrew@codesourcery.com>
35372             Joseph Myers  <joseph@codesourcery.com>
35373             Nathan Sidwell  <nathan@codesourcery.com>
35375         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
35376         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
35377         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
35378         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
35379         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
35380         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
35381         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
35382         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
35383         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
35384         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
35385         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
35386         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
35387         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
35388         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
35389         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
35390         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
35391         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
35393 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35395         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
35396         timespec struct member in syscall macro.
35397         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
35398         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
35399         first timeval struct member in syscall macro.
35400         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
35402 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
35404         [BZ #17748]
35405         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
35406         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
35407         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
35408         __feupdateenv and define as weak alias of __feupdateenv.  Use
35409         libm_hidden_weak.
35410         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
35411         libm_hidden_def.
35412         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
35413         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
35414         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35415         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
35416         libm_hidden_def.
35417         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
35418         __feupdateenv and define as weak alias of __feupdateenv.  Use
35419         libm_hidden_weak.
35420         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
35421         libm_hidden_def.
35422         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
35423         __feupdateenv and define as weak alias of __feupdateenv.  Use
35424         libm_hidden_weak.
35425         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
35426         libm_hidden_def.
35427         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35428         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35429         (__feupdateenv): Likewise.
35430         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
35431         __feupdateenv and define as weak alias of __feupdateenv.  Use
35432         libm_hidden_weak.
35433         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35434         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
35435         libm_hidden_def.
35436         * sysdeps/tile/math_private.h (__feupdateenv): New inline
35437         function.
35438         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
35439         libm_hidden_def.
35440         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
35441         __feupdateenv instead of feupdateenv.
35442         (default_libc_feupdateenv_test): Likewise.
35443         (libc_feresetround_ctx): Likewise.
35445 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35447         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
35448         prototype.
35450 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
35452         * posix/regcomp.c (parse_bracket_exp): Initialize type to
35453         COLL_SYM in a couple of places to avoid uninitialized variable
35454         wanings on tilegx gcc 4.8.2.
35456 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35458         * sysdeps/aarch64/strcpy.S: New file.
35459         * sysdeps/aarch64/stpcpy.S: New file.
35460         * NEWS: Updated.
35462 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
35464         * sysdeps/aarch64/strrchr.S: New file.
35465         * NEWS: Updated.
35467 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
35469         [BZ #17658]
35470         * stdlib/setenv.c: Fix memory leak when setting large,
35471         duplicate string.
35473 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
35475         [BZ #17273]
35476         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
35477         and tabs from buffer before parsing fstab entry.
35478         * misc/tst-mntent.c (main): Add test for mount entry with
35479         trailing spaces and tabs.
35481 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
35483         [BZ #17748]
35484         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
35485         * math/fesetround.c (fesetround): Rename to __fesetround and
35486         define as weak alias of __fesetround.  Use libm_hidden_weak.
35487         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
35488         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
35489         * sysdeps/arm/fesetround.c (fesetround): Likewise.
35490         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
35491         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
35492         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
35493         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
35494         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
35495         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
35496         __fesetround_inline.
35497         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
35498         __fesetround_inline instead of __fesetround.
35499         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
35500         __fesetround and define as weak alias of __fesetround.  Use
35501         libm_hidden_weak.  Call __fesetround_inline instead of
35502         __fesetround.
35503         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
35504         __fesetround and define as weak alias of __fesetround.  Use
35505         libm_hidden_weak.
35506         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
35507         Likewise.
35508         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
35509         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
35510         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
35511         * sysdeps/tile/math_private.h (__fesetround): New inline function.
35512         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
35513         __fesetround and define as weak alias of __fesetround.  Use
35514         libm_hidden_weak.
35515         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
35516         __fesetround instead of fesetround.
35517         (default_libc_feholdexcept_setround): Likewise.
35518         (libc_feholdsetround_ctx): Likewise.
35519         (libc_feholdsetround_noex_ctx): Likewise.
35521         [BZ #17748]
35522         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
35523         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
35524         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35525         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35526         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35527         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
35528         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35529         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35530         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35531         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35532         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35533         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35534         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35535         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35536         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
35537         libm_hidden_def.
35538         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
35539         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
35540         Likewise.
35541         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
35542         define as weak alias of __fesetenv.  Use libm_hidden_weak.
35543         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
35544         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
35545         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
35546         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
35547         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
35548         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
35549         __fesetenv instead of fesetenv.
35550         (libc_feresetround_noex_ctx): Likewise.
35551         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
35552         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
35553         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
35554         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
35555         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
35556         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
35557         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
35558         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
35559         (__feupdateenv): Likewise.
35560         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35561         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
35562         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
35563         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
35565 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35567         [BZ #17806]
35568         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
35569         addresses have been freed.
35571 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
35573         * resolv/res_init.c (__res_vinit): Improve comments about nserv
35574         and nservall.
35576 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
35578         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
35579         Clean up check_pf allocation pattern. addresses
35581 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35583         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
35584         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
35585         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
35586         * nptl/pthread_exit.c (__pthread_exit): Likewise.
35587         * nptl/pthread_join.c (pthread_join): Likewise.
35588         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
35589         * sysdeps/posix/waitid.c (__waitid): Likewise.
35590         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35591         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35592         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35593         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35594         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35595         Likewise.
35596         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35597         (__libc_pread64): Likewise.
35598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35599         (__libc_pwrite): Likewise.
35600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35601         (__libc_pwrite64): Likewsie.
35602         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35603         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35604         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35605         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35606         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35607         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35608         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
35609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35610         Likewise.
35611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35612         (__libc_pread64): Likewise.
35613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
35614         Likewise.
35615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35616         (__libc_pwrite64): Likewise.
35617         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35618         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35619         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
35620         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
35621         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35622         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35623         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
35624         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35625         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35626         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35627         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
35628         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35629         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35630         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
35631         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35632         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35633         Likewise.
35635 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
35637         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
35638         (CFLAGS-test-double.c): Likewise.
35639         (CFLAGS-test-ldouble.c): Likewise.
35640         (CPPFLAGS-test-ifloat.c): Likewise.
35641         (CPPFLAGS-test-idouble.c): Likewise.
35642         (CPPFLAGS-test-ildoubl.c): Likewise.
35643         (CFLAGS-test-test-fenv.c): Remove variable.
35644         (CFLAGS-test-misc.c): Likewise.
35646 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
35648         [BZ #17797]
35649         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
35650         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
35651         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
35652         CLOCKS_PER_SEC == 1000000.
35653         * time/clocktest.c (main): Replace %ld with %jd and cast to
35654         intmax_t.
35656 2015-01-05  Roland McGrath  <roland@hack.frob.com>
35658         * sysdeps/generic/unwind-resume.h: New file.
35659         * sysdeps/gnu/unwind-resume.c: Include it.
35660         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
35661         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
35662         argument list.
35663         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
35664         global rather than static.
35665         (_Unwind_Resume): Update user.
35666         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
35667         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
35668         rather than static.  Add __attribute__ ((cold)).
35669         (_Unwind_Resume, __gcc_personality_v0): Update callers.
35670         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
35671         * sysdeps/arm/arm-unwind-resume.S: New file.
35672         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
35673         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
35674         * sysdeps/arm/Makefile [$(subdir) = csu]
35675         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
35676         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35677         Add rt-arm-unwind-resume.
35678         [$(subdir) = nptl]
35679         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35680         Add pt-arm-unwind-resume.
35681         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
35682         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
35684 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35686         [BZ #17748]
35687         * include/fenv.h (__feholdexcept): Declare.  Use
35688         libm_hidden_proto.
35689         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
35690         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
35691         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35692         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
35693         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
35694         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
35695         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
35696         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35697         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
35698         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
35699         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35700         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
35701         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
35702         (feholdexcept): Likewise.
35703         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35704         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
35705         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35706         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
35707         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
35708         __feholdexcept instead of feholdexcept.
35709         (default_libc_feholdexcept_setround): Likewise.
35711 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35713         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
35714         to avoid using stl/str to align destination.
35716 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35718         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
35720 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35722         [BZ #17796]
35723         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
35724         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
35725         Define as weak alias not strong alias.
35727 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
35729         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
35730         bltzal with addiupc.
35731         (RTLD_START): Ditto.
35733 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
35735         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
35736         for __vdso_* functions in declarations.
35737         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
35738         definitions.
35739         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
35740         INTERNAL_VSYSCALL): Use struct return types to check for error.
35742         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
35743         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
35744         function with cast from llround().
35745         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
35746         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
35747         Define.
35749 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
35751         [BZ #17793]
35752         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
35753         Define as weak alias not strong alias.
35755         [BZ #17635]
35756         * ctype/ctype-c99.c: New file.  isblank implementation moved from
35757         ...
35758         * ctype/ctype-extn.c: ... here.
35759         (__isblank_l): Move to ...
35760         * ctype/ctype-c99_l.c: ... here.  New file.
35761         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
35762         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
35763         Remove variable.
35764         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
35765         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
35766         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
35767         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
35768         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
35770         [BZ #17777]
35771         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
35772         (posix_fadvise64): Define as weak alias not strong alias.
35773         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
35774         (posix_fallocate64): Likewise.
35775         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
35776         Remove variable.
35777         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
35778         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
35779         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
35780         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
35781         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
35783 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
35785         [BZ #16191]
35786         * NEWS: Mention bug fix.
35787         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
35788         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
35789         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
35790         (HOST_STACK_END_ADDR): Likewise.
35792 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35794         [BZ #17748]
35795         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
35796         * math/fegetround.c (fegetround): Rename to __fegetround and
35797         define as weak alias of __fegetround.  Use libm_hidden_weak.
35798         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
35799         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
35800         * sysdeps/arm/fegetround.c (fegetround): Likewise.
35801         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
35802         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
35803         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
35804         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
35805         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
35806         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
35807         Undefine after rather than before function definition; use
35808         parentheses around function name in definition.
35809         (__fegetround): Also undefine macro after function definition.
35810         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
35811         __fegetround and define as weak alias of __fegetround.  Use
35812         libm_hidden_weak.  Do not undefine as macro.
35813         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
35814         Likewise.
35815         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
35816         __fegetround and define as weak alias of __fegetround.  Use
35817         libm_hidden_weak.
35818         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
35819         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
35820         * sysdeps/tile/math_private.h (__fegetround): New inline function.
35821         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
35822         __fegetround and define as weak alias of __fegetround.  Use
35823         libm_hidden_weak.
35824         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
35825         __fegetround instead of fegetround.
35827         [BZ #17782]
35828         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
35829         Condition macro definition on [__USE_MISC].
35831         [BZ #17781]
35832         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
35833         (struct sigaction): Change type of sa_flags field to int.
35835         [BZ #17780]
35836         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
35837         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
35838         __glibc_reserved0.
35840         * nptl/version.c (banner): Use single year in copyright notice.
35842         * NEWS: Update copyright dates.
35843         * catgets/gencat.c (print_version): Likewise.
35844         * csu/version.c (banner): Likewise.
35845         * debug/catchsegv.sh: Likewise.
35846         * debug/pcprofiledump.c (print_version): Likewise.
35847         * debug/xtrace.sh (do_version): Likewise.
35848         * elf/ldconfig.c (print_version): Likewise.
35849         * elf/ldd.bash.in: Likewise.
35850         * elf/pldd.c (print_version): Likewise.
35851         * elf/sotruss.sh: Likewise.
35852         * elf/sprof.c (print_version): Likewise.
35853         * iconv/iconv_prog.c (print_version): Likewise.
35854         * iconv/iconvconfig.c (print_version): Likewise.
35855         * locale/programs/locale.c (print_version): Likewise.
35856         * locale/programs/localedef.c (print_version): Likewise.
35857         * login/programs/pt_chown.c (print_version): Likewise.
35858         * malloc/memusage.sh (do_version): Likewise.
35859         * malloc/memusagestat.c (print_version): Likewise.
35860         * malloc/mtrace.pl: Likewise.
35861         * manual/libc.texinfo: Likewise.
35862         * nptl/version.c (banner): Likewise.
35863         * nscd/nscd.c (print_version): Likewise.
35864         * nss/getent.c (print_version): Likewise.
35865         * nss/makedb.c (print_version): Likewise.
35866         * posix/getconf.c (main): Likewise.
35867         * scripts/test-installation.pl: Likewise.
35868         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
35870 2015-01-02  Will Newton  <will.newton@linaro.org>
35872         * sysdeps/arm/armv7/configure: Removed.
35873         * sysdeps/arm/armv7/configure.ac: Likewise.
35875 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
35877         * All files with FSF copyright notices: Update copyright dates
35878         using scripts/update-copyrights.
35879         * intl/plural.c: Regenerated.
35880         * locale/programs/charmap-kw.h: Likewise.
35881         * locale/programs/locfile-kw.h: Likewise.
35883 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35885         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
35887 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35889         [BZ #17748]
35890         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
35891         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
35892         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35893         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35894         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35895         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
35896         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35897         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
35898         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35899         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35900         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35901         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35902         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35903         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35904         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
35905         libm_hidden_def.
35906         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
35907         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35908         Likewise.
35909         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
35910         define as weak alias of __fegetenv.  Use libm_hidden_weak.
35911         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
35912         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
35913         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
35914         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
35915         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
35916         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
35917         __fegetenv instead of fegetenv.
35918         (libc_feholdsetround_noex_ctx): Likewise.
35920 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
35922         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
35923         (Elf_MIPS_ABIFlags_v0): New structure.
35924         (EF_MIPS_FP64): Define.
35925         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
35926         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
35927         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
35928         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
35929         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
35930         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
35931         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
35932         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
35933         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
35934         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
35935         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
35936         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
35937         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
35938         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
35939         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
35940         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
35941         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
35942         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
35943         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
35944         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
35945         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
35946         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
35947         field.
35948         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
35949         EF_MIPS_FP64.
35950         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
35951         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
35952         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
35953         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
35954         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
35955         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
35956         * sysdeps/mips/tst-abi-interlink.c: Likewise.
35957         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
35958         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
35959         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
35960         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
35961         record the current FP ABI extension.
35962         (mips-mode-switch): Define to show if kernel headers support mode
35963         switching.
35964         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
35965         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
35966         supported SYSV ABI version to 3.
35967         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
35968         feature.
35970 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35971             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35973         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
35974         path.
35975         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
35977 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
35979         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
35980         __fegetround and redefine to call __fegetround.  Remove condition
35981         on [!__NO_MATH_INLINES].
35982         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
35983         function.
35984         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
35985         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
35986         Remove macro.
35987         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
35988         instead of <fenv_libc.h>.
35989         (__llrintl): Call fegetround instead of __fegetround.
35990         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
35991         instead of <fenv_libc.h>.
35992         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35993         (__lrintl): Call fegetround instead of __fegetround.
35994         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
35995         instead of <fenv_libc.h>.
35996         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35997         (__rintl): Call fegetround instead of __fegetround.
35999 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36001         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
36002         arrays.
36004 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36006         [BZ #17775]
36007         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
36008         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
36009         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
36011 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36013         * sysdeps/i386/tls-macros.h: Include <features.h>.
36014         (TLS_LE): Use non-PIC version for GCC >= 5.0.
36015         (TLS_IE): Likewise.
36016         (TLS_LD): Likewise.
36017         (TLS_GD): Likewise.
36018         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
36019         define for GCC >= 5.0.
36021 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
36023         * math/test-fenv.c (test_single_exception, set_single_exc,
36024         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
36025         feexcp_mask_test, feenable_test, fe_single_test): Add
36026         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
36027         case where they are not used.
36028         * math/libm-test.inc: Likewise.
36029         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
36030         unused in the absence of FP rounding/exception support.
36031         * stdio-common/tst-printf-round.c: Likewise.
36032         * stdlib/tst-strtod-round.c: Likewise.
36033         * stdlib/tst-strtod-underflow.c: Likewise.
36035 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
36037         [BZ #17723]
36038         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
36039         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
36040         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36041         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36042         libm_hidden_weak.
36043         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
36044         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36045         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
36046         libm_hidden_def.
36047         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36048         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36049         libm_hidden_weak.
36050         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
36051         Likewise.
36052         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
36053         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36054         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36055         libm_hidden_weak.
36056         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36057         libm_hidden_def.
36058         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
36059         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
36060         (__feraiseexcept): Likewise.
36061         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
36062         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
36063         libm_hidden_weak.
36064         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
36065         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
36066         libm_hidden_def.
36067         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
36068         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36069         Use libm_hidden_def.
36070         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
36071         libm_hidden_def.
36072         (feraiseexcept): Define as weak not strong alias.  Use
36073         libm_hidden_weak.
36074         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
36075         New inline function.  Factored out of ...
36076         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
36077         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
36078         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
36079         feraiseexcept.
36080         * math/w_acos.c (__acos): Likewise.
36081         * math/w_asin.c (__asin): Likewise.
36082         * math/w_ilogb.c (__ilogb): Likewise.
36083         * math/w_j0.c (y0): Likewise.
36084         * math/w_j1.c (y1): Likewise.
36085         * math/w_jn.c (yn): Likewise.
36086         * math/w_log.c (__log): Likewise.
36087         * math/w_log10.c (__log10): Likewise.
36088         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
36089         * sysdeps/aarch64/fpu/math_private.h
36090         (libc_feupdateenv_test_aarch64): Likewise.
36091         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
36092         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
36093         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
36094         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
36095         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
36096         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
36097         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
36098         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36099         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
36100         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
36102 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
36104         [BZ #17732]
36105         * io/test-utime.c (main): Replace %ld with %jd and cast to
36106         intmax_t.
36107         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
36108         * nptl/tst-mutex5.c: Include <stdint.h>.
36109         (do_test): Replace %ld with %jd and cast to intmax_t.
36110         * posix/tst-regex.c (run_test): Likewise.
36111         (run_test_backwards): Likewise.
36112         * rt/tst-clock.c: Include <stdint.h>.
36113         (clock_test): Replace %ld with %jd and cast to intmax_t.
36114         * rt/tst-cpuclock1.c: Include <stdint.h>.
36115         (do_test): Replace %lu with %ju and cast to uintmax_t.
36116         * rt/tst-cpuclock2.c: Include <stdint.h>.
36117         (do_test): Replace %lu with %ju and cast to uintmax_t.
36118         * rt/tst-mqueue1.c: Include <stdint.h>.
36119         (check_attrs): Replace %ld with %jd and cast to intmax_t.
36120         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
36121         intmax_t.
36122         * rt/tst-mqueue4.c (do_test): Likewise.
36123         * rt/tst-timer4.c: Include <stdint.h>.
36124         (check_ts): Replace %ld with %jd and cast to intmax_t.
36125         (do_test): Likewise.
36126         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
36127         and cast to intmax_t.
36128         * sysdeps/pthread/tst-timer.c (main): Likewise.
36129         * time/clocktest.c (main): Likewise.
36130         * time/tst-posixtz.c (do_test): Likewise.
36131         * timezone/tst-timezone.c (main): Likewise.
36133 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
36134             H.J. Lu  <hongjiu.lu@intel.com>
36136         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
36137         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
36138         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
36139         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
36140         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
36141         version if bit_Fast_Unaligned_Load is set.
36142         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36143         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36144         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36145         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36146         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36147         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36148         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36149         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
36150         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
36151         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
36152         to 4.
36153         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
36154         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
36155         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
36156         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
36158 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
36160         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
36161         instead of #if to avoid a Wundef warning.
36162         * stdlib/tst-limits.c (do_test): Likewise.
36164         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
36165         parallel other exception macros.
36166         (fegetenv): Convert from macro to extern inline so that it applies
36167         retroactively to inline functions already seen by the compiler.
36168         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
36170         * posix/Makefile (before-compile): Use $(objpfx) for
36171         posix-conf-vars-def.h.
36173 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36175         * posix/getconf.c (main): Use size_t for type of I.
36176         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
36177         NSPEC.
36179         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
36180         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
36181         * posix/posix-envs.def: Likewise.
36182         * sysdeps/posix/sysconf.c: Likewise.
36183         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
36184         (specs): Remove array.
36185         * scripts/gen-posix-conf-vars.awk: Support generation of specs
36186         array.
36188         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
36189         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
36190         (__sysconf): Use CONF_IS_* macros.
36192         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
36193         ($(objpfx)posix-conf-vars-def.h): New target.
36194         * posix/posix-conf-vars.list: New file.
36195         * posix/posix-conf-vars.h: New file.
36196         * posix/confstr.c: Include posix-conf-vars.h.
36197         (confstr): Use CONF_IS_* macros.
36198         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
36199         CONF_IS_* macros.
36200         * scripts/gen-posix-conf-vars.awk: New file.
36202 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
36204         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
36205         fegetround): Add no-op macros to avoid linknamespace issues.
36207         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
36208         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
36210         * sysdeps/unix/sysv/linux/tile/sysdep.h
36211         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
36212         assembly-specific section to avoid a redefinition warning.
36214         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
36215         long before casting to pointer to avoid a cast warning.
36217 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
36219         * sysdeps/tile/tilegx/Implies: New file.
36221 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
36223         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
36225 2014-12-23  Florian Weimer  <fweimer@redhat.com>
36227         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
36229 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36231         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
36232         not define.
36233         * sysdeps/unix/sysv/linux/utimes.c: Do not include
36234         <kernel-features.h>.
36235         (__utimes) [__NR_utimes]: Make code unconditional.
36236         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
36237         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
36238         (__ASSUME_UTIMES): Do not undefine.
36239         * sysdeps/unix/sysv/linux/tile/kernel-features.h
36240         (__ASSUME_UTIMES): Likewise.
36241         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36242         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
36243         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
36244         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
36246 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36248         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
36250 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
36252         [BZ #17747]
36253         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
36254         alias to weak alias for j0l, y0l.
36255         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
36256         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
36258         [BZ #17746]
36259         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
36260         conversion.
36262 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
36264         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
36265         to zero if not already defined.
36267 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36269         [BZ #17724]
36270         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
36271         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
36272         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
36273         (char *) casts added.
36274         * sysdeps/ieee754/k_standardf.c: New file.
36275         * sysdeps/ieee754/k_standardl.c: Likewise.
36276         * math/Makefile (libm-support): Remove k_standard.
36277         (libm-calls): Add k_standard.
36279 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36281         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
36282         Optimize to avoid an unnecessary FPCR read.
36284 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36286         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
36287         Optimize to reduce FPCR/FPSR accesses.
36289 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36291         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
36292         Call libc_fetestexcept_aarch64.
36294 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
36296         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
36297         Call libc_fesetround_aarch64.
36299 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
36301         [BZ #17733]
36302         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
36303         (__bind): Do not define as weak alias.
36304         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
36305         define.
36306         (__getsockname): Do not define as weak alias.
36308 2014-12-22  Will Newton  <will.newton@linaro.org>
36310         * manual/install.texi: Document that we require bison 2.7
36311         or above.
36312         * INSTALL: Regenerate.
36313         * configure.ac: Use AC_CHECK_PROG_VER instead of
36314         AC_PATH_PROG when checking for bison and check for
36315         version 2.7 or above.
36316         * configure: Regenerate.
36318 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
36320         [BZ #17745]
36321         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
36322         * sysdeps/tile/ffsll.c (ffsll): To here.
36324         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
36326 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36328         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
36329         if not defined.
36330         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
36331         definition.
36332         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36333         hidden ___tls_get_addr.
36334         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
36335         hidden __tls_get_addr.
36336         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
36337         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
36338         Likewise.
36340 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
36342         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
36343         _dl_init call.
36345 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
36347         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
36348         from "call _dl_init@PLT".
36349         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
36351 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
36353         * manual/search.texi: (Array Sort Function): Clarify stable sorting
36354         guarantees.
36356 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
36358         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
36360 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36362         [BZ #17744]
36363         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
36364         strnlen.
36366 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36368         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
36369         of multu on MIPSr6.
36370         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
36371         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
36372         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
36373         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
36374         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
36376 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
36378         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
36379         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
36380         (PTR_SUBU): Use subu for mips32r6/mips64r6.
36381         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
36382         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
36383         mips32r6/mips64r6.
36384         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
36386 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
36388         * string/strncat.c (STRNCAT): Simplify implementation.
36390 2014-12-19  David S. Miller  <davem@davemloft.net>
36392         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
36393         access the quad as both a long double and as a series of 4 words.
36395         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
36396         link_map->l_info array access.
36398 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
36400         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
36402         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
36403         * math/atest-exp2.c (TIMEOUT): Likewise.
36404         * math/atest-sincos.c (TIMEOUT): Likewise.
36406 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36408         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
36409         -Wno-error with -fno-builtin-lround.
36411 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36413         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
36414         Contains futex constants and functions moved over from ...
36415         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
36416         <lowlevellock-futex.h>.
36417         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36418         (lll_timedwait_tid): Add comments and parentheses around macro
36419         arguments.
36421 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36423         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
36424         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
36425         (__lll_private_flag): Remove.
36426         (lll_futex_wait): Likewise.
36427         (lll_futex_timed_wait): Likewise.
36428         (lll_futex_wake): Likewise.
36429         (lll_futex_requeue): Likewise.
36430         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
36431         (__lll_timedwait_tid): Spell out argument names.
36432         (lll_timedwait_tid): Add comments and parentheses around macro
36433         arguments.
36434         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
36435         LLL_SHARED and LLL_PRIVATE usable from assembly code.
36437 2014-12-19  Torvald Riegel  <triegel@redhat.com>
36439         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
36440         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
36441         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36442         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
36443         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
36444         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
36445         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
36446         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
36447         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
36448         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
36449         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
36450         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
36451         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
36452         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
36453         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
36454         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
36455         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
36456         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
36457         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
36459 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36461         * sysdeps/x86_64/x32/Makefile: New file.
36463 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
36465         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
36466         1L with (mp_limb_t) 1.
36468 2014-12-17  Roland McGrath  <roland@hack.frob.com>
36470         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
36471         * nptl/libc_pthread_init.c: ... here.
36472         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
36473         * nptl/register-atfork.c: ... here.
36475         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
36476         Use pthread_sigmask rather than INTERNAL_SYSCALL.
36477         Use assert_perror to check its return value.
36478         (__gai_create_helper_thread): Likewise.
36480         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
36482         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
36484 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
36486         [BZ #17725]
36487         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
36488         __profil_counter.
36489         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
36490         Likewise.
36491         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
36492         Likewise.
36493         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
36494         Likewise.
36495         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
36496         (profil_counter): Likewise.
36497         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
36498         (profil_counter): Likewise.
36499         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
36500         Likewise.
36501         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
36502         Likewise.
36503         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
36504         (profil_counter): Likewise.
36505         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
36506         Likewise.
36507         [!__profil_counter] (profil_counter): Define as weak alias of
36508         __profil_counter.
36509         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
36510         (profil_counter): Rename to __profil_counter.
36511         [!__profil_counter] (profil_counter): Define as weak alias of
36512         __profil_counter.
36513         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
36514         (profil_counter): Rename to __profil_counter.
36515         [!__profil_counter] (profil_counter): Define as weak alias of
36516         __profil_counter.
36517         * sysdeps/posix/profil.c: Update comment referring to
36518         profil_counter.
36519         (__profil): Use __profil_counter instead of profil_counter.
36520         * sysdeps/posix/sprofil.c (profil_counter): Rename to
36521         __profil_counter.  Use __profil_counter_ushort and
36522         __profil_counter_uint in definitions.
36523         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
36524         instead of profil_counter_uint and profil_counter_ushort.
36526         [BZ #17722]
36527         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
36528         define as weak alias of __inet_makeaddr.
36529         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
36530         as weak alias of __inet_addr.
36531         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
36532         as weak alias of __inet_pton.  Use libc_hidden_weak.
36533         * include/arpa/inet.h (__inet_pton): Declare.  Use
36534         libc_hidden_proto.
36535         (inet_makeaddr): Don't use libc_hidden_proto.
36536         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
36537         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
36538         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
36539         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
36540         Remove variable.
36541         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
36542         (test-xfail-POSIX/time.h/linknamespace): Likewise.
36544 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
36546         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
36548 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36550         * stdio-common/bug-vfprintf-nargs.c (do_test):
36551         Cast value to intptr_t to avoid format warning
36552         for usage with PRIdPTR printing macro.
36554 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36556         * libio/tst-widetext.c (do_test):
36557         Use format type %td instead of %Zd for ptrdiff_t
36558         in order to avoid format warning.
36560 2014-12-17  Andreas Schwab  <schwab@suse.de>
36562         * nscd/mem.c (gc): Add size_t cast to match printf format.
36564 2014-12-16  Roland McGrath  <roland@hack.frob.com>
36566         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
36567         (init): Apply PTR_MANGLE to pointers before storing them.
36568         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
36569         before using them.
36571 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
36573         [BZ #17719]
36574         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
36575         define as weak alias of __memrchr.
36576         (__memrchr): Do not define as strong alias of memrchr.
36577         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
36578         Remove variable.
36579         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
36580         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
36581         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
36583         [BZ #17717]
36584         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
36585         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
36586         (if_indextoname): Rename to __if_indextoname and define as weak
36587         alias of __if_indextoname.  Use libc_hidden_weak.
36588         (if_freenameindex): Rename to __if_freenameindex and define as
36589         weak alias of __if_freenameindex.
36590         (if_nameindex): Rename to __if_nameindex and define as weak alias
36591         of __if_nameindex.
36592         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
36593         __if_nametoindex and define as weak alias of __if_nametoindex.
36594         Use libc_hidden_weak.
36595         (if_freenameindex): Rename to __if_freenameindex and define as
36596         weak alias of __if_freenameindex.
36597         (if_nameindex): Rename to __if_nameindex and define as weak alias
36598         of __if_nameindex.
36599         (if_indextoname): Rename to __if_indextoname and define as weak
36600         alias of __if_indextoname.  Use libc_hidden_weak.
36601         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
36602         __if_nametoindex and define as weak alias of __if_nametoindex.
36603         Use libc_hidden_weak.
36604         (if_freenameindex): Rename to __if_freenameindex and define as
36605         weak alias of __if_freenameindex.  Use libc_hidden_weak.
36606         (if_nameindex_netlink): Use __if_freenameindex instead of
36607         if_freenameindex.
36608         (if_nameindex): Rename to __if_nameindex and define as weak alias
36609         of __if_nameindex.  Use libc_hidden_weak.
36610         (if_indextoname): Rename to __if_indextoname and define as weak
36611         alias of __if_indextoname.  Use libc_hidden_weak.
36612         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
36613         libc_hidden_proto.
36614         [!_ISOMAC] (__if_freenameindex): Likewise.
36615         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
36616         if_nametoindex.
36617         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
36618         variable.
36619         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
36620         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
36621         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
36622         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
36623         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
36624         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
36625         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
36627         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
36628         Remove variable.
36629         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
36630         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
36632 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36634         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
36635         subscript above bounds'
36637         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
36638         bounds.
36640 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
36642         * libio/tst-fopenloc.c: Use test-skeleton.c.
36644         * stdlib/tst-bsearch.c: Use test-skeleton.c.
36645         (entry): Rename to ITEM.
36646         (do_test, comp): Adjust.
36648         * stdio-common/tst-fseek.c: Use test-skeleton.c.
36650 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36652         * string/tester.c: Include <libc-internal.h>.
36653         (test_memset): Ignore -Wmemset-transposed-args.
36655 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36657         * misc/tst-mntent2.c (do_test): Fix warning.
36659 2014-12-16  Torvald Riegel  <triegel@redhat.com>
36661         * elf/tst-unique4lib.cc(a): Mark as used.
36663 2014-12-16  Florian Weimer  <fweimer@redhat.com>
36665         [BZ #17630]
36666         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
36667         names.
36669 2014-12-16  Allan McRae  <allan@archlinux.org>
36671         * stdio-common/Makefile (tests): Re-add bug26.
36673 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
36675         [BZ #17657]
36676         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
36677         static array.
36679 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
36681         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
36682         (__lll_lock_wait): Likewise.
36683         (__lll_timedlock_wait): Likewise.
36684         (__lll_timedwait_tid): Likewise.
36685         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
36686         (__lll_robust_timedlock_wait): Likewise.
36687         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
36688         (lll_cond_trylock): Likewise.
36689         (__lll_lock): Likewise.
36690         (__lll_robust_lock): Likewise.
36691         (__lll_cond_lock): Likewise.
36692         (lll_robust_cond_lock): Likewise.
36693         (__lll_timedlock): Likewise.
36694         (__lll_robust_timedlock): Likewise.
36695         (__lll_unlock): Likewise.
36696         (__lll_robust_unlock): Likewise.
36697         (lll_wait_tid): Likewise.
36698         (lll_timedwait_tid): Likewise.
36700 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36702         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
36704 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36706         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
36708 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36710         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
36711         * stdio-common/tst-sprintf.c: Likewise.
36713 2014-12-15  Torvald Riegel  <triegel@redhat.com>
36715         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
36717 2014-12-15  Jeff Law  <law@redhat.com>
36719         [BZ #16617]
36720         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
36721         on the heap.  (CVE-2012-3406)
36722         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
36723         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
36724         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
36726 2014-12-15  Will Newton  <will.newton@linaro.org>
36728         * manual/install.texi: Bump required version of texinfo
36729         to 4.7 from 4.5.
36730         * INSTALL: Regenerated.
36731         * configure.ac: Check for makeinfo version 4.7 and above.
36732         * configure: Regenerated.
36734 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36736         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
36737         PREFIX, string constant to insert between directory and name.
36738         * sysdeps/posix/shm_open.c: Update caller.
36739         * sysdeps/posix/shm_unlink.c: Likewise.
36740         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
36741         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
36742         (SEM_SHM_PREFIX): New macro.
36743         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
36744         [$(have-thread-library) = no].
36745         * nptl/Makefile (libpthread-routines): Add shm-directory.
36746         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
36747         * sysdeps/nptl/shm-directory.h: New file.
36748         * sysdeps/posix/shm-directory.c
36749         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
36750         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
36751         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
36752         INTERNAL_SYSCALL.
36753         (__where_is_shmfs): Function removed.
36754         (mountpoint, defaultmount, defaultdir, __namedsem_once):
36755         Variables removed.
36756         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
36757         Use SHM_GET_NAME.
36758         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
36760         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
36761         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
36762         unconditional for use inside libpthread.
36763         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
36765 2014-12-12  Roland McGrath  <roland@hack.frob.com>
36767         * nptl/pthread_getaffinity.c: New file.
36768         * nptl/pthread_setaffinity.c: New file.
36769         * nptl/pthread_getname.c: New file.
36770         * nptl/pthread_setname.c: New file.
36772         * nptl/pthread_create.c (START_THREAD_DEFN)
36773         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
36775 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36776             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36778         * resolv/res_send.c (send_vc): Disable warning resplen may
36779         be used uninitialized.
36781 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
36783         * nptl/tst-mutex6.c
36784         (ATTR_NULL): New define checks ATTR against NULL.
36785         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
36786         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
36788 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
36790         [BZ #17581]
36791         * malloc/hooks.c
36792         (mem2mem_check): Revert my previous change.
36793         (malloc_check_get_size): Revert my previous change.
36794         (mem2chunk_check): Revert my previous change.
36796 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36798         * sysdeps/posix/shm-directory.c: New file.
36799         * sysdeps/posix/shm-directory.h: New file.
36800         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
36801         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
36802         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
36803         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
36804         Transmute EPERM to EACCES.
36805         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
36806         from ...
36807         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
36808         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
36810 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36812         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
36813         pointer and cast to uintptr_t.
36814         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
36815         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
36816         Add cast to avoid warning.
36817         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
36819 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36821         * nptl/semaphore.h: Move to ...
36822         * sysdeps/pthread/semaphore.h: ... here.
36823         * Makefile (installed-headers): Change nptl/semaphore.h to
36824         sysdeps/pthread/semaphore.h.
36826 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36828         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
36829         generated error format strings.
36831         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
36832         -Wformat-extra-args warnings for scanf formats.
36833         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
36834         test of zero-length format (duh).
36835         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
36836         corner-case scanf format test.
36837         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
36838         generated fprintf format string.
36839         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
36840         corner-case sprintf format tests.
36841         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
36842         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
36843         -Wformat-extra-args warnings throughout.
36844         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
36845         (CFLAGS-scanf4.c): Likewise.
36846         (CFLAGS-scanf7.c): Likewise.
36847         (CFLAGS-tst-sprintf.c): Likewise.
36848         (CFLAGS-tst-printf.c): Likewise.
36849         (CFLAGS-tst-printfsz.c): Likewise.
36851 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
36853         * include/cpio.h: New file.
36854         * include/fmtmsg.h: Likewise.
36856         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
36857         corresponding format argument to size_t.
36858         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
36859         arguments.
36860         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
36861         corresponding format argument to size_t.
36862         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
36863         arguments.
36864         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
36865         corresponding format argument to size_t.
36866         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
36867         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
36868         (CFLAGS-tst-mbswcs2.c): Likewise.
36869         (CFLAGS-tst-mbswcs3.c): Likewise.
36870         (CFLAGS-tst-mbswcs4.c): Likewise.
36871         (CFLAGS-tst-mbswcs5.c): Likewise.
36872         (CFLAGS-tst-trans.c): Likewise.
36874 2014-12-11  Roland McGrath  <roland@hack.frob.com>
36876         * posix/regexbug1.c (main): Use "%s" format with regerror results,
36877         rather than assuming they won't contain any '%'s.
36879 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
36881         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
36882         inhibit_loop_to_libcall to avoid recursive calls.
36883         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
36884         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
36886 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
36888         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
36889         prototype.
36891 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36893         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
36894         integer value instead of boolean.
36896 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
36898         * malloc/malloc.c: Fix powerof2 check.
36900 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36902         * locale/programs/locfile.h (maybe_swap_uint32):
36903         Remove inline and add unused attribute.
36905 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36907         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
36908         Truncating assembler expression to a .long expression.
36910 2014-12-11  Andreas Schwab  <schwab@suse.de>
36912         * elf/rtld.c (struct map_args): Constify str member.
36913         (do_preload): Constify fname argument.
36915 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36917         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
36918         constants definition.
36920 2014-12-11  Andreas Schwab  <schwab@suse.de>
36922         [BZ #16657]
36923         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
36924         FORCE_ELISION instead of DO_ELISION.
36925         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
36926         Remove.
36927         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
36928         Likewise.
36930         * iconvdata/gconv-modules: Remove duplicate entry.
36932 2014-12-11  Will Newton  <will.newton@linaro.org>
36934         Merge gettext 0.19.3 into intl/.
36936         This involves a number of cosmetic changes to comments
36937         and ANSI function definitions and prototypes throughout
36938         all the files. The gettext copyright header is used but
36939         with the date ranges taken from the glibc copy.
36941         * NEWS: Add gettext merge to 2.21.
36942         * intl/bindtextdom.c: Switch to gettext copyright.
36943         Use ANSI definitions and prototypes.
36944         Use gl_* locking primitives rather than __libc_* ones.
36945         Use __builtin_expect rather than __glibc_likely/unlikely.
36946         * intl/dcgettext.c: Switch to gettext copyright.
36947         Use ANSI definitions and prototypes.
36948         * intl/dcigettext.c: Switch to gettext copyright.
36949         Use ANSI definitions and prototypes.
36950         (INTDIV0_RAISES_SIGFPE): New define.
36951         Use gl_* locking primitives rather than __libc_* ones.
36952         Include eval-plural.h instead of plural-eval.c.
36953         Use __builtin_expect rather than __glibc_likely/unlikely.
36954         * intl/dcngettext.c: Switch to gettext copyright.
36955         Use ANSI definitions and prototypes.
36956         * intl/dgettext.c: Likewise.
36957         * intl/dngettext.c: Likewise.
36958         * intl/plural-eval.c: Renamed to...
36959         * intl/eval-plural.h: ...this.
36960         * intl/explodename.c: Switch to gettext copyright.
36961         Use ANSI definitions and prototypes.
36962         (_nl_explode_name): Use strchr instead of __rawmemchr.
36963         * intl/finddomain.c: Switch to gettext copyright.
36964         Use ANSI definitions and prototypes.
36965         Use gl_* locking primitives rather than __libc_* ones.
36966         (_nl_find_domain): Use malloc rather than alloca for
36967         allocation of temporary locale name.
36968         * intl/gettext.c: Switch to gettext copyright.
36969         Use ANSI definitions and prototypes.
36970         * intl/gettextP.h: Switch to gettext copyright.
36971         Use ANSI definitions and prototypes.
36972         Use gl_* locking primitives rather than __libc_* ones.
36973         * intl/gmo.h: Switch to gettext copyright.
36974         (struct sysdep_string): Move struct segment_pair outside of
36975         struct definition.
36976         * intl/hash-string.c: Use ANSI definitions and prototypes.
36977         * intl/hash-string.h: Switch to gettext copyright.
36978         Use ANSI definitions and prototypes.
36979         * intl/l10nflist.c: Switch to gettext copyright.
36980         Use ANSI definitions and prototypes.
36981         (_nl_normalize_codeset): Avoid integer overflow.
36982         * intl/loadinfo.h: Switch to gettext copyright.
36983         Use ANSI definitions and prototypes.
36984         (LIBINTL_DLL_EXPORTED): New define.
36985         (PATH_SEPARATOR): New define.
36986         * intl/loadmsgcat.c: Switch to gettext copyright.
36987         * intl/localealias.c: Switch to gettext copyright.
36988         Use ANSI definitions and prototypes.
36989         (_nl_expand_alias): Use PATH_SEPARATOR.
36990         * intl/ngettext.c: Switch to gettext copyright.
36991         Use ANSI definitions and prototypes.
36992         * intl/plural-exp.c: Likewise.
36993         * intl/plural-exp.h: Switch to gettext copyright.
36994         Use ANSI definitions and prototypes.
36995         (struct expression): Move definition of enum operator outside
36996         of struct definition.
36997         * intl/plural.c: Regenerate.
36998         * intl/plural.y: Switch to gettext copyright.
36999         Use ANSI definitions and prototypes.
37000         Port to bison 3.0.
37001         * intl/textdomain.c: Switch to gettext copyright.
37002         Use ANSI definitions and prototypes.
37003         Use gl_* locking primitives rather than __libc_* ones.
37005 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
37007         * debug/warning-nop.c: Add used atrribute.
37009 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37011         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
37013         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
37014         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
37015         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
37017 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37018             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37020         [BZ #17634]
37021         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
37022         Undefine after defining function.  Define as weak alias of
37023         __wcschr.  Use libc_hidden_weak.
37024         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
37025         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
37026         (libc_hidden_def): Also define __GI___wcschr alias.
37027         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
37028         __wcschr and define as weak alias of __wcschr.
37029         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
37030         __wcschr.
37031         [!WCSCHR] (DEFAULT_WCSCHR): Define.
37032         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
37033         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
37034         libc_hidden_weak.  Do not use libc_hidden_def.
37035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
37036         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
37037         __GI___wcschr alias.
37038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
37039         [IS_IN (libc)] (wcschr): Define as macro expanding to
37040         __redirect_wcschr.
37041         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
37042         [IS_IN (libc)] (__wcschr_power6): Likewise.
37043         [IS_IN (libc)] (__wcschr_power7): Likewise.
37044         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
37045         instead of wcschr.
37046         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
37047         __libc_wcschr.
37048         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
37049         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
37050         __wcschr and define as weak alias of __wcschr.  Use
37051         libc_hidden_builtin_def.
37052         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
37053         as weak alias of __wcschr.  Use libc_hidden_weak.
37054         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
37055         wcschr.
37056         * time/era.c (_nl_init_era_entries): Likewise.
37057         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
37058         variable.
37059         (test-xfail-XPG3/time.h/linknamespace): Likewise.
37060         (test-xfail-XPG4/time.h/linknamespace): Likewise.
37062 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37064         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
37065         format for long int variable.
37067 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
37069         [BZ #10672]
37070         * manual/search.texi: (Array Sort Function): Remove claim how to make
37071         qsort stable.
37073 2014-12-10  Andreas Schwab  <schwab@suse.de>
37075         [BZ #12847]
37076         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
37077         user-controlled locks.
37079 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
37081         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
37082         register.
37084 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
37086         * configure.ac (--disable-werror): New configure option.
37087         (enable_werror): New AC_SUBST.
37088         * configure: Regenerated.
37089         * config.make.in (enable-werror): New variable.
37090         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
37091         -Wno-error=undef.
37092         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
37093         * manual/install.texi (Configuring and compiling): Document
37094         --disable-werror.
37095         * INSTALL: Regenerated.
37096         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
37097         (CFLAGS-tst-chk2.c): Likewise.
37098         (CFLAGS-tst-chk3.c): Likewise.
37099         (CFLAGS-tst-chk4.cc): Likewise.
37100         (CFLAGS-tst-chk5.cc): Likewise.
37101         (CFLAGS-tst-chk6.cc): Likewise.
37102         (CFLAGS-tst-lfschk1.c): Likewise.
37103         (CFLAGS-tst-lfschk2.c): Likewise.
37104         (CFLAGS-tst-lfschk3.c): Likewise.
37105         (CFLAGS-tst-lfschk4.cc): Likewise.
37106         (CFLAGS-tst-lfschk5.cc): Likewise.
37107         (CFLAGS-tst-lfschk6.cc): Likewise.
37109         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
37110         (main): Disable -Wdeprecated-declarations around calls to
37111         register_printf_function.
37113         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
37114         (do_test): Disable -Wdiv-by-zero around some calls to
37115         fwrite_unlocked and fread_unlocked.
37117         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
37118         (DIAG_POP_NEEDS_COMMENT): Likewise.
37119         (_DIAG_STR1): Likewise.
37120         (_DIAG_STR): Likewise.
37121         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
37122         * stdio-common/bug21.c: Include <libc-internal.h>.
37123         (do_test): Disable -Wformat around call to sscanf.
37124         * stdio-common/scanf14.c: Include <libc-internal.h>.
37125         (main): Disable -Wformat around some calls to scanf functions.
37127 2014-12-09  Torvald Riegel  <triegel@redhat.com>
37129         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
37131 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37133         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
37134         stack variable alignment.
37136 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
37138         [BZ #17682]
37139         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
37140         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
37141         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
37142         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
37143         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
37144         __getrlimit instead of getrlimit.
37145         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
37146         __gettimeofday instead of gettimeofday.
37147         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
37148         Likewise.
37149         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
37150         Likewise.
37151         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37152         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
37153         Remove variable.
37154         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
37155         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
37157 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37159         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
37160         for wide-character tests.
37162 2014-12-04  Roland McGrath  <roland@hack.frob.com>
37164         * io/openat64.c: #include <libc-internal.h>
37165         (__openat64): Prototypify.  Use ignore_value on MODE.
37166         * io/openat.c: Likewise.
37167         * misc/reboot.c: #include <libc-internal.h>
37168         (reboot): Prototypify.  Use ignore_value on HOWTO.
37169         * misc/ptrace.c: #include <libc-internal.h>
37170         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
37172 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
37174         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
37175         XPG4, UNIX98 and XOPEN2K.
37176         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
37177         Remove variable.
37178         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
37180 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37182         * libio/fileops.c: Use ISO C style for function definitions.
37183         * libio/iofopen.c: Likewise.
37184         * libio/wfileops.c: Likewise.
37186         [BZ #17653]
37187         * libio/fileops.c (_IO_new_file_underflow): Unset cached
37188         offset on EOF.
37189         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
37190         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
37191         (fgets_func): Function pointer to fgets and fgetws.
37192         (do_ftell_test): Add test to verify ftell value after read
37193         EOF.
37194         (do_test): Set fgets_func.
37196         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
37197         O_TRUNC flag for w and w+ modes.
37198         (do_rewind_test): Likewise.
37199         (do_ftell_test): Likewise.
37200         (do_write_test): Likewise.
37202         [BZ #17647]
37203         * libio/fileops.c (do_ftell): Seek only when there are
37204         unflushed writes.
37205         * libio/wfileops.c (do_ftell_wide): Likewise.
37206         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
37207         test case.
37208         (do_one_test): Call it.
37210 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
37212         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
37213         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
37214         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
37215         Remove variable.
37216         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
37217         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
37218         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
37220 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37222         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
37223         Remove variable.
37224         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
37226         [BZ #17668]
37227         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
37228         as weak alias of __getifaddrs.  Use libc_hidden_weak.
37229         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37230         __freeifaddrs.  Use libc_hidden_weak.
37231         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
37232         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
37233         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37234         __freeifaddrs.  Use libc_hidden_weak.
37235         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
37236         __getifaddrs and define as weak alias of __getifaddrs.  Use
37237         libc_hidden_weak.
37238         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
37239         __freeifaddrs.  Use libc_hidden_weak.
37240         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
37241         Remove variable.
37242         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
37243         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
37245 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
37247         [BZ #17601]
37248         * sysdeps/mips/start.S (__start): Use indirect jump to call
37249         __libc_start_main.
37251 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
37253         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
37255         * nptl/tst-mutex1.c: Include <stdbool.h>.
37256         [!ATTR] (ATTR_NULL): New macro.
37257         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
37258         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
37259         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
37261         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
37262         to char *.
37264         [BZ #17665]
37265         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
37266         Change conditional to [__USE_MISC].
37268         [BZ #17664]
37269         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
37270         fgets_unlocked.
37271         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
37272         __fgets_unlocked.
37273         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
37274         fgets_unlocked.
37275         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
37276         Remove variable.
37277         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
37278         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
37279         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
37280         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
37281         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
37282         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
37283         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
37284         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
37285         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
37287         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
37289 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37291         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37292         Remove strpbrk objects.
37293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37294         (__libc_ifunc_impl_list): Remove strpbrk implementation.
37295         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
37296         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
37297         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
37298         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
37300         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37301         Remove strcspn objects.
37302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37303         (__libc_ifunc_impl_list): Remove strcspn implementation.
37304         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
37305         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
37306         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
37307         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
37309         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37310         Remove strspn objetcs.
37311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37312         (__libc_ifunc_impl_list): Remove strspn implementation.
37313         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
37314         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37315         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
37316         * sysdeps/powerpc/powerpc64/strspn.S: New file.
37318 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
37320         [BZ #17581]
37321         * malloc/hooks.c
37322         (mem2mem_check): Add a terminator to the chain of checking blocks.
37323         (malloc_check_get_size): Use it here.
37324         (mem2chunk_check): Ditto.
37326 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
37328         * sysdeps/powerpc/powerpc64/strtok.S: New file.
37329         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
37331 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
37333         * bits/ioctl-types.h: Indent preprocessor directives correctly.
37335         * nptl/nptl-init.c: Include libc-internal.h.
37336         (__pthread_initialize_minimal_internal): Use ROUND_UP.
37338         * elf/ldconfig.c (search_dir): Expand comment.
37340 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
37342         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
37343         variable.
37344         (linknamespace-symlist-stdlibs-tests): Likewise.
37345         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
37346         instead of $(objpfx)symlist-stdlibs.
37347         (linknamespace-libs-isoc): New variable.
37348         (linknamespace-libs): Use $(linknamespace-libs-isoc).
37349         (linknamespace-libs-ISO): New variable.
37350         (linknamespace-libs-ISO99): Likewise.
37351         (linknamespace-libs-ISO11): Likewise.
37352         (linknamespace-libs-XPG3): Likewise.
37353         (linknamespace-libs-XPG4): Likewise.
37354         (linknamespace-libs-POSIX): Likewise.
37355         (linknamespace-libs-UNIX98): Likewise.
37356         (linknamespace-libs-XOPEN2K): Likewise.
37357         (linknamespace-libs-POSIX2008): Likewise.
37358         (linknamespace-libs-XOPEN2K8): Likewise.
37359         ($(objpfx)symlist-stdlibs): Replace by
37360         $(linknamespace-symlist-stdlibs-tests).  Use
37361         $(linknamespace-libs-$*) as set of libraries.
37362         ($(linknamespace-header-tests)): Update dependencies.  Use
37363         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
37364         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
37365         * conform/linknamespace.pl: Remove comment about considering
37366         definitions of symbols from irrelevant libraries.
37368 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
37370         [BZ #13862]
37371         * elf/dl-tls.c: Include <atomic.h>.
37372         (oom): Remove #ifdef SHARED/#endif.
37373         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
37374         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
37375         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
37376         big enough.
37377         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
37378         * nptl/Makefile (tests): Add tst-stack4.
37379         (modules-names): Add tst-stack4mod.
37380         ($(objpfx)tst-stack4): New.
37381         (tst-stack4mod.sos): Likewise.
37382         ($(objpfx)tst-stack4.out): Likewise.
37383         ($(tst-stack4mod.sos)): Likewise.
37384         (clean): Likewise.
37385         * nptl/tst-stack4.c: New file.
37386         * nptl/tst-stack4mod.c: Likewise.
37388 2014-11-27  J. Brown  <jb999@gmx.de>
37390         * sysdeps/x86/bits/string.h: Add recent CPUs.
37392 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37394         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
37395         sigblock.
37397         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
37398         feof.
37400         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
37401         variable.
37403 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
37405         * nscd/connections.c: Include libc-internal.h because of macro
37406         usage ignore_value.
37408 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37410         * string/bits/string3.h (__warn_memset_zero_len): Don't
37411         declare for gcc newer than 5.0.
37412         (memset): Don't test for zero-length __LEN for gcc newer than
37413         5.0.
37415 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
37417         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
37418         size_t for %zu format.
37420         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
37421         difference, not %ju.
37423 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37425         * include/libc-internal.h (ignore_value): New macro.
37426         * nscd/connections.c (restart): Wrap calls to setuid and setgid
37427         with ignore_value.
37429         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
37430         definition.
37432         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
37433         pthread_cleanup_push to void *.
37435         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
37436         Undefine.
37438         [BZ #16619]
37439         [BZ #16740]
37440         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
37441         instead of 1L << 52.
37443         * libio/bug-rewind.c (do_test): Check fwscanf return values.
37444         * libio/bug-rewind2.c (do_test): Likewise.
37446         * debug/test-stpcpy_chk-ifunc.c: Remove file.
37447         * debug/test-strcpy_chk-ifunc.c: Likewise.
37448         * wcsmbs/test-wcschr-ifunc.c: Likewise.
37449         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37450         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37451         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37452         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37453         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37454         * Rules [$(multi-arch) = no] (tests): Do not filter out
37455         $(tests-ifunc).
37456         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
37457         * debug/Makefile (tests-ifunc): Remove variable.
37458         (tests): Do not add $(tests-ifunc).
37459         * wcsmbs/Makefile (tests-ifunc): Remove variable.
37460         (tests): Do not add $(tests-ifunc).
37461         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
37462         [TEST_IFUNC]: Remove conditionals.
37463         * string/test-string.h (TEST_IFUNC): Remove macro.
37464         [TEST_IFUNC]: Remove conditionals.
37466         * string/test-strchr.c [!WIDE] (L): New macro.
37467         [WIDE] (L): Likewise.
37468         (check1): Use CHAR instead of char.  Use L on string and character
37469         constants.
37471 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
37473         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
37474         tests.
37475         * sysdeps/powerpc/bits/atomic.h
37476         (__arch_atomic_exchange_and_add_32_acq): Add definition.
37477         (__arch_atomic_exchange_and_add_32_rel): Likewise.
37478         (atomic_exchange_and_add_acq): Likewise.
37479         (atomic_exchange_and_add_rel): Likewise.
37480         * sysdeps/powerpc/powerpc32/bits/atomic.h
37481         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37482         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37483         * sysdeps/powerpc/powerpc64/bits/atomic.h
37484         (__arch_atomic_exchange_and_add_64_acq): Add definition.
37485         (__arch_atomic_exchange_and_add_64_rel): Likewise.
37487 2014-11-26  Torvald Riegel  <triegel@redhat.com>
37489         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
37490         Change synchronization of __sched_fifo_min_prio and
37491         __sched_fifo_max_prio.
37492         * nptl/pthread_mutexattr_getprioceiling.c
37493         (pthread_mutexattr_getprioceiling): Likewise.
37494         * nptl/pthread_mutexattr_setprioceiling.c
37495         (pthread_mutexattr_setprioceiling): Likewise.
37496         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
37497         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
37498         Likewise.
37500 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
37502         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
37503         void.
37505 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37507         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
37508         third argument const.
37510 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
37512         fnmatch: work around GCC compiler warning bug with uninit var
37513         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
37514         This works around a bug with x86-64 GCC 4.9.2 and earlier
37515         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
37516         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
37517         used uninitialized in this function [-Wmaybe-uninitialized]".
37519 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
37521         * posix/bug-regex31.c (main): Return RES not 0.
37523 2014-11-25  Anton Blanchard <anton@samba.org>
37525         * sysdeps/powerpc/bits/atomic.h
37526         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
37528 2014-11-24  Sterling Augustine  <saugustine@google.com>
37530         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
37532 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
37534         [BZ #17608]
37535         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
37537 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
37539         [BZ #17633]
37540         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
37541         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
37542         variable.
37543         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
37544         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
37546 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37548         * string/strncpy.c (strncpy): Improve performance by using memset.
37550 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
37552         * string/strcpy.c (strcpy):
37553         Improve performance by using strlen and memcpy.
37555 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
37557         * string/strcoll_l.c (get_next_seq): __always_inline.
37558         * string/strcoll_l.c (do_compare): __always_inline.
37560 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37562         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
37563         defined.
37564         * include/mqueue.h: Likewise.
37565         * include/stdlib.h: Likewise.
37567         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
37568         (get_null_defines): Adjust.
37569         * sunrpc/Makefile: Adjust comment.
37570         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
37571         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
37572         (CFLAGS-interp.c): Likewise.
37573         (CFLAGS-ldconfig.c): Likewise.
37574         (CPPFLAGS-.os): Likewise.
37575         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37576         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
37577         * extra-modules.mk (extra-modules.mk): Likewise.
37578         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
37579         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
37580         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
37581         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
37582         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
37583         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
37584         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
37585         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
37586         * iconvdata/Makefile (CPPFLAGS): Likewise.
37587         (cpp-srcs-left): Add libof for all iconvdata routines.
37588         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
37589         * include/assert.h: Likewise.
37590         * include/ctype.h: Likewise.
37591         * include/errno.h: Likewise.
37592         * include/libc-symbols.h: Likewise.
37593         * include/math.h: Likewise.
37594         * include/netdb.h: Likewise.
37595         * include/resolv.h: Likewise.
37596         * include/stdio.h: Likewise.
37597         * include/stdlib.h: Likewise.
37598         * include/string.h: Likewise.
37599         * include/sys/stat.h: Likewise.
37600         * include/wctype.h: Likewise.
37601         * intl/l10nflist.c: Likewise.
37602         * libidn/idn-stub.c: Likewise.
37603         * libio/libioP.h: Likewise.
37604         * nptl/libc_multiple_threads.c: Likewise.
37605         * nptl/pthreadP.h: Likewise.
37606         * posix/regex_internal.h: Likewise.
37607         * resolv/res_hconf.c: Likewise.
37608         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
37609         * sysdeps/arm/memmove.S: Likewise.
37610         * sysdeps/arm/sysdep.h: Likewise.
37611         * sysdeps/generic/_itoa.h: Likewise.
37612         * sysdeps/generic/symbol-hacks.h: Likewise.
37613         * sysdeps/gnu/errlist.awk: Likewise.
37614         * sysdeps/gnu/errlist.c: Likewise.
37615         * sysdeps/i386/i586/memcpy.S: Likewise.
37616         * sysdeps/i386/i586/memset.S: Likewise.
37617         * sysdeps/i386/i686/memcpy.S: Likewise.
37618         * sysdeps/i386/i686/memmove.S: Likewise.
37619         * sysdeps/i386/i686/mempcpy.S: Likewise.
37620         * sysdeps/i386/i686/memset.S: Likewise.
37621         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37622         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37623         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
37624         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
37625         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37626         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37627         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
37628         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37629         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37630         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37631         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37632         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37633         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37634         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37635         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37636         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37637         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
37638         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
37639         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
37640         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37641         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37642         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37643         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37644         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37645         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37646         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37647         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
37648         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37649         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
37650         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37651         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37652         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37653         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37654         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37655         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37656         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
37657         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37658         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37659         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37660         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37661         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37662         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37663         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37664         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37665         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37666         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37667         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
37668         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
37669         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37670         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37671         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37672         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
37673         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
37674         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37675         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37676         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
37677         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37678         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
37679         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
37680         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37681         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37682         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37683         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
37684         * sysdeps/nptl/bits/libc-lock.h: Likewise.
37685         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
37686         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
37687         * sysdeps/posix/closedir.c: Likewise.
37688         * sysdeps/posix/opendir.c: Likewise.
37689         * sysdeps/posix/readdir.c: Likewise.
37690         * sysdeps/posix/rewinddir.c: Likewise.
37691         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
37692         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
37693         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
37694         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37695         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
37696         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
37697         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
37698         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
37699         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
37700         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
37701         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
37702         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
37703         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
37704         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
37705         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
37706         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
37707         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
37708         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
37709         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
37710         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
37711         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
37712         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
37713         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
37714         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
37715         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
37716         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
37717         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
37718         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
37719         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
37720         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
37721         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
37722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
37723         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
37724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
37725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
37726         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
37727         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
37728         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37729         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
37730         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
37731         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
37732         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
37733         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
37734         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
37735         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
37736         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
37737         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
37738         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
37739         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
37740         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
37741         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
37742         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
37743         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
37744         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
37745         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
37746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
37747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
37748         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
37749         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
37750         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
37751         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
37752         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
37753         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
37754         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
37755         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
37756         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
37757         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
37758         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
37759         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
37760         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
37761         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
37762         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
37763         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
37764         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
37765         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
37766         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
37767         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
37768         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
37769         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
37770         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
37771         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
37772         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37773         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
37774         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
37775         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
37776         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
37777         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
37778         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37779         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37780         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37781         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
37782         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
37783         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
37784         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
37785         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37786         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
37787         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
37788         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
37789         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
37790         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
37791         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37792         * sysdeps/unix/alpha/sysdep.S: Likewise.
37793         * sysdeps/unix/alpha/sysdep.h: Likewise.
37794         * sysdeps/unix/make-syscalls.sh: Likewise.
37795         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
37796         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37797         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
37798         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
37799         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
37800         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
37801         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
37802         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37803         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
37804         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
37805         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37806         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
37807         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37808         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37809         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
37810         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37811         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37812         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37813         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37814         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
37815         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
37816         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37817         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
37818         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
37819         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
37820         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
37821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
37823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
37824         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
37825         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37826         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
37827         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37828         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37829         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
37830         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
37831         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37832         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37833         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
37834         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
37835         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37836         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
37837         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37838         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
37839         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37840         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
37841         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37842         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37843         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
37844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37845         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37846         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
37847         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37848         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
37849         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
37850         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37851         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
37852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37853         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
37854         * sysdeps/x86_64/memcpy.S: Likewise.
37855         * sysdeps/x86_64/memmove.c: Likewise.
37856         * sysdeps/x86_64/memset.S: Likewise.
37857         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
37858         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37859         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
37860         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
37861         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
37862         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37863         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37864         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37865         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37866         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37867         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37868         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37869         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
37870         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37871         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37872         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
37873         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
37874         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37875         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37876         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37877         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
37878         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37879         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37880         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
37881         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37882         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37883         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37884         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
37885         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37886         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37887         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
37888         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37889         * sysdeps/x86_64/strcmp.S: Likewise.
37891         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
37893         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
37894         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
37895         * elf/rtld-Rules: Likewise.
37896         * elf/setup-vdso.h: Likewise.
37897         * include/assert.h: Likewise.
37898         * include/bits/stdlib-float.h: Likewise.
37899         * include/errno.h: Likewise.
37900         * include/sys/stat.h: Likewise.
37901         * include/unistd.h: Likewise.
37902         * sysdeps/aarch64/setjmp.S: Likewise.
37903         * sysdeps/alpha/setjmp.S: Likewise.
37904         * sysdeps/arm/__longjmp.S: Likewise.
37905         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
37906         * sysdeps/arm/setjmp.S: Likewise.
37907         * sysdeps/arm/sysdep.h: Likewise.
37908         * sysdeps/generic/_itoa.h: Likewise.
37909         * sysdeps/generic/dl-sysdep.h: Likewise.
37910         * sysdeps/generic/ldsodefs.h: Likewise.
37911         * sysdeps/i386/dl-tls.h: Likewise.
37912         * sysdeps/i386/setjmp.S: Likewise.
37913         * sysdeps/m68k/setjmp.c: Likewise.
37914         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
37915         * sysdeps/mach/hurd/opendir.c: Likewise.
37916         * sysdeps/posix/getcwd.c: Likewise.
37917         * sysdeps/posix/opendir.c: Likewise.
37918         * sysdeps/posix/profil.c: Likewise.
37919         * sysdeps/powerpc/dl-procinfo.h: Likewise.
37920         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37921         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
37922         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37923         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37924         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
37925         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
37926         * sysdeps/s390/dl-tls.h: Likewise.
37927         * sysdeps/s390/s390-32/setjmp.S: Likewise.
37928         * sysdeps/s390/s390-64/setjmp.S: Likewise.
37929         * sysdeps/sh/sh3/setjmp.S: Likewise.
37930         * sysdeps/sh/sh4/setjmp.S: Likewise.
37931         * sysdeps/unix/alpha/sysdep.h: Likewise.
37932         * sysdeps/unix/arm/sysdep.S: Likewise.
37933         * sysdeps/unix/i386/sysdep.S: Likewise.
37934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
37935         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
37936         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37937         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37939         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
37940         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
37941         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
37942         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
37943         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
37944         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
37945         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37946         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37949         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37951         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37952         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37953         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37954         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37955         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37956         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37957         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37958         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
37959         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37961         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37962         * sysdeps/x86_64/setjmp.S: Likewise.
37964         * include/math.h: Use IS_IN instead of IS_IN_libm.
37965         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
37966         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37967         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37968         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
37969         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37970         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37971         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37972         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37973         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37974         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37975         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
37976         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
37977         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
37978         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
37979         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
37980         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
37981         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
37982         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
37983         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
37984         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
37985         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
37986         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
37987         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
37988         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
37989         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
37990         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
37991         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
37992         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
37993         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
37994         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
37995         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
37996         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
37997         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
37998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
37999         Likewise.
38000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
38001         Likewise.
38002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
38003         Likewise.
38004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
38005         Likewise.
38006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
38007         Likewise.
38008         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
38009         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
38010         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
38011         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38012         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38013         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
38015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
38016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
38017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
38018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
38019         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
38020         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
38021         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
38022         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
38023         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38024         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
38025         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
38026         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38027         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
38028         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
38029         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
38030         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
38031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
38032         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
38033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
38034         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
38036         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
38037         * nptl/pthreadP.h: Likewise.
38038         * nptl_db/structs.def: Likewise.
38039         * sysdeps/arm/sysdep.h: Likewise.
38040         * sysdeps/nptl/bits/libc-lock.h: Likewise.
38041         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
38042         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
38043         * sysdeps/unix/alpha/sysdep.h: Likewise.
38044         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38045         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
38046         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38047         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38048         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38049         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38050         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38051         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38052         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38053         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38054         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38055         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38056         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38057         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
38059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
38060         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38061         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38062         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38064         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38065         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38066         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
38067         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38068         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
38069         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38071         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
38072         * nptl/pthreadP.h: Likewise.
38073         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
38074         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
38075         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
38076         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
38077         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
38078         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
38079         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
38080         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
38081         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
38082         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
38083         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
38084         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
38085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38086         Likewise.
38087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38088         Likewise.
38089         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
38090         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
38091         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
38092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
38093         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
38094         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
38095         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
38096         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
38098         * dlfcn/dladdr.c: Use IS_IN.
38099         * dlfcn/dladdr1.c: Likewise.
38100         * dlfcn/dlclose.c: Likewise.
38101         * dlfcn/dlerror.c: Likewise.
38102         * dlfcn/dlinfo.c: Likewise.
38103         * dlfcn/dlmopen.c: Likewise.
38104         * dlfcn/dlopen.c: Likewise.
38105         * dlfcn/dlsym.c: Likewise.
38106         * dlfcn/dlvsym.c: Likewise.
38108         * include/ifaddrs.h: Use IS_IN.
38109         * inet/check_pf.c: Likewise.
38110         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38111         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
38113         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
38114         IS_IN_ldconfig.
38115         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
38116         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
38118         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
38119         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
38120         IS_IN (libc).
38122         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
38124         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
38125         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
38126         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
38127         * include/libc-symbols.h (IS_IN_LIB): New macro.
38128         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
38129         * include/netdb.h: Likewise.
38130         * include/stap-probe.h: Remove all uses of IN_LIB.
38132         * Makeconfig (module-cppflags-real): Define MODULE_NAME
38133         instead of IN_MODULE.
38134         * include/libc-symbols.h (IN_MODULE): Define using
38135         MODULE_NAME.
38136         (PASTE_NAME, PASTE_NAME1): New macros.
38137         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
38138         of IN_LIB.
38139         (STAP_PROBE_ASM): Likewise.
38141 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38143         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
38144         __mach_init in dlopened libc.
38146 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
38148         * sysdeps/arm/preconfigure.ac: Delete EABI check.
38149         * sysdeps/arm/preconfigure: Regenerate.
38151 2014-11-21  Roland McGrath  <roland@hack.frob.com>
38153         * nptl/pthread_create.c (__pthread_create_2_1): Set
38154         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
38155         when copying values from IATTR into PD.
38157 2014-11-21  Will Newton  <will.newton@linaro.org>
38158             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
38160         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
38161         Refactor inline-asm.  Also add comment.
38163         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
38164         ElfW macro instead of hardcoded Elf64 types.
38165         (la_aarch64_gnu_pltenter): Likewise.
38166         * sysdeps/aarch64/dl-machine.h
38167         (elf_machine_runtime_setup): Use ElfW(Addr).
38169         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
38170         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
38171         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
38172         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
38173         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
38174         (R_AARCH64_TLS_DTPMOD64): Rename to ..
38175         (R_AARCH64_TLS_DTPMOD): This.
38176         (R_AARCH64_TLS_DTPREL64): Rename to ...
38177         (R_AARCH64_TLS_DTPREL): This.
38178         (R_AARCH64_TLS_TPREL64): Rename to ...
38179         (R_AARCH64_TLS_TPREL): This.
38180         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
38181         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
38182         R_AARCH64_TLS_TPREL64.
38183         (elf_machine_rela): Likewise.
38185 2014-11-21  Torvald Riegel  <triegel@redhat.com>
38187         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
38188         by setting it to 0.  64b atomics are not supported currently.
38190 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38192         [BZ #16469]
38193         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
38194         search domain names.
38196 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38198         [BZ #16469]
38199         * NEWS: Update.
38200         * resolv/res_query.c (__libc_res_nquerydomain): Retain
38201         trailing dot.
38202         * posix/tst-getaddrinfo5.c: New.
38203         * posix/Makefile (tests): Add it.
38205 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38207         [BZ #14498]
38208         * NEWS: Fixed.
38209         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
38210         after parsing line but before break_if_match.
38211         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
38212         if there is a protocol mismatch.
38214 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
38216         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
38217         because the potential race is on the user-supplied stream.
38219 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38221         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
38222         string literal if not passed a buffer.
38223         * manual/job.texi (ctermid): Update reasoning, note deviation
38224         from posix, suggest mtasurace when not passed a buffer, for
38225         future non-preliminary safety notes.
38227 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38229         * manual/users.texi (cuserid): Fix MT-Safety note for the case
38230         of not passing it a buffer.
38231         Reported by Peng Haitao.
38233 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
38235         * manual/Makefile ($(objpfx)stamp-summary): Require
38236         check-safety.sh to pass.
38237         * manual/check-safety.sh: Wish for verification that every
38238         @deftypefn and @deftypefun is followed by a @safety remark.
38240 2014-11-20  Roland McGrath  <roland@hack.frob.com>
38242         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
38244         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
38245         PTHREAD_CANCEL_ASYNCHRONOUS.
38246         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
38247         send SIGCANCEL.
38249         * nptl/default-sched.h: New file.
38250         * sysdeps/unix/sysv/linux/default-sched.h: New file.
38251         * nptl/pthread_create.c: Include it.
38252         (__pthread_create_2_1): Use collect_default_sched instead of making
38253         Linux syscalls here directly.
38255 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38257         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
38258         __pthread_once): Use C11 atomics.
38260 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38262         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
38264 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38266         * include/atomic.h (__atomic_link_error, __atomic_check_size,
38267         atomic_thread_fence_acquire, atomic_thread_fence_release,
38268         atomic_thread_fence_seq_cst, atomic_load_relaxed,
38269         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
38270         atomic_compare_exchange_weak_relaxed,
38271         atomic_compare_exchange_weak_acquire,
38272         atomic_compare_exchange_weak_release,
38273         atomic_exchange_acquire, atomic_exchange_release,
38274         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
38275         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
38276         atomic_fetch_and_acquire,
38277         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
38279 2014-11-20  Torvald Riegel  <triegel@redhat.com>
38281         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
38282         USE_ATOMIC_COMPILER_BUILTINS): Define.
38283         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
38284         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38285         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
38286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38287         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
38288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38289         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
38290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38291         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
38292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38293         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
38294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38295         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
38296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38297         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
38298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38299         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38301         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38303         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
38304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38305         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
38306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38307         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
38308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38309         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
38310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38311         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
38312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38313         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
38314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38315         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
38316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38317         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
38318         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38319         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
38320         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38321         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
38322         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
38324 2014-11-19  Roland McGrath  <roland@hack.frob.com>
38326         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
38327         the sched_priority value here.  It was already checked when the user
38328         called pthread_attr_setschedparam.
38330         * nptl/tst-bad-schedattr.c: New file.
38331         * nptl/Makefile (tests): Add it.
38333 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
38334             Florian Weimer  <fweimer@redhat.com>
38335             Joseph Myers  <joseph@codesourcery.com>
38336             Adam Conrad  <adconrad@0c3.net>
38337             Andreas Schwab  <schwab@suse.de>
38338             Brooks  <bmoses@google.com>
38340         [BZ #17625]
38341         * wordexp-test.c (__dso_handle): Add prototype.
38342         (__register_atfork): Likewise.
38343         (__app_register_atfork): New function.
38344         (registered_forks): New global.
38345         (register_fork): New function.
38346         (test_case): Add 3 new tests for WRDE_CMDSUB.
38347         (main): Call __app_register_atfork.
38348         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
38349         fork count is non-zero fail the test.
38350         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
38351         is set.
38352         (parse_dollars): Remove check for WRDE_NOCMD.
38353         (parse_dquote): Likewise.
38355 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38357         * Makeconfig (built-modules): List non-library modules to be
38358         built.
38359         (module-cppflags): Include libc-modules.h for
38360         everything except shlib-versions.v.i.
38361         (CPPFLAGS): Use it.
38362         (before-compile): Add libc-modules.h.
38363         ($(common-objpfx)libc-modules.h,
38364         $(common-objpfx)libc-modules.stmp): New targets.
38365         (common-generated): Add libc-modules.h and libc-modules.stmp.
38366         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
38367         * include/libc-symbols.h: Don't include libc-modules.h.
38368         * include/libc-modules.h: Remove file.
38369         * scripts/gen-libc-modules.awk: New script to generate
38370         libc-modules.h.
38371         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
38372         Depend on libc-modules.stmp.
38374         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
38376         * Makeconfig (in-module): Get value of libof set for the
38377         translation unit.
38378         (CPPFLAGS): Use $(in-module).
38379         * Makerules: Don't suffix routine names for nonlib.
38380         * include/libc-modules.h: New file.
38381         * include/libc-symbols.h: Include libc-modules.h
38382         (IS_IN): New macro to replace IS_IN_* macros.
38383         * elf/Makefile: Set libof-* for each routine.
38384         * elf/rtld-Rules: Likewise.
38385         * extra-modules.mk: Likewise.
38386         * iconv/Makefile: Likewise.
38387         * iconvdata/Makefile: Likewise.
38388         * locale/Makefile: Likewise.
38389         * malloc/Makefile: Likewise.
38390         * nss/Makefile: Likewise.
38391         * sysdeps/gnu/Makefile: Likewise.
38392         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
38393         * sysdeps/unix/sysv/linux/Makefile: Likewise.
38394         * sysdeps/s390/s390-64/Makefile: Likewise.
38395         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
38396         CPPFLAGS for nscd instead of nonlib.
38398 2014-11-18  Roland McGrath  <roland@hack.frob.com>
38400         * nptl/createthread.c: New file.
38402         * nptl/createthread.c: Moved ...
38403         * sysdeps/unix/sysv/linux/createthread.c: ... here.
38405         * nptl/createthread.c: Add proper top-line comment.
38406         (do_clone): Folded into ...
38407         (create_thread): ... here.  Take new arguments STOPPED_START and
38408         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
38409         increment __nptl_threads, do event-reporting logic, do
38410         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
38411         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
38412         resource cleanup if sched_setaffinity or sched_setscheduler fails,
38413         just send SIGCANCEL.
38414         * nptl/pthread_create.c: Forward-declare create_thread before
38415         including createthread.c.
38416         (start_thread): Use new macro START_THREAD_DEFN to replace defining
38417         declaration, and new macro START_THREAD_SELF to replace argument.
38418         Remove return statement.
38419         (report_thread_creation): New function.
38420         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
38421         synchronization logic, and __nptl_nthreads increment here, around
38422         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
38423         PD->parent_cancelhandling here, before create_thread.  When
38424         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
38425         __deallocate_stack, and ENOMEM translation here.
38427 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
38429         [BZ #17616]
38430         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
38431         (mptwo): Rename to __mptwo.
38432         (__inv): Use __mptwo instead of mptwo.
38433         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
38434         (mptwo): Rename to __mptwo.
38435         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
38436         of mpone and __mptwo instead of mptwo.
38437         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
38438         instead of mpone.
38439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38440         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
38441         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
38442         of mpone and __mptwo instead of mptwo.
38443         (__mpranred): Use __mpone instead of mpone.
38444         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
38445         variable.
38446         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38447         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38448         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38449         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38450         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38451         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38452         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38453         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38454         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38455         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38456         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38457         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38458         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38459         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38460         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38461         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38462         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38463         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38464         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38466 2014-11-18  Tom de Vries  <tom@codesoucery.com>
38468         * manual/signal.texi (Primitives Interrupted by Signals): In section,
38469         replace BSD Handler xref with BSD Signal Handling.
38471 2014-11-17  Richard Henderson  <rth@redhat.com>
38473         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
38474         (_FP_PACK_RAW_2): Remove.
38475         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
38476         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
38477         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
38478         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
38479         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
38480         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
38481         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
38482         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
38483         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
38484         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
38485         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
38486         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
38487         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
38488         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
38489         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
38490         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
38492 2014-11-14  Roland McGrath  <roland@hack.frob.com>
38494         * signal/signal.h [__USE_MISC]
38495         (struct sigvec): Remove type.
38496         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
38497         (sigvec): Remove declaration.
38498         * sysdeps/posix/sigvec.c: Moved ...
38499         * signal/sigvec.c: ... here, replacing old file.
38500         (struct sigvec): New type, copied from old signal.h definition.
38501         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
38502         (__sigvec): Convert definition to prototype.
38503         (sigvec): Replace weak_alias with compat_symbol.
38504         * signal/Versions (libc: GLIBC_2.21): New version set.
38505         * include/signal.h: Remove __sigvec declaration.
38506         * sysdeps/unix/bsd/sigvec.c: Remove file.
38507         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
38508         * manual/signal.texi (BSD Handler): Remove subsection.
38509         Move siginterrupt up to ...
38510         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
38511         (Blocking in BSD): Fold subsection into its parent.
38512         * NEWS: Mention sigvec removal.
38514 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38516         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
38517         (DLA_FMS): Make definition conditional only on [__FMA4__].
38518         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
38519         definition.
38521         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
38522         Make definition conditional only on [PROF].
38523         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
38524         definition.
38525         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
38526         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
38528         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
38529         !__GNUC__].
38530         * include/signal.h (__sigpause): Move declaration above call to
38531         libc_hidden_proto.
38532         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
38533         variable.
38534         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38535         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38537 2014-11-14  David S. Miller  <davem@davemloft.net>
38539         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
38540         Define before including <string/memcpy.c> and <string/mempcpy.c>.
38542 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
38544         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
38545         * configure: Regenerated.
38546         * manual/install.texi (Tools for Compilation): Document a
38547         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
38548         compiler verified to work.
38549         * INSTALL: Regenerated.
38551         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
38552         redeclare with asm name.
38553         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
38554         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
38555         including <string.h>.
38556         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38557         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
38558         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38559         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
38560         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38561         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
38562         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
38564 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
38566         * stdlib/strtol.c (__strtol): Use prototype definition.
38568         [BZ #17594]
38569         * stdlib/strtol.c (SYM__): New macro.
38570         (SYM__1): Likewise.
38571         (__strtol): Likewise.
38572         (strtol): Rename to __strtol and define as weak alias of
38573         __strtol.  Use libc_hidden_weak.
38575 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38577         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
38578         Use numbered labels in inline assembly.
38580 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38582         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
38583         Add setjmp LIBC_PROBE.
38584         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
38585         Likewise.
38586         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
38587         Add longjmp, longjmp_target LIBC_PROBE.
38588         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
38589         Likewise.
38591 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
38594         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
38595         to get rid of unused variable warning.
38597 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38599         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
38600         Check for unwind_backtrace ==  NULL only in SHARED case.
38601         (__backchain_backtrace): Compile only in SHARED case.
38602         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
38603         Likewise.
38604         (__backchain_backtrace): Declare as static.
38606 2014-11-12  Roland McGrath  <roland@hack.frob.com>
38608         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
38609         (__libc_multiple_threads_ptr): Variable moved ...
38610         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
38612 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
38614         * conform/GlibcConform.pm: New file.
38615         * conform/conformtest.pl: Use GlibcConform module.
38616         * conform/linknamespace.pl: New file.
38617         * conform/list-header-symbols.pl: Likewise.
38618         * conform/Makefile (linknamespace-symlists-base): New variable.
38619         (linknamespace-symlists-tests): Likewise.
38620         (linknamespace-header-base): Likewise.
38621         (linknamespace-header-tests): Likewise.
38622         (tests-special): Add new tests.
38623         ($(linknamespace-symlists-tests)): New rule.
38624         (linknamespace-libs): New variable.
38625         ($(objpfx)symlist-stdlibs): New rule.
38626         ($(linknamespace-header-tests)): Likewise.
38627         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
38628         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
38629         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
38630         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
38631         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
38632         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
38633         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
38634         (test-xfail-ISO/math.h/linknamespace): Likewise.
38635         (test-xfail-ISO/signal.h/linknamespace): Likewise.
38636         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
38637         (test-xfail-ISO/time.h/linknamespace): Likewise.
38638         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
38639         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
38640         (test-xfail-ISO99/math.h/linknamespace): Likewise.
38641         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
38642         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
38643         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
38644         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
38645         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38646         (test-xfail-ISO11/math.h/linknamespace): Likewise.
38647         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
38648         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
38649         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
38650         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38651         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
38652         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
38653         (test-xfail-XPG3/math.h/linknamespace): Likewise.
38654         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
38655         (test-xfail-XPG3/search.h/linknamespace): Likewise.
38656         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
38657         (test-xfail-XPG3/time.h/linknamespace): Likewise.
38658         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
38659         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
38660         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38661         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
38662         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
38663         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
38664         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
38665         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
38666         (test-xfail-XPG4/math.h/linknamespace): Likewise.
38667         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
38668         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
38669         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
38670         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38671         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
38672         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
38673         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
38674         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
38675         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
38676         (test-xfail-XPG4/time.h/linknamespace): Likewise.
38677         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
38678         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
38679         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
38680         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
38681         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
38682         (test-xfail-POSIX/math.h/linknamespace): Likewise.
38683         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
38684         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
38685         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
38686         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
38687         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
38688         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
38689         (test-xfail-POSIX/time.h/linknamespace): Likewise.
38690         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
38691         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
38692         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
38693         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38694         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
38695         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
38696         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
38697         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
38698         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
38699         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
38700         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
38701         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
38702         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
38703         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
38704         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
38705         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
38706         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38707         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
38708         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
38709         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
38710         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
38711         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
38712         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
38713         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
38714         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
38715         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
38716         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
38717         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
38718         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
38719         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
38720         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
38721         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
38722         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
38723         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
38724         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
38725         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
38726         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38727         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
38728         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
38729         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
38730         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
38731         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
38732         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38733         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
38734         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
38735         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
38736         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
38737         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
38738         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
38739         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
38740         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
38741         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
38742         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
38743         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
38744         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
38745         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
38746         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
38747         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
38748         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38749         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
38750         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38751         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
38752         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
38753         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38754         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
38755         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
38756         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
38757         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
38758         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
38759         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
38760         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
38761         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
38762         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
38763         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
38764         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
38765         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
38766         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
38767         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38768         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38769         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
38770         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
38771         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
38772         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
38773         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38774         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
38775         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
38776         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
38777         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
38778         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
38779         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38780         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
38781         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
38782         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
38783         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
38784         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
38785         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
38786         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
38787         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
38789         [BZ #17589]
38790         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
38791         of fgets_unlocked.
38793         [BZ #17585]
38794         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
38795         (memmem): Rename to __memmem and define as weak alias of
38796         __memmem.  Use libc_hidden_weak.
38797         (__memmem): Use libc_hidden_def.
38798         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
38799         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
38800         memmem.
38802         [BZ #17582]
38803         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
38804         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
38805         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
38806         and define as weak alias of __fgets_unlocked.  Use
38807         libc_hidden_weak.
38808         (__fgets_unlocked): Use libc_hidden_def.
38809         * include/stdio.h (__fgets_unlocked): Declare.  Use
38810         libc_hidden_proto.
38811         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
38812         __fgets_unlocked instead of fgets_unlocked.
38813         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
38814         (GET_NPROCS_CONF_PARSER): Likewise.
38815         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
38816         (GET_NPROCS_CONF_PARSER): Likewise.
38818         [BZ #17574]
38819         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
38820         weak alias of __wmemset.  Use libc_hidden_weak.
38821         (__wmemset): Use libc_hidden_def.
38822         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
38823         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
38824         of wmemset.
38826         [BZ #17573]
38827         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
38828         with asm name __mempcpy.
38829         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
38831         [BZ #17572]
38832         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
38833         and define as weak alias of __rawmemchr.
38834         (__rawmemchr): Do not define as strong alias of rawmemchr.
38836         [BZ #17571]
38837         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
38838         alias of __qsort_r.
38839         (qsort): Call __qsort_r instead of qsort_r.
38840         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
38841         (__qsort_r): Declare.  Call libc_hidden_proto.
38842         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
38843         instead of qsort_r.
38844         * nscd/gai.c (__qsort_r): Define to qsort_r.
38845         * posix/tst-rfc3484.c (__qsort_r): Likewise.
38846         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
38847         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
38849         [BZ #17570]
38850         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
38851         define as weak alias of __malloc_info.
38853         [BZ #17584]
38854         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
38855         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38856         (__rewinddir): Use libc_hidden_def.
38857         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
38858         as weak alias of __rewinddir.  Don't use libc_hidden_def.
38859         (__rewinddir): Use libc_hidden_def.
38860         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
38861         weak alias of __rewinddir.  Don't use libc_hidden_def.
38862         (__rewinddir): Use libc_hidden_def.
38863         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
38864         (__rewinddir): Use libc_hidden_proto.
38865         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
38866         rewinddir.
38867         (__getcwd): Use __rewinddir instead of rewinddir.
38869         [BZ #17583]
38870         * libio/fileno.c (fileno): Rename to __fileno and define as weak
38871         alias of __fileno.  Use libc_hidden_weak.
38872         (__fileno): Use libc_hidden_def.
38873         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
38874         * libio/ftello.c (ftello): Rename to __ftello and define as weak
38875         alias of __ftello.
38876         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
38877         __ftello.
38878         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
38879         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
38880         libc_hidden_def.
38881         (fread_unlocked): Don't use libc_hidden_ver.
38882         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
38883         and define as weak alias of __fread_unlocked.  Don't use
38884         libc_hidden_def.
38885         (__fread_unlocked): Use libc_hidden_def.
38886         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
38887         (ftello): Don't use libc_hidden_proto.
38888         (__ftello): Declare.  Use libc_hidden_proto.
38889         (fread_unlocked): Don't use libc_hidden_proto.
38890         (__fread_unlocked): Declare.  Use libc_hidden_proto.
38891         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
38892         and __ftello instead of fileno, fread_unlocked and ftello.
38894 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38896         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
38897         GOT12.
38898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
38899         Likewise.
38900         (_dl_start_user): Likewise.
38901         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
38903 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
38904             Siddhesh Poyarekar  <siddhesh@redhat.com>
38906         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
38907         Move argv and envp down instead of moving argc up.
38908         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
38910 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
38912         [BZ #17506]
38913         * test-skeleton.c (main): Return successful if one of
38914         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
38915         * string/tst-strcoll-overflow.c: Define expected status.
38917 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
38919         [BZ #17475]
38920         * locale/iso-639.def: Define Bhili and Tulu language codes.
38922 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
38924         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
38926 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
38928         [BZ #17555]
38929         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
38931 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38933         * configure.ac: Updated check of minimal required version to
38934         2.22.
38935         * manual/install.texi (Tools for Compilation): Updated version
38936         number.
38937         * configure: Regenerated.
38938         * INSTALL: Likewise.
38940 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
38942         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
38943         __tls_get_addr.
38945 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
38947         * include/sys/wait.h (__libc_waitpid): Remove declaration.
38948         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
38949         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38950         libc_hidden_weak.
38951         (waitpid): Define as alias of __waitpid.
38952         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
38953         __waitpid.
38954         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38955         libc_hidden_weak.
38956         (waitpid): Define as alias of __waitpid.
38957         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
38958         __libc_waitpid alias.
38959         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
38960         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
38961         Likewise.
38962         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
38963         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
38964         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
38965         alias.
38966         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
38967         __waitpid.
38968         (__waitpid): Don't define as alias.  Use libc_hidden_def not
38969         libc_hidden_weak.
38970         (waitpid): Define as alias of __waitpid.
38972 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
38974         * manual/llio.texi: Add comment that write safety has been
38975         fixed in Linux.
38977         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
38978         (localplt-build-dso): Add elf/ld.so.
38979         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
38980         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
38981         and free for ld.so.
38982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
38983         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
38985         Likewise.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
38987         Likewise.
38988         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
38989         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
38990         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
38991         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
38992         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
38993         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
38994         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
38995         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
38996         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
38997         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
38998         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
39000 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
39002         [BZ #14132]
39003         * include/libc-symbols.h (INTUSE): Remove macro.
39004         (INTDEF): Likewise.
39005         (INTVARDEF): Likewise.
39006         (_INTVARDEF): Likewise.
39007         (INTDEF2): Likewise.
39008         (INTVARDEF2): Likewise.
39009         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
39010         rtld_hidden_def instead of INTVARDEF.
39011         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
39012         (_dl_starting_up_internal): Remove declaration.
39013         (_dl_starting_up): Use rtld_hidden_proto.
39014         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
39015         declaration.
39016         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
39017         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
39018         _dl_starting_up.
39019         * elf/dl-writev.h (_dl_writev): Likewise.
39020         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
39021         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
39022         _dl_starting_up_internal.
39024 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39026         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
39027         test-skeleton.c.
39029 2014-11-05  Will Newton  <will.newton@linaro.org>
39031         * benchtests/Makefile: (bench-malloc): Add malloc thread
39032         scalability benchmark.
39033         * benchtests/bench-malloc-threads.c: New file.
39035 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
39037         * sysdeps/aarch64/strchrnul.S: New file.
39039 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39041         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
39042         definition.
39043         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39044         Likewise.
39045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39046         Likewise.
39047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39048         Likewise.
39049         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39050         Likewise.
39051         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39052         Likewise.
39054 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
39056         * catgets/test-gencat.c: Use test-skeleton.c.
39057         * catgets/tst-catgets.c: Likewise.
39058         * csu/tst-empty.c: Likewise.
39059         * elf/tst-audit2.c: Likewise.
39060         * elf/tst-global1.c: Likewise.
39061         * elf/tst-pathopt.c: Likewise.
39062         * elf/tst-piemod1.c: Likewise.
39063         * elf/tst-tls10.c: Likewise.
39064         * elf/tst-tls11.c: Likewise.
39065         * elf/tst-tls12.c: Likewise.
39066         * gnulib/tst-gcc.c: Likewise.
39067         * iconvdata/tst-e2big.c: Likewise.
39068         * iconvdata/tst-loading.c: Likewise.
39069         * iconv/tst-iconv1.c: Likewise.
39070         * iconv/tst-iconv2.c: Likewise.
39071         * inet/test-inet6_opt.c: Likewise.
39072         * inet/tst-gethnm.c: Likewise.
39073         * inet/tst-network.c: Likewise.
39074         * inet/tst-ntoa.c: Likewise.
39075         * intl/tst-codeset.c: Likewise.
39076         * intl/tst-gettext2.c: Likewise.
39077         * intl/tst-gettext3.c: Likewise.
39078         * intl/tst-ngettext.c: Likewise.
39079         * intl/tst-translit.c: Likewise.
39080         * io/test-stat.c: Likewise.
39081         * libio/test-fmemopen.c: Likewise.
39082         * libio/tst-freopen.c: Likewise.
39083         * libio/tst-sscanf.c: Likewise.
39084         * libio/tst-ungetwc1.c: Likewise.
39085         * libio/tst-ungetwc2.c: Likewise.
39086         * libio/tst-widetext.c: Likewise.
39087         * localedata/tst-ctype.c: Likewise.
39088         * localedata/tst-digits.c: Likewise.
39089         * localedata/tst-leaks.c: Likewise.
39090         * localedata/tst-mbswcs1.c: Likewise.
39091         * localedata/tst-mbswcs2.c: Likewise.
39092         * localedata/tst-mbswcs3.c: Likewise.
39093         * localedata/tst-mbswcs4.c: Likewise.
39094         * localedata/tst-mbswcs5.c: Likewise.
39095         * localedata/tst-setlocale.c: Likewise.
39096         * localedata/tst-trans.c: Likewise.
39097         * localedata/tst-wctype.c: Likewise.
39098         * localedata/tst-xlocale1.c: Likewise.
39099         * login/tst-grantpt.c: Likewise.
39100         * malloc/tst-calloc.c: Likewise.
39101         * malloc/tst-malloc.c: Likewise.
39102         * malloc/tst-mallocstate.c: Likewise.
39103         * malloc/tst-mcheck.c: Likewise.
39104         * malloc/tst-mtrace.c: Likewise.
39105         * malloc/tst-obstack.c: Likewise.
39106         * math/atest-exp2.c: Likewise.
39107         * math/atest-exp.c: Likewise.
39108         * math/atest-sincos.c: Likewise.
39109         * math/test-matherr.c: Likewise.
39110         * math/test-misc.c: Likewise.
39111         * math/test-powl.c: Likewise.
39112         * math/tst-definitions.c: Likewise.
39113         * misc/tst-dirname.c: Likewise.
39114         * misc/tst-efgcvt.c: Likewise.
39115         * misc/tst-fdset.c: Likewise.
39116         * misc/tst-hsearch.c: Likewise.
39117         * misc/tst-mntent2.c: Likewise.
39118         * nptl/tst-sem7.c: Likewise.
39119         * nptl/tst-sem8.c: Likewise.
39120         * nptl/tst-sem9.c: Likewise.
39121         * nss/test-netdb.c: Likewise.
39122         * posix/tst-fnmatch.c: Likewise.
39123         * posix/tst-getlogin.c: Likewise.
39124         * posix/tst-gnuglob.c: Likewise.
39125         * posix/tst-mmap.c: Likewise.
39126         * pwd/tst-getpw.c: Likewise.
39127         * resolv/tst-inet_ntop.c: Likewise.
39128         * rt/tst-timer.c: Likewise.
39129         * stdio-common/test-fseek.c: Likewise.
39130         * stdio-common/test-popen.c: Likewise.
39131         * stdio-common/test-vfprintf.c: Likewise.
39132         * stdio-common/tst-cookie.c: Likewise.
39133         * stdio-common/tst-fileno.c: Likewise.
39134         * stdio-common/tst-gets.c: Likewise.
39135         * stdio-common/tst-obprintf.c: Likewise.
39136         * stdio-common/tst-perror.c: Likewise.
39137         * stdio-common/tst-sprintf2.c: Likewise.
39138         * stdio-common/tst-sprintf3.c: Likewise.
39139         * stdio-common/tst-sprintf.c: Likewise.
39140         * stdio-common/tst-swprintf.c: Likewise.
39141         * stdio-common/tst-tmpnam.c: Likewise.
39142         * stdio-common/tst-unbputc.c: Likewise.
39143         * stdio-common/tst-wc-printf.c: Likewise.
39144         * stdlib/tst-environ.c: Likewise.
39145         * stdlib/tst-fmtmsg.c: Likewise.
39146         * stdlib/tst-limits.c: Likewise.
39147         * stdlib/tst-rand48-2.c: Likewise.
39148         * stdlib/tst-rand48.c: Likewise.
39149         * stdlib/tst-random2.c: Likewise.
39150         * stdlib/tst-random.c: Likewise.
39151         * stdlib/tst-strtol.c: Likewise.
39152         * stdlib/tst-strtoll.c: Likewise.
39153         * stdlib/tst-tls-atexit.c: Likewise.
39154         * stdlib/tst-xpg-basename.c: Likewise.
39155         * string/test-ffs.c: Likewise.
39156         * string/tst-bswap.c: Likewise.
39157         * string/tst-inlcall.c: Likewise.
39158         * string/tst-strtok.c: Likewise.
39159         * string/tst-strxfrm.c: Likewise.
39160         * sysdeps/x86_64/tst-audit10.c: Likewise.
39161         * sysdeps/x86_64/tst-audit3.c: Likewise.
39162         * sysdeps/x86_64/tst-audit4.c: Likewise.
39163         * sysdeps/x86_64/tst-audit5.c: Likewise.
39164         * time/tst-ftime_l.c: Likewise.
39165         * time/tst-getdate.c: Likewise.
39166         * time/tst-mktime3.c: Likewise.
39167         * time/tst-mktime.c: Likewise.
39168         * time/tst-posixtz.c: Likewise.
39169         * time/tst-strptime2.c: Likewise.
39170         * time/tst-strptime3.c: Likewise.
39171         * wcsmbs/tst-btowc.c: Likewise.
39172         * wcsmbs/tst-mbrtowc.c: Likewise.
39173         * wcsmbs/tst-mbsrtowcs.c: Likewise.
39174         * wcsmbs/tst-wchar-h.c: Likewise.
39175         * wcsmbs/tst-wcpncpy.c: Likewise.
39176         * wcsmbs/tst-wcrtomb.c: Likewise.
39177         * wcsmbs/tst-wcsnlen.c: Likewise.
39178         * wcsmbs/tst-wcstof.c: Likewise.
39180 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
39182         [BZ #14132]
39183         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
39184         INTDEF.
39185         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
39186         declaration.
39187         (_dl_mcount): Use rtld_hidden_proto.
39188         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
39189         _dl_mcount.
39190         * elf/rtld.c (_rtld_global_ro): Likewise.
39192         [BZ #14132]
39193         * elf/dl-init.c (_dl_init): Don't use INTDEF.
39194         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
39195         of _dl_init_internal.
39196         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
39197         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
39198         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
39199         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
39200         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
39201         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
39202         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
39203         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
39204         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
39205         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
39206         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
39207         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
39208         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39209         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39210         * sysdeps/tile/dl-start.S (_start): Likewise.
39211         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
39212         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
39214         [BZ #14132]
39215         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
39216         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
39217         (rtld_progname): Make macro definition unconditional.
39218         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
39219         INTDEF.
39220         (dlmopen_doit): Do not use INTUSE with _dl_argv.
39221         (dl_main): Likewise.
39222         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
39223         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
39224         instead of _dl_argv_internal.
39225         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
39226         __GI__dl_argv instead of INTUSE(_dl_argv).
39227         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
39228         __GI__dl_argv instead of _dl_argv_internal.
39230         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
39231         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
39232         macro.
39233         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
39234         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
39235         New macro.
39236         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
39237         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
39238         macro.
39239         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
39240         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
39242 2014-11-04  Andreas Schwab  <schwab@suse.de>
39244         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
39246 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39248         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
39249         mtvsrd instruction in binary form.
39251 2014-11-03  Andreas Schwab  <schwab@suse.de>
39253         [BZ #17522]
39254         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
39255         for less than MB_LEN_MAX use a local buffer of that size.
39256         * libio/tst-fputws.c: New file.
39257         * libio/Makefile (tests): Add tst-fputws.
39259 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
39261         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
39262         the size of the fpu_fr.fpu_dregs[] array.
39264 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
39266         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
39267         (__nanosleep): Do not define as alias.
39268         (nanosleep): Define as alias of __nanosleep.
39269         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
39270         __libc_nanosleep name.
39272 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39274         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
39275         install.texi in comment.
39277 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39279         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
39280         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
39281         ... add here and use lwsync or sync ...
39282         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
39283         ... and add here using lwsync.
39285 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
39287         * elf/dl-machine-reject-phdr.h: New file.
39288         * elf/dl-load.c: #include that.
39289         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
39290         if that returned true.
39292 2014-10-31  Roland McGrath  <roland@hack.frob.com>
39294         [BZ #17496]
39295         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
39296         gen-as-const-headers chunk.  Add a big scare comment after the last
39297         safe place to touch before-compile.
39299 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
39301         * manual/install.texi (Tools for Compilation): Update autoconf
39302         version requirements.
39303         * INSTALL: Regenerated.
39305         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
39306         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
39307         (__libc_pselect): Likewise.
39309         [BZ #14138]
39310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
39311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39315 2014-10-31  Torvald Riegel  <triegel@redhat.com>
39317         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
39318         correct barrier instruction.
39319         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
39320         Likewise.
39321         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
39322         Likewise.
39324 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39326         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
39327         after defining inlines.  Instead, just use parens to defeat macro
39328         expansion of __isctype in its declaration.
39330 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39332         * include/sys/uio.h (__libc_readv): Remove declaration.
39333         (__libc_writev): Likewise.
39334         * misc/readv.c (__libc_readv): Rename to __readv.
39335         (__readv): Do not define as alias.
39336         (readv): Define as alias of __readv.
39337         * misc/writev.c (__libc_writev): Rename to __writev.
39338         (__writev): Do not define as alias.
39339         (writev): Define as alias of __writev.
39340         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
39341         (__readv): Do not define as alias.
39342         (readv): Define unconditionally as alias of __readv.
39343         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
39344         (__writev): Do not define as alias.
39345         (writev): Define unconditionally as alias of __writev.
39346         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
39347         name.
39348         (writev): Do not define __libc_writev name.
39350 2014-10-30  Roland McGrath  <roland@hack.frob.com>
39352         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
39353         (convert_charseq): New function, broken out of ...
39354         (use_from_charmap): ... here.  Call it.
39355         (use_to_charmap): Use convert_charseq and free instead of duplicating
39356         its code with a variable-length stack struct.
39358 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
39360         * include/fcntl.h (__libc_creat): Remove declaration.
39361         * io/creat.c (__libc_creat): Rename to creat.
39362         (creat): Do not define as alias.
39363         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
39364         of creat instead of __libc_creat.
39365         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
39366         to creat.
39367         (creat): Do not define as alias.
39368         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
39369         __libc_creat.
39370         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
39371         __libc_creat name.
39372         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
39373         Likewise.
39375 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
39377         * manual/llio.texi: Add comments discussing why write() may be
39378         considered MT-unsafe on Linux.
39380 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
39382         * dl-load.c (local_strdup): Remove.
39383         (expand_dynamic_string_token): Use __strdup.
39384         (decompose_rpath): Likewise.
39385         (_dl_map_object): Likewise.
39387 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
39389         [BZ #14132]
39390         * sysdeps/generic/unwind-dw2-fde.c
39391         (__register_frame_info_bases_internal): Do not declare.
39392         (__register_frame_info_table_bases_internal): Likewise.
39393         (__deregister_frame_info_bases_internal): Likewise.
39394         (__register_frame_info_bases): Declare and use hidden_proto before
39395         definition.  Use hidden_def instead of INTDEF.
39396         (__register_frame_info_table_bases): Likewise.
39397         (__deregister_frame_info_bases): Likewise.
39398         (__register_frame_info): Do not use INTUSE.
39399         (__register_frame): Likewise.
39400         (__register_frame_info_table): Likewise.
39401         (__register_frame_table): Likewise.
39402         (__deregister_frame_info): Likewise.
39403         (__deregister_frame): Likewise.
39405 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
39407         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39408         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
39409         not undefine.
39410         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
39411         Likewise.
39412         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
39413         Likewise.
39415 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
39417         [BZ #14138]
39418         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
39419         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
39420         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
39421         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
39422         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
39423         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
39424         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
39425         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
39426         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
39427         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
39428         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
39429         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
39430         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
39431         syscall.
39432         (setfsuid): Likewise.
39433         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
39434         (setfsuid): Likewise.
39435         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
39436         (setfsuid): Likewise.
39437         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
39438         Likewise.
39439         (setfsuid): Likewise.
39440         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
39441         (setfsuid): Likewise.
39442         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
39443         Likewise.
39444         (setfsuid): Likewise.
39446 2014-10-27  Andreas Schwab  <schwab@suse.de>
39448         [BZ #17501]
39449         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
39450         check for Slow_SSE4_2 feature bit.
39451         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
39452         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
39453         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
39454         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
39456 2014-10-24  Roland McGrath  <roland@hack.frob.com>
39458         * configure.ac: Validate compiler version with a empirical test of
39459         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
39460         $CC -v output.
39461         * configure: Regenerated.
39463         * inet/htons.c (htons): Prototypify.
39464         * inet/htonl.c (htonl): Likewise.
39466 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39468         * string/strncat.c (strncat): Improve performance by using strlen.
39470 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39472         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
39474 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39476         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
39477         Call libc_fetestexcept_aarch64.
39479 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39481         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
39482         Call libc_feholdexcept_aarch64.
39484 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39486         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
39487         Call get_rounding_mode.
39489 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39491         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
39492         Simplify logic.
39494 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
39496         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
39497         Simplify logic.
39499 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
39501         [BZ #14138]
39502         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
39503         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
39504         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
39505         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
39506         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
39507         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
39508         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
39509         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
39510         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
39511         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
39512         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
39513         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
39514         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
39515         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
39516         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
39517         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
39518         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
39519         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
39520         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
39521         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
39522         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
39523         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
39524         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
39525         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
39526         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
39527         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
39528         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
39529         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
39530         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
39531         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
39532         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
39533         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
39534         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
39535         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
39536         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
39537         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
39538         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
39539         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
39540         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
39541         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
39542         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
39543         syscall.
39544         (geteuid): Likewise.
39545         (getgid): Likewise.
39546         (getuid): Likewise.
39547         (getresgid): Likewise.
39548         (getresuid): Likewise.
39549         (getgroups): Likewise.
39550         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
39551         (geteuid): Likewise.
39552         (getgid): Likewise.
39553         (getuid): Likewise.
39554         (getresgid): Likewise.
39555         (getresuid): Likewise.
39556         (getgroups): Likewise.
39557         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
39558         (geteuid): Likewise.
39559         (getgid): Likewise.
39560         (getuid): Likewise.
39561         (getresgid): Likewise.
39562         (getresuid): Likewise.
39563         (getgroups): Likewise.
39564         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
39565         Likewise.
39566         (geteuid): Likewise.
39567         (getgid): Likewise.
39568         (getuid): Likewise.
39569         (getresgid): Likewise.
39570         (getresuid): Likewise.
39571         (getgroups): Likewise.
39572         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
39573         (geteuid): Likewise.
39574         (getgid): Likewise.
39575         (getuid): Likewise.
39576         (getresgid): Likewise.
39577         (getresuid): Likewise.
39578         (getgroups): Likewise.
39579         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
39580         Likewise.
39581         (geteuid): Likewise.
39582         (getgid): Likewise.
39583         (getuid): Likewise.
39584         (getgroups): Likewise.
39586         [BZ #14138]
39587         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
39588         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
39589         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
39590         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
39591         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
39592         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
39593         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
39594         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
39595         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
39596         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
39597         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
39598         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
39599         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
39600         __chown.
39601         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
39602         (lchown): Likewise.
39603         (fchown): Likewise.
39604         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
39605         Likewise.
39606         (lchown): Likewise.
39607         (fchown): Likewise.
39608         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
39609         (lchown): Likewise.
39610         (fchown): Likewise.
39611         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
39612         Likewise.
39613         (lchown): Likewise.
39614         (fchown): Likewise.
39616 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39618         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
39619         Simplify logic.
39621 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39623         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39624         Cleanup logic.
39626 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39628         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
39629         Remove unused include.
39631 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
39633         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
39634         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
39635         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
39636         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
39638 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
39639             Helge Deller <deller@gmx.de>
39641         [BZ #17508]
39642         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
39643         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
39644         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
39646 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
39648         [BZ #14132]
39649         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
39650         Remove macro definition.
39651         (__ashrdi3_v_glibc20): Likewise.
39652         (__lshrdi3_v_glibc20): Likewise.
39653         (__cmpdi2_v_glibc20): Likewise.
39654         (__ucmpdi2_v_glibc20): Likewise.
39655         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
39656         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
39657         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
39658         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
39659         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
39660         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
39662 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39664         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
39665         old GNU extension [0] syntax.
39666         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
39667         alloca rather than an array member with variable length.
39668         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
39669         * nscd/nscd.c (invalidate_db): New function, broken out of ...
39670         (parse_opt): ... here.  Likewise use alloca there.
39671         Validate the -i argument before checking for rootness.
39672         (send_shutdown): New function, broken out of ...
39673         (parse_opt): ... here.
39675 2014-10-22  Roland McGrath  <roland@hack.frob.com>
39677         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
39678         macro to get at the _rt_local_ro field.
39679         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
39680         ([PIC] case) or _dl_hwcap ([!PIC] case).
39681         * sysdeps/arm/setjmp.S: Likewise.
39683         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
39684         * sysdeps/arm/configure.ac: New check to define it.
39685         * sysdeps/arm/configure: Regenerated.
39686         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
39687         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
39688         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
39689         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
39690         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
39691         Use move/movt pair instead of a load.
39692         (LDST_GLOBAL): Macro removed.
39693         (LDR_GLOBAL): New macro replaces it.
39694         (LDR_HIDDEN): New macro.
39695         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
39696         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
39698         * setjmp/tst-setjmp-static.c: New file.
39699         * setjmp/Makefile (tests): Add it.
39700         (tests-static): New variable.
39702 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
39704         [BZ #17485]
39705         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
39707 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
39709         [BZ #14132]
39710         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
39712 2014-10-21  Roland McGrath  <roland@hack.frob.com>
39714         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
39716 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39718         * io/fts.c (dirent_not_directory): New function.
39719         (fts_build): Call it.
39721 2014-10-20  Roland McGrath  <roland@hack.frob.com>
39723         * nptl/version.c (__nptl_main): Use normal __write rather than
39724         INTERNAL_SYSCALL.
39725         (banner): Update copyright years.
39727         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
39728         gettimeofday.
39729         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39730         * nptl/pthread_cond_timedwait.c: Likewise.
39731         * nptl/pthread_mutex_timedlock.c: Likewise.
39732         * nptl/sem_timedwait.c: Likewise.
39734         * sysdeps/nptl/bits/libc-lock.h
39735         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39736         (__libc_lock_init_recursive): Return void, not 0.
39737         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
39738         (__libc_rwlock_init): Likewise.
39739         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
39741 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39743         [BZ #15215]
39744         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
39745         (__pthread_once_slow): ... here.
39746         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
39747         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
39749 2014-10-20  Torvald Riegel  <triegel@redhat.com>
39751         [BZ #15215]
39752         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
39753         __PTHREAD_ONCE_FORK_GEN_INCR): New.
39754         * sysdeps/nptl/fork.c (__libc_fork): Use them.
39755         * nptl/pthread_once.c (__pthread_once): Likewise.
39756         Update comments.
39758 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
39760         [BZ #14138]
39761         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
39762         name.
39763         (writev): Use __libc_writev as strong name.
39764         * sysdeps/unix/sysv/linux/readv.c: Remove file.
39765         * sysdeps/unix/sysv/linux/writev.c: Likewise.
39767 2014-10-17  Roland McGrath  <roland@hack.frob.com>
39769         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
39771         * sysdeps/i386/nptl/tls.h
39772         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
39773         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
39774         New macros.
39775         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
39776         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
39777         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
39778         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
39779         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
39780         Call CHECK_THREAD_SYSINFO instead of doing an assert.
39782         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
39783         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
39784         on [__NR_futex].
39785         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
39786         broken out of ...
39787         (__pthread_mutex_init): ... here.  Call it.
39788         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
39789         Conditionalize PI cases on [__NR_futex].
39790         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
39791         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
39792         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
39794         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
39795         conditional on [SIGSETXID].
39796         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
39797         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
39798         is defined.  Likewise for SIGSETXID.
39799         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
39800         Conditionalize definitions on [SIGSETXID].
39801         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
39802         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
39803         unblocking on [SIGCANCEL].
39805         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
39806         [__NR_set_robust_list].
39808 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39810         * string/strcoll_l.c (get_next_seq): Fix up formatting.
39811         (do_compare): Likewise.
39813 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
39815         [BZ #15884]
39816         * string/strcoll_l.c: Don't include stdio.h.
39817         (coll_seq): Remove members idxarr and rulearr.
39818         (get_next_seq_cached): Remove function.
39819         (get_next_seq): Likewise.
39820         (get_next_seq_nocache): Rename to get_next_seq.
39821         (do_compare): Remove function.
39822         (do_compare_nocache): Rename to do_compare.
39823         (STRCOLL): Remove weight and rules cache.
39825 2014-10-16  Roland McGrath  <roland@hack.frob.com>
39827         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
39828         * sysdeps/arm/sfp-machine.h: ... to here.
39829         * sysdeps/arm/Implies: Remove arm/soft-fp.
39831 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
39833         * conform/data/sys/utsname.h-data (*_t): Allow.
39834         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
39835         [POSIX] (WEXITED): Do not expect constant.
39836         [POSIX] (WSTOPPED): Likewise.
39837         [POSIX] (WNOHANG): Likewise.
39838         [POSIX] (WNOWAIT): Likewise.
39839         [POSIX] (siginfo_t): Do not expect type or elements.
39840         [POSIX] (pid_t): Do not expect type.
39841         [POSIX] (signal.h): Do not allow header.
39842         [POSIX] (sys/resource.h): Likewise.
39843         [POSIX] (si_*): Do not allow pattern.
39844         [POSIX] (W*): Likewise.
39845         [POSIX] (P_*): Likewise.
39846         [POSIX] (BUS_*): Likewise.
39847         [POSIX] (CLD_*): Likewise.
39848         [POSIX] (FPE_*): Likewise.
39849         [POSIX] (ILL_*): Likewise.
39850         [POSIX] (POLL_*): Likewise.
39851         [POSIX] (SEGV_*): Likewise.
39852         [POSIX] (SI_*): Likewise.
39853         [POSIX] (TRAP_*): Likewise.
39854         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
39855         variable.
39857 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
39859         [BZ #12926]
39860         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
39861         infinite loop when __recvmsg returns 0.
39863 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
39865         * CANCEL-FCT-WAIVE: Remove file.
39866         * CANCEL-FILE-WAIVE: Likewise.
39868         [BZ #14132]
39869         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
39870         instead of INTVARDEF.
39871         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39872         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
39873         rtld_hidden_data_def instead of INTVARDEF.
39874         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
39875         * elf/dl-deps.c (expand_dst): Likewise.
39876         * elf/dl-load.c (_dl_dst_count): Likewise.
39877         (_dl_dst_substitute): Likewise.
39878         (decompose_rpath): Likewise.
39879         (_dl_init_paths): Likewise.
39880         (open_path): Likewise.
39881         (_dl_map_object): Likewise.
39882         * elf/rtld.c (dl_main): Likewise.
39883         (process_dl_audit): Likewise.
39884         (process_envvars): Likewise.
39885         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
39886         Remove declaration.
39887         (__libc_enable_secure): Use rtld_hidden_proto.
39889 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39891         * elf/dl-load.c
39892         (add_path): New function broken out of _dl_rtld_di_serinfo.
39893         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
39895 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
39897         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
39898         parentheses around macro arguments.
39899         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
39900         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
39901         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
39902         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
39903         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
39904         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39905         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39906         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
39907         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
39908         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
39909         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
39910         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
39911         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
39912         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
39913         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
39914         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
39915         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
39916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
39917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
39918         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
39919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
39920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
39921         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
39922         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
39923         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
39924         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
39925         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
39926         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
39927         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
39928         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
39929         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
39930         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
39931         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
39932         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
39933         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
39934         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
39935         Likewise.
39936         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
39937         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39938         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39939         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
39940         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
39941         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
39942         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
39943         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
39944         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
39945         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
39946         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
39947         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
39948         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
39949         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
39950         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
39951         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
39952         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
39953         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
39954         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
39955         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
39956         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
39957         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
39958         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
39959         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
39960         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
39961         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
39962         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
39963         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
39964         (_FP_FRAC_SRS_1): Likewise.
39965         (_FP_FRAC_CLZ_1): Likewise.
39966         (_FP_MUL_MEAT_1_imm): Likewise.
39967         (_FP_MUL_MEAT_1_wide): Likewise.
39968         (_FP_MUL_MEAT_1_hard): Likewise.
39969         (_FP_SQRT_MEAT_1): Likewise.
39970         (_FP_FRAC_ASSEMBLE_1): Likewise.
39971         (_FP_FRAC_DISASSEMBLE_1): Likewise.
39972         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
39973         (__FP_CLZ_2): Likewise.
39974         (_FP_MUL_MEAT_2_wide): Likewise.
39975         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
39976         (_FP_MUL_MEAT_2_gmp): Likewise.
39977         (_FP_MUL_MEAT_2_120_240_double): Likewise.
39978         (_FP_SQRT_MEAT_2): Likewise.
39979         (_FP_FRAC_ASSEMBLE_2): Likewise.
39980         (_FP_FRAC_DISASSEMBLE_2): Likewise.
39981         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
39982         (_FP_FRAC_CLZ_4): Likewise.
39983         (_FP_MUL_MEAT_4_wide): Likewise.
39984         (_FP_MUL_MEAT_4_gmp): Likewise.
39985         (_FP_SQRT_MEAT_4): Likewise.
39986         (_FP_FRAC_ASSEMBLE_4): Likewise.
39987         (_FP_FRAC_DISASSEMBLE_4): Likewise.
39988         * soft-fp/op-common.h (_FP_CMP): Likewise.
39989         (_FP_CMP_EQ): Likewise.
39990         (_FP_CMP_UNORD): Likewise.
39991         (_FP_TO_INT): Likewise.
39992         (_FP_FROM_INT): Likewise.
39993         [!__FP_CLZ] (__FP_CLZ): Likewise.
39994         (_FP_DIV_HELP_imm): Likewise.
39995         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
39996         Likewise.
39997         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
39998         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
39999         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
40000         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
40001         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
40002         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40003         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40004         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
40005         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
40006         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
40007         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
40008         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
40009         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
40010         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
40011         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
40012         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
40013         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
40014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
40015         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
40016         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
40017         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
40018         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
40019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
40020         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
40021         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
40022         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
40023         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
40024         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
40025         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
40026         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
40027         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
40028         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
40029         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
40030         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
40031         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
40032         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
40033         (FP_UNPACK_RAW_SP): Likewise.
40034         (FP_PACK_RAW_S): Likewise.
40035         (FP_PACK_RAW_SP): Likewise.
40036         (FP_UNPACK_S): Likewise.
40037         (FP_UNPACK_SP): Likewise.
40038         (FP_UNPACK_SEMIRAW_S): Likewise.
40039         (FP_UNPACK_SEMIRAW_SP): Likewise.
40040         (FP_PACK_S): Likewise.
40041         (FP_PACK_SP): Likewise.
40042         (FP_PACK_SEMIRAW_S): Likewise.
40043         (FP_PACK_SEMIRAW_SP): Likewise.
40044         (_FP_SQRT_MEAT_S): Likewise.
40045         (FP_CMP_S): Likewise.
40046         (FP_CMP_EQ_S): Likewise.
40047         (FP_CMP_UNORD_S): Likewise.
40048         (FP_TO_INT_S): Likewise.
40049         (FP_FROM_INT_S): Likewise.
40051         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
40053         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
40054         (FP_EX_INVALID_IMZ): Likewise.
40055         (FP_EX_INVALID_IMZ_FMA): Likewise.
40056         (FP_EX_INVALID_ISI): Likewise.
40057         (FP_EX_INVALID_ZDZ): Likewise.
40058         (FP_EX_INVALID_IDI): Likewise.
40059         (FP_EX_INVALID_SQRT): Likewise.
40060         (FP_EX_INVALID_CVI): Likewise.
40061         (FP_EX_INVALID_VC): Likewise.
40062         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
40063         "invalid" exceptions.
40064         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
40065         (_FP_ADD_INTERNAL): Likewise.
40066         (_FP_MUL): Likewise.
40067         (_FP_FMA): Likewise.
40068         (_FP_DIV): Likewise.
40069         (_FP_CMP_CHECK_NAN): Likewise.
40070         (_FP_SQRT): Likewise.
40071         (_FP_TO_INT): Likewise.
40072         (FP_EXTEND): Likewise.
40074 2014-10-09  Allan McRae  <allan@archlinux.org>
40076         * po/fr.po: Update French translation from translation project.
40078 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
40080         [BZ #14132]
40081         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
40082         of INTDEF.
40083         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
40084         (__cxa_atexit): Use libc_hidden_proto.
40085         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
40087         [BZ #14132]
40088         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
40089         declaration.
40090         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
40091         [!_ISOMAC] (__iswspace_l_internal): Likewise.
40092         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
40093         [!_ISOMAC] (__iswctype_internal): Likewise.
40094         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
40095         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
40096         alias.
40097         (fcntl): Remove __fcntl_internal alias.
40098         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
40099         __connect_internal alias.
40100         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
40101         Likewise.
40103         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
40104         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
40105         FP_DENORM_ZERO.
40106         (_FP_CHECK_FLUSH_ZERO): New macro.
40107         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
40108         (_FP_CMP): Likewise.
40109         (_FP_CMP_EQ): Likewise.
40110         (_FP_TO_INT): Do not set inexact for subnormal arguments if
40111         FP_DENORM_ZERO.
40112         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
40113         (FP_TRUNC): Likewise.
40115         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
40116         treated as invalid conversion, not as normal exponent.
40118         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
40119         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
40120         (_FP_CMP_EQ): Likewise.
40121         (_FP_CMP_UNORD): Likewise.
40122         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
40123         (FP_CMP_EQ_D): Likewise.
40124         (FP_CMP_UNORD_D): Likewise.
40125         * soft-fp/extended.h (FP_CMP_E): Likewise.
40126         (FP_CMP_EQ_E): Likewise.
40127         (FP_CMP_UNORD_E): Likewise.
40128         * soft-fp/quad.h (FP_CMP_Q): Likewise.
40129         (FP_CMP_EQ_Q): Likewise.
40130         (FP_CMP_UNORD_Q): Likewise.
40131         * soft-fp/single.h (FP_CMP_S): Likewise.
40132         (FP_CMP_EQ_S): Likewise.
40133         (FP_CMP_UNORD_S): Likewise.
40134         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
40135         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
40136         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
40137         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
40138         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
40139         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
40140         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
40141         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
40142         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
40143         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
40144         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
40145         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
40146         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
40147         to FP_CMP_Q.
40148         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
40149         FP_CMP_Q.
40150         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
40151         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
40152         FP_CMP_EQ_Q.
40153         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
40154         FP_CMP_Q.
40155         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
40156         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
40157         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
40158         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
40159         FP_CMP_EQ_Q.
40160         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
40161         FP_CMP_Q.
40162         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
40163         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
40164         FP_CMP_EQ_Q.
40165         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
40166         FP_CMP_Q.
40167         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
40168         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
40169         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
40170         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
40171         FP_CMP_EQ_Q.
40173         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
40174         a subnormal result, set the underflow exception if trapping on
40175         underflow is enabled.
40176         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
40177         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
40178         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
40179         redefine to 0.
40180         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
40181         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40182         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
40183         * soft-fp/extendxftf2.c (__extendxftf2): Use
40184         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
40186         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
40187         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
40188         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40189         FP_HANDLE_EXCEPTIONS.
40190         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
40191         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40192         FP_HANDLE_EXCEPTIONS.
40193         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
40194         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40195         FP_HANDLE_EXCEPTIONS.
40196         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
40197         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
40198         FP_HANDLE_EXCEPTIONS.
40200 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
40202         [BZ #14132]
40203         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
40204         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
40205         use INTUSE.
40206         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
40207         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
40208         Remove alias.
40209         (__adjtimex): Define using libc_hidden_ver.
40210         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
40211         Remove declaration.
40212         (ntp_gettime): Call __adjtimex directly.
40213         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
40214         Remove declaration.
40215         (ntp_gettimex): Call __adjtimex directly.
40216         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
40217         __adjtimex_internal alias.
40219 2014-10-08  Roland McGrath  <roland@hack.frob.com>
40221         [BZ #17460]
40222         * nscd/nscd.c (more_help): Rewrite list of tables collection
40223         using xstrdup and asprintf.
40225         * nscd/nscd_conf.c: Remove local xstrdup declaration.
40227 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40228             Roland McGrath  <roland@hack.frob.com>
40230         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
40231         (do_lookup_unique): ... local function 'enter' here; update callers.
40233 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
40235         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
40236         compat_symbol calls on [SHARED].
40237         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
40238         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
40239         Remove.
40240         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40241         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
40242         (oldsetrlimit): Remove.
40243         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40245         (lchown): New syscall entry.
40246         (oldsetrlimit): Remove.
40247         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40248         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
40249         (oldsetrlimit): Remove.
40250         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
40252         [BZ #14138]
40253         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
40254         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
40255         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
40256         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
40257         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
40258         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
40259         (fchown): Likewise.
40260         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
40261         (fchown): Likewise.
40262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
40263         Likewise.
40265 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40267         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
40268         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
40269         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
40270         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
40271         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
40272         Likewise.
40273         (__old_sem_post): Likewise.
40275 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
40277         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
40278         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
40279         HAVE_CLOCK_GETTIME_VSYSCALL macros.
40280         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
40281         Use INLINE_VSYSCALL macro.
40282         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
40283         __vdso_clock_gettime.
40284         * sysdeps/unix/sysv/linux/tile/init-first.c
40285         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
40286         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
40287         __vdso_clock_gettime.
40289         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
40290         to set up frame more cleanly.
40292         * sysdeps/tile/memcmp.c: New file.
40294         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
40296         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
40297         * sysdeps/tile/tilegx/strcasestr.c: New file.
40298         * sysdeps/tile/tilegx/strnlen.c: New file.
40299         * sysdeps/tile/tilegx/strstr.c: New file.
40301         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
40303 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
40305         * nptl/tst-setuid3.c: Write errors to stdout.
40307 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40309         * elf/dl-deps.c
40310         (preload): New functions broken out of _dl_map_object_deps.
40311         (_dl_map_object_deps):  Remove a nested function. Update call sites.
40313 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
40315         [BZ #14138]
40316         * sysdeps/unix/sysv/linux/execve.c: Remove file.
40317         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
40319 2014-10-01  Steve Ellcey  <sellcey@mips.com>
40321         * sysdeps/mips/strcmp.S: New.
40323 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
40325         [BZ #14138]
40326         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
40327         (linkat): Likewise.
40328         (mkdirat): Likewise.
40329         (readlinkat): Likewise.
40330         (renameat): Likewise.
40331         (symlinkat): Likewise.
40332         (unlinkat): Likewise.
40333         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
40334         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
40335         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
40336         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
40337         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
40338         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
40339         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
40341 2014-09-30  Will Newton  <will.newton@linaro.org>
40343         * math/math.h: Define long double math functions if
40344         _LIBC_TEST is defined.
40345         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
40347         * localedata/Makefile: Move assignment to tests-special
40348         into an ifdef testing run-built-tests.
40349         * timezone/Makefile: Likewise.
40351 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
40353         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
40354         with $(BASH) not $(SHELL).
40356 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
40357             Matthew LeGendre  <legendre1@llnl.gov>
40359         [BZ #17411]
40360         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
40361         l_reloc_result.
40363 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40365         * stdio-common/printf_fp.c
40366         (hack_digit): New function, broken out of ...
40367         (__printf_fp): ... local function here.  Update call sites.
40368         hack_digit now takes an additional parameter that is a pointer
40369         to a struct of the referenced locals.  Those locals moved inside
40370         the struct and references updated.
40372 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
40374         * aclocal.m4: Require autoconf 2.69.
40375         * configure: Regenerated.
40376         * sysdeps/aarch64/configure: Likewise.
40377         * sysdeps/alpha/configure: Likewise.
40378         * sysdeps/arm/armv7/configure: Likewise.
40379         * sysdeps/arm/configure: Likewise.
40380         * sysdeps/ia64/configure: Likewise.
40381         * sysdeps/mach/configure: Likewise.
40382         * sysdeps/mips/configure: Likewise.
40383         * sysdeps/s390/configure: Likewise.
40384         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
40385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
40387         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
40388         file.
40389         * sysdeps/ia64/configure.ac: Likewise.
40391 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
40393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
40394         specify symbol version for ld.so.  Do not include entry for
40395         libpthread.
40396         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40397         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40398         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40400         [BZ #14171]
40401         * Makeconfig [$(build-shared) = yes]
40402         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
40403         makefiles.
40404         [$(build-shared) = yes && $(soversions.mk-done) = t]
40405         ($(common-objpfx)gnu/lib-names.h): Remove rule.
40406         [$(build-shared) = yes && $(soversions.mk-done) = t]
40407         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
40408         to Makerules.
40409         [$(build-shared) = yes && $(soversions.mk-done) = t]
40410         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
40411         here.
40412         [$(build-shared) = yes && $(soversions.mk-done) = t]
40413         (common-generated): Don't append gnu/lib-names.h and
40414         gnu/lib-names.stmp here.
40415         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
40416         (lib-names-h-abi): New variable.
40417         [$(build-shared) = yes && $(soversions.mk-done) = t]
40418         (lib-names-stmp-abi): Likewise.
40419         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40420         abi-variants] (before-compile): Append
40421         $(common-objpfx)$(lib-names-h-abi).
40422         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40423         abi-variants] (common-generated): Append gnu/lib-names.h.
40424         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40425         abi-variants] (install-others-nosubdir): Depend on
40426         $(inst_includedir)/$(lib-names-h-abi).
40427         [$(build-shared) = yes && $(soversions.mk-done) = t &&
40428         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
40429         [$(build-shared) = yes && $(soversions.mk-done) = t]
40430         ($(common-objpfx)$(lib-names-h-abi)): New rule.
40431         [$(build-shared) = yes && $(soversions.mk-done) = t]
40432         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
40433         [$(build-shared) = yes && $(soversions.mk-done) = t]
40434         (common-generated): Append $(lib-names-h-abi) and
40435         $(lib-names-stmp-abi).
40436         * scripts/lib-names.awk: Do not handle multi being set.
40437         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
40438         Remove variable.
40439         (abi-lp64_be-ld-soname): Likewise.
40440         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
40441         Likewise.
40442         (abi-hard-ld-soname): Likewise.
40443         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
40444         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
40445         Remove variable.
40446         (abi-o32_hard-ld-soname): Likewise.
40447         (abi-o32_soft_2008-ld-soname): Likewise.
40448         (abi-o32_hard_2008-ld-soname): Likewise.
40449         (abi-n32_soft-ld-soname): Likewise.
40450         (abi-n32_hard-ld-soname): Likewise.
40451         (abi-n32_soft_2008-ld-soname): Likewise.
40452         (abi-n32_hard_2008-ld-soname): Likewise.
40453         (abi-n64_soft-ld-soname): Likewise.
40454         (abi-n64_hard-ld-soname): Likewise.
40455         (abi-n64_soft_2008-ld-soname): Likewise.
40456         (abi-n64_hard_2008-ld-soname): Likewise.
40457         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
40458         Likewise.
40459         (abi-64-v2-ld-soname): Likewise.
40460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
40461         ld.so entries.
40462         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
40463         variable.
40464         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
40465         entry.
40466         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
40467         variable.
40468         (abi-64-ld-soname): Likewise.
40469         (abi-x32-ld-soname): Likewise.
40470         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
40471         entry.
40472         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40474 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
40476         [BZ #14138]
40477         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
40478         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
40479         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
40480         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
40481         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
40482         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
40483         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
40484         syscall entry for GLIBC_2.2 symbol version.
40485         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
40486         Likewise.
40487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
40488         (setrlimit): Likewise.
40489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
40490         Likewise.
40492 2014-09-23  Will Newton  <will.newton@linaro.org>
40494         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
40495         _LINUX_ARM_SYSDEP_H include guard too.
40496         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
40497         define.
40499 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
40501         * sysdeps/unix/sysv/linux/eventfd.c:
40502         Make first argument unsigned.
40503         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
40504         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
40506 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
40508         [BZ #16852]
40509         * socket/recvmmsg.c (recvmmsg): Drop const argument.
40510         * socket/sys/socket.h: Likewise.
40511         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
40513 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40515         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
40517 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
40519         * time/tst-ftime.c: New test.
40520         * time/Makefile (tests): Add tst-ftime.
40522 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
40524         * soft-fp/extended.h: Fix comment formatting.
40525         * soft-fp/op-1.h: Likewise.
40526         * soft-fp/op-2.h: Likewise.
40527         * soft-fp/op-4.h: Likewise.
40528         * soft-fp/op-8.h: Likewise.
40529         * soft-fp/op-common.h: Likewise.
40530         * soft-fp/soft-fp.h: Likewise.
40532         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
40534 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
40536         [BZ #6652]
40537         * Makeconfig (soversions-default-setname): Remove variable.
40538         ($(common-objpfx)soversions.i): Don't pass default_setname to
40539         soversions.awk.
40540         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
40541         oldest_abi to abi-versions.awk.
40542         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
40543         * config.make.in (oldest-abi): Remove variable.
40544         * configure.ac (--enable-oldest-abi): Remove configure option.
40545         * configure: Regenerated.
40546         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
40547         text.
40548         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
40549         * scripts/soversions.awk: Do not handle default_setname variable.
40550         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
40551         variable.
40552         * sysdeps/mach/hurd/configure: Regenerated.
40553         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
40554         variable.
40555         * sysdeps/unix/sysv/linux/configure: Regenerated.
40557 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40559         * elf/Makefile (CFLAGS-interp.c): Remove.
40560         ($(elf-objpfx)runtime-linker.h): Generate header with linker
40561         path string.
40562         * elf/interp.c: Include generated runtime-linker.h
40564         * Makerules (lib%.so): Don't include $(+interp) in
40565         prerequisites.
40566         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
40567         * dlfcn/eval.c: Remove file.
40569         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
40570         macros.
40572         [BZ #17266]
40573         * misc/sys/cdefs.h: Define __extern_always_inline for clang
40574         4.2 and newer.
40576         [BZ #17370]
40577         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
40579 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40580             Jakub Jelinek  <jakub@redhat.com>
40582         [BZ #17266]
40583         * libio/stdio.h: Check definition of __fortify_function
40584         instead of __extern_always_inline to include bits/stdio2.h.
40585         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
40586         check if __extern_always_inline is defined.
40587         [__USE_MISC || __USE_XOPEN]: Likewise.
40588         [__USE_ISOC99] Likewise.
40589         * misc/sys/cdefs.h (__fortify_function): Define only if
40590         __extern_always_inline is defined.
40591         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
40592         __extern_always_inline and __extern_inline only for g++-4.3
40593         and newer or a compatible gcc.
40595 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
40597         [BZ #17371]
40598         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40599         last change to handle zero prefix length.
40601 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40603         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
40604         _SC_REGEX_VERSION.
40606         * posix/getconf.c (vars): Add _POSIX_IPV6 and
40607         _POSIX_RAW_SOCKETS.
40609 2014-09-13  Allan McRae  <allan@archlinux.org>
40611         * po/ru.po: Update Russian translation from translation project.
40613 2014-09-12  Roland McGrath  <roland@hack.frob.com>
40615         * locale/programs/locale.c (show_locale_vars): Inline local function
40616         into its sole call site.  Clean up some style nits.
40617         (print_item): New function, broken out of ...
40618         (show_info): ... local function here.  Clean up style nits.
40620         * locale/programs/ld-ctype.c (set_one_default): New function, broken
40621         out of ...
40622         (set_class_defaults): ... local function set_default here.
40623         Define set_default as a macro locally to pass constant parameters.
40624         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
40625         rather than a shared local.
40627         * stdlib/rpmatch.c (try): New function, broken out of ...
40628         (rpmatch): ... local function here.  Also, prototypify definition.
40630 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
40632         * scripts/soversions.awk: Do not handle configuration names.
40633         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
40634         vendor and os variables to soversions.awk.
40635         * configure.ac: Do not modify gnu-* host_os.
40636         * configure: Regenerated
40637         * shlib-versions: Remove first column with configuration names.
40638         * nptl/shlib-versions: Likewise.
40639         * nptl_db/shlib-versions: Likewise.
40640         * sysdeps/hppa/shlib-versions: Likewise.
40641         * sysdeps/m68k/shlib-versions: Likewise.
40642         * sysdeps/mach/hurd/shlib-versions: Likewise.
40643         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
40644         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
40645         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
40646         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
40647         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
40648         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
40649         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
40650         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
40651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40652         Likewise.
40653         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40654         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40655         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40656         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40657         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40658         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
40659         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
40660         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
40662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40663         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
40664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
40665         Regenerated.
40666         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
40667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
40668         Condition symbol version definitions on [HAVE_ELFV2_ABI].
40670         * shlib-versions: Remove OS-specific entries.  Moved to files in
40671         sysdeps.
40672         * sysdeps/mach/hurd/shlib-versions: New file.
40673         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
40675         * nptl/shlib-versions: Remove architecture-specific entries.
40676         Moved to files in sysdeps.
40677         * shlib-versions: Likewise.
40678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
40679         file.
40680         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
40681         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
40682         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
40683         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
40685         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
40686         (UDP_NO_CHECK6_RX): Likewise.
40688 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40690         * sysdeps/posix/sysconf.c (__sysconf): Spell
40691         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
40693 2014-08-12  Florian Weimer  <fweimer@redhat.com>
40695         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
40696         loading.
40697         * iconv/Versions (__gconv_transliterate): Export for use from
40698         gconv modules.
40699         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
40700         (struct __gconv_trans_data, __gconv_trans_fct,
40701         __gconv_trans_context_fct, __gconv_trans_query_fct,
40702         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
40703         definitions.
40704         (struct __gconv_step_data): Remove __trans member.
40705         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
40706         longer hidden.  Remove unused trans_data argument.
40707         * iconv/gconv_int.h (struct trans_struct): Remove definition.
40708         (__gconv_translit_find): Remove declaration.
40709         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
40710         prototype.
40711         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
40712         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
40713         trans_data argument.  Add hidden definition.
40714         (__gconv_translit_find): Remove.
40715         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
40716         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
40717         * iconv/skeleton.c: Remove transliteration initialization.
40718         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
40719         __gconv_step_data initialization.
40720         * libio/iofwide.c (__libio_translit_): Remove.
40721         (_IO_fwide): Adjust struct __gconv_step_data initialization.
40722         * wcsmbs/btowc.c (__btowc): Likewise.
40723         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40724         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40725         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
40726         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
40727         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
40728         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
40729         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
40730         * wcsmbs/wctob.c (wctob): Likewise.
40732 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40734         [BZ #16194]
40735         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
40736         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
40737         register usage.
40738         * sysdeps/x86/Makefile: Adjust.
40740 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40741             Roland McGrath  <roland@hack.frob.com>
40743         * locale/weight.h: Add include guard.
40744         (findidx): Make static rather than auto; take new parameters
40745         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
40746         * locale/weightwc.h: Likewise.
40747         * posix/fnmatch_loop.c
40748         (FCT): Change type of EXTRA from int32_t to wint_t.
40749         Don't include either header inside the function.
40750         Call FINDIDX rather than findidx, and pass new arguments.
40751         #undef FINDIDX at the end of the file.
40752         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
40753         FINDIDX before including fnmatch_loop.c for the non-wide version.
40754         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
40755         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
40756         for the wide version.
40757         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
40758         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
40759         Pass new arguments to findidx.
40760         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
40761         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
40762         Don't #include it inside the function.  Pass new arguments to findidx.
40763         * posix/regex_internal.h
40764         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
40765         (re_string_elem_size_at): Don't #include it inside the function.
40766         Pass new arguments to findidx.
40767         * string/strcoll_l.c: #include WEIGHT_H at top level.
40768         (get_next_seq): Don't #include it inside the function.
40769         Pass new arguments to findidx.
40770         (get_next_seq_nocache): Likewise.
40771         * string/strxfrm_l.c: #include WEIGHT_H at top level.
40772         (STRXFRM): Don't #include it inside the function.
40773         Pass new arguments to findidx.
40775 2014-09-11  Florian Weimer  <fweimer@redhat.com>
40777         [BZ #17344]
40778         * malloc/malloc.c (unlink): Turn asserts into a call to
40779         malloc_printerr.
40781 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
40783         [BZ #17370]
40784         * libio/wfileops (do_ftell_wide): Free OUT.
40786 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
40788         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
40790 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40792         [BZ #17363]
40793         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
40794         group if the current group is empty.
40796 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40798         * benchtests/bench-memset.c (test_main): Add more test from size
40799         from 32 to 512 bytes.
40800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40801         Add POWER8 memset object.
40802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40803         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
40804         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
40805         implementation.
40806         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
40807         Likewise.
40808         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
40809         multiarch POWER8 memset optimization.
40810         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
40811         POWER8 memset optimization.
40813         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40814         Remove bzero multiarch objects.
40815         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
40816         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
40817         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
40818         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
40819         Remove define.
40820         [__bzero]: Redefine to specific name.
40821         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
40822         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
40823         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
40824         define.
40825         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40826         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
40828 2014-09-10  Florian Weimer  <fweimer@redhat.com>
40830         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
40831         warnings into errors.
40833         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
40834         __cxa_thread_atexit_impl prototype.
40836 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40838         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
40839         Fix capitalization of error message.
40841 2014-09-09  Steve Ellcey  <sellcey@mips.com>
40843         * sysdeps/mips/preconfigure: Modify ABI tests.
40845 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
40847         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
40849 2014-09-07  Roland McGrath  <roland@hack.frob.com>
40850             Carlos O'Donell  <carlos@systemhalted.org>
40852         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
40853         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
40854         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
40855         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
40856         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
40857         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
40858         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
40859         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
40860         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
40861         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
40862         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
40863         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
40864         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
40865         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
40866         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
40867         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
40868         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
40869         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
40870         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
40871         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
40872         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
40873         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
40874         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
40875         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
40876         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
40877         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
40878         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
40879         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
40880         Deconditionalize the code that was previously under [RESET_PID].
40881         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
40882         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
40883         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
40884         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
40885         include sysdep.h.
40887 2014-09-08  Allan McRae  <allan@archlinux.org>
40889         * version.h (RELEASE): Set to "development".
40890         (VERSION): Set to "2.20.90"
40892 2014-09-07  Allan McRae  <allan@archlinux.org
40894         * version.h (RELEASE): Set to "stable".
40895         (VERSION): Set to "2.20"
40896         * include/features.h (__GLIBC_MINOR__): Set to 20.
40898         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
40899         Liebler.
40901         * po/ko.po: Update Korean translation from translation project.
40903 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
40905         [BZ #17354]
40906         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
40907         macro for handling signed relocations.
40909 2014-09-03  Florian Weimer  <fweimer@redhat.com>
40911         [BZ #17325]
40912         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
40913         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
40914         assert.
40915         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
40916         * iconvdata/ibm935.c (BODY): Likewise.
40917         * iconvdata/ibm937.c (BODY): Likewise.
40918         * iconvdata/ibm939.c (BODY): Likewise.
40919         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
40920         assert.
40921         * iconvdata/Makefile (iconv-test.out): Pass module list to test
40922         script.
40923         * iconvdata/run-iconv-test.sh: New test loop for checking for
40924         decoder crashers.
40926 2014-09-02  Khem Raj  <raj.khem@gmail.com>
40928         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
40929         libm_hidden_ver.
40931 2014-09-01  Allan McRae  <allan@archlinux.org>
40933         * po/eo.po: Update Esperanto translation from translation project.
40935         * po/ca.po: Update Catalan translation from translation project.
40937 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40939         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
40940         __proc_dostop call.
40942 2014-08-27  Mark Wielaard  <mjw@redhat.com>
40944         [BZ #17319]
40945         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
40946         to call set_thread_area instead of hand written asm.
40947         (__NR_set_thread_area): Removed define.
40948         (TLS_FLAG_WRITABLE): Likewise.
40949         (__ASSUME_SET_THREAD_AREA): Remove check.
40950         (TLS_EBX_ARG): Remove define.
40951         (TLS_LOAD_EBX): Likewise.
40953 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40955         Simplify atomicity of socket creation in bind.
40957         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
40958         looking up the name after linking the file.
40960 2014-08-27  Allan McRae  <allan@archlinux.org>
40962         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
40964 2014-08-26  Florian Weimer  <fweimer@redhat.com>
40966         [BZ #17187]
40967         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
40968         trans_compare, open_translit, __gconv_translit_find):
40969         Remove module loading code.
40971 2014-08-26  Allan McRae  <allan@archlinux.org>
40973         * po/vi.po: Update Vietnamese translation from translation project.
40975         * po/uk.po: Update Ukrainian translation from translation project.
40977         * po/fr.po: Update French translation from translation project.
40979         * po/ru.po: Update Russian translation from translation project.
40981         * po/pl.po: Update Polish translation from translation project.
40983         * po/cs.po: Update Czech translation from translation project.
40985         * po/de.po: Update German translation from translation project.
40987         * po/bg.po: Update Bulgarian translation from translation project.
40989         * po/sv.po: Update Sweedish translation from translation project.
40991         * po/nl.po: Update Dutch translation from translation project.
40993         * po/es.po: Update Spanish translation from translation project.
40995 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40997         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
40999         * catgets/Makefile (CPPFLAGS-gencat): Remove.
41000         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
41001         (CPPFLAGS-iconvconfig): Likewise.
41002         * timezone/Makefile (CPPFLAGS-zic): Likewise.
41004         * include/libc-symbols.h: Remove unnecessary check for
41005         NOT_IN_libc.
41006         * nptl/pthreadP.h: Likewise.
41007         * sysdeps/aarch64/setjmp.S: Likewise.
41008         * sysdeps/alpha/setjmp.S: Likewise.
41009         * sysdeps/arm/sysdep.h: Likewise.
41010         * sysdeps/i386/setjmp.S: Likewise.
41011         * sysdeps/m68k/setjmp.c: Likewise.
41012         * sysdeps/posix/getcwd.c: Likewise.
41013         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
41014         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
41015         * sysdeps/s390/s390-32/setjmp.S: Likewise.
41016         * sysdeps/s390/s390-64/setjmp.S: Likewise.
41017         * sysdeps/sh/sh3/setjmp.S: Likewise.
41018         * sysdeps/sh/sh4/setjmp.S: Likewise.
41019         * sysdeps/unix/alpha/sysdep.h: Likewise.
41020         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
41021         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
41022         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
41023         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
41024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
41025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
41027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
41028         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
41029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41030         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41031         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
41032         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
41033         * sysdeps/x86_64/setjmp.S: Likewise.
41035 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
41037         [BZ #17263]
41038         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
41039         <stdint.h>.
41040         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
41041         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
41043 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41045         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
41047         [BZ #17262]
41048         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
41049         and __x86_64__ when disabling x87 inline functions.
41051 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41053         [BZ #17259]
41054         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
41055         asm statement with __cpuid_count.
41057 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
41059         * configure.ac: Change __ehdr_start code to dereference the struct.
41060         Run readelf on the output to look for relocations.
41061         * configure: Regenerated.
41063 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
41065         [BZ #17261]
41066         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
41067         value to 0.
41068         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
41070 2014-08-12  Roland McGrath  <roland@hack.frob.com>
41072         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
41074 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
41076         [BZ #16892]
41077         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
41078         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
41080 2014-08-12  Sean Anderson  <seanga2@gmail.com>
41082         * malloc/malloc.c: Fix typo in comment.
41084 2014-08-09  Allan McRae  <allan@archlinux.org>
41086         * Regenerate libc.po.
41088 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
41090         * intl/tst-gettext2.sh: Check every lang file for creation.
41092 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41094         * sysdeps/aarch64/fpu/math_private.h
41095         (libc_feholdsetround_noex_aarch64_ctx): New function.
41097 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
41099         * sysdeps/arm/armv6/strcpy.S (strcpy):
41100         Fix performance issue in misaligned cases.
41102 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41104         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
41105         Move definition from termios.h.
41106         (struct termio): Likewise.
41107         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41108         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41109         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41110         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41111         Likewise.
41112         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
41113         Move definition to ioctl-types.h
41114         (struct termio): Likewise.
41115         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41116         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
41117         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
41118         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
41119         Likewise.
41121 2014-08-05  Richard Henderson  <rth@redhat.com>
41123         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
41124         exceptions.
41125         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
41126         Add fraiseexcpt.
41127         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
41128         Use __feraiseexcept.
41129         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
41130         Protect libm symbols with IS_IN_libm.
41132         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
41134 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
41136         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
41138 2014-08-04  Will Newton  <will.newton@linaro.org>
41140         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
41141         file.
41143 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
41145         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
41146         variants for each function.
41148 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41150         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
41151         appended ...
41152         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
41153         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
41154         appended ...
41155         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
41156         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
41157         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
41158         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
41159         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
41160         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
41161         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
41162         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
41163         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
41164         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
41165         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
41166         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
41167         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
41168         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
41169         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
41170         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
41171         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
41172         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
41173         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
41174         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
41175         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
41176         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
41177         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
41178         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
41179         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
41180         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
41181         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
41182         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
41183         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
41184         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
41185         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
41186         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
41187         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
41188         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
41189         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
41190         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
41191         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
41192         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
41193         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
41194         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
41195         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
41196         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
41197         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
41198         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
41199         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
41200         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
41201         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
41202         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
41203         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
41204         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
41205         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
41206         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
41207         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
41208         Update #include.
41209         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
41210         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
41212 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41214         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
41215         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
41216         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
41217         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
41218         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
41219         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
41221 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41223         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
41224         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
41225         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
41226         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
41228 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41230         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
41231         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
41232         (__libc_vfork): Define function under this name.
41233         (__vfork): Define as an alias.
41234         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
41235         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
41237 2014-08-04  Roland McGrath  <roland@hack.frob.com>
41239         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
41240         that was previously under [RESET_PID].
41241         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
41243 2014-08-04  Andreas Schwab  <schwab@suse.de>
41245         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
41247 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
41249         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
41250         (main): Likewise.
41252 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41254         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
41256 2014-08-01  Richard Henderon  <rth@redhat.com>
41258         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
41259         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
41260         typo in exact zero test.
41261         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41262         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41263         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41265 2014-08-01  Roland McGrath  <roland@hack.frob.com>
41267         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
41268         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
41269         * sysdeps/arm/sysdep.h: ... here.
41270         [!__ASSEMBLER__]: Include <stdint.h>.
41272 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
41274         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
41275         (HAVE_WCTYPE_H): Likewise.
41276         (HAVE_ISWCTYPE): Likewise.
41277         (ENABLE_NLS): Likewise.
41278         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
41279         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
41281         * posix/regex_internal.c: Check if DEBUG is defined and is
41282         set.
41284         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
41285         (HAVE_MBSRTOWCS): Likewise.
41286         * posix/fnmatch.c: Include string.h unconditionally.
41288 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
41290         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
41291         reversal.
41293 2014-07-31  Roland McGrath  <roland@hack.frob.com>
41295         * sysdeps/generic/safe-fatal.h: New file.
41296         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
41297         * nptl/forward.c: Include it.
41298         (__pthread_unwind): Use __safe_fatal as default action, rather
41299         than a bogus use of INTERNAL_SYSCALL that could never work.
41301         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
41302         * configure.ac (libc_cv_builtin_trap): New test.
41303         * configure: Regenerated.
41304         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
41305         (ABORT_INSTRUCTION): Define using __builtin_trap.
41307         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
41308         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
41309         * sysdeps/nptl/nptl-signals.h: New file.
41310         * nptl/pthreadP.h: Include <nptl-signals.h>.
41312 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41314         * sysdeps/s390/s390-64/utf16-utf32-z9.c
41315         (ONE_DIRECTION): Define.
41316         * sysdeps/s390/s390-64/utf8-utf16-z9.c
41317         (ONE_DIRECTION): Define.
41318         * sysdeps/s390/s390-64/utf8-utf32-z9.c
41319         (ONE_DIRECTION): Define.
41321 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
41323         * sysdeps/s390/Makefile: Delete file.
41324         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
41325         * sysdeps/s390/__longjmp.c: Delete file.
41326         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
41327         Remove fields __flags and __reserved.
41328         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
41329         and add versioning.
41330         * sysdeps/s390/rtld-__longjmp.c: Delete file.
41331         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
41332         * sysdeps/s390/rtld-setjmp.S: Likewise.
41333         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
41334         * sysdeps/s390/s390-32/__longjmp.c: ... here.
41335         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
41336         * sysdeps/s390/s390-32/setjmp.S: ... here.
41337         Add versioning.
41338         (__sigsetjmp): Remove setting __flags field.
41339         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
41340         * sysdeps/s390/s390-64/__longjmp.c: ... here.
41341         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
41342         * sysdeps/s390/s390-64/setjmp.S: ... here.
41343         Add versioning.
41344         (__sigsetjmp): Remove setting __flags field.
41345         * sysdeps/s390/setjmp.S: Delete file.
41346         * sysdeps/s390/sigjmp.c: Likewise.
41347         * sysdeps/s390/v1-longjmp.c: Likewise.
41348         * sysdeps/s390/v1-setjmp.h: Likewise.
41349         * sysdeps/s390/v1-sigjmp.c: Likewise.
41350         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
41351         Remove v1-longjmp_chk.
41352         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
41353         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
41354         Include debug/longjmp_chk.c and add versioning.
41355         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
41356         Include nptl/pt-longjmp.c and add versioning.
41357         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
41358         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
41359         Include __longjmp.c.
41360         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41361         Move to ...
41362         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
41363         (__getcontext): Remove setting __flags field.
41364         Add versioning.
41365         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
41366         Don't restore upper high grps.
41367         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
41368         Likewise.
41369         (__swapcontext): Remove setting uc_flags field.
41370         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
41371         Delete file.
41372         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41373         Include __longjmp.c.
41374         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41375         Move to ...
41376         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
41377         (__getcontext): Remove setting __flags field.
41378         Add versioning.
41379         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
41380         (__swapcontext): Remove setting uc_flags field.
41381         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
41382         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
41383         Remove fields uc_high_gprs and __reserved.
41384         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
41385         New file with reverted content.
41386         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
41387         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
41388         Regenerated.
41389         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
41390         Regenerated.
41392 2014-07-31  Andreas Schwab  <schwab@suse.de>
41394         * config.h.in (HAVE_IFUNC): Define to 0.
41395         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
41396         definedness.
41398 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
41400         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41401         memmove-avx-unaligned, memcpy-avx-unaligned and
41402         mempcpy-avx-unaligned.
41403         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41404         Add tests for AVX memcpy functions.
41405         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
41406         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
41407         memcpy_chk.
41408         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
41409         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
41410         memmove_chk.
41411         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
41412         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
41413         mempcpy_chk.
41414         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
41415         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
41416         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
41418 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41420         [BZ #17213]
41421         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
41422         powerpc64le.
41424 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
41426         [BZ #16839]
41427         * manual/llio.texi: Add section about open file description locks.
41428         * manual/examples/ofdlocks.c: Example of open file description
41429         lock usage.
41430         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
41431         F_OFD_SETLK, and F_OFD_SETLKW.
41433 2014-07-23  Allan McRae  <allan@archlinux.org>
41435         * po/es.po: Update Spanish translation from translation project.
41437 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
41439         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
41441 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
41443         [BZ #17078]
41444         * sysdeps/arm/dl-machine.h (elf_machine_rela)
41445         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
41446         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
41448 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
41450         [BZ #17088]
41451         * math/fesetenv.c (__fesetenv)
41452         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
41453         * math/feupdateenv.c (__feupdateenv)
41454         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
41456         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
41457         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
41458         (__ASSUME_SOCKETCALL): Do not define.
41460         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
41461         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
41462         (__ASSUME_SOCKETCALL): Do not define.
41463         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
41464         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41465         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41466         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
41467         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41468         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
41469         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41470         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41472         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
41473         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
41474         (__ASSUME_SOCKETCALL): Do not define.
41475         (__ASSUME_IPC64): Define unconditionally.
41476         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41477         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41478         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
41479         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41480         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
41481         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41482         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
41483         Likewise.
41485         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
41486         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
41487         (__ASSUME_SOCKETCALL): Do not define.
41488         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
41489         (__ASSUME_FUTEX_LOCK_PI): Likewise.
41490         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41491         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41492         (__ASSUME_REQUEUE_PI): Define unconditionally.
41493         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
41494         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
41495         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41496         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
41497         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41498         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41500         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
41501         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
41502         (__ASSUME_SOCKETCALL): Do not define.
41503         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
41504         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41505         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41506         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
41507         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41508         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41510         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
41511         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
41512         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
41513         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
41514         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41515         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
41516         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
41517         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
41518         (__ASSUME_GETCPU_SYSCALL): Likewise.
41520         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
41521         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
41522         cases for individual architectures.
41523         * sysdeps/gnu/configure: Regenerated.
41524         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
41525         LIBC_SLIBDIR_RTLDDIR.
41526         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
41527         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
41528         LIBC_SLIBDIR_RTLDDIR.
41529         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
41530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
41531         LIBC_SLIBDIR_RTLDDIR.
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
41533         Regenerated.
41534         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
41535         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
41536         file.
41537         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
41538         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
41539         file.
41540         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
41541         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
41542         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
41543         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
41545         * sysdeps/aarch64/shlib-versions: Move to ...
41546         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
41547         * sysdeps/alpha/shlib-versions: Move to ...
41548         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
41549         * sysdeps/arm/shlib-versions: Move to ...
41550         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
41551         * sysdeps/hppa/shlib-versions: Move all contents except for
41552         libgcc_s entry to ...
41553         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
41554         entry from ...
41555         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
41556         * sysdeps/ia64/shlib-versions: Move to ...
41557         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
41558         entry from ...
41559         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
41560         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
41561         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
41562         * sysdeps/microblaze/shlib-versions: Move to ...
41563         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
41564         * sysdeps/mips/shlib-versions: Move to ...
41565         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
41566         entry from ...
41567         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
41568         * sysdeps/tile/shlib-versions: Move to ...
41569         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
41570         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
41571         from ...
41572         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
41573         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
41574         entry from ...
41575         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
41577 2014-07-17  Will Newton  <will.newton@linaro.org>
41579         * sysdeps/arm/bits/atomic.h
41580         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
41581         (__arch_compare_and_exchange_bool_16_int): Likewise.
41582         (__arch_compare_and_exchange_bool_64_int): Likewise.
41584         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
41585         into an #else block.
41587 2014-07-16  Roland McGrath  <roland@hack.frob.com>
41589         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
41590         just Linux configurations.  Test empirically that the compiler sets
41591         __ARM_EABI__, rather than using the tuple to decide.
41592         * sysdeps/arm/preconfigure: Regenerated.
41593         * sysdeps/unix/sysv/linux/arm/configure: File removed.
41594         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
41595         contents appended ...
41596         * sysdeps/arm/configure.ac: ... here.
41597         * sysdeps/arm/configure: Regenerated.
41599 2014-07-15  Roland McGrath  <roland@hack.frob.com>
41601         * nptl/pthread_kill.c: New file.
41602         * nptl/pthread_sigmask.c: New file.
41603         * nptl/pthread_sigqueue.c: New file.
41605         * sysdeps/nptl/lowlevellock.h: New file.
41606         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
41607         * sysdeps/nptl/lowlevellock-futex.h: New file.
41609         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
41610         Remove dead declarations.
41612 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
41614         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
41615         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
41616         config-cflags-avx2.
41617         * sysdeps/x86_64/configure.ac: Likewise.
41618         * sysdeps/i386/configure: Regenerated.
41619         * sysdeps/x86_64/configure: Likewise.
41620         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41621         memset-avx2 only if config-cflags-avx2 is yes.
41622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
41623         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
41624         defined.
41625         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
41626         only if HAVE_AVX2_SUPPORT is defined.
41627         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
41629 2014-07-14  Alan Modra  <amodra@gmail.com>
41631         [BZ #17153]
41632         * elf/elf.h (DT_PPC64_NUM): Correct value.
41633         * NEWS: Add to fixed bug list.
41635 2014-07-13  Jim Meyering  <meyering@fb.com>
41637         [BZ 17150]
41638         regex: don't deref NULL upon heap allocation failure
41639         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
41640         failure in one more place.
41641         To trigger the segfault, configure grep -with-included-regex,
41642         build it, and run these commands:
41643         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
41645 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
41647         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
41649 2014-07-11  Richard Henderson  <rth@redhat.com>
41651         * sysdeps/aarch64/libm-test-ulps: Update.
41653 2014-07-10  Florian Weimer  <fweimer@redhat.com>
41655         [BZ #17135]
41656         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
41657         * nptl/allocatestack.c (__nptl_setxid_error): New function.
41658         (__nptl_setxid): Initialize error member.  Call
41659         __nptl_setxid_error.
41660         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
41661         * nptl/descr.h (struct xid_command): Add error member.
41662         * nptl/tst-setuid3.c: New file.
41663         * nptl/Makefile (tests): Add it.
41665 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41667         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
41668         New define.
41669         (__lll_trylock): Use __lll_base_trylock.
41670         (__lll_cond_trylock): Likewise.
41672 2014-07-10  Roland McGrath  <roland@hack.frob.com>
41674         * nptl/pthread_create.c (start_thread): Use atomic_or and
41675         lll_futex_wake directly rather than lll_robust_dead.
41676         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41677         (lll_robust_dead): Macro removed.
41678         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
41679         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41680         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41681         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41682         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41683         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41684         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41685         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41686         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41687         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41688         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41689         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41690         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41691         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41692         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41694         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
41695         Use atomic_compare_and_exchange_val_acq directly rather than
41696         lll_robust_trylock.
41697         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
41698         (__lll_robust_trylock, lll_robust_trylock): Removed.
41699         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
41700         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
41701         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
41702         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
41703         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
41704         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
41705         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
41706         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
41707         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
41708         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
41709         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41710         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
41711         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
41712         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
41714 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41716         * manual/locale.texi (Locale Names): New section documenting
41717         locale name syntax.  Adjust menu and node chaining accordingly.
41718         (Choosing Locale): Reference Locale Names, Locale Categories.
41719         Mention setting LC_ALL=C.  Reflect that name syntax is now
41720         documented.
41721         (Locale Categories): New section title.  Reference Locale Names.
41722         LC_ALL is an environment variable, but not a category.
41723         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
41724         description, now in Locale Name.  Reference that section.  Locale
41725         name syntax is now documented.
41727 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41729         [BZ #17137]
41730         * locale/findlocale.c (name_present, valid_locale_name): New
41731         functions.
41732         (_nl_find_locale): Use the loc_name variable to store name
41733         candidates.  Call name_present and valid_locale_name to check and
41734         validate locale names.  Return an error if the locale is invalid.
41736 2014-07-02  Florian Weimer  <fweimer@redhat.com>
41738         * locale/setlocale.c (setlocale): Use strdup for allocating
41739         composite name copy.
41741 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41743         Sync up with gnulib.
41744         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
41745         [!_LIBC && ENABLE_NLS]: Include gettext.h.
41746         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
41747         and _GL_ARG_NONNULL.
41748         [USE_UNLOCKED_IO]: Include unlocked-io.h.
41749         [!_LIBC]: Include code for Windows and Cygwin.
41750         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
41751         Include prototype for int strerror_r.
41752         [!_LIBC] (is_open): New function.
41753         (flush_stdout): New function.
41754         (print_errno_message): Use it.
41755         (error): Likewise.
41756         (error_at_line): Likewise.
41757         (error_tail) Add function attribute macros.  Use
41758         __builtin_expect.
41760         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
41762         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
41764         * io/ftw.c: Include sys/param.h unconditionally.
41766         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
41768         [BZ #17125]
41769         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
41770         libc_freeres_ptr.
41771         (freecache): New function to free CACHE on exit.
41773         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
41774         initialization.
41776 2014-07-09  David S. Miller  <davem@davemloft.net>
41778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41780         * sysdeps/sparc/nptl/internaltypes.h: Delete.
41781         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
41782         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
41783         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
41784         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
41785         * sysdeps/sparc/nptl/sem_init.c: Likewise.
41786         * sysdeps/sparc/nptl/sem_post.c: Likewise.
41787         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
41788         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
41789         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
41790         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
41791         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
41792         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
41794 2014-07-09  Andreas Schwab  <schwab@suse.de>
41796         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
41797         output.
41798         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
41799         (do_test): Likewise.
41801         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
41803 2014-07-09  Will Newton  <will.newton@linaro.org>
41805         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
41806         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
41807         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
41808         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
41809         * sysdeps/hppa/start.S (_start): Likewise.
41811 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41813         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
41815         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
41816         defined.
41818 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41820         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
41821         after checking that it is non-NULL.
41823         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
41825 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41827         * sysdeps/powerpc/memmove.c: Remove file.
41828         * sysdeps/powerpc/powerpc32/power4/memcopy.h
41829         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
41830         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
41831         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
41832         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
41833         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
41834         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
41835         string memmove instead of removed powerpc one.
41837         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
41838         [weak_alias]: Fix compiler warning due trailing data.
41839         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
41840         [weak_alias]: Likewise.
41841         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
41842         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
41844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
41845         (__libc_ifunc_impl_list): Add memmove functions.
41847 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41849         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
41850         Remove code.
41851         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
41852         Likewise.
41853         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
41854         Likewise.
41855         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
41856         Likewise.
41857         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
41858         Likewise.
41859         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
41860         Likewise.
41861         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
41862         Likewise.
41863         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
41864         Likewise.
41865         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
41866         Likewise.
41867         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
41868         Likewise.
41869         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
41870         Likewise.
41871         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
41872         Likewise.
41873         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
41874         Likewise.
41875         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
41876         Likewise.
41877         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
41878         Likewise.
41879         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
41880         Likewise.
41881         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
41882         Likewise.
41884 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41886         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
41887         to avoid alignment traps in non-cacheable memory.
41888         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
41891         multiarch objects.
41892         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
41893         file: multiarch power7 memmove.
41894         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
41895         multiarch default memmove.
41896         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
41897         multiarch memove for powerpc32/power4.
41899         * string/bcopy.c: Use full path to include memmove.c.
41900         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
41901         multiarch objects.
41902         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
41903         bcopy for powerpc64.
41904         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
41905         bcopy for powerpc64.
41906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
41907         and memmove implementations.
41908         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
41909         optimized multiarch memmove for POWER7/powerpc64.
41910         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
41911         default multiarch memmove for powerpc64.
41912         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
41913         multiarch for powerpc64.
41914         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
41915         for POWER7/powerpc64.
41916         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
41917         memmove for POWER7/powerpc64.
41919         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
41920         glibc default one.
41922         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
41923         __ELF_NATIVE_CLASS equal to 64.
41925 2014-07-07  Roland McGrath  <roland@hack.frob.com>
41927         * sysdeps/nptl/lowlevellock.h: File removed.
41929         * NEWS: NPTL is no longer an add-on!
41930         * nptl/internaltypes.h: Moved ...
41931         * sysdeps/nptl/internaltypes.h: ... here.
41932         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
41933         * sysdeps/nptl/fork.c: Likewise.
41934         * sysdeps/nptl/gai_misc.h: Likewise.
41935         * sysdeps/nptl/librt-cancellation.c: Likewise.
41936         * sysdeps/nptl/jmp-unwind.c: Likewise.
41937         * sysdeps/nptl/setxid.h: Likewise.
41938         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
41939         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
41940         * sysdeps/unix/sysv/linux/arm/Implies: New file.
41941         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
41942         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
41943         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
41944         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
41945         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
41946         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
41947         * sysdeps/unix/sysv/linux/mips/Implies: New file.
41948         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
41949         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
41950         * sysdeps/unix/sysv/linux/sh/Implies: New file.
41951         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
41952         * sysdeps/unix/sysv/linux/tile/Implies: New file.
41953         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
41954         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
41955         * nptl/Makeconfig: Moved ...
41956         * sysdeps/nptl/Makeconfig: ... here.
41957         * nptl/configure: File removed.
41958         * nptl/ANNOUNCE: File removed.
41959         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
41960         * sysdeps/unix/sysv/linux/configure: Regenerated.
41962         * nptl/Makefile (routines): Add libc_pthread_init,
41963         libc_multiple_threads, register-atfork and unregister-atfork.
41964         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
41965         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
41966         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
41967         pthread-pi-defines.sym, structsem.sym.
41968         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
41969         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
41970         [$(subdir) = nptl] (tests): Add tst-setgetname.
41971         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
41972         * sysdeps/unix/sysv/linux/sigaction.c: Just include
41973         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
41974         [!LIBC_SIGACTION]: Remove aliases.
41975         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
41976         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
41977         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
41978         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
41979         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
41980         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
41981         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41982         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41983         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
41984         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
41985         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
41986         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
41987         __libc_allocate_rtsig_private.
41988         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
41989         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
41990         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
41991         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
41992         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
41993         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
41994         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
41995         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
41996         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
41997         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
41998         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
41999         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
42000         * nptl/internaltypes.h: ... here.
42001         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
42002         * sysdeps/nptl/jmp-unwind.c: ... here.
42003         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
42004         * nptl/libc-lowlevellock.c: ... here.
42005         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
42006         * nptl/libc_multiple_threads.c: ... here.
42007         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
42008         * nptl/libc_pthread_init.c: ... here.
42009         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
42010         * nptl/lowlevelbarrier.sym: ... here.
42011         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
42012         * nptl/lowlevelcond.sym: ... here.
42013         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
42014         * nptl/lowlevellock.c: ... here.
42015         * nptl/lowlevellock.h: Moved ...
42016         * sysdeps/nptl/lowlevellock.h: ... here.
42017         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
42018         * nptl/lowlevelrobustlock.c: ... here.
42019         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
42020         * nptl/lowlevelrobustlock.sym: ... here.
42021         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
42022         * nptl/lowlevelrwlock.sym: ... here.
42023         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
42024         * nptl/pt-fork.c: ... here.
42025         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
42026         * nptl/pthread-pi-defines.sym: ... here.
42027         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
42028         * nptl/pthread_attr_getaffinity.c: ... here.
42029         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
42030         * nptl/pthread_attr_setaffinity.c: ... here.
42031         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
42032         * nptl/pthread_mutex_cond_lock.c: ... here.
42033         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42034         Update #include.
42035         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
42036         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
42037         * nptl/pthread_once.c: ... here, replacing old file.
42038         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
42039         * nptl/pthread_yield.c: ... here.
42040         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
42041         * nptl/register-atfork.c: ... here.
42042         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
42043         * nptl/sem_post.c: ... here.
42044         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
42045         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
42046         * nptl/sem_timedwait.c: ... here.
42047         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
42048         * nptl/sem_trywait.c: ... here.
42049         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
42050         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
42051         * nptl/sem_wait.c: ... here.
42052         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
42053         * nptl/structsem.sym: ... here.
42054         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
42055         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
42056         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
42057         * nptl/unregister-atfork.c: ... here.
42058         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
42059         * nptl/unwindbuf.sym: ... here.
42060         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
42061         * sysdeps/nptl/fork.c: ... here.
42062         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
42063         * sysdeps/nptl/fork.h: ... here.
42064         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
42065         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
42066         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
42067         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
42068         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
42069         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
42070         * sysdeps/unix/sysv/linux/getpid.c: ... here.
42071         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
42072         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
42073         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
42074         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
42075         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
42076         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
42077         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
42078         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
42079         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
42080         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
42081         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
42082         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
42083         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
42084         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
42085         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
42086         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
42087         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
42088         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
42089         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
42090         * sysdeps/unix/sysv/linux/raise.c: ... here.
42091         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
42092         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
42093         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
42094         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
42095         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
42096         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
42097         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
42098         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
42099         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
42100         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
42101         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
42102         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
42103         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
42104         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
42105         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
42107 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42109         * sysdeps/generic/memcopy.h: Add comment for
42110         MEMCPY_OK_FOR_FWD_MEMMOVE.
42112 2014-07-04  Will Newton  <will.newton@linaro.org>
42114         * string/memchr.c: Merge from gnulib.
42115         [_LIBC]: Remove conditionals.
42116         (__ptr_t): Remove define.
42117         (LONG_MAX_32_BITS): Likewise.
42118         (LONG_MAX): Likewise.
42119         (MEMCHR): Use ANSI prototype and optimize algorithm.
42121         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
42123 2014-07-03  Roland McGrath  <roland@hack.frob.com>
42125         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
42126         (lll_futex_timed_wait_bitset): Fix syscall argument count.
42128         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
42129         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
42130         in a bare environment with no <stdlib.h> installed.
42131         * sysdeps/nptl/configure: Regenerated.
42133         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
42135         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
42136         AC_EGREP_CPP for kernel header checks, so they only succeed if
42137         including <linux/version.h> actually works right.
42138         * sysdeps/unix/sysv/linux/configure: Regenerated.
42140         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
42141         value so it's not diagnosed as unused.
42143         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
42144         thing) with "ifeq ($(subdir),rt)".
42146 2014-07-03  Richard Henderson  <rth@redhat.com>
42148         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
42149         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
42150         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
42152         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
42153         (math_force_eval): New.
42155         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
42156         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
42158         * sysdeps/alpha/fpu/s_round.c: Remove file.
42159         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
42161         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
42162         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
42163         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
42164         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
42165         (_dl_start, print_statistics): Likewise.
42166         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
42167         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
42169         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42170         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42171         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42172         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42173         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42174         (HP_SMALL_TIMING_AVAIL): Define.
42175         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42176         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42177         (HP_SMALL_TIMING_AVAIL): Define.
42178         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42179         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
42181         * sysdeps/aarch64/hp-timing.h: New file.
42183         * sysdeps/generic/hp-timing.h: Remove dead comment.
42184         * sysdeps/generic/hp-timing-common.h: New file.
42185         * sysdeps/alpha/hp-timing.h: Include it.
42186         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
42187         * sysdeps/i386/i686/hp-timing.h: Likewise.
42188         * sysdeps/ia64/hp-timing.h: Likewise.
42189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42190         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42191         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42192         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42193         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
42194         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
42195         (hp_timing_t): New.
42197         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
42198         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
42199         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
42200         * elf/rtld.c (_dl_start_final): Likewise.
42201         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
42202         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42203         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42204         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42205         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42206         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42207         (HP_TIMING_DIFF_INIT): Remove.
42208         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42209         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
42210         (HP_TIMING_DIFF_INIT): Remove.
42211         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
42212         * sysdeps/i386/i686/hp-timing.c: Remove file.
42213         * sysdeps/x86_64/hp-timing.c: Remove file.
42214         * sysdeps/ia64/hp-timing.c: Remove file.
42215         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
42216         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
42217         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
42218         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
42220         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
42221         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
42222         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
42223         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42224         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
42225         (HP_TIMING_ACCUM): Remove.
42226         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42227         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
42228         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
42230         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
42231         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
42232         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
42233         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
42234         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
42235         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42236         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
42237         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
42239         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
42241 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
42243         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
42245 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42247         Sync up with gettext.
42248         * intl/loadmsgcat.c: Define O_BINARY if not defined.
42249         [_MSC_VER]: Include malloc.h
42250         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
42251         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
42252         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
42253         TEMP_FAILURE_RETRY.  Cast return of alloca.
42254         [!_LIBC] Call gl_rwlock_init.
42255         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
42257 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42259         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
42260         before checking its value.
42262 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42264         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
42266         * debug/memcpy_chk.c: Don't include pagecopy.h.
42267         * debug/mempcpy_chk.c: Likewise.
42268         * string/memcpy.c: Likewise.
42269         * string/memmove.c: Likewise.
42270         * sysdeps/powerpc/memmove.c: Likewise.
42271         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
42272         definition of PAGE_COPY_FWD_MAYBE here...
42273         * sysdeps/generic/pagecopy.h: ... from here.
42274         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
42276 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42277             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42279         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
42280         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
42281         optimizations.
42282         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42283         (__libc_ifunc_impl_list): Likewise.
42284         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
42285         multiarch strcat for PPC64.
42286         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
42287         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
42289 2014-07-02  Roland McGrath  <roland@hack.frob.com>
42291         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
42293 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42295         * intl/loadmsgcat.c: Remove declaration of
42296         get_sysdep_segment_value.
42297         (get_sysdep_segment_value): Use ISO C style.
42298         (_nl_load_domain): Use ISO C style.  Get rid of redundant
42299         semicolon.  Fix typo and formatting in comment.
42300         (_nl_unload_domain): Use ISO C style.
42302         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
42304 2014-07-02  Will Newton  <will.newton@linaro.org>
42306         * malloc/obstack.c: Merge from gnulib master.
42307         [HAVE_CONFIG_H]: Remove conditional code.
42308         [!_LIBC]: Include config.h.
42309         [!ELIDE_CODE]: Don't include inttypes.h, include
42310         stdint.h unconditionally.
42311         (print_and_abort): Mark as _Noreturn.
42312         (_obstack_allocated_p): Mark as __attribute_pure__.
42313         (obstack_free): Rename to __obstack_free.
42314         [!__attribute__]: Remove conditional code.
42315         * malloc/obstack.h: Merge from gnulib master.
42316         [__cplusplus]: Move conditional down.
42317         [!__attribute_pure__]: Define __attribute_pure__ here
42318         if it is not already defined.
42319         (_obstack_memory_used): Mark as __attribute_pure__.
42320         [!__obstack_free]: Define as obstack_free.
42321         [__GNUC__]: Remove check for ancient NeXT gcc.
42323 2014-07-02  Will Newton  <will.newton@linaro.org>
42324             Paul Eggert  <eggert@cs.ucla.edu>
42326         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
42328 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
42330         * resolv/gethnamaddr.c: Add comment warning that the file is
42331         not maintained.
42333 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
42335         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
42336         entries.
42338         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
42339         entry for aio_cancel and aio_cancel64.
42340         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
42341         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
42342         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
42343         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
42344         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
42345         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
42346         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
42347         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
42348         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
42349         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
42350         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
42351         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
42352         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
42354 2014-07-01  Roland McGrath  <roland@hack.frob.com>
42356         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
42357         * nptl/pthread_mutex_lock.c: Likewise.
42358         * nptl/pthread_mutex_timedlock.c: Likewise.
42359         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
42361 2014-07-01  Richard henderson  <rth@redhat.com>
42363         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
42364         (__isnan, __isnanl): Remove.
42365         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
42367         * sysdeps/alpha/fpu/libm-test-ulps: Update.
42369 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
42371         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
42373 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
42375         * resolv/nss_dns/dns-host.c (getanswer_r)
42376         [MULTI_PTRS_ARE_ALIASES]: Remove code.
42378 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
42380         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42381         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
42382         undefine.
42383         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
42384         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
42386 2014-07-01  Roland McGrath <roland@hack.frob.com>
42388         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
42389         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
42391         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
42392         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
42394         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
42395         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
42396         ... here.
42397         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
42398         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
42400         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
42401         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
42402         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
42403         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
42405         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
42406         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
42407         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
42408         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
42409         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
42410         Moved ...
42411         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
42412         ... here.
42413         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
42414         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
42415         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
42416         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
42417         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
42418         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
42419         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
42420         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
42421         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
42422         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
42423         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
42424         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
42425         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
42426         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
42427         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
42428         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
42429         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
42430         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
42431         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
42432         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
42433         ... here.
42434         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
42435         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
42436         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
42437         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
42438         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
42439         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
42440         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
42441         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
42443 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
42445         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
42446         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
42447         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
42448         Add sysdep.
42450 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42454 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42456         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
42457         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42459         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
42461         * sysdeps/arm/libm-test-ulps: Regenerated.
42463 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42464             Roland McGrath <roland@hack.frob.com>
42466         * test-skeleton.c (signal_handler): Kill the whole process group
42467         before killing the child individually.
42468         (main): Report any failure on `setpgid'.
42470 2014-06-30  Roland McGrath  <roland@hack.frob.com>
42472         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
42473         from _TLS_H to _ARM_NPTL_TLS_H.
42474         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
42475         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
42477 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
42479         [BZ #16539]
42480         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
42481         (__expm1l): Return argument unchanged when small but not
42482         subnormal.
42484         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
42485         include macro name.
42486         (_FP_UNPACK_RAW_1_P): Likewise.
42487         (_FP_PACK_RAW_1): Likewise.
42488         (_FP_PACK_RAW_1_P): Likewise.
42489         (_FP_MUL_MEAT_1_wide): Likewise.
42490         (_FP_MUL_MEAT_DW_1_hard): Likewise.
42491         (_FP_MUL_MEAT_1_hard): Likewise.
42492         (_FP_DIV_MEAT_1_imm): Likewise.
42493         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
42494         (_FP_DIV_MEAT_1_udiv): Likewise.
42495         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
42496         (_FP_UNPACK_RAW_2): Likewise.
42497         (_FP_UNPACK_RAW_2_P): Likewise.
42498         (_FP_PACK_RAW_2): Likewise.
42499         (_FP_PACK_RAW_2_P): Likewise.
42500         (_FP_MUL_MEAT_DW_2_wide): Likewise.
42501         (_FP_MUL_MEAT_2_wide): Likewise.
42502         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
42503         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42504         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
42505         (_FP_MUL_MEAT_2_gmp): Likewise.
42506         (_FP_DIV_MEAT_2_udiv): Likewise.
42507         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
42508         (_FP_FRAC_SRL_4): Likewise.
42509         (_FP_FRAC_SRST_4): Likewise.
42510         (_FP_FRAC_SRS_4): Likewise.
42511         (_FP_UNPACK_RAW_4): Likewise.
42512         (_FP_UNPACK_RAW_4_P): Likewise.
42513         (_FP_PACK_RAW_4): Likewise.
42514         (_FP_PACK_RAW_4_P): Likewise.
42515         (_FP_MUL_MEAT_DW_4_wide): Likewise.
42516         (_FP_MUL_MEAT_4_wide): Likewise.
42517         (_FP_MUL_MEAT_4_gmp): Likewise.
42518         (umul_ppppmnnn): Likewise.
42519         (_FP_DIV_MEAT_4_udiv): Likewise.
42520         (__FP_FRAC_ADD_4): Likewise.
42521         (__FP_FRAC_SUB_3): Likewise.
42522         (__FP_FRAC_SUB_4): Likewise.
42523         (__FP_FRAC_DEC_3): Likewise.
42524         (__FP_FRAC_DEC_4): Likewise.
42525         (__FP_FRAC_ADDI_4): Likewise.
42526         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
42527         (_FP_FRAC_SRL_8): Likewise.
42528         (_FP_FRAC_SRS_8): Likewise.
42530         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
42531         include macro name.
42532         (FP_UNPACK_RAW_EP): Likewise.
42533         (FP_PACK_RAW_E): Likewise.
42534         (FP_PACK_RAW_EP): Likewise.
42535         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
42536         (_FP_ISSIGNAN): Likewise.
42537         (_FP_ADD_INTERNAL): Likewise.
42538         (_FP_FMA): Likewise.
42539         (_FP_CMP): Likewise.
42540         (_FP_SQRT): Likewise.
42541         (_FP_TO_INT): Likewise.
42542         (_FP_FROM_INT): Likewise.
42543         (FP_EXTEND): Likewise.
42544         (_FP_DIV_MEAT_N_loop): Likewise.
42546 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
42548         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
42549         throughout.
42551 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
42553         [BZ #17097]
42554         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
42555         result with correct sign in case of exponents that produce
42556         overflow except for X very close to 1.
42558 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
42560         mktime: merge #if/#ifdef usage from glibc
42561         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
42562         as that works with both Glibc's and Gnulib's style.
42563         See thread starting at Siddhesh Poyarekar's bug report at:
42564         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
42566 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42568         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
42569         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
42570         * sysdeps/tile/tilegx/memmove.c: Remove file.
42572 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42574         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
42575         abi-name definition.
42576         * scripts/soversions.awk: Do not handle or generate ABI lines.
42577         * shlib-versions: Remove ABI entries.
42578         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
42579         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
42581 2014-06-27  Roland McGrath  <roland@hack.frob.com>
42583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
42584         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
42585         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
42586         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
42587         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
42588         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
42589         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
42590         Moved ...
42591         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
42592         ... here.
42593         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
42594         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
42595         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
42596         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
42597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
42598         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
42599         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
42600         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
42601         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
42602         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
42603         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
42604         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
42605         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
42606         Moved ...
42607         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
42608         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
42609         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
42610         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
42611         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
42612         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
42613         Moved ...
42614         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
42615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
42616         Moved ...
42617         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
42618         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
42619         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
42620         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
42621         Moved ...
42622         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
42623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
42624         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
42625         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
42626         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
42627         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
42628         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
42629         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
42630         Moved ...
42631         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
42632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
42633         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
42634         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
42635         Moved ...
42636         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
42637         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
42638         Moved ...
42639         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
42640         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
42641         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
42642         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
42643         Moved ...
42644         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
42645         ... here.
42646         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
42647         Identical file removed.
42648         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
42649         Moved ...
42650         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
42651         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
42652         Identical file removed.
42653         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
42654         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
42655         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
42656         Moved ...
42657         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
42658         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
42659         Identical file removed.
42660         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
42661         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
42662         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
42663         Identical file removed.
42664         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
42665         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
42666         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
42667         Identical file removed.
42668         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
42669         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
42670         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
42671         Identical file removed.
42672         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
42673         Moved ...
42674         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
42675         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
42676         Identical file removed.
42677         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
42678         Moved ...
42679         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
42680         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
42681         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
42682         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
42683         Identical file removed.
42684         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
42685         Moved ...
42686         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
42687         ... here.
42688         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
42689         Identical file removed.
42690         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
42691         Moved ...
42692         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
42693         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
42694         Identical file removed.
42695         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
42696         Moved ...
42697         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
42698         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
42699         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
42700         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
42701         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
42702         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
42703         Moved ...
42704         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
42705         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
42706         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
42708         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
42709         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
42710         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
42711         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
42712         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
42714 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
42716         [BZ #17092]
42717         * nscd/nscd.c (monitor_child): Return exit status of child
42718         instead of return value from wait syscall.
42720 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
42722         * configure.ac (libc_commonpagesize): Remove variable.
42723         (libc_relro_required): Likewise.
42724         (libc_cv_z_relro): Remove configure test.
42725         * configure: Regenerated.
42726         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
42727         variable.
42728         (libc_relro_required): Likewise.
42729         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
42730         (libc_relro_required): Likewise.
42731         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
42732         (libc_relro_required): Likewise.
42733         * sysdeps/arm/preconfigure: Regenerated.
42734         * sysdeps/ia64/preconfigure: Remove file.
42735         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
42736         variable.
42737         (libc_relro_required): Likewise.
42739         [BZ #16561]
42740         [BZ #16562]
42741         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
42742         (__ieee754_yn): Set FE_TONEAREST mode internally and then
42743         recompute overflowing results in original rounding mode.
42744         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
42745         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
42746         recompute overflowing results in original rounding mode.
42747         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
42748         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42749         recompute overflowing results in original rounding mode.
42750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
42751         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42752         recompute overflowing results in original rounding mode.
42753         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
42754         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
42755         recompute overflowing results in original rounding mode.
42756         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
42757         (libc_feholdsetround_ctx): New macro.
42758         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
42759         * sysdeps/i386/fpu/libm-test-ulps: Update.
42760         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
42762 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42764         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
42765         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
42766         corresponding .cpsetup call.
42768 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42770         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
42771         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
42772         * sysdeps/arm/Makefile [$(subdir) = csu]
42773         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
42774         (static-only-routines): Add aeabi_read_tp here.
42775         (shared-only-routines): Add libc-aeabi_read_tp here.
42776         (CFLAGS-libc-start.c): Add -fexceptions here.
42777         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
42778         (sysdep_routines, static-only-routines, shared-only-routines):
42779         Don't add to these here.
42780         (CFLAGS-libc-start.c): Likewise.
42782         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
42783         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42784         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
42785         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42786         * sysdeps/arm/Makefile [$(subdir) = rt]
42787         (librt-sysdep_routines, librt-shared-only-routines):
42788         Append rt-aeabi_unwind_cpp_pr1 here.
42789         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
42790         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
42791         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
42792         (libpthread-sysdep_routines, libpthread-shared-only-routines):
42793         Append nptl-aeabi_unwind_cpp_pr1 here.
42794         (tests): Filter out tst-cleanupx4 here.
42795         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
42796         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
42797         Don't do those here.
42799 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42801         * scripts/list-sources.sh: Do not handle ports specially.
42803 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42805         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
42806         * sysdeps/arm/feupdateenv.c: Likewise.
42808         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
42810 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42812         * manual/texinfo.tex: Update to version 2014-05-05.10 with
42813         trailing whitespace removed.
42814         * scripts/config.guess: Update to version 2014-03-23.
42815         * scripts/config.sub: Update to version 2014-05-01
42816         * scripts/install-sh: Update to version 2013-12-25.23.
42817         * scripts/move-if-change: Update from gnulib.
42819 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42821         * debug/memmove_chk.c: Remove pagecopy.h include.
42823 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
42825         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
42826         identical to gnulib mktime.
42828 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
42830         * configure.ac: Do not test for machine being rs6000.  Do not test
42831         for powerpc*-*soft.
42832         * configure: Regenerated.
42834         [BZ #11505]
42835         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
42836         test.
42837         * configure: Regenerated.
42838         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
42839         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
42840         Remove configure test.
42841         * sysdeps/arm/configure: Regenerated.
42842         * sysdeps/nptl/configure.ac: Do not check
42843         libc_cv_asm_cfi_directives.
42844         * sysdeps/nptl/configure: Regenerated.
42845         * sysdeps/x86_64/nptl/configure.ac: Remove file.
42846         * sysdeps/x86_64/nptl/configure: Remove generated file.
42847         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
42848         unconditional.
42849         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
42851 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42853         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
42854         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
42855         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
42856         it is defined.
42858         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
42859         instead of whether it is defined.
42860         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
42861         * sysdeps/hppa/dl-machine.h: Likewise.
42862         * sysdeps/ia64/dl-machine.h: Likewise.
42863         * sysdeps/m68k/dl-machine.h: Likewise.
42864         * sysdeps/microblaze/dl-machine.h: Likewise.
42865         * sysdeps/mips/dl-machine.: Likewise.
42866         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42867         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42868         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42869         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42870         * sysdeps/sh/dl-machine.h: Likewise.
42871         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42872         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42873         * sysdeps/tile/dl-machine.h: Likewise.
42874         * sysdeps/x86_64/dl-machine.h: Likewise.
42876         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
42877         code.
42878         (verify_persistent_db): Likewise.
42880 2014-06-26  Roland McGrath  <roland@hack.frob.com>
42882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
42883         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
42884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
42885         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
42886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42887         Moved ...
42888         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
42889         ... here.
42890         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
42891         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
42892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
42893         Identical file removed.
42894         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
42895         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
42896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
42897         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
42898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
42899         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
42900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
42901         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
42902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
42903         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
42904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42905         Moved ...
42906         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
42907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
42908         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
42909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
42910         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
42911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42912         Moved ...
42913         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
42914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
42915         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
42916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
42917         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
42918         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42919         Identical file removed.
42920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
42921         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
42922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
42923         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
42924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42925         Moved ...
42926         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
42927         ... here.
42928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
42929         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
42930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
42931         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
42932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
42933         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
42934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
42935         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
42936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
42937         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
42938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42939         Moved ...
42940         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
42941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
42942         Moved ...
42943         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
42944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
42945         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
42946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42947         Moved ...
42948         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
42949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
42950         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
42952         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
42953         folded into ...
42954         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
42955         * sysdeps/unix/sysv/linux/s390/Versions
42956         (libpthread: GLIBC_2.19): New version set.
42957         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
42958         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
42959         (librt: GLIBC_2.3.3): New version set.
42960         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
42961         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
42962         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
42963         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
42964         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
42965         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
42966         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
42967         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
42968         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
42969         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
42970         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
42971         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
42972         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
42973         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
42974         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
42975         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
42976         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
42977         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
42978         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
42979         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
42980         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
42981         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
42982         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
42983         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
42984         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
42985         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
42986         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
42987         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
42988         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
42989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
42990         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
42991         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
42992         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
42993         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
42994         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
42995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
42996         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
42997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
42998         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
42999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
43000         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
43001         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
43002         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
43003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
43004         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
43006         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
43007         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
43008         (__libc_vfork): Define the function under this name.
43009         [!NOT_IN_libc] (__vfork): Make this an alias.
43010         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43011         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
43012         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
43013         (__libc_vfork): Define the function under this name.
43014         [!NOT_IN_libc] (__vfork): Make this an alias.
43015         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
43016         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
43017         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
43018         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
43019         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
43020         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
43022         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
43023         code that was previously under [RESET_PID].
43024         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
43025         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
43026         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
43028         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
43029         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
43030         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
43031         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
43032         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
43033         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
43034         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
43035         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
43036         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
43037         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
43038         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
43039         Moved ...
43040         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
43041         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
43042         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
43043         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
43044         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
43045         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
43046         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
43047         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
43048         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
43049         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
43050         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
43051         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
43052         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
43053         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
43054         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
43055         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
43056         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
43057         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
43058         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
43059         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
43060         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
43061         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
43062         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
43063         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
43064         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
43065         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
43066         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
43067         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
43068         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
43070 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43072         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
43073         that was previously under [RESET_PID].
43074         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
43076 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43078         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
43079         not undefine and redefine.
43080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
43081         [O_CLOEXEC]: Make code unconditional.
43082         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
43083         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
43084         <kernel-features.h>.
43085         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
43086         conditional variable definition.
43087         (shm_open) [O_CLOEXEC]: Make code unconditional.
43088         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
43089         code.
43091         * configure.ac (USE_REGPARMS): Don't define here.
43092         * configure: Regenerated.
43093         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
43094         * sysdeps/i386/configure: Regenerated.
43096         * nptl/createthread.c: Don't include kernel-features.h.
43097         * nptl/pthread_cancel.c: Likewise.
43098         * nptl/pthread_condattr_setclock.c: Likewise.
43099         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
43100         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
43101         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
43102         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
43103         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
43104         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
43105         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43106         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
43107         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43108         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
43109         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
43110         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
43111         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
43112         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
43113         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
43114         * nscd/gai.c: Likewise.
43115         * nss/nss_db/db-open.c: Likewise.
43116         * sysdeps/generic/ldsodefs.h: Likewise.
43117         * sysdeps/sh/nptl/tls.h: Likewise.
43118         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
43119         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
43120         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
43121         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
43122         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
43123         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
43124         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
43125         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43126         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
43127         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
43128         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
43129         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
43130         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
43131         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
43132         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
43133         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
43134         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
43135         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
43136         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
43137         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
43138         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
43139         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
43140         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
43141         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
43142         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
43143         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
43144         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
43145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
43146         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43147         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
43148         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
43149         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
43150         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
43151         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43152         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43153         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
43154         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43155         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
43156         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
43157         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
43158         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43159         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
43160         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
43161         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
43162         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
43163         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
43164         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
43165         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
43166         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
43167         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
43168         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
43169         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
43170         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
43171         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
43172         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
43173         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
43174         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
43175         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
43176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
43177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
43178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
43179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
43180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
43181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
43182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
43183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
43184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
43185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
43186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
43187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
43188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
43189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
43190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
43191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
43196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
43197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
43198         * sysdeps/unix/sysv/linux/pread.c: Likewise.
43199         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
43200         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
43201         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
43202         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
43203         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
43204         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
43205         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
43206         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
43207         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
43208         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
43209         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
43210         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
43211         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
43212         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
43213         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
43214         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43215         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
43216         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
43217         * sysdeps/unix/sysv/linux/system.c: Likewise.
43218         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
43219         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
43220         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
43221         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
43222         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
43223         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
43224         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43226         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
43227         * configure: Regenerated.
43228         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
43230         * configure.ac (base_machine): Do not set specially for particular
43231         machines here.
43232         * configure: Regenerated.
43233         * sysdeps/powerpc/preconfigure: Move machine and base_machine
43234         settings from configure.ac.
43235         * sysdeps/i386/preconfigure: New file.
43236         * sysdeps/s390/preconfigure: Likewise.
43237         * sysdeps/sh/preconfigure: Likewise.
43238         * sysdeps/sparc/preconfigure: Likewise.
43240 2014-06-25  Roland McGrath  <roland@hack.frob.com>
43242         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
43243         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
43244         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
43245         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
43246         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
43247         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
43248         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
43249         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
43250         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
43251         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
43252         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
43253         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
43254         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
43255         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
43256         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
43257         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
43258         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
43259         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
43260         * sysdeps/sparc/sparc64/Makefile: ... appended here.
43262         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
43263         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
43264         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
43265         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
43266         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
43267         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
43268         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
43269         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
43270         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
43271         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
43272         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
43273         * sysdeps/sparc/sparc32/sem_post.c: ... here.
43274         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
43275         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
43276         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
43277         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
43278         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
43279         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
43280         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
43281         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
43282         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
43283         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
43284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
43285         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
43286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
43287         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
43288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
43289         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
43290         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
43291         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
43292         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
43293         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
43294         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
43295         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
43296         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
43297         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
43298         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
43299         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
43301         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
43302         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
43303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
43304         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
43305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43306         Moved ...
43307         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
43308         ... here.
43309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
43310         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
43311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
43312         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
43313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
43314         Moved ...
43315         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
43316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
43317         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
43318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
43319         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
43320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
43321         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
43322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43323         Moved ...
43324         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
43325         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43326         Moved ...
43327         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
43328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
43329         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
43330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43331         Moved ...
43332         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
43333         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
43334         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
43335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
43336         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
43337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
43338         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
43339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
43340         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
43341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43342         Moved ...
43343         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
43344         ... here.
43345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
43346         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
43347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
43348         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
43349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
43350         Moved ...
43351         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
43352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
43353         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
43354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
43355         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
43356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
43357         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
43358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43359         Moved ...
43360         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
43361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43362         Moved ...
43363         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
43364         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
43365         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
43366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43367         Moved ...
43368         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
43369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
43370         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
43371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
43372         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
43374 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43376         * timezone/checktab.awk: Update from tzcode 2014e.
43377         * timezone/private.h: Likewise.
43378         * timezone/tzfile.h: Likewise.
43379         * timezone/zdump.c: Likewise.
43380         * timezone/zic.c: Likewise.
43382         * sysdeps/unix/sysv/linux/kernel-features.h
43383         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
43384         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
43385         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
43386         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
43387         Remove conditional code.
43389 2014-06-25  Will Newton  <will.newton@linaro.org>
43391         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
43392         (_dl_arm_cap_flags): Add HWCAP2 values.
43393         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
43394         (_DL_HWCAP_COUNT): Increase to 37.
43395         (_DL_HWCAP_LAST): New define.
43396         (_DL_HWCAP2_LAST): New define.
43397         (_dl_procinfo): Add support for printing
43398         AT_HWCAP2 entries.
43399         (_dl_string_hwcap): Use _dl_hwcap_string.
43401 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43405 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
43407         * README: Do not mention ports directory.
43409         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
43410         Remove macro.
43411         * sysdeps/unix/sysv/linux/futimes.c: Do not include
43412         <kernel-features.h>.
43413         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
43414         conditional variable definition.
43415         (__futimes): Update comment.
43416         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
43417         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
43419         [BZ #16560]
43420         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
43421         arguments close to 0.
43422         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
43423         Likewise.
43424         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
43425         Likewise.
43426         * math/auto-libm-test-in: Add more tests of exp10.
43427         * math/auto-libm-test-out: Regenerated.
43428         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43430         * sysdeps/unix/sysv/linux/kernel-features.h
43431         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
43432         * sysdeps/unix/sysv/linux/readv.c: Do not include
43433         <kernel-features.h>.
43434         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43435         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43436         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43437         unconditional.
43438         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43439         conditional code.
43440         * sysdeps/unix/sysv/linux/writev.c: Do not include
43441         <kernel-features.h>.
43442         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
43443         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
43444         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
43445         unconditional.
43446         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
43447         conditional code.
43449 2014-06-25  Will Newton  <will.newton@linaro.org>
43451         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
43452         comment changes throughout the file.  Remove checks
43453         for HAVE_*_H definitions that are not required.
43454         (__gen_tempname): Call abort if an unknown kind value is
43455         passed.
43457 2014-06-25  Andreas Schwab  <schwab@suse.de>
43459         [BZ #17086]
43460         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
43461         scalbln, scalblnf, scalblnl in libc.
43463 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
43465         [BZ #17086]
43466         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
43467         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
43468         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
43470 2014-06-24  Roland McGrath  <roland@hack.frob.com>
43472         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
43473         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
43474         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
43475         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
43476         Update #include.
43477         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
43478         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
43479         Update #include.
43480         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
43481         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
43482         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
43483         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
43484         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
43485         * sysdeps/x86/bits/pthreadtypes.h: ... here.
43486         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
43487         * sysdeps/x86/bits/semaphore.h: ... here.
43488         * sysdeps/x86/nptl/elide.h: Moved ...
43489         * sysdeps/x86/elide.h: ... here.
43490         * sysdeps/x86_64/nptl/Implies: File removed.
43491         * sysdeps/i386/nptl/Implies: File removed.
43493 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
43495         [BZ #16539]
43496         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
43497         return the argument for normal arguments with exponent below -64.
43498         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
43499         Likewise.
43500         * math/auto-libm-test-in: Add another test of expm1.
43501         * math/auto-libm-test-out: Regenerated.
43503         [BZ #16287]
43504         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
43505         calling __erfcl for arguments at least 16.
43506         * math/auto-libm-test-in: Add more tests of erf.
43507         * math/auto-libm-test-out: Regenerated.
43509         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
43510         individual architectures.
43511         * sysdeps/unix/sysv/linux/configure: Regenerated.
43512         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
43513         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
43514         * sysdeps/unix/sysv/linux/powerpc/configure.ac
43515         (ldd_rewrite_script): Define variable.
43516         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
43517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
43518         file.
43519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
43520         generated file.
43521         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
43522         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
43523         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
43524         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
43525         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
43526         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
43527         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
43528         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
43530 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43532         [BZ #17084]
43533         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
43534         Rename member __data.d to __data.__elision_data.
43536 2014-06-24  Wilco  <wdijkstr@arm.com>
43538         * NEWS: Add 16918 to fixed bug list.
43540 2014-06-24  Wilco  <wdijkstr@arm.com>
43542         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
43544 2014-06-24  Wilco  <wdijkstr@arm.com>
43546         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
43547         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
43548         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
43549         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
43550         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
43551         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
43552         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
43553         Use _FPU_MASK_RM.
43555 2014-06-24  Wilco  <wdijkstr@arm.com>
43557         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
43559 2014-06-24  Wilco  <wdijkstr@arm.com>
43561         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
43562         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
43563         * sysdeps/arm/fesetround.c (fesetround): Remove space.
43564         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
43566 2014-06-24  Wilco  <wdijkstr@arm.com>
43568         [BZ #16918]
43569         * sysdeps/arm/feupdateenv.c (feupdateenv):
43570         Rewrite to reduce FPSCR accesses and fix return value.
43572 2014-06-24  Wilco  <wdijkstr@arm.com>
43574         * sysdeps/arm/fclrexcpt.c (feclearexcept):
43575         Optimize to avoid unnecessary FPSCR writes.
43576         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
43577         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
43578         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
43579         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
43581 2014-06-24  Wilco  <wdijkstr@arm.com>
43583         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
43584         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
43585         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
43586         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
43587         Call libc_fetestexcept_vfp.
43588         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
43589         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
43590         __SOFTFP__ ifdef so that they can be built for softfp.
43592 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43594         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
43595         argument type signed char.
43597         * Makerules (check-abi): Dump diff of symlist if the test
43598         fails.
43600 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43602         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
43603         using abort.
43605         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
43606         Remove unused variable ST.
43608 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43610         [BZ #16354]
43611         [BZ #17061]
43612         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
43613         small arguments before calling __expm1.
43614         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
43615         small arguments before calling __expm1f.
43616         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
43617         small arguments before calling __expm1l.
43618         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43619         Likewise.
43620         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
43621         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
43622         spurious underflow for some cosh tests.
43623         * math/auto-libm-test-out: Regenerated.
43624         * sysdeps/i386/fpu/libm-test-ulps: Update.
43626         [BZ #17050]
43627         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
43628         (__ieee754_y1): Set errno if return value overflows.
43629         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
43630         (__ieee754_y1f): Set errno if return value overflows.
43631         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
43632         (__ieee754_y1l): Set errno if return value overflows.
43633         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
43634         (__ieee754_y1l): Set errno if return value overflows.
43635         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
43636         * math/auto-libm-test-out: Regenerated.
43638         * math/gen-auto-libm-tests.c: Document use of
43639         ignore-zero-inf-sign.
43640         (input_flag_type): Add value flag_ignore_zero_inf_sign.
43641         (input_flags): Add ignore-zero-inf-sign.
43642         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
43643         * math/gen-libm-test.pl (generate_testfile): Handle
43644         ignore-zero-inf-sign.
43645         * math/auto-libm-test-in: Mark some cpow tests with
43646         ignore-zero-inf-sign and some with xfail-rounding.
43647         * math/auto-libm-test-out: Regenerated.
43648         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
43649         * sysdeps/i386/fpu/libm-test-ulps: Update.
43650         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43652         [BZ #16315]
43653         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
43654         overflowing or underflowing operations take place with sign of
43655         result.
43656         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43657         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43658         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
43659         (__ieee754_pow): Recompute overflowing and underflowing results in
43660         original rounding mode.
43661         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
43662         (__powl_helper): Allow negative argument X and scale negated value
43663         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
43664         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
43665         overflowing or underflowing operations take place with sign of
43666         result.
43667         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
43668         Include <math.h>.
43669         * math/auto-libm-test-in: Add more tests of pow.
43670         * math/auto-libm-test-out: Regenerated.
43671         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
43672         (pow_tonearest_test_data): Remove.
43673         (pow_test_tonearest): Likewise.
43674         (pow_towardzero_test_data): Likewise.
43675         (pow_test_towardzero): Likewise.
43676         (pow_downward_test_data): Likewise.
43677         (pow_test_downward): Likewise.
43678         (pow_upward_test_data): Likewise.
43679         (pow_test_upward): Likewise.
43680         (main): Don't call removed functions.
43681         * sysdeps/i386/fpu/libm-test-ulps: Update.
43682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43684 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
43687         Moved ...
43688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
43689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43690         Moved ...
43691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
43692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43693         Moved ...
43694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
43695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43696         Moved ...
43697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
43698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43699         File removed.
43700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43701         File removed.
43702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
43703         File removed.
43704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
43705         File removed.
43706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
43707         File removed.
43708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
43709         File removed.
43710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
43711         File removed.
43712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43713         File removed.
43714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
43715         File removed.
43716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43717         File removed.
43718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
43719         File removed.
43720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
43721         File removed.
43722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
43723         Moved ...
43724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
43725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
43726         Moved ...
43727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
43728         ... here.
43729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
43730         Moved ...
43731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
43732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
43733         Moved ...
43734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
43735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
43736         Moved ...
43737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
43739         Moved ...
43740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
43741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
43742         Moved ...
43743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
43745         Moved ...
43746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
43747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
43748         Moved ...
43749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
43750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
43751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
43752         ... here.
43753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
43754         Moved ...
43755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
43756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43757         Moved ...
43758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
43759         ... here.
43760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
43761         Moved ...
43762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
43763         ... here.
43764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
43765         Moved ...
43766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
43767         ... here.
43768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43769         Moved ...
43770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
43771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43772         Moved ...
43773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
43774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
43775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
43776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43777         Moved ...
43778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
43779         ... here.
43780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43781         Moved ...
43782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
43783         ... here.
43784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43785         Moved ...
43786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
43787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43788         Moved ...
43789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
43790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43791         Moved ...
43792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
43793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43794         Moved ...
43795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
43796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43797         Moved ...
43798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
43799         ... here.
43800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43801         Moved ...
43802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
43803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43804         Moved ...
43805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
43806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43807         Moved ...
43808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
43809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43810         Moved ...
43811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
43813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
43814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43815         Moved ...
43816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
43817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43818         Moved ...
43819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
43820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43821         Moved ...
43822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
43823         ... here.
43824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43825         Moved ...
43826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
43827         ... here.
43828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43829         Moved ...
43830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
43831         ... here.
43832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43833         Moved ...
43834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
43835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43836         Moved ...
43837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
43838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43839         Moved ...
43840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
43841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43842         Moved ...
43843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
43844         ... here.
43845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43846         Moved ...
43847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
43848         ... here.
43849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43850         Moved ...
43851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
43852         ... here.
43853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43854         Moved ...
43855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
43856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43857         Moved ...
43858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
43860 2014-06-23  Will Newton  <will.newton@linaro.org>
43861             Wilco  <wdijkstr@arm.com>
43863         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
43864         implementation.  Include get-rounding-mode.h.
43865         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
43866         [!libc_feholdsetround_noex_ctx]: Define
43867         libc_feholdsetround_noex_ctx.
43868         [!libc_feholdsetround_noexf_ctx]: Define
43869         libc_feholdsetround_noexf_ctx.
43870         [!libc_feholdsetround_noexl_ctx]: Define
43871         libc_feholdsetround_noexl_ctx.
43872         (libc_feholdsetround_ctx): New function.
43873         (libc_feresetround_ctx): New function.
43874         (libc_feholdsetround_noex_ctx): New function.
43875         (libc_feresetround_noex_ctx): New function.
43877 2014-06-23  Roland McGrath  <roland@hack.frob.com>
43879         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
43880         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
43881         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
43882         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
43883         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
43884         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
43886         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
43887         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
43888         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
43889         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
43890         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
43891         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
43892         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
43893         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
43894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
43895         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
43896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
43897         Moved ...
43898         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
43899         ... here.
43900         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
43901         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
43902         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
43903         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
43904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
43905         Moved ...
43906         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
43907         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
43908         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
43909         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
43910         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
43911         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
43912         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
43913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
43914         Moved ...
43915         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
43916         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
43917         Moved ...
43918         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
43919         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
43920         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
43921         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
43922         Moved ...
43923         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
43924         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
43925         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
43926         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
43927         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
43928         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
43929         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
43930         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
43931         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
43932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
43933         Moved ...
43934         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
43935         ... here.
43936         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
43937         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
43938         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
43939         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
43940         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
43941         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
43942         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
43943         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
43944         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
43945         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
43946         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
43947         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
43948         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
43949         Moved ...
43950         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
43951         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
43952         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
43953         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
43954         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
43955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
43956         Moved ...
43957         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
43958         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
43959         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
43960         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
43961         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
43963         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
43964         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
43965         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
43966         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
43967         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
43968         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
43969         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
43970         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
43971         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
43972         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
43973         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
43974         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
43975         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
43976         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
43977         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
43978         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
43979         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
43980         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
43981         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
43982         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
43983         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
43984         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
43985         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
43986         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
43987         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
43988         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
43989         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
43990         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
43992 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
43994         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
43995         (FALLOC_FL_COLLAPSE_RANGE): New macro.
43996         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
43997         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
43998         (IPV6_PMTUDISC_INTERFACE): Likewise.
43999         (IPV6_PMTUDISC_OMIT): Likewise.
44001 2014-06-23  Andreas Schwab  <schwab@suse.de>
44003         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44004         Remove unused errout label.
44006 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44008         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
44009         macro: hardware supports Vector Crypto instructions.
44011 2014-06-23  Will Newton  <will.newton@linaro.org>
44013         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
44014         rather than __builtin_expect.
44016         * elf/dl-lookup.c (undefined_msg): Remove variable.
44017         (_dl_lookup_symbol_x): Replace undefined_msg with string
44018         literal.
44020         * elf/dl-lookup.c (do_lookup_unique): New function.
44021         (do_lookup_x): Move STB_GNU_UNIQUE handling code
44022         to a separate function.
44024 2014-06-23  Andreas Schwab  <schwab@suse.de>
44026         [BZ #17079]
44027         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
44028         before reading the next line.
44030 2014-06-23  Will Newton  <will.newton@linaro.org>
44032         * test-skeleton.c (signal_handler): Use printf and %m
44033         rather than perror.  Use printf rather than fprintf to
44034         stderr.  Use puts rather than fputs to stderr.
44035         (main): Likewise.
44037 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
44039         * nscd/nscd.c (thread_info_t): Remove typedef.
44040         (thread_info): Remove variable.
44042 2014-06-21  Allan McRae  <allan@archlinux.org>
44044         * NEWS: Mention CVE-2014-4043.
44046 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44048         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
44049         * nptl/smp.h: ... here.
44051         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
44053         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
44054         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
44055         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
44056         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
44058         * nptl/allocatestack.c: Include <stack-aliasing.h>.
44059         * nptl/stack-aliasing.h: New file.
44060         * sysdeps/i386/i686/stack-aliasing.h: New file.
44061         * sysdeps/i386/i686/nptl/Makefile: File removed.
44062         * sysdeps/x86_64/stack-aliasing.h: New file.
44063         * sysdeps/x86_64/nptl/Makefile
44064         (CFLAGS-pthread_create.c): Variable removed.
44066         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
44067         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
44068         old file.
44069         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
44070         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
44071         old file.
44073 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
44075         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44076         (__ASSUME_SIGFRAME_V2): Remove macro.
44077         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
44078         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
44079         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44080         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
44081         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
44082         Declare as function.  Remove conditional macro definitions.
44083         (__default_rt_sa_restorer): Likewise.
44084         (__default_sa_restorer_v1): Remove declaration.
44085         (__default_sa_restorer_v2): Likewise.
44086         (__default_rt_sa_restorer_v1): Likewise.
44087         (__default_rt_sa_restorer_v2): Likewise.
44088         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
44089         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
44090         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
44092 2014-06-20  Roland McGrath  <roland@hack.frob.com>
44094         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
44095         (libpthread-routines): Add sysdep.
44096         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
44097         * sysdeps/unix/sysv/linux/sparc/Versions
44098         (libpthread: GLIBC_2.3.3): New version set.
44099         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
44100         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
44101         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
44102         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
44103         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
44104         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
44105         Moved ...
44106         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
44107         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
44108         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
44109         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
44110         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
44111         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
44112         * sysdeps/sparc/nptl/sem_init.c: ... here.
44113         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
44114         * sysdeps/sparc/nptl/sem_post.c: ... here.
44115         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
44116         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
44117         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
44118         * sysdeps/sparc/nptl/sem_wait.c: ... here.
44119         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
44120         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
44121         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
44122         (libpthread-routines): Add cpu_relax.
44123         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
44124         File removed.
44125         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
44126         (librt: GLIBC_2.3.3): New version set.
44127         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
44128         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
44129         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
44130         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
44131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
44132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
44133         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
44134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
44135         Moved ...
44136         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
44137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
44138         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
44139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
44140         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
44141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
44142         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
44143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
44144         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
44145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
44146         Moved ...
44147         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
44148         Update #include.
44149         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
44150         Moved ...
44151         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
44152         Update #include.
44153         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
44154         Moved ...
44155         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
44156         Update #include.
44157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
44158         Moved ...
44159         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
44160         Update #include.
44161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
44162         Moved ...
44163         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
44164         Update #include.
44165         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
44166         Moved ...
44167         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
44168         Update #include.
44169         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
44170         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
44171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
44172         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
44173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
44174         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
44175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
44176         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
44177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
44178         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
44179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
44180         Moved ...
44181         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
44182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
44183         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
44184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
44185         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
44187 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44189         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
44190         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
44191         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44192         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
44193         * nscd/nscd.c: Likewise.
44194         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
44195         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
44196         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
44197         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
44199         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
44200         <kernel-features.h>.
44201         (init_mq_netlink): Remove conditional have_sock_cloexec
44202         definitions.  Remove code conditional on have_sock_cloexec < 0.
44203         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
44204         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
44205         * sysdeps/unix/sysv/linux/opensock.c: Do not include
44206         <kernel-features.h>.
44207         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
44208         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
44210 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44212         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44213         Add tests for memset_chk and memset.
44215         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
44216         with AVX2_Usable.
44218 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44220         [BZ #16046]
44221         * elf/tst-dl-iter-static.c: New file.
44222         * elf/Makefile (tests-static): Add tst-dl-iter-static.
44224         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
44225         error.
44227 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44229         * sysdeps/unix/sysv/linux/kernel-features.h
44230         (__ASSUME_F_GETOWN_EX): Remove macro.
44231         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
44232         <kernel-features.h>.
44233         (miss_F_GETOWN_EX): Remove variable or macro.
44234         (do_fcntl): Do not check miss_F_GETOWN_EX.
44235         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
44237         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
44238         Remove macro.
44239         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
44240         [!__ASSUME_AT_RANDOM]: Remove conditional code.
44241         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
44243         * sysdeps/unix/sysv/linux/kernel-features.h
44244         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
44245         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
44246         [ADJ_OFFSET_SS_READ]: Make code unconditional.
44247         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
44249 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
44251         [BZ #17075]
44252         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
44253         Fix calculation of the symbol's value.
44254         * sysdeps/arm/tst-armtlsdescloc.c: New file.
44255         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
44256         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
44257         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
44258         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
44259         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
44260         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
44261         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
44262         (modules-names): Add `tst-armtlsdescmod',
44263         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
44264         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
44265         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44266         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
44267         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
44268         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
44269         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
44270         ($(objpfx)tst-armtlsdescloc): New dependency.
44271         ($(objpfx)tst-armtlsdescextnow): Likewise.
44272         ($(objpfx)tst-armtlsdescextlazy): Likewise.
44273         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
44274         TLS scheme support.
44275         * sysdeps/arm/configure: Regenerate.
44277 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
44279         * include/fcntl.h (__atfct_seterrno): Remove prototype.
44280         (__atfct_seterrno_2): Likewise.
44281         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
44282         <kernel-features.h>.
44283         (__ASSUME_ATFCTS): Do not undefine and redefine.
44284         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
44285         (__have_atfcts): Remove conditional definition.
44286         (__fxstatat([__NR_fstatat64]: Make code unconditional.
44287         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
44288         unreachable if [__ASSUME_ATFCTS].
44289         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
44290         not undefine and redefine.
44291         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
44292         <kernel-features.h>.
44293         (faccessat) [__NR_faccessat]: Make code unconditional.
44294         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
44295         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
44296         <kernel-features.h>.
44297         (fchmodat) [__NR_fchmodat]: Make code unconditional.
44298         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44299         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
44300         <kernel-features.h>.
44301         (fchownat) [__NR_fchownat]: Make code unconditional.
44302         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
44303         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
44304         <kernel-features.h>.
44305         (futimesat) [__NR_futimesat]: Make code unconditional.
44306         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
44307         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
44308         <kernel-features.h>.
44309         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44310         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44311         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
44312         <kernel-features.h>.
44313         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
44314         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44315         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
44316         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
44317         <kernel-features.h>.
44318         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
44319         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44320         * sysdeps/unix/sysv/linux/linkat.c: Do not include
44321         <kernel-features.h>.
44322         (linkat) [__NR_linkat]: Make code unconditional.
44323         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44324         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
44325         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
44326         <kernel-features.h>.
44327         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
44328         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
44329         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
44330         <kernel-features.h>.
44331         (mkdirat) [__NR_mkdirat]: Make code unconditional.
44332         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
44333         * sysdeps/unix/sysv/linux/openat.c: Do not include
44334         <kernel-features.h>.
44335         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
44336         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
44337         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
44338         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
44339         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
44340         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
44341         <kernel-features.h>.
44342         (readlinkat) [__NR_readlinkat]: Make code unconditional.
44343         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
44344         result of INLINE_SYSCALL directly, not via int variable.
44345         * sysdeps/unix/sysv/linux/renameat.c: Do not include
44346         <kernel-features.h>.
44347         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
44348         (renameat) [__NR_renameat]: Make code unconditional.
44349         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
44350         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
44351         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
44352         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
44353         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
44354         (__ASSUME_ATFCTS): Do not undefine and redefine.
44355         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
44356         <kernel-features.h>.
44357         (symlinkat) [__NR_symlinkat]: Make code unconditional.
44358         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44359         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
44360         <kernel-features.h>.
44361         (unlinkat) [__NR_unlinkat]: Make code unconditional.
44362         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
44363         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
44364         (__ASSUME_ATFCTS): Do not undefine and redefine.
44365         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
44366         <kernel-features.h>.
44367         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
44368         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
44369         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
44370         <kernel-features.h>.
44371         (__xmknodat) [__NR_mknodat]: Make code unconditional.
44372         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
44374 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
44376         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
44378 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
44380         [BZ #17069]
44381         * posix/regcomp.c (parse_reg_exp): Deallocate partially
44382         constructed tree before returning error.
44383         * posix/bug-regexp36.c: Expand test case.
44385 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
44387         [BZ #6803]
44388         * math/libm-test.inc (scalbln_test_date):
44389         Add errno expectations.
44390         * math/w_scalblnf.c: New File.
44391         Add wrapper which checks for setting errno to ERANGE.
44392         Add weak_alias for corresponding scalbln function.
44393         * math/w_scalbln.c: Likewise.
44394         * math/w_scalblnl.c: Likewise.
44395         * math/Makefile (libm-calls): Add w_scalbln.
44396         * sysdeps/ieee754/flt-32/s_scalblnf.c:
44397         Remove weak_alias for corresponding scalbln function.
44398         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44399         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
44400         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
44401         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44402         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
44403         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
44404         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
44405         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
44406         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
44407         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
44408         Remove long_double_symbol for scalblnl function in libm, libc.
44409         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
44410         Add wrapper which checks for setting errno to ERANGE.
44411         Add long_double_symbol for scalblnl function in libm, libc.
44412         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
44413         Remove long_double_symbol for scalblnl in libm.
44414         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
44415         Add wrapper which checks for setting errno to ERANGE.
44416         Add long_double_symbol for scalblnl function in libm.
44417         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
44418         Do not use wrapper because of own implementation.
44420 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
44422         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
44423         3 bytes for __pad1 for x32.
44424         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
44426 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
44427             H.J. Lu  <hongjiu.lu@intel.com>
44429         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
44430         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
44431         * sysdeps/x86_64/multiarch/memset.S: Likewise.
44432         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44433         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
44435 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
44437         [BZ #17069]
44438         * posix/regcomp.c (parse_expression): Deallocate partially
44439         constructed tree before returning error.
44440         * posix/Makefile.c (tests): Add bug-regex36.
44441         (generated): Add bug-regex36.mtrace.
44442         (tests-special): Add $(objpfx)bug-regex36-mem.out
44443         (bug-regex36-ENV): New variable.
44444         ($(objpfx)bug-regex36-mem.out): New rule.
44445         * posix/bug-regex36.c: New file.
44447 2014-06-19  Will Newton  <will.newton@linaro.org>
44449         * malloc/malloc.c (systrim): If extra is zero then return
44450         early.
44452 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44454         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
44456 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
44458         * sysdeps/aarch64/strchr.S: New file.
44460 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44462         [BZ #17022]
44463         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
44464         from arguments -2 or below.
44465         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44466         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
44468 2014-06-18  Andreas Schwab  <schwab@suse.de>
44470         [BZ #17062]
44471         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
44472         of a bracket expr not to run off the end of the string.
44473         * posix/Makefile (tests): Add tst-fnmatch3.
44474         * posix/tst-fnmatch3.c: New file.
44476 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
44478         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
44479         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
44480         [$(cross-compiling) = no]: Likewise.
44481         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
44482         [$(cross-compiling) = no]: Likewise.
44484 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
44486         [BZ #17031]
44487         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
44488         double, adjusted for any remainder from the high double.
44489         * math/libm-test.inc (nearbyint): Add tests.
44490         (rint): Likewise.
44492 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44494         * nptl/sysdeps/powerpc/Makefile: Moved ...
44495         * sysdeps/powerpc/nptl/Makefile: ... here.
44496         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
44497         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
44498         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
44499         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
44500         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
44501         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
44502         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
44503         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
44504         * nptl/sysdeps/powerpc/tls.h: Moved ...
44505         * sysdeps/powerpc/nptl/tls.h: ... here.
44507 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
44509         [BZ #16681]
44510         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
44511         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
44512         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
44513         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
44514         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
44515         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
44516         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
44517         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
44518         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
44520 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
44522         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44524 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
44526         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
44527         defined operator.
44529         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
44530         $TIMEOUTFACTOR.
44532 2014-06-16  Florian Weimer  <fweimer@redhat.com>
44534         [BZ #17058]
44535         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
44536         non-executed part of the test.
44538 2014-06-16  Andreas Schwab  <schwab@suse.de>
44540         * string/bits/string2.h (strdup, strndup): Update feature guard.
44542 2014-06-14  David S. Miller  <davem@davemloft.net>
44544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44546 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
44548         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
44549         that was previously under [RESET_PID].
44550         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
44552         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
44553         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
44554         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
44555         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
44556         (__libc_vfork): New strong alias.
44557         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
44559 2014-06-14 Andi Kleen  <ak@linux.intel.com>
44561         * sysdeps/generic/elide.h: New file.
44563 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44565         * Makefile (installed-headers): Adjust path of pthread.h header.
44567 2014-06-13  Roland McGrath  <roland@hack.frob.com>
44569         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
44570         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
44571         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
44572         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
44574         * nptl/sysdeps/s390/Makefile: Moved ...
44575         * sysdeps/s390/nptl/Makefile: ... here.
44576         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
44577         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
44578         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
44579         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
44580         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
44581         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
44582         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
44583         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
44584         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
44585         * sysdeps/s390/nptl/pthreaddef.h: ... here.
44586         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
44587         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
44588         * nptl/sysdeps/s390/tls.h: Moved ...
44589         * sysdeps/s390/nptl/tls.h: ... here.
44591         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
44592         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
44594 2014-06-13  David S. Miller  <davem@davemloft.net>
44596         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
44597         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
44598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
44599         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
44600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
44601         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
44602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
44603         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
44604         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
44605         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
44606         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
44607         Remove RESET_PID cpp guards.
44608         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
44609         Remove RESET_PID cpp guards.
44610         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
44612 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
44614         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
44615         __sp to uintptr_t.
44617 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44619         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
44620         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
44621         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
44622         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
44623         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
44624         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
44625         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
44626         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
44627         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
44628         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
44629         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
44630         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
44631         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
44632         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
44633         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
44634         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
44635         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
44636         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
44637         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
44638         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
44640         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
44641         (pthread_rwlock_rdlock): Add elision.
44642         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
44643         (pthread_rwlock_wrlock): Add elision.
44644         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
44645         (pthread_rwlock_trywrlock): Add elision.
44646         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
44647         (pthread_rwlock_tryrdlock): Add elision.
44648         * nptl/pthread_rwlock_unlock.c: Include elide.h.
44649         (pthread_rwlock_tryrdlock): Add elision unlock.
44650         * nptl/sysdeps/pthread/pthread.h:
44651         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
44652         (PTHREAD_RWLOCK_INITIALIZER,
44653         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
44654         Handle new elision field.
44655         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
44656         * sysdeps/arm/nptl/bits/pthreadtypes.h
44657         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44658         * sysdeps/sh/nptl/bits/pthreadtypes.h
44659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44660         * sysdeps/tile/nptl/bits/pthreadtypes.h
44661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44662         * sysdeps/a/nptl/bits/pthreadtypes.h
44663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44664         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
44665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44666         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
44667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44668         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
44669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44670         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
44671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44672         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
44673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44674         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
44675         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44676         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
44677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44678         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
44679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44680         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
44681         (elision_init): Set try_xbegin to zero when no RTM.
44682         * sysdeps/x86/nptl/bits/pthreadtypes.h
44683         (pthread_rwlock_t): Change __pad1 to __rwelision.
44684         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
44686 2014-06-13  Andi Kleen  <ak@linux.intel.com>
44688         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
44689         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
44690         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
44691         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
44693 2014-06-13  Meador Inge  <meadori@codesourcery.com>
44695         [BZ #16996]
44696         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
44697         that the cached result has been set before returning it.
44699 2014-06-12  Roland McGrath  <roland@hack.frob.com>
44701         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
44702         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
44703         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
44704         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
44705         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
44706         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
44708         * nptl/sysdeps/sparc/Makefile: Moved ...
44709         * sysdeps/sparc/nptl/Makefile: ... here.
44710         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
44711         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
44712         * nptl/sysdeps/sparc/tls.h: Moved ...
44713         * sysdeps/sparc/nptl/tls.h: ... here.
44714         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
44715         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
44716         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
44717         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
44718         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
44719         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
44720         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
44721         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
44722         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
44723         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
44724         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
44725         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
44726         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
44727         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
44728         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
44729         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
44730         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
44731         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
44732         Update #include.
44733         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
44734         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
44735         Update #include.
44736         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
44737         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
44738         Update #include.
44739         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
44740         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
44741         Update #include.
44743         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
44745         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
44746         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
44748         * sysdeps/pthread/posix-timer.h: Include <list.h>.
44749         (struct list_links): Type removed.
44750         (struct thread_node, struct timer_node): Replace struct list_links
44751         with struct list_head.
44752         (list_unlink_ip): Likewise.
44753         * sysdeps/pthread/timer_routines.c
44754         (timer_free_list, thread_free_list, thread_active_list): Likewise.
44755         (list_append, list_insbefore): Likewise.
44756         (list_init): Function removed.
44757         (thread_init, init_module): Use INIT_LIST_HEAD instead.
44758         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
44759         * sysdeps/pthread/Makefile: ... here, new file.
44761         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
44762         * sysdeps/nptl/Implies: ... here.
44763         * sysdeps/unix/sysv/linux/Implies: Add nptl.
44764         * nptl/sysdeps/pthread/list.h: Moved ...
44765         * include/list.h: ... here.
44766         * nptl/sysdeps/pthread/createthread.c: Moved ...
44767         * nptl/createthread.c: ... here.
44768         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
44769         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
44770         * nptl/pt-longjmp.c: ... here.
44771         * nptl/sysdeps/pthread/Makefile: Moved ...
44772         * sysdeps/nptl/Makefile: ... here.
44773         * nptl/sysdeps/pthread/Subdirs: Moved ...
44774         * sysdeps/nptl/Subdirs: ... here.
44775         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
44776         * sysdeps/nptl/aio_misc.h: ... here.
44777         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
44778         * sysdeps/nptl/bits/libc-lock.h: ... here.
44779         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
44780         * sysdeps/nptl/bits/libc-lockP.h: ... here.
44781         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
44782         * sysdeps/nptl/bits/stdio-lock.h: ... here.
44783         * nptl/sysdeps/pthread/configure: Moved ...
44784         * sysdeps/nptl/configure: ... here.
44785         * nptl/sysdeps/pthread/configure.ac: Moved ...
44786         * sysdeps/nptl/configure.ac: ... here.
44787         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
44788         * sysdeps/nptl/gai_misc.h: ... here.
44789         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
44790         * sysdeps/nptl/librt-cancellation.c: ... here.
44791         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
44792         * sysdeps/nptl/malloc-machine.h: ... here.
44793         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
44794         * sysdeps/nptl/pthread-functions.h: ... here.
44795         * nptl/sysdeps/pthread/pthread.h: Moved ...
44796         * sysdeps/nptl/pthread.h: ... here.
44797         * nptl/sysdeps/pthread/setxid.h: Moved ...
44798         * sysdeps/nptl/setxid.h: ... here.
44799         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
44800         * sysdeps/nptl/sigfillset.c: ... here.
44801         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
44802         * sysdeps/nptl/tcb-offsets.h: ... here.
44803         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
44804         * sysdeps/nptl/tst-mqueue8x.c: ... here.
44805         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
44806         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
44807         * nptl/sysdeps/pthread/allocalim.h: Moved ...
44808         * sysdeps/pthread/allocalim.h: ... here.
44809         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
44810         * sysdeps/pthread/bits/sigthread.h: ... here.
44811         * nptl/sysdeps/pthread/flockfile.c: Moved ...
44812         * sysdeps/pthread/flockfile.c: ... here.
44813         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
44814         * sysdeps/pthread/ftrylockfile.c: ... here.
44815         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
44816         * sysdeps/pthread/funlockfile.c: ... here.
44817         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
44818         * sysdeps/pthread/posix-timer.h: ... here.
44819         * nptl/sysdeps/pthread/timer_create.c: Moved ...
44820         * sysdeps/pthread/timer_create.c: ... here.
44821         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
44822         * sysdeps/pthread/timer_delete.c: ... here.
44823         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
44824         * sysdeps/pthread/timer_getoverr.c: ... here.
44825         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
44826         * sysdeps/pthread/timer_gettime.c: ... here.
44827         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
44828         * sysdeps/pthread/timer_routines.c: ... here.
44829         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
44830         * sysdeps/pthread/timer_settime.c: ... here.
44831         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
44832         * sysdeps/pthread/tst-timer.c: ... here.
44833         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
44834         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
44836         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
44837         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
44839         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
44840         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
44841         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
44842         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
44843         Update #include target.
44844         * nptl/sysdeps/i386/i686/Makefile: Moved ...
44845         * sysdeps/i386/i686/nptl/Makefile: ... here.
44846         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
44847         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
44848         Update #include target.
44849         * nptl/sysdeps/i386/i686/tls.h: Moved ...
44850         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
44851         * nptl/sysdeps/i386/Makefile: Moved ...
44852         * sysdeps/i386/nptl/Makefile: ... here.
44853         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
44854         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
44855         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
44856         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
44857         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
44858         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
44859         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
44860         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
44861         * sysdeps/i386/nptl/pthreaddef.h: ... here.
44862         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
44863         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
44864         * nptl/sysdeps/i386/tls.h: Moved ...
44865         * sysdeps/i386/nptl/tls.h: ... here.
44867         * sysdeps/sh/Makefile [$(subdir) = csu]
44868         (gen-as-const-headers): Add tcb-offsets.sym.
44869         * nptl/sysdeps/sh/Makefile: File removed.
44870         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
44871         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
44872         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
44873         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
44874         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
44875         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
44876         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
44877         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
44878         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
44879         * sysdeps/sh/nptl/pthreaddef.h: ... here.
44880         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
44881         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
44882         * nptl/sysdeps/sh/tls.h: Moved ...
44883         * sysdeps/sh/nptl/tls.h: ... here.
44884         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
44885         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
44886         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
44887         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
44888         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
44889         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
44890         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
44891         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
44892         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
44893         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
44894         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
44895         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
44896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
44897         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
44898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
44899         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
44900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
44901         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
44902         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
44903         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
44904         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
44905         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
44906         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
44907         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
44908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
44909         Moved ...
44910         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
44911         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
44912         Moved ...
44913         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
44914         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
44915         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
44916         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
44917         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
44918         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
44919         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
44920         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
44921         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
44922         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
44923         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
44924         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
44925         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
44926         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
44927         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
44928         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
44929         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
44930         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
44931         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
44933 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
44935         * posix/spawn_faction_addopen.c: Include string.h.
44937 2014-06-11  Roland McGrath  <roland@hack.frob.com>
44939         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
44940         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
44941         * nptl/sysdeps/x86_64/Makefile: Moved ...
44942         * sysdeps/x86_64/nptl/Makefile: ... here.
44943         * nptl/sysdeps/x86_64/configure: Moved ...
44944         * sysdeps/x86_64/nptl/configure: ... here.
44945         * nptl/sysdeps/x86_64/configure.ac: Moved ...
44946         * sysdeps/x86_64/nptl/configure.ac: ... here.
44947         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
44948         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
44949         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
44950         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
44951         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
44952         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
44953         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
44954         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
44955         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
44956         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
44957         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
44958         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
44959         * nptl/sysdeps/x86_64/tls.h: Moved ...
44960         * sysdeps/x86_64/nptl/tls.h: ... here.
44961         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
44962         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
44963         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
44964         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
44966         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
44968 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44972 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
44974         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
44975         type.
44976         [POSIX] (off_t): Likewise.
44977         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
44978         [POSIX] (S_ISBLK): Require macro.
44979         [POSIX] (S_ISCHR): Likewise.
44980         [POSIX] (S_ISDIR): Likewise.
44981         [POSIX] (S_ISFIFO): Likewise.
44982         [POSIX] (S_ISREG): Likewise.
44983         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
44984         optional-macro.
44985         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
44986         type.
44987         [POSIX] (time_t): Likewise.
44988         [POSIX] (timer_t): Likewise.
44990 2014-06-11  Florian Weimer  <fweimer@redhat.com>
44992         [BZ #17048]
44993         * posix/spawn_int.h (struct __spawn_action): Make the path string
44994         non-const to support deallocation.
44995         * posix/spawn_faction_addopen.c
44996         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
44997         * posix/spawn_faction_destroy.c
44998         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
44999         path in all spawn_do_open actions.
45000         * posix/tst-spawn.c (do_test): Exercise the copy operation in
45001         posix_spawn_file_actions_addopen.
45003 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
45005         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
45006         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
45007         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
45008         conditional code always true.
45009         (__libc_vfork): New alias.
45011 2014-06-11  Roland McGrath  <roland@hack.frob.com>
45013         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45014         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
45016         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
45018         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45019         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
45021         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
45022         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
45024         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45025         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
45027 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
45029         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
45030         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
45031         multiarch strcmp for PPC64.
45032         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
45033         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
45034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
45035         multiarch optimizations.
45036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45037         (__libc_ifunc_impl_list): Likewise.
45039 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45041         * benchtests/scripts/validate_benchout.py: New script.
45042         * benchtests/Makefile (bench-func): Call it.
45043         * benchtests/scripts/benchout.schema.json: New file.
45045 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
45047         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
45048         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
45049         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
45050         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
45051         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
45052         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
45053         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
45054         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
45055         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
45056         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
45057         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
45058         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
45059         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
45060         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
45061         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
45062         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
45063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
45064         Moved ...
45065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
45066         ... here.
45067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
45068         Moved ...
45069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
45070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
45071         Moved ...
45072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
45073         ... here.
45074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
45075         Moved ...
45076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
45077         ... here.
45078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
45079         Moved ...
45080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
45081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
45082         Moved ...
45083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
45084         ... here.
45085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
45086         Moved ...
45087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
45088         ... here.
45089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
45090         Moved ...
45091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
45092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
45093         Moved ...
45094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
45095         ... here.
45096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
45097         Moved ...
45098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
45099         ... here.
45100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
45101         Moved ...
45102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
45103         ... here.
45104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
45105         Moved ...
45106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
45107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
45108         Moved ...
45109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
45110         ... here.
45111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
45112         Moved ...
45113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
45114         ... here.
45115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
45116         Moved ...
45117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
45118         ... here.
45119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
45120         Moved ...
45121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
45122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
45123         Moved ...
45124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
45125         ... here.
45126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
45127         Moved ...
45128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
45129         ... here.
45130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
45131         Moved ...
45132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
45133         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
45134         Moved ...
45135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
45136         ... here.
45137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
45138         Moved ...
45139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
45140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
45141         Moved ...
45142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
45143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
45144         Moved ...
45145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
45146         ... here.
45147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
45148         Moved ...
45149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
45150         ... here.
45151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
45152         Moved ...
45153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
45154         ... here.
45155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
45156         Moved ...
45157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
45158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
45159         Moved ...
45160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
45161         ... here.
45162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
45163         Moved ...
45164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
45165         ... here.
45166         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
45167         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
45168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
45169         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
45170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
45171         Moved ...
45172         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
45173         ... here.
45174         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
45175         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
45176         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
45177         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
45178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
45179         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
45180         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
45181         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
45182         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
45183         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
45184         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
45185         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
45186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
45187         Moved ...
45188         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
45189         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
45190         Moved ...
45191         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
45192         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
45193         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
45194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
45195         Moved ...
45196         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
45197         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
45198         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
45199         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
45200         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
45201         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
45202         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
45204 2014-06-10  Wilco  <wdijkstr@arm.com>
45206         * math/test-fenv-return.c: New file.
45207         * math/Makefile: Add new test test-fenv-return.
45209 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
45211         [BZ #17042]
45212         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
45213         when x - 1 is zero.
45214         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
45215         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
45216         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
45217         0.0L for an argument of 1.0L.
45218         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
45219         Likewise.
45220         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
45221         value when x - 1 is zero.
45222         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
45223         * sysdeps/i386/fpu/libm-test-ulps: Update.
45224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45226 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
45228         [BZ #15119]
45229         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
45231 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45233         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
45234         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
45236 2014-06-09  Roland McGrath  <roland@hack.frob.com>
45238         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45239         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
45241         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45242         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
45244         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45245         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
45247         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
45248         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
45250         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
45251         if not already defined.
45252         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
45253         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
45254         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
45255         (TLS_INIT_TP): Use it.
45256         (TLS_DEFINE_INIT_TP): New macro.
45257         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
45259 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
45261         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
45262         constant.
45263         [POSIX] (IXANY): Likewise.
45264         [POSIX] (OLCUC): Likewise.
45265         [POSIX || POSIX2008] (CBAUD): Do not allow.
45266         [POSIX || POSIX2008] (DEFECHO): Likewise.
45267         [POSIX || POSIX2008] (ECHOCTL): Likewise.
45268         [POSIX || POSIX2008] (ECHOKE): Likewise.
45269         [POSIX || POSIX2008] (ECHOPRT): Likewise.
45270         [POSIX || POSIX2008] (EXTA): Likewise.
45271         [POSIX || POSIX2008] (EXTB): Likewise.
45272         [POSIX || POSIX2008] (FLUSHO): Likewise.
45273         [POSIX || POSIX2008] (LOBLK): Likewise.
45274         [POSIX || POSIX2008] (PENDIN): Likewise.
45275         [POSIX || POSIX2008] (SWTCH): Likewise.
45276         [POSIX || POSIX2008] (VDISCARD): Likewise.
45277         [POSIX || POSIX2008] (VDSUSP): Likewise.
45278         [POSIX || POSIX2008] (VLNEXT): Likewise.
45279         [POSIX || POSIX2008] (VREPRINT): Likewise.
45280         [POSIX || POSIX2008] (VSTATUS): Likewise.
45281         [POSIX || POSIX2008] (VWERASE): Likewise.
45282         (B*): Change to B[0123456789]*.
45283         * conform/data/time.h-data [POSIX || UNIX98]
45284         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
45285         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
45286         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
45287         [POSIX] (tm_*): Do not allow.
45289 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
45291         * Makefile (install): Don't set LANGUAGE.
45292         * Makefile.in (install): Likewise.
45293         * assert/Makefile (test-assert-ENV): Remove variable.
45294         (test-assert-perr-ENV): Likewise.
45295         * elf/Makefile (neededtest4-ENV): Likewise.
45296         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
45297         [$(cross-compiling) = no]: Don't set LANGUAGE.
45298         * io/ftwtest-sh (LANG): Remove variable.
45299         * libio/Makefile (tst-widetext-ENV): Likewise.
45300         * manual/install.texi (Running make install): Don't refer to
45301         environment settings for make install.
45302         * INSTALL: Regenerated.
45303         * nptl/tst-tls6.sh: Don't set LANG.
45304         * posix/globtest.sh (LANG): Remove variable.
45305         * string/Makefile (tester-ENV): Likewise.
45306         (inl-tester-ENV): Likewise.
45307         (noinl-tester-ENV): Likewise.
45308         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
45309         [$(cross-compiling) = no]: Don't set LANGUAGE.
45310         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
45311         without explicit environment settings.
45313 2014-06-06  Roland McGrath  <roland@hack.frob.com>
45315         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
45316         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
45317         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
45318         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
45320 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
45322         * crypt/crypt-private.h [DOS]: Add some includes taken from the
45323         other files in the crypt directory.
45324         * crypt/crypt.c: Remove duplicate includes.
45325         * crypt/crypt-entry.c: Likewise.
45326         * crypt/crypt_util.c: Likewise.
45328 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
45330         * Makeconfig (run-program-env): New variable.
45331         (run-program-prefix-before-env): Likewise.
45332         (run-program-prefix-after-env): Likewise.
45333         (run-program-prefix): Define in terms of new variables.
45334         (built-program-cmd-before-env): New variable.
45335         (built-program-cmd-after-env): Likewise.
45336         (built-program-cmd): Define in terms of new variables.
45337         (test-program-prefix-before-env): New variable.
45338         (test-program-prefix-after-env): Likewise.
45339         (test-program-prefix): Define in terms of new variables.
45340         (test-program-cmd-before-env): New variable.
45341         (test-program-cmd-after-env): Likewise.
45342         (test-program-cmd): Define in terms of new variables.
45343         * Rules (make-test-out): Use $(run-program-env).
45344         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
45345         (help): Do not mention environment variables.  Mention
45346         --timeoutfactor option.
45347         (timeoutfactor): New variable.
45348         (blacklist_exports): Remove function.
45349         (exports): Remove variable.
45350         (command): Do not include ${exports}.
45351         * manual/install.texi (Configuring and compiling): Do not mention
45352         test wrappers preserving environment variables.  Mention that last
45353         assignment to a variable must take precedence.
45354         * INSTALL: Regenerated.
45355         * benchtests/Makefile (run-bench): Use $(run-program-env).
45356         * catgets/Makefile ($(objpfx)test1.cat): Use
45357         $(built-program-cmd-before-env), $(run-program-env) and
45358         $(built-program-cmd-after-env).
45359         ($(objpfx)test2.cat): Do not specify environment variables
45360         explicitly.
45361         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
45362         $(run-program-env) and $(built-program-cmd-after-env).
45363         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
45364         $(run-program-env) and $(test-program-cmd-after-env).
45365         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
45366         explicitly.
45367         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
45368         run_program_env and test_program_cmd_after_env arguments.
45369         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
45370         * elf/tst-pathopt.sh: Use run_program_env argument.
45371         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
45372         $(test-wrapper-env) and $(run-program-env).
45373         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
45374         run_program_env arguments.
45375         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
45376         * intl/Makefile ($(objpfx)tst-gettext.out): Use
45377         $(test-program-prefix-before-env), $(run-program-env) and
45378         $(test-program-prefix-after-env).
45379         ($(objpfx)tst-gettext2.out): Likewise.
45380         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
45381         run_program_env and test_program_prefix_after_env arguments.
45382         * intl/tst-gettext2.sh: Likewise.
45383         * intl/tst-gettext4.sh: Do not set environment variables
45384         explicitly.
45385         * intl/tst-gettext6.sh: Likewise.
45386         * intl/tst-translit.sh: Likewise.
45387         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
45388         $(test-program-prefix-before-env), $(run-program-env) and
45389         $(test-program-prefix-after-env).
45390         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
45391         run_program_env and test_program_prefix_after_env arguments.
45392         * math/Makefile (run-regen-ulps): Use $(run-program-env).
45393         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
45394         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
45395         explicitly with each use of ${test_wrapper_env}.
45396         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
45397         $(test-program-prefix-before-env), $(run-program-env) and
45398         $(test-program-prefix-after-env).
45399         * posix/tst-getconf.sh: Do not set environment variables
45400         explicitly.
45401         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
45402         run_program_env and test_program_prefix_after_env arguments.
45403         * stdio-common/tst-printf.sh: Do not set environment variables
45404         explicitly.
45405         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
45406         $(test-program-prefix-before-env), $(run-program-env) and
45407         $(test-program-prefix-after-env).
45408         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
45409         run_program_env and test_program_prefix_after_env arguments.
45410         Split $test calls into $test_pre and $test.
45411         * timezone/Makefile (build-testdata): Use
45412         $(built-program-cmd-before-env), $(run-program-env) and
45413         $(built-program-cmd-after-env).
45415 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45417         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
45418         strlen for non SHARED builds.
45420 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45422         * nptl/allocatestack.c (check_list): Inlined function...
45423         (__reclaim_stacks): ... here.
45425 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45427         [BZ #15698]
45428         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45429         memory overrun.
45431 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
45433         * Rules (make-test-out): Include
45434         LOCPATH=$(common-objpfx)localedata in default environment.
45435         * debug/Makefile (tst-chk1-ENV): Remove variable.
45436         (tst-chk2-ENV): Likewise.
45437         (tst-chk3-ENV): Likewise.
45438         (tst-chk4-ENV): Likewise.
45439         (tst-chk5-ENV): Likewise.
45440         (tst-chk6-ENV): Likewise.
45441         (tst-lfschk1-ENV): Likewise.
45442         (tst-lfschk2-ENV): Likewise.
45443         (tst-lfschk3-ENV): Likewise.
45444         (tst-lfschk4-ENV): Likewise.
45445         (tst-lfschk5-ENV): Likewise.
45446         (tst-lfschk6-ENV): Likewise.
45447         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
45448         (tst-iconv7-ENV): Likewise.
45449         * intl/Makefile (LOCPATH-ENV): Likewise.
45450         (tst-codeset-ENV): Likewise.
45451         (tst-gettext3-ENV): Likewise.
45452         (tst-gettext5-ENV): Likewise.
45453         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
45454         (tst-fopenloc-ENV): Likewise.
45455         (tst-fgetws-ENV): Remove variable.
45456         (tst-ungetwc1-ENV): Likewise.
45457         (tst-ungetwc2-ENV): Likewise.
45458         (bug-ungetwc2-ENV): Likewise.
45459         (tst-swscanf-ENV): Likewise.
45460         (bug-ftell-ENV): Likewise.
45461         (tst-fgetwc-ENV): Likewise.
45462         (tst-fseek-ENV): Likewise.
45463         (tst-ftell-partial-wide-ENV): Likewise.
45464         (tst-ftell-active-handler-ENV): Likewise.
45465         (tst-ftell-append-ENV): Likewise.
45466         * posix/Makefile (tst-fnmatch-ENV): Likewise.
45467         (tst-regexloc-ENV): Likewise.
45468         (bug-regex1-ENV): Likewise.
45469         (tst-regex-ENV): Likewise.
45470         (tst-regex2-ENV): Likewise.
45471         (bug-regex5-ENV): Likewise.
45472         (bug-regex6-ENV): Likewise.
45473         (bug-regex17-ENV): Likewise.
45474         (bug-regex18-ENV): Likewise.
45475         (bug-regex19-ENV): Likewise.
45476         (bug-regex20-ENV): Likewise.
45477         (bug-regex22-ENV): Likewise.
45478         (bug-regex23-ENV): Likewise.
45479         (bug-regex25-ENV): Likewise.
45480         (bug-regex26-ENV): Likewise.
45481         (bug-regex30-ENV): Likewise.
45482         (bug-regex32-ENV): Likewise.
45483         (bug-regex33-ENV): Likewise.
45484         (bug-regex34-ENV): Likewise.
45485         (bug-regex35-ENV): Likewise.
45486         (tst-rxspencer-ENV): Likewise.
45487         (tst-rxspencer-no-utf8-ENV): Likewise.
45488         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
45489         (tst-sscanf-ENV): Likewise.
45490         (tst-swprintf-ENV): Likewise.
45491         (tst-swscanf-ENV): Likewise.
45492         (test-vfprintf-ENV): Likewise.
45493         (scanf13-ENV): Likewise.
45494         (bug14-ENV): Likewise.
45495         (tst-grouping-ENV): Likewise.
45496         * stdlib/Makefile (tst-strtod-ENV): Likewise.
45497         (tst-strtod3-ENV): Likewise.
45498         (tst-strtod4-ENV): Likewise.
45499         (tst-strtod5-ENV): Likewise.
45500         (testmb2-ENV): Likewise./
45501         * string/Makefile (tst-strxfrm-ENV): Likewise.
45502         (tst-strxfrm2-ENV): Likewise.
45503         (bug-strcoll1-ENV): Likewise.
45504         (test-strcasecmp-ENV): Likewise.
45505         (test-strncasecmp-ENV): Likewise.
45506         * time/Makefile (tst-strptime-ENV): Likewise.
45507         (tst-ftime_l-ENV): Likewise.
45508         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
45509         (tst-mbrtowc-ENV): Likewise.
45510         (tst-wcrtomb-ENV): Likewise.
45511         (tst-mbrtowc2-ENV): Likewise.
45512         (tst-c16c32-1-ENV): Likewise.
45513         (tst-mbsnrtowcs-ENV): Likewise.
45515 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
45517         * manual/resource.texi (How to get information about the memory
45518         subsystem?): Fix typo.
45519         Reported by Peon de la Parra Ivan <peon@keba.com>
45521 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
45523         [BZ #16882]
45524         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
45525         (pthread_spin_lock): Branch out of spin loop to proper location.
45526         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
45527         (pthread_spin_lock): Likewise.
45529         * nptl/tst-spin4.c: New test.
45530         * nptl/Makefile (tests): Add tst-spin4.
45532 2014-06-03  Andreas Schwab  <schwab@suse.de>
45534         [BZ #15946]
45535         * resolv/res_send.c (send_dg): Reload file descriptor after
45536         calling reopen.
45538 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
45540         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45542 2014-06-03  Richard Henderson  <rth@redhat.com>
45544         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
45545         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
45546         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
45547         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
45548         in the SAVE_PID block.
45549         (__libc_vfork): New alias.
45550         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
45552         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
45553         child in registers, not on the stack.  Remove RESET_PID conditionals.
45554         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
45556 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45558         * sysdeps/aarch64/libm-test-ulps: Regenerate.
45560 2014-06-03  Wilco  <wdijkstr@arm.com>
45562         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
45563         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
45564         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45565         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
45566         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
45567         Likewise.
45569 2014-06-03  Wilco  <wdijkstr@arm.com>
45571         * sysdeps/aarch64/fpu/math_private.h
45572         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
45573         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
45574         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
45575         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
45576         Fix declarations.
45578 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45580         * crypt/crypt-private.h: Include ufc-crypt.h.
45581         (__b64_from_24bit): Declare extern.
45582         * crypt/crypt_util.c(__b64_from_24bit): New function.
45583         (b64t): New static const variable.
45584         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
45585         (b64t): Remove variable.
45586         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
45587         * crypt/sha256-crypt.c: Include crypt-private.h.
45588         (b64t): Remove variable.
45589         (__sha256_crypt_r): Remove b64_from_24bit and replace
45590         with __b64_from_24bit.
45591         * crypt/sha512-crypt.c: Likewise.
45593 2014-06-02  Roland McGrath  <roland@hack.frob.com>
45595         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
45596         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
45597         Label the code __libc_vfork rather than __vfork.
45598         [!NOT_IN_libc] (vfork): Define as weak alias.
45599         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
45600         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
45601         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
45603 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45605         * malloc/malloc.c (malloc_info): Fix format specifier for
45606         n_mmaps.
45608 2014-06-02  Wilco  <wdijkstr@arm.com>
45610         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
45611         FPCR write.
45613 2014-06-02  Wilco  <wdijkstr@arm.com>
45615         [BZ #17009]
45616         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
45617         Rewrite to reduce FPCR/FPSR accesses.
45619 2014-06-01  David S. Miller  <davem@davemloft.net>
45621         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45623 2014-05-31  David S. Miller  <davem@davemloft.net>
45625         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
45626         to occur in round to nearest mode when |x| >= 2.0
45628 2014-05-30  Richard Henderson  <rth@twiddle.net>
45630         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
45631         (PSEUDO_RET_NOERRNO): Remove.
45632         (ret): Don't redefine.
45633         (ret_NOERRNO): Define in terms of ret.
45634         (ret_ERRVAL): Likewise.
45636         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
45637         use of PSEUDO_RET; perform the error check directly.
45639 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
45641         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
45642         with __int128_t.
45644 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45646         * malloc/malloc (malloc_info): Fix formatting.
45648 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45649             Roland McGrath  <roland@hack.frob.com>
45651         * malloc/malloc (malloc_info): Also print mmapped statistics.
45653 2014-05-30  Roland McGrath  <roland@hack.frob.com>
45655         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
45656         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
45658 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
45660         * malloc/malloc.c (malloc_info): Inline mi_arena.
45662 2014-05-29  Richard Henderson  <rth@twiddle.net>
45664         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
45665         Remove comma before expanding ASM_ARGS_##nr.
45666         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
45667         Make _x0 a strict output; make _x8 a strict input; adjust expansion
45668         of ASM_ARGS_##nr.
45669         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
45670         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
45671         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
45672         (ASM_ARGS_1): Add leading comma.
45674         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
45675         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
45676         to __errno_location.
45677         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
45678         Remove the expected plt for __errno_location.
45680         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45681         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
45682         call to __read_tp.
45684         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45685         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
45686         it and break it down.
45687         (DOCARGS_0, DOCARGS_1): Do nothing.
45688         (DOCARGS_2): Update to store into the new stack frame.
45689         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
45690         (UNDOCARGS_1): Update to restore from the new stack frame.
45691         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
45692         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
45694         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45695         (SINGLE_THREAD_P): New parameter for result regno.
45696         (PSEUDO): Update to match; use cbz instead of beq.
45698         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45699         Use ENTRY to define the _nocancel entry point.  Share the syscall
45700         and syscall error check paths with the cancel path.
45701         (PSEUDO_END): New.
45703         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
45704         whitespace; tabs before and after asm mnemonics.
45706 2014-05-29  Eric Wong  <normalperson@yhbt.net>
45708         [BZ #15132]
45709         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45710         Call fstat64 or stat64 internally, depending on arguments passed.
45711         Replace stat buffer argument with file descriptor argument.
45712         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
45713         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
45714         Pass fd to __internal_statvfs instead of calling fstat64.
45715         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
45716         Pass fd to __internal_statvfs64 instead of calling fstat64.
45717         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
45718         Pass -1 to __internal_statvfs instead of calling stat64.
45719         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
45720         Pass -1 to __internal_statvfs64 instead of calling stat64.
45722 2014-05-28  Roland McGrath  <roland@hack.frob.com>
45724         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
45725         that was previously under [RESET_PID].
45726         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
45728         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
45729         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
45731 2014-05-27  Roland McGrath  <roland@hack.frob.com>
45733         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
45735         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
45736         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
45738 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
45740         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
45742 2014-05-27  Andreas Schwab  <schwab@suse.de>
45744         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
45745         TLS_INIT_TP macro.
45746         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
45747         * elf/rtld.c (init_tls, dl_main): Likewise.
45748         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
45749         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
45750         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
45751         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
45752         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
45753         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
45754         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
45755         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
45756         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
45757         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
45758         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
45759         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
45760         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
45761         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
45762         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
45763         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
45764         * sysdeps/generic/tls.h: Update description.
45766 2014-05-27  Will Newton  <will.newton@linaro.org>
45768         [BZ #16990]
45769         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
45770         and restore r2 rather than just restoring.
45772 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45774         [BZ #16724]
45775         * libio/tst-ftell-append.c: New test case.
45776         * libio/Makefile (tests): Add test case.
45777         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
45778         append mode.
45779         * libio/wfileops.c (do_ftell_wide): Likewise.
45781 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45785         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
45786         ...
45787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
45788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
45789         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
45790         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
45791         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
45792         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
45793         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
45794         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
45795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
45796         Moved ...
45797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
45798         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
45799         Moved ...
45800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
45801         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
45802         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
45803         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
45804         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
45805         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
45806         ...
45807         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
45808         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
45809         Moved ...
45810         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
45811         here.
45812         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
45813         ...
45814         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
45815         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
45816         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
45818         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
45819         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
45820         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
45821         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
45823         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
45824         merge into ...
45825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
45826         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
45827         ...
45828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
45829         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
45830         ...
45831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
45832         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
45833         Moved ...
45834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
45835         here.
45836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
45837         Moved ...
45838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
45839         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
45840         Moved ...
45841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
45844         conditional [RESET_PID].
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
45846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
45847         removed.
45848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
45849         removed.
45851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
45852         <tcb-offsets.h>.
45853         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
45854         (__libc_vfork): New strong alias.
45855         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
45856         removed.
45857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
45858         Removed.
45860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
45861         <tcb-offsets.h>.
45862         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
45863         (__libc_vfork): New strong alias.
45864         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
45865         removed.
45866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
45867         removed.
45869 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
45871         * malloc/malloc.c (mi_arena): New function.
45872         (malloc_info): Remove nested function mi_arena. Call non-nosted
45873         function mi_arena.
45875 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45877         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
45878         by insrwi.
45879         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
45880         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
45881         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
45882         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
45883         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
45884         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
45885         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
45887 2014-05-26  Andreas Schwab  <schwab@suse.de>
45889         [BZ #16984]
45890         * locale/programs/repertoire.c (repertoire_read): Add slash
45891         between I18NPATH element and file name.
45892         * locale/programs/locfile.c (locfile_read): Likewise.
45894 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45896         * nptl/pthread_mutexattr_settype.c
45897         (__pthread_mutexattr_settype):
45898         Disable lock elision for PTHREAD_MUTEX_NORMAL.
45900 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
45902         * nptl/tst-mutex5 (do_test):
45903         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
45905 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45907         * benchtests/README: Document 'init' directive.
45908         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
45909         BENCH_INIT.
45910         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
45911         (parse_file): Recognize 'init' directive.
45913 2014-05-26  Kyle McMartin  <kyle@redhat.com>
45915         [BZ #16796]
45916         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
45917         alignment of struct pthread.
45919 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45921         [BZ #16878]
45922         * nscd/netgroupcache.c (addgetnetgrentX): Look for
45923         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45924         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
45925         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
45927 2014-05-25  Richard Henderson  <rth@twiddle.net>
45929         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
45930         (SINGLE_THREAD_P_PIC): Remove.
45931         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
45932         (SINGLE_THREAD_P_PIC): Remove.
45934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
45935         branch to syscall error ...
45936         (PSEUDO): ... here.
45937         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
45938         from __local_syscall_error to .Lsyscall_error.
45939         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
45940         (SYSCALL_ERROR): Update label name.
45942         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
45943         Do not use DOARGS/UNDOARGS.
45944         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
45945         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
45946         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
45947         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
45948         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
45950         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
45951         block comment.
45953         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
45954         define if !NOT_IN_libc.
45955         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
45956         define with non-default symbol versions.
45958 2014-05-23  Richard Henderson  <rth@twiddle.net>
45960         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
45961         (vfork, __vfork): Define via compat_symbol.
45963         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
45964         [!HAVE_IFUNC] (vfork_compat): Remove.
45965         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
45967 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
45969         [BZ #16978]
45970         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
45971         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
45972         variable.
45974 2014-05-23  Richard Henderson  <rth@twiddle.net>
45976         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
45977         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
45978         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
45979         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
45981         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
45982         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
45983         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
45984         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
45985         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
45986         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
45987         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
45988         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
45989         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
45990         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
45991         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
45992         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
45993         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
45994         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
45995         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
45996         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
45997         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
45998         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
45999         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
46000         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
46001         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
46002         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
46003         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
46004         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
46005         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
46006         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
46007         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
46008         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
46009         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
46010         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
46011         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
46012         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
46013         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
46014         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
46015         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
46016         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
46017         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
46018         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
46019         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
46020         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
46021         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
46022         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
46023         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
46024         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
46025         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
46026         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
46027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
46028         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
46029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
46030         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
46031         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
46032         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
46033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
46034         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
46035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
46036         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
46038         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
46039         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
46040         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
46041         before exiting on error.
46042         (__libc_vfork): New strong alias.
46043         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
46044         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
46046         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
46047         that was previously under [RESET_PID].
46048         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
46050         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
46052 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
46054         [BZ #16977]
46055         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
46056         value when x - 1 is zero.
46057         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
46058         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
46059         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
46060         0.0L for an argument of 1.0L.
46061         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
46062         Likewise.
46063         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
46064         value when x - 1 is zero.
46065         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
46066         * sysdeps/i386/fpu/libm-test-ulps: Update.
46067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46069 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46071         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
46072         alphasort and versionsort.
46074 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46076         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
46077         macro.
46078         [copysignf]: Likewise.
46080 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46082         * crypt/md5-crypt.c: Fix formatting.
46084 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46086         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
46087         (b64_from_24bit): New function.
46089 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46091         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
46092         libc_hidden_builtin_def to ifunc.
46093         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
46094         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
46096 2014-05-21  Roland McGrath  <roland@hack.frob.com>
46098         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
46099         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
46101 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
46103         * nscd/Depend (linuxthreads): Remove.
46104         (nptl): Add.
46105         * resolv/Depend (linuxthreads): Remove.
46106         * rt/Depend (linuxthreads): Remove.
46108         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
46109         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
46110         $(common-objpfx)elf/.
46111         (link-libc-before-gnulib): Likewise.
46112         (elfobjdir): Remove variable.
46113         * Makefile (install): Use $(elf-objpfx) instead of
46114         $(common-objpfx)elf/.
46115         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
46116         $(elfobjdir)/.
46117         (link-libc-deps): Likewise.
46118         ($(common-objpfx)libc.so): Likewise.
46119         ($(common-objpfx)linkobj/libc.so): Likewise.
46120         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
46121         instead of $(common-objpfx)elf/.
46122         (symbolic-link-list): Likewise.
46123         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
46124         [$(cross-compiling) = no]: Likewise.
46125         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
46126         $(elfobjdir)/.
46127         (static-gnulib-arch): Likewise.
46128         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
46129         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
46130         $(common-objpfx)elf/.
46132 2014-05-21  Richard Henderson  <rth@redhat.com>
46134         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
46135         (SINGLE_THREAD_P): Use the correct width load.  Fold
46136         into the ldr offset.
46138         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
46139         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
46141 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
46143         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
46144         (libgcc_s_resume): Use __attribute_used__.
46145         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
46146         Likewise.
46148 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46150         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
46151         optimization when used with float constants.
46153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46155 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
46157         [BZ #16915]
46158         * locale/nl_langinfo_l.c: Make direct reference to every
46159         _nl_current_CATEGORY symbol.
46160         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
46161         (tests-static): Add tst-langinfo-static.
46162         (tests-special): Add tst-langinfo-static.out.
46163         ($(objpfx)tst-langinfo.out): Redirect output.
46164         ($(objpfx)tst-langinfo-static.out): New.
46165         * localedata/tst-langinfo.sh: Send output to stdout.
46166         * localedata/tst-langinfo-static.c: New file.
46168         [BZ #16965]
46169         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
46170         when the shift amount is modulo the limb size.
46172 2014-05-20  Richard Henderson  <rth@redhat.com>
46174         [BZ #16967]
46175         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
46176         Change type of sa_flags from unsigned int to int.
46178         [BZ #16966]
46179         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
46181         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
46183 2014-05-20  Will Newton  <will.newton@linaro.org>
46185         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
46186         Test the return value of the system call in the nocancel case.
46188 2014-05-20  Will Newton  <will.newton@linaro.org>
46189             Yvan Roux  <yvan.roux@linaro.org>
46191         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
46192         #include of asm/ptrace.h.
46193         (PTRACE_GET_THREAD_AREA): Remove #undef.
46194         (PTRACE_GETHBPREGS): Likewise.
46195         (PTRACE_SETHBPREGS): Likewise.
46196         (struct user_regs_struct): New structure.
46197         (struct user_fpsimd_struct): New structure.
46198         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
46199         #include of asm/ptrace.h and second #include of sys/user.h.
46200         (PTRACE_GET_THREAD_AREA): Remove #undef.
46201         (PTRACE_GETHBPREGS): Likewise.
46202         (PTRACE_SETHBPREGS): Likewise.
46203         (ELF_NGREG): Use new struct user_regs_struct.
46204         (elf_fpregset_t): Use new struct user_fpsimd_struct.
46206 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46208         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
46209         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
46211 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
46213         [BZ #16958]
46214         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
46215         membar to avoid block loads/stores to overlap previous stores.
46217 2014-05-17  Richard Henderson  <rth@redhat.com>
46219         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
46220         Create the __##syscall_name##_nocancel entry point.
46221         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
46222         Remove; let the sysdep-cancel.h code create it.
46224 2014-05-17  David S. Miller  <davem@davemloft.net>
46226         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
46227         Protect with __USE_GNU.
46228         (TIOCSET_TEMPT): Likewise.
46229         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46230         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
46231         these are already provided in bits/ioctl-types.h
46233 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46235         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
46236         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
46238         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
46239         Use wait4 regardless of [__NR_waitpid].
46241 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46243         PR libgcc/60166
46244         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46245         (_FP_NANSIGN_Q): Set the quiet bit.
46247 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
46249         * benchtests/Makefile
46250         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
46251         not $(common-objpfx)math/libm.so.
46252         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
46253         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
46254         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
46255         $(common-objpfx)dlfcn/libdl.so.
46256         ($(objpfx)tst-audit8): Depend on $(libm), not
46257         $(common-objpfx)math/libm.so.
46258         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
46259         not $(common-objpfx)dlfcn/libdl.so.
46260         * math/Makefile
46261         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46262         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
46263         [$(build-shared) = yes].
46264         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
46265         $(common-objpfx)nptl/libpthread.so.
46266         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
46267         $(common-objpfx)math/libm.so$(libm.so-version) or
46268         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46269         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
46270         $(common-objpfx)dlfcn/libdl.so.
46271         * setjmp/Makefile (link-libm): Remove variable.
46272         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
46273         * stdio-common/Makefile (link-libm): Remove variable.
46274         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
46275         * stdlib/Makefile (link-libm): Remove variable.
46276         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
46277         ($(objpfx)tst-strtod-round): Likewise.
46278         ($(objpfx)tst-tininess): Likewise.
46279         ($(objpfx)tst-strtod-underflow): Likewise.
46280         ($(objpfx)tst-strtod6): Likewise.
46281         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
46282         $(libdl), not $(common-objpfx)nptl/libpthread.so and
46283         $(common-objpfx)dlfcn/libdl.so.
46285 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46287         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
46288         BSD terminal modes definitions.
46290 2014-05-16  Roland McGrath  <roland@hack.frob.com>
46292         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
46293         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
46295         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
46296         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
46297         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
46298         Don't do #include_next.
46299         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
46300         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
46301         Don't do #include_next.
46302         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
46303         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
46304         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
46305         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
46307 2014-05-16  Allan McRae  <allan@archlinux.org>
46309         * po/sv.po: Update Swedish translation from translation project.
46311         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
46312         in sed expression.
46314 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
46316         [BZ #16917]
46317         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
46318         errno if the TIOCGPTN ioctl fails with an error different than
46319         EINVAL.
46320         * login/tst-ptsname.c: New file.
46321         * login/Makefile (tests): Add tst-ptsname.
46323         [BZ #16943]
46324         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
46325         and prlimit64.
46327 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46329         [BZ #16849]
46330         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
46331         herrno to return EAI_AGAIN.
46333 2014-05-14  Roland McGrath  <roland@hack.frob.com>
46335         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
46336         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
46337         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
46338         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
46339         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
46340         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
46341         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
46342         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
46343         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
46344         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
46345         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
46346         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
46347         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
46348         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
46349         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
46350         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
46351         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
46352         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
46353         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
46354         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
46355         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
46356         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
46357         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
46358         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
46359         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
46360         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
46361         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
46362         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
46363         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
46364         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
46365         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
46366         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
46367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
46368         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
46369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
46370         Moved ...
46371         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
46372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
46373         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
46374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
46375         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
46376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
46377         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
46378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
46379         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
46380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
46381         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
46382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
46383         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
46384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
46385         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
46386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
46387         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
46388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
46389         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
46390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
46391         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
46392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
46393         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
46394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
46395         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
46396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
46397         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
46398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
46399         Moved ...
46400         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
46401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
46402         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
46403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
46404         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
46405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
46406         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
46407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
46408         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
46409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
46410         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
46411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
46412         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
46413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
46414         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
46415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
46416         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
46417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
46418         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
46419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
46420         Moved ...
46421         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
46422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
46423         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
46425         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
46426         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
46427         (libpthread-sysdep_routines): Add elision-related stuff here instead.
46428         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
46429         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
46430         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
46431         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
46432         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
46433         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
46434         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
46435         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
46436         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
46437         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
46438         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
46439         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
46440         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
46441         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
46442         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
46443         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
46444         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
46445         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
46446         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
46447         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
46448         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
46449         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
46450         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
46451         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
46452         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
46453         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
46454         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
46455         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
46457         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
46458         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
46460         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
46461         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
46462         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
46463         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
46464         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
46465         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
46466         Moved ...
46467         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
46468         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
46469         Moved ...
46470         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
46471         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
46472         Moved ...
46473         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
46474         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
46475         Moved ...
46476         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
46477         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
46478         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
46479         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
46480         Moved ...
46481         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
46482         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
46483         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
46484         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
46485         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
46486         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
46487         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
46488         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
46489         Moved ...
46490         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
46491         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46492         Moved ...
46493         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
46494         ... here.
46495         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
46496         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
46497         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
46498         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
46499         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46500         Moved ...
46501         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
46502         ... here.
46503         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
46504         Moved ...
46505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
46506         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
46507         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
46508         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
46509         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
46510         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
46511         Moved ...
46512         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
46513         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
46514         Moved ...
46515         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
46516         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
46517         Moved ...
46518         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
46519         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
46520         Moved ...
46521         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
46522         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
46523         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
46524         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
46525         Moved ...
46526         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
46527         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
46528         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
46529         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
46530         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
46531         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
46532         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
46533         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
46534         Moved ...
46535         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
46536         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46537         Moved ...
46538         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
46539         ... here.
46540         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
46541         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
46542         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
46543         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
46544         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46545         Moved ...
46546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
46547         ... here.
46548         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
46549         Moved ...
46550         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
46551         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
46552         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
46553         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
46554         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
46555         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
46556         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
46557         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
46558         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
46559         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
46560         Moved ...
46561         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
46562         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
46563         Moved ...
46564         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
46565         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
46566         Moved ...
46567         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
46568         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
46569         Moved ...
46570         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
46571         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
46572         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
46573         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
46574         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
46575         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
46576         Moved ...
46577         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
46578         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
46579         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
46580         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
46581         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
46582         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
46583         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
46584         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
46585         Moved ...
46586         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
46587         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46588         Moved ...
46589         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
46590         ... here.
46591         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
46592         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
46593         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
46594         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
46595         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46596         Moved ...
46597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
46598         ... here.
46599         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
46600         Moved ...
46601         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
46602         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
46603         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
46604         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
46605         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
46606         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
46607         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
46608         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
46609         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
46610         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
46611         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
46613         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
46614         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
46616         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
46617         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
46619         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
46620         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
46621         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
46622         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
46623         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
46624         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
46625         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
46626         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
46627         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
46628         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
46629         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
46630         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
46631         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
46632         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
46633         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
46634         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
46635         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
46636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
46637         Moved ...
46638         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
46639         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
46640         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
46641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
46642         Moved ...
46643         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
46644         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
46645         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
46646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
46647         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
46648         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
46649         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
46650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
46651         Moved ...
46652         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
46653         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
46654         Moved ...
46655         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
46656         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
46657         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
46658         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
46659         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
46660         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
46661         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
46662         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
46663         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
46664         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
46665         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
46666         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
46667         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
46668         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
46669         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
46670         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
46671         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
46673         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
46674         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
46675         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
46676         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
46677         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
46679         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
46680         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
46681         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
46682         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
46683         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
46684         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
46685         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
46686         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
46687         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
46688         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
46690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
46691         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
46693         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
46694         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
46695         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
46696         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
46697         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
46698         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
46699         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
46700         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
46701         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
46702         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
46703         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
46704         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
46705         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
46706         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
46707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
46708         Update #include.
46709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
46710         Likewise.
46711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
46712         Likewise.
46713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
46714         Likewise.
46715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
46716         Likewise.
46717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
46718         Likewise.
46719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
46720         Likewise.
46721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46722         Likewise.
46723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
46724         Likewise.
46725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
46726         Likewise.
46727         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
46728         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
46729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
46730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
46731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
46732         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
46733         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
46734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
46735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
46736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
46737         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
46738         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
46739         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
46740         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
46741         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
46743         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
46744         that was previously under [RESET_PID].
46745         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
46746         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
46747         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
46749         * sysdeps/i386/nptl/Implies: New file.
46750         * sysdeps/x86_64/nptl/Implies: New file.
46751         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
46752         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
46753         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
46754         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
46756         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
46757         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46758         (__libc_vfork): New strong alias.
46759         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
46760         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
46762         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
46763         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46764         (__libc_vfork): New strong alias.
46765         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
46766         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
46768         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
46769         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
46770         (__libc_vfork): New strong alias.
46771         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
46772         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
46773         * nptl/pt-vfork.c: New file.
46774         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
46775         (libpthread: GLIBC_2.20): New version set (empty).
46777 2014-05-14  Will Newton  <will.newton@linaro.org>
46779         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
46780         rather than #if.
46782 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46784         [BZ #16564]
46785         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
46786         arguments with exponent 65 or above.
46787         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
46788         arguments 0x1p113L or above.
46789         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
46790         to arguments 0x1p107L or above.
46791         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
46792         positive arguments with exponent 65 or above.
46793         * math/auto-libm-test-in: Add more tests of log1p.
46794         * math/auto-libm-test-out: Regenerated.
46796         [BZ #16928]
46797         * math/s_cacos.c (__cacos): Ensure zero real part of result from
46798         non-finite arguments is +0.
46799         * math/s_cacosf.c (__cacosf): Likewise.
46800         * math/s_cacosl.c (__cacosl): Likewise.
46801         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
46802         * sysdeps/i386/fpu/libm-test-ulps: Update.
46803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46805         [BZ #16927]
46806         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
46807         value.
46808         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
46809         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
46810         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
46811         for explicit high bit of mantissa when testing for argument equal
46812         to 1.
46813         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
46814         * sysdeps/i386/fpu/libm-test-ulps: Update.
46815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46817         [BZ #16516]
46818         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
46819         (__erf): Scale by 16 instead of 8 in potentially underflowing
46820         case.  Ensure exception if result actually underflows.
46821         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
46822         (__erff): Scale by 16 instead of 8 in potentially underflowing
46823         case.  Ensure exception if result actually underflows.
46824         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
46825         (efx8): Remove variable.
46826         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46827         case.  Ensure exception if result actually underflows.
46828         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
46829         (efx8): Remove variable.
46830         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46831         case.  Ensure exception if result actually underflows.
46832         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
46833         (efx8): Remove variable.
46834         (__erfl): Scale by 16 instead of 8 in potentially underflowing
46835         case.  Ensure exception if result actually underflows.
46836         * math/auto-libm-test-in: Add more tests of erf.
46837         * math/auto-libm-test-out: Regenerated.
46839 2014-05-14  Andreas Schwab  <schwab@suse.de>
46841         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
46842         Remove code conditionalized on USE___THREAD.
46844         * config.h.in (HAVE_PT_CHOWN): Define as 0.
46845         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
46846         not definedness.
46848 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
46850         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
46851         Define unconditionally.
46852         (__ASSUME_O_CLOEXEC): Likewise.
46853         (__ASSUME_SOCK_CLOEXEC): Likewise.
46854         (__ASSUME_IN_NONBLOCK): Likewise.
46855         (__ASSUME_PIPE2): Likewise.
46856         (__ASSUME_EVENTFD2): Likewise.
46857         (__ASSUME_SIGNALFD4): Likewise.
46858         (__ASSUME_DUP3): Likewise.
46859         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46860         (__ASSUME_DUP3): Do not define.
46861         (__ASSUME_EVENTFD2): Likewise.
46862         (__ASSUME_IN_NONBLOCK): Likewise.
46863         (__ASSUME_O_CLOEXEC): Likewise.
46864         (__ASSUME_PIPE2): Likewise.
46865         (__ASSUME_SIGNALFD4): Likewise.
46866         (__ASSUME_SOCK_CLOEXEC): Likewise.
46867         (__ASSUME_UTIMES): Undefine.
46868         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46869         (__ASSUME_UTIMES): Do not define.
46870         (__ASSUME_O_CLOEXEC): Likewise.
46871         (__ASSUME_SOCK_CLOEXEC): Likewise.
46872         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
46873         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
46874         0x020621].
46875         (__ASSUME_PIPE2): Likewise.
46876         (__ASSUME_EVENTFD2): Likewise.
46877         (__ASSUME_SIGNALFD4): Likewise.
46878         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
46879         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
46880         Do not define.
46881         (__ASSUME_EVENTFD2): Likewise.
46882         (__ASSUME_SIGNALFD4): Likewise.
46883         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
46884         (__ASSUME_32BITUIDS): Likewise.
46885         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
46886         (__ASSUME_IPC64): Likewise.
46887         (__ASSUME_ST_INO_64_BIT): Likewise.
46888         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
46889         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
46890         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46891         (__ASSUME_UTIMES): Do not define.
46892         (__ASSUME_PSELECT): Likewise.
46893         (__ASSUME_PPOLL): Likewise.
46894         (__ASSUME_O_CLOEXEC): Likewise.
46895         (__ASSUME_SOCK_CLOEXEC): Likewise.
46896         (__ASSUME_IN_NONBLOCK): Likewise.
46897         (__ASSUME_PIPE2): Likewise.
46898         (__ASSUME_EVENTFD2): Likewise.
46899         (__ASSUME_SIGNALFD4): Likewise.
46900         (__ASSUME_DUP3): Likewise.
46901         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46902         (__ASSUME_UTIMES): Likewise.
46903         (__ASSUME_O_CLOEXEC): Likewise.
46904         (__ASSUME_SOCK_CLOEXEC): Likewise.
46905         (__ASSUME_IN_NONBLOCK): Likewise.
46906         (__ASSUME_PIPE2): Likewise.
46907         (__ASSUME_EVENTFD2): Likewise.
46908         (__ASSUME_SIGNALFD4): Likewise.
46909         (__ASSUME_DUP3): Likewise.
46910         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46911         (__ASSUME_UTIMES): Likewise.
46912         (__ASSUME_O_CLOEXEC): Likewise.
46913         (__ASSUME_SOCK_CLOEXEC): Likewise.
46914         (__ASSUME_IN_NONBLOCK): Likewise.
46915         (__ASSUME_PIPE2): Likewise.
46916         (__ASSUME_EVENTFD2): Likewise.
46917         (__ASSUME_SIGNALFD4): Likewise.
46918         (__ASSUME_DUP3): Likewise.
46919         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
46920         Likewise.
46921         (__ASSUME_UTIMES): Likewise.
46922         (__ASSUME_EVENTFD2): Likewise.
46923         (__ASSUME_SIGNALFD4): Likewise.
46924         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46925         (__ASSUME_O_CLOEXEC): Likewise.
46926         (__ASSUME_SOCK_CLOEXEC): Likewise.
46927         (__ASSUME_IN_NONBLOCK): Likewise.
46928         (__ASSUME_PIPE2): Likewise.
46929         (__ASSUME_EVENTFD2): Likewise.
46930         (__ASSUME_SIGNALFD4): Likewise.
46931         (__ASSUME_DUP3): Likewise.
46932         (__ASSUME_UTIMES): Undefine.
46934         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
46935         feclearexcept.  Remove symbol versioning code.
46936         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
46937         symbol versioning code.
46938         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
46939         symbol versioning code.
46940         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
46941         feupdateenv.  Remove symbol versioning code.
46942         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
46943         fegetexceptflag.  Remove symbol versioning code.
46944         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
46945         fesetexceptflag.  Remove symbol versioning code.
46946         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
46947         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
46948         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
46949         (__posix_fadvise64_l32): Remove prototype.
46950         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
46951         code.
46953 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46955         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
46956         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
46957         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
46958         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
46960 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
46962         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
46963         current working directory
46965 2014-05-13  Roland McGrath  <roland@hack.frob.com>
46967         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
46968         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
46969         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
46970         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
46971         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
46972         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
46973         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
46974         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
46975         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
46976         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
46977         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
46978         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
46979         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
46980         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
46981         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
46982         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
46983         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
46984         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
46985         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
46986         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
46987         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
46988         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
46989         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
46990         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
46991         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
46992         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
46993         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
46994         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
46995         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
46996         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
46997         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
46998         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
46999         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
47000         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
47001         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
47002         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
47003         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
47004         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
47005         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
47006         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
47007         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
47008         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
47010         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
47011         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
47013         * sysdeps/unix/sysv/linux/arm/Makefile
47014         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
47015         Add rt-aeabi_unwind_cpp_pr1.
47016         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
47017         Add nptl-aeabi_unwind_cpp_pr1.
47018         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
47019         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
47020         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
47021         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47022         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
47023         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47025         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
47026         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
47027         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
47028         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
47030         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
47031         Deconditionalize the code that was previously under [RESET_PID].
47032         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
47034         * sysdeps/generic/exit-thread.h: New file.
47035         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
47036         * include/unistd.h (__exit_thread): Remove declaration.
47037         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
47038         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
47039         * csu/libc-start.c: Include <exit-thread.h>.
47040         (LIBC_START_MAIN): Pass no argument to __exit_thread.
47041         * nptl/pthread_create.c: Include <exit-thread.h>.
47042         (start_thread): Call __exit_thread in place of __exit_thread_inline.
47043         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
47044         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
47045         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
47046         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
47047         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
47048         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
47049         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
47050         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
47051         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
47052         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
47053         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
47054         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
47055         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
47056         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
47057         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
47058         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
47060 2014-05-13  Andreas Schwab  <schwab@suse.de>
47062         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
47064 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
47066         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47067         (__ASSUME_UTIMES): Do not condition on kernel version.
47068         (__ASSUME_PSELECT): Define unconditionally.
47069         (__ASSUME_PPOLL): Likewise.
47070         (__ASSUME_ATFCTS): Likewise.
47071         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
47072         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
47073         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
47074         (__ASSUME_UTIMENSAT): Define unconditionally.
47075         (__ASSUME_PRIVATE_FUTEX): Likewise.
47076         (__ASSUME_FALLOCATE): Likewise.
47077         (__ASSUME_O_CLOEXEC): Likewise.
47078         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
47079         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
47080         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
47081         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
47082         (__ASSUME_IN_NONBLOCK): Likewise.
47083         (__ASSUME_PIPE2): Likewise.
47084         (__ASSUME_EVENTFD2): Likewise.
47085         (__ASSUME_SIGNALFD4): Likewise.
47086         (__ASSUME_DUP3): Likewise.
47087         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47088         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
47089         (__ASSUME_AT_RANDOM): Likewise.
47090         (__ASSUME_PREADV): Likewise.
47091         (__ASSUME_PWRITEV): Likewise.
47092         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
47093         (__ASSUME_F_GETOWN_EX): Define unconditionally.
47094         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
47095         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47096         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
47097         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
47098         (__ASSUME_O_CLOEXEC): Define unconditionally.
47099         (__ASSUME_PSELECT): Do not undefine conditionally.
47100         (__ASSUME_PPOLL): Likewise.
47101         (__ASSUME_ATFCTS): Likewise.
47102         (__ASSUME_SET_ROBUST_LIST): Likewise.
47103         (__ASSUME_UTIMENSAT): Likewise.
47104         (__ASSUME_FDATASYNC): Define unconditionally.
47105         * sysdeps/unix/sysv/linux/arm/kernel-features.h
47106         (__ASSUME_SIGFRAME_V2): Likewise.
47107         )__ASSUME_EVENTFD2): Likewise.
47108         (__ASSUME_SIGNALFD4): Likewise.
47109         (__ASSUME_PSELECT): Do not undefine conditionally.
47110         (__ASSUME_PPOLL): Likewise.
47111         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
47112         (__ASSUME_PSELECT): Define unconditionally.
47113         (__ASSUME_PPOLL): Likewise.
47114         (__ASSUME_O_CLOEXEC): Likewise.
47115         (__ASSUME_SOCK_CLOEXEC): Likewise.
47116         (__ASSUME_IN_NONBLOCK): Likewise.
47117         (__ASSUME_PIPE2): Likewise.
47118         (__ASSUME_EVENTFD2): Likewise.
47119         (__ASSUME_SIGNALFD4): Likewise.
47120         (__ASSUME_DUP3): Likewise.
47121         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
47122         (__ASSUME_O_CLOEXEC): Likewise.
47123         (__ASSUME_SOCK_CLOEXEC): Likewise.
47124         (__ASSUME_IN_NONBLOCK): Likewise.
47125         (__ASSUME_PIPE2): Likewise.
47126         (__ASSUME_EVENTFD2): Likewise.
47127         (__ASSUME_SIGNALFD4): Likewise.
47128         (__ASSUME_DUP3): Likewise.
47129         * sysdeps/unix/sysv/linux/mips/kernel-features.h
47130         (__ASSUME_EVENTFD2): Likewise.
47131         (__ASSUME_SIGNALFD4): Likewise.
47132         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
47134 2014-05-12  Andreas Schwab  <schwab@suse.de>
47136         [BZ #16932]
47137         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
47138         (_nss_nis_gethostbyname4_r): Return error if item length is larger
47139         than maximum RPC packet size.
47140         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
47141         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
47142         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
47143         (_nss_nis_getservbyport_r): Likewise.
47145 2014-05-12  Will Newton  <will.newton@linaro.org>
47147         * malloc/Makefile (tests): Add tst-mallopt.
47148         * malloc/tst-mallopt.c: New file.
47150 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47152         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
47153         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
47155 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47157         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
47158         (tst-tlsmod6.so): Likewise.
47160 2014-05-09  Roland McGrath  <roland@hack.frob.com>
47162         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
47164 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
47166         [BZ #16064]
47167         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
47168         and <dl-procinfo.h>.
47169         (__fegetenv): Save SSE state in envp->__eip if supported.
47170         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
47171         envp->__eip if supported.
47172         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
47173         and <dl-procinfo.h>.
47174         (__fesetenv): Always set __eip, __cs_selector, __opcode,
47175         __data_offset and __data_selector in environment to 0.  Set SSE
47176         state if supported.
47177         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
47178         test-fenv-sse.
47179         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
47180         -mfpmath=sse.
47181         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
47183 2014-05-09  Will Newton  <will.newton@linaro.org>
47185         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
47186         and libc_relro_required for ARM.
47187         * sysdeps/arm/preconfigure: Regenerate.
47189 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
47190             Stefan Liebler  <stli@linux.vnet.ibm.com>
47192         * config.make.in (enable-lock-elision): New Makefile variable.
47193         * configure.ac: Likewise.
47194         * configure: Regenerate.
47195         * sysdeps/s390/configure.ac:
47196         Add check for gcc transactions support.
47197         * sysdeps/s390/configure: Regenerate.
47198         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
47199         Build elision files if enabled.
47200         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
47201         Add lock elision support for s390.
47202         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
47203         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
47204         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
47205         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
47206         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
47207         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
47208         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47209         Likewise.
47210         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
47211         Likewise.
47212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
47213         Likewise.
47214         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
47215         Likewise.
47216         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
47217         (__lll_timedlock_elision, __lll_lock_elision)
47218         (__lll_unlock_elision, __lll_trylock_elision)
47219         (lll_timedlock_elision, lll_lock_elision)
47220         (lll_unlock_elision, lll_trylock_elision): Add.
47221         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47222         (pthread_mutex_t): Add lock elision support for s390.
47224 2014-05-14  Wilco  <wdijkstr@arm.com>
47226         * sysdeps/arm/fclrexcpt.c: Cleanup.
47227         * sysdeps/arm/fedisblxcpt.c: Cleanup.
47228         * sysdeps/arm/feenablxcpt.c: Cleanup.
47229         * sysdeps/arm/fegetenv.c: Cleanup.
47230         * sysdeps/arm/fegetexcept.c: Cleanup.
47231         * sysdeps/arm/fegetround.c: Cleanup.
47232         * sysdeps/arm/feholdexcpt.c: Cleanup.
47233         * sysdeps/arm/fesetenv.c: Cleanup.
47234         * sysdeps/arm/fesetround.c: Cleanup.
47235         * sysdeps/arm/feupdateenv.c: Cleanup.
47236         * sysdeps/arm/fgetexcptflg.c: Cleanup.
47237         * sysdeps/arm/fraiseexcpt.c: Cleanup.
47238         * sysdeps/arm/fsetexcptflg.c: Cleanup.
47239         * sysdeps/arm/ftestexcept.c: Cleanup.
47240         * sysdeps/arm/get-rounding-mode.h: Cleanup.
47241         * sysdeps/arm/setfpucw.c: Cleanup.
47243 2014-05-09  Will Newton  <will.newton@linaro.org>
47245         * sysdeps/arm/armv7/strcmp.S: New file.
47246         * NEWS: Mention addition of ARMv7 optimized strcmp.
47248 2014-05-08  Roland McGrath  <roland@hack.frob.com>
47250         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
47251         look for %.ac rather than %.in.
47253         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
47254         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
47255         * sysdeps/mach/hurd/configure: Regenerated.
47256         * sysdeps/unix/sysv/linux/configure: Regenerated.
47258         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
47260 2014-05-07  Steve Ellcey  <sellcey@mips.com>
47262         [BZ #16922]
47263         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
47264         (LONG_SUB): Ditto.
47265         (PTR_SUB): Ditto.
47267 2014-05-07  Andreas Schwab  <schwab@suse.de>
47269         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
47270         when skipping over non-matching result from nscd.
47272 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
47274         [BZ #16876]
47275         * nptl/sockperf.c (client): Check socket return value.
47277         [BZ #16877]
47278         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
47279         nscd security class.
47281 2014-05-06  Roland McGrath  <roland@hack.frob.com>
47283         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
47284         * sysdeps/arm/unwind.h: ... here.
47286 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
47288         [BZ #16916]
47289         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
47290         Define.
47292 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47294         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
47295         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
47296         multiarch strncpy for PPC64.
47297         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
47298         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
47299         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
47300         multiarch optimizations.
47301         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47302         (__libc_ifunc_impl_list): Likewise.
47303         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
47304         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
47305         multiarch stpncpy for PPC64.
47306         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
47307         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
47309 2014-05-06  Andreas Schwab  <schwab@suse.de>
47311         [BZ #16912]
47312         * gmon/mcount.c (_MCOUNT_DECL): Use
47313         atomic_compare_and_exchange_bool_acq instead of
47314         catomic_compare_and_exchange_bool_acq.
47316 2014-05-05  Roland McGrath  <roland@hack.frob.com>
47318         * elf/Makefile (others, install-bin): Remove pldd.
47319         (pldd-modules): Variable removed.
47320         ($(objpfx)pldd): Target removed.
47321         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
47322         (others, install-bin): Append pldd here.
47323         ($(objpfx)pldd): New target.
47325         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
47326         to 0, so the first #if test emitted later doesn't see it undefined.
47327         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
47328         * sysdeps/gnu/errlist.c: Regenerated.
47330 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47332         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47333         [libc_hidden_builtin_def]: Define to empty value.
47334         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
47335         [libc_hidden_builtin_def]: Likewise.
47336         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
47337         [libc_hidden_builtin_def]: Likewise.
47338         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
47339         [libc_hidden_builtin_def]: Likewise.
47340         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
47341         __redirect_memcpy and define ifunc as default hidden symbol.
47342         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
47343         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
47345 2014-05-04  Adam Conrad  <adconrad@0c3.net>
47347         * locale/iso-4217.def: Reintroduce XDR currency.
47349 2014-05-04  Allan McRae  <allan@archlinux.org>
47351         * po/eo.po: Update Esperanto translation from translation project.
47353 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
47355         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
47356         and FEATURE_INDEX_MAX to 1.
47357         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
47359 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47361         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
47362         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
47363         * iconvdata/big5.c (ONE_DIRECTION): Define.
47364         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
47365         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
47366         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
47367         * iconvdata/cp932.c (ONE_DIRECTION): Define.
47368         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
47369         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
47370         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
47371         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
47372         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
47373         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
47374         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
47375         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
47376         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
47377         * iconvdata/gbk.c (ONE_DIRECTION): Define.
47378         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
47379         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
47380         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
47381         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
47382         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
47383         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
47384         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
47385         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
47386         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
47387         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
47388         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
47389         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
47390         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
47391         * iconvdata/iso646.c (ONE_DIRECTION): Define.
47392         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
47393         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
47394         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
47395         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
47396         * iconvdata/johab.c (ONE_DIRECTION): Define.
47397         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
47398         * iconvdata/sjis.c (ONE_DIRECTION): Define.
47399         * iconvdata/t.61.c (ONE_DIRECTION): Define.
47400         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
47401         * iconvdata/tscii.c (ONE_DIRECTION): Define.
47402         * iconvdata/uhc.c (ONE_DIRECTION): Define.
47403         * iconvdata/unicode.c (ONE_DIRECTION): Define.
47404         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
47405         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
47406         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
47408 2014-05-01  Roland McGrath  <roland@hack.frob.com>
47410         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
47411         (_IO_JUMPS_OFFSET): Define to 0.
47413         * nptl/sysdeps/pthread/bits/libc-lock.h
47414         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
47415         (__libc_lock_define_initialized_recursive): Always define using
47416         initializer.  Modern compilers treat uninitialized (implicit zero) and
47417         explicit zero initializers the same (i.e. put the datum in bss).
47419 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47421         * nscd/nscd-client.h: Include <string.h>.
47423 2014-05-01  David S. Miller  <davem@davemloft.net>
47425         [BZ #16885]
47426         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
47427         multiple zero bytes exist at the end of a string.
47428         Reported by Aurelien Jarno <aurelien@aurel32.net>
47430         * string/test-strcmp.c (check): Add explicit test for situations where
47431         there are multiple zero bytes after the first.
47433 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
47435         [BZ #16890]
47436         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
47437         when compiling wprintf.
47438         * stdio-common/tstdiomisc.c (t3): New function.
47439         (main): Call it.
47441 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47443         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
47444         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
47445         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
47446         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
47448 2014-05-01  Steve Ellcey  <sellcey@mips.com>
47450         * stdlib/longlong.h: Updated from GCC.
47452 2014-05-01  Will Newton  <will.newton@linaro.org>
47453             Bernard Ogden  <bernie.ogden@linaro.org>
47455         * NEWS: Update fixed bug list.
47457         [BZ #15119]
47458         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
47460 2014-04-30  David S. Miller  <davem@davemloft.net>
47462         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
47463         (libc_feholdexcept_setround_sparc_ctx): New function.
47464         (libc_fesetenv_sparc_ctx): Likewise.
47465         (libc_feupdateenv_sparc_ctx): Likewise.
47466         (libc_feholdsetround_sparc_ctx): Likewise.
47467         (libc_feholdexcept_setround_ctx): Define.
47468         (libc_feholdexcept_setroundf_ctx): Likewise.
47469         (libc_feholdexcept_setroundl_ctx): Likewise.
47470         (libc_fesetenv_ctx): Likewise.
47471         (libc_fesetenvf_ctx): Likewise.
47472         (libc_fesetenvl_ctx): Likewise.
47473         (libc_feupdateenv_ctx): Likewise.
47474         (libc_feupdateenvf_ctx): Likewise.
47475         (libc_feupdateenvl_ctx): Likewise.
47476         (libc_feresetround_ctx): Likewise.
47477         (libc_feresetroundf_ctx): Likewise.
47478         (libc_feresetroundl_ctx): Likewise.
47479         (libc_feholdsetround_ctx): Likewise.
47480         (libc_feholdsetroundf_ctx): Likewise.
47481         (libc_feholdsetroundl_ctx): Likewise.
47483         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47484         with __USE_GNU instead of XOPEN cpp guards.
47486         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
47487         0.
47489         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
47490         with XOPEN cpp guards.
47492 2014-04-30  Julian Brown  <julian@codesourcery.com>
47494         [BZ #16888]
47495         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
47496         handling.
47498 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
47500         [BZ #9894]
47501         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
47502         Change to 2.6.32.
47503         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
47504         * sysdeps/unix/sysv/linux/configure: Regenerated.
47505         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
47506         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
47507         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
47508         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
47509         * README: Update reference to required Linux kernel version.
47510         * manual/install.texi (Linux): Update reference to required Linux
47511         kernel headers version.
47512         * INSTALL: Regenerated.
47514         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
47515         header inclusion.
47516         [POSIX] (limits.h): Likewise.
47517         [POSIX] (math.h): Likewise.
47518         [POSIX] (sys/wait.h): Likewise.
47519         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
47520         function.
47521         [POSIX] (stddef.h): Do not allow header inclusion.
47523 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47525         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
47527 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
47529         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
47530         Return immediately after lll_futex_wake.
47532 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47534         [BZ #16791]
47535         * nscd/nscd-client.h (datahead_init_common): Initialize entire
47536         structure.
47537         (datahead_init_pos): Call datahead_init_common early.
47538         (datahead_init_neg): Likewise.
47540         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
47541         datahead_init_neg): New functions.
47542         * nscd/aicache.c (addhstaiX): Use them.
47543         * nscd/grpcache.c (cache_addgr): Likewise.
47544         * nscd/hstcache.c (cache_addhst): Likewise.
47545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47546         * nscd/netgroupcache.c (do_notfound): Likewise.
47547         (addgetnetgrentX): Likewise.
47548         (addinnetgrX): Likewise.
47549         * nscd/pwdcache.c (cache_addpw): Likewise.
47550         * nscd/servicescache.c (cache_addserv): Likewise.
47552 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47553             Atsushi Onoe  <atsushi@onoe.org>
47555         [BZ #14308]
47556         [BZ #12994]
47557         [BZ #13651]
47558         * resolv/res_query.c (__libc_res_nsearch): Return if at least
47559         one response is valid.
47560         * resolv/res_send.c (send_dg): Check for validity of other
47561         response if the current response is a referral.
47563 2014-04-29  Steve Ellcey  <sellcey@mips.com>
47565         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
47567 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
47569         [BZ #16823]
47570         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
47571         Always divide by positive zero when computing -Inf result.
47572         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47573         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
47575 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47577         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
47578         FPSCR if value do not change.
47579         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
47580         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
47581         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
47582         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47583         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
47584         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
47585         function.
47587 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
47589         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
47590         * sysdeps/unix/sysv/linux/hppa: Move directory from
47591         ports/systeps/unix/sysv/linux/hppa.
47592         * README: Update listing for hppa-*-linux-gnu.
47594 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
47596         [BZ #16754]
47597         * manual/stdio.texi (Hook functions): Fix types of stream hook
47598         functions.
47599         [BZ #16854]
47600         * socket/sys/socket.h: Fix typo in comment.
47602 2014-04-28  Wilco  <wdijkstr@arm.com>
47604         * sysdeps/arm/fenv_private.h: New file.
47605         * sysdeps/arm/math_private.h: New file.
47606         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
47608 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
47610         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
47611         with __int128_t.
47612         (La_x86_64_retval): Likewise.
47614 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
47616         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
47617         fpsr if value didn't change.
47618         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
47619         to fpcr if value didn't change.
47620         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
47621         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
47622         fpsr or fpcr if value didn't change.
47623         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
47624         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
47625         fpcr if value didn't change.
47626         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
47627         to fpsr if value didn't change.
47629 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47631         * nptl/tst-sem3.c: Use test-skeleton.c
47632         (main): Rename to do_test.  Use return instead of
47633         exit.
47634         * nptl/tst-sem4.c: Use test-skeleton.c
47635         (main): Rename to do_test.
47637 2014-04-22  David S. Miller  <davem@davemloft.net>
47639         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
47640         (struct sigaction): New struct member __glibc_reserved0, change
47641         type of sa_flags to int.
47643 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
47645         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
47646         (COUNT_LEADING_ZEROS_0): Define for AArch64.
47648 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47650         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
47651         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
47653 2014-04-22  Will Newton  <will.newton@linaro.org>
47654             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
47656         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
47657         (__longjmp): Add longjmp and longjmp_target SystemTap
47658         probes.
47659         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
47660         (__sigsetjmp): Add setjmp SystemTap probe.
47662 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
47664         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
47665         match manual order.
47667 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47669         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
47671         * sysdeps/powerpc/fpu/fenv_private.h
47672         (libc_feholdexcept_setroundl_ctx): Define to
47673         libc_feholdexcept_setround_ppc_ctx.
47674         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
47675         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
47676         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
47677         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
47679 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47681         * sysdeps/aarch64/math-tests.h: New file.
47683 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
47685         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
47686         New.
47687         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47688         Check and set bit_AVX2_Usable.
47689         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
47690         macro.
47691         (bit_AVX2): Likewise.
47692         (index_AVX2_Usable): Likewise.
47693         (CPUID_AVX2): Likewise.
47694         (HAS_AVX2): Likewise.
47696 2014-04-17  Will Newton  <will.newton@linaro.org>
47698         * manual/setjmp.texi (System V contexts): Add note that
47699         calling setcontext on a context created by a call to a
47700         signal handler is undefined.  Update text to note that
47701         setcontext from a signal handler is possible but not
47702         recommended.
47704         [BZ #16629]
47705         * stdlib/tst-setcontext.c: Include signal.h.
47706         (main): Check that the signal stack before and
47707         after swapcontext is the same.
47709         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
47710         Re-implement to restore registers in user code and avoid
47711         rt_sigreturn system call.
47713 2014-04-17  Wilco  <wdijkstr@arm.com>
47715         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
47716         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
47717         * math/test-fenv.c: Skip exception trap tests on targets which only
47718         support non-stop mode.
47720 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
47721             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47723         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
47724         (libc_feholdsetround_aarch64_ctx)
47725         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
47726         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
47727         (libc_feresetround_ctx, libc_feresetroundf_ctx)
47728         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
47729         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
47730         (libc_feresetround_noexl_ctx): Define.
47732 2014-04-16  Richard Henderson  <rth@redhat.com>
47734         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
47736         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
47737         unwind tables.
47739         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
47740         const from the non-libc, non-ldso copy.
47742         * sysdeps/alpha/libm-test-ulps: Regenerate.
47744 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
47745             Wilco Dijkstra  <wilco.dijkstra@arm.com>
47747         * sysdeps/aarch64/fpu/math_private.h: New file.
47749 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47751         * sysdeps/aarch64/libm-test-ulps: Regenerate.
47753 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
47755         [BZ #16275]
47756         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
47757         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
47758         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
47759         Intel MPX bound registers before _dl_profile_fixup.
47760         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
47761         registers after _dl_profile_fixup.  Save and restore bound
47762         registers bnd0/bnd1 when calling _dl_call_pltexit.
47763         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
47764         (LR_BND_OFFSET): Likewise.
47765         (LRV_BND0_OFFSET): Likewise.
47766         (LRV_BND1_OFFSET): Likewise.
47768 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47770         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
47771         to...
47772         * sysdeps/mach/hurd/i386/tls.h: ... here.
47773         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
47774         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
47775         fields.
47777 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47779         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
47781 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47783         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47785 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
47787         [BZ #14770]
47788         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
47789         * sysdeps/s390/configure: Regenerate.
47791         [BZ #16824]
47792         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
47793         Set round-to-nearest internally to reduce error accumulation.
47795 2014-04-16  Alan Modra  <amodra@gmail.com>
47797         [BZ #16740]
47798         [BZ #16619]
47799         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
47800         * math/libm-test.inc (frexp_test_data): Add tests.
47801         * NEWS: Update fixed bug list.
47803 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47805         * benchtests/Makefile: Depend on libraries in build directory.
47806         (bench-math): Separate out math tests.
47807         (bench-pthread): Separate out pthread tests.
47808         (bench): Include math and pthread tests.
47810 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
47812         [BZ #16831]
47813         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
47814         _dl_debug_initialize.
47816         * configure.ac: Remove SELinux header check.
47817         * configure: Regenerate.
47818         * nscd/selinux.c (perms): Array of const char* to permission names.
47819         (nscd_request_avc_has_perm): Call security_deny_unknown to find
47820         default policy. Call string_to_security_class and string_to_av_perm to
47821         translate strings. Enforce default policy and call avs_has_perm with
47822         results of translated strings.
47824 2014-04-13  David S. Miller  <davem@davemloft.net>
47826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47828 2014-04-12  Allan McRae  <allan@archlinux.org>
47830         [BZ #16838]
47831         * manual/string.texi (Collation Functions): Fix qsort argument
47832         order in example.
47833         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47835 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
47837         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
47838         Make the test a no-op if there are no exceptions defined.
47840 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
47842         * elf/Makefile (tests): make tst-dlopen-aout conditional on
47843         enable-hardcoded-path-in-tests
47845 2014-04-11  Will Newton  <will.newton@linaro.org>
47847         * benchtests/Makefile (extra-objs): Add json-lib.o.
47848         (bench-func): Tidy up JSON output.
47849         * benchtests/bench-skeleton.c: Include json-lib.h.
47850         (main): Use JSON library functions to do output of
47851         benchmark results.
47852         * benchtests/bench-timing-type.c (main): Output the
47853         timing type simply, leaving formatting to the user.
47854         * benchtests/json-lib.c: New file.
47855         * benchtests/json-lib.h: Likewise.
47857 2014-04-11  Torvald Riegel  <triegel@redhat.com>
47859         [BZ #15215]
47860         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
47861         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
47862         memory barriers.  Add comments.
47863         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
47864         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
47865         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
47866         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
47867         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
47868         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
47870 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47872         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
47873         * sysdeps/s390/s390-64/configure.ac: ... this ...
47874         * sysdeps/s390/configure.ac: ... to here.
47875         * sysdeps/s390/s390-32/configure: Delete file.
47876         * sysdeps/s390/s390-64/configure: Delete file.
47877         * sysdeps/s390/configure: Regenerate.
47879 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
47881         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
47883 2014-04-11  Will Newton  <will.newton@linaro.org>
47885         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
47886         to zero if it is not defined elsewhere.  (mtrim): Test
47887         the value of MALLOC_DEBUG with #if rather than #ifdef.
47889 2014-04-10 Torvald Riegel  <triegel@redhat.com>
47891         * benchtests/pthread_once-inputs: New file.
47892         * benchtests/pthread_once-source.c: New file.
47893         * benchtests/README: Update documentation.
47895 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
47896             H.J. Lu  <hongjiu.lu@intel.com>
47898         [BZ #16275]
47899         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
47900         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
47901         * sysdeps/x86_64/configure: Regenerated.
47902         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
47903         macro.
47904         (REGISTER_SAVE_RAX): Likewise.
47905         (REGISTER_SAVE_RCX): Likewise.
47906         (REGISTER_SAVE_RDX): Likewise.
47907         (REGISTER_SAVE_RSI): Likewise.
47908         (REGISTER_SAVE_RDI): Likewise.
47909         (REGISTER_SAVE_R8): Likewise.
47910         (REGISTER_SAVE_R9): Likewise.
47911         (REGISTER_SAVE_BND0): Likewise.
47912         (REGISTER_SAVE_BND1): Likewise.
47913         (REGISTER_SAVE_BND2): Likewise.
47914         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
47915         bound registers when calling _dl_fixup.
47917 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47919         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
47920         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
47921         of its definition.
47922         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
47923         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
47924         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
47925         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
47926         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
47927         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
47928         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
47930 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
47932         [BZ #15514]
47933         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
47934         pathconf(_PC_NAME_MAX).
47936 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47938         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
47939         Remove macro usage.
47940         (__PTHREAD_SPINS): Move definition to ...
47941         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
47942         (__PTHREAD_SPINS): ... here.
47943         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
47944         (__PTHREAD_SPIN): Likewise.
47945         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
47946         (__PTHREAD_SPIN): Likewise.
47947         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
47948         (__PTHREAD_SPIN): Likewise.
47949         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
47950         (__PTHREAD_SPIN): Likewise.
47951         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47952         (__PTHREAD_SPIN): Likewise.
47953         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47954         (__PTHREAD_SPIN): Likewise.
47955         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
47956         (__PTHREAD_SPIN): Likewise.
47957         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47958         (__PTHREAD_SPIN): Likewise.
47959         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47960         (__PTHREAD_SPIN): Likewise.
47961         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47962         (__PTHREAD_SPIN): Likewise.
47963         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47964         (__PTHREAD_SPIN): Likewise.
47965         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
47966         (__PTHREAD_SPIN): Likewise.
47968         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
47969         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
47970         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
47971         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
47972         imply folder.
47973         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
47974         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
47975         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
47976         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
47977         correct imply path.
47978         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
47979         strlen symbol for non multi-arch builds.
47980         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
47981         missing hidden_def and weak_alias.
47983 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
47985         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
47987 2014-04-07  Will Newton  <will.newton@linaro.org>
47989         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
47990         and contents.  [!_LIBC] Remove #ifndef and contents.
47991         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
47992         * string/memccpy.c (__memccpy): Use ANSI prototype.
47993         * string/memfrob.c (memfrob): Likewise.
47994         * string/strcoll.c (STRCOLL): Likewise.
47995         * string/strlen.c (strlen): Likewise.
47996         * string/strtok.c (STRTOK): Likewise.
47997         * string/strcat.c: Remove unused #include of memcopy.h.
47998         (strcat): Use ANSI prototype.
47999         * string/strchr.c: Remove unused #include of memcopy.h.
48000         (strchr): Use ANSI prototype.
48001         * string/strcmp.c: Remove unused #include of memcopy.h.
48002         (strcmp): Use ANSI prototype.
48003         * string/strcpy.c: Remove unused #include of memcopy.h.
48004         (strcpy): Use ANSI prototype.
48006 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48008         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
48009         * config.make.in (config-extra-cppflags): Set it from
48010         libc_extra_cppflags.
48011         * configure.ac (libc_extra_cflags): Make it accumulate over
48012         configure fragments.
48013         (libc_extra_cppflags): New flag.
48014         * configure. Regenerate.
48015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
48016         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
48017         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
48018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
48020         [BZ #16815]
48021         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
48022         result for FE_DOWNWARD rounding mode.
48023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
48024         Likewise.
48025         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48027 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
48029         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
48030         in function argument name.
48032 2014-04-03  David Svoboda  <svoboda@cert.org>
48034         [BZ #5666]
48035         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
48036         explicitly.
48038 2014-04-03  Roland McGrath  <roland@hack.frob.com>
48040         * elf/dl-unmap-segments.h: New file.
48041         * sysdeps/generic/ldsodefs.h
48042         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
48043         * elf/dl-close.c: Include <dl-unmap-segments.h>.
48044         * elf/dl-fptr.c: Likewise.
48045         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
48046         * sysdeps/aarch64/tlsdesc.c: Likewise.
48047         * sysdeps/arm/tlsdesc.c: Likewise.
48048         * sysdeps/i386/tlsdesc.c: Likewise.
48049         * sysdeps/tile/dl-runtime.c: Likewise.
48050         * sysdeps/x86_64/tlsdesc.c: Likewise.
48051         * elf/dl-load.h: New file.
48052         * elf/dl-load.c: Include it.
48053         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
48054         Macros moved to dl-load.h.
48055         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
48056         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
48057         Use _dl_unmap_segments in place of __munmap.
48058         Break out segment-mapping loop into ...
48059         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
48061 2014-04-03  Will Newton  <will.newton@linaro.org>
48063         * elf/dl-lookup.c (do_lookup_x): Remove comment
48064         referring to nested function and move variable
48065         declarations down to before first use.
48067 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
48069         [BZ #16799]
48070         [BZ #16800]
48071         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
48072         with 0 numerator.
48073         * math/s_catanf.c (__catanf): Likewise.
48074         * math/s_catanh.c (__catanh): Likewise.
48075         * math/s_catanhf.c (__catanhf): Likewise.
48076         * math/s_catanhl.c (__catanhl): Likewise.
48077         * math/s_catanl.c (__catanl): Likewise.
48078         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
48079         by positive zero when computing -Inf result.
48080         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
48081         (catanh_test): Likewise.
48082         * sysdeps/i386/fpu/libm-test-ulps: Update.
48083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48085         [BZ #16789]
48086         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
48087         instead of using underflowing value in computing result.
48088         * math/s_clog10.c (__clog10): Likewise.
48089         * math/s_clog10f.c (__clog10f): Likewise.
48090         * math/s_clog10l.c (__clog10l): Likewise.
48091         * math/s_clogf.c (__clogf): Likewise.
48092         * math/s_clogl.c (__clogl): Likewise.
48093         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
48094         (clog10_test): Likewise.
48095         * sysdeps/i386/fpu/libm-test-ulps: Update.
48096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48098 2014-04-02  Alan Modra  <amodra@gmail.com>
48100         [BZ #16739]
48101         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
48102         output when value is near a power of two.  Use int64_t for lx and
48103         remove casts.  Use decimal rather than hex exponent constants.
48104         Don't use long double multiplication when double will suffice.
48105         * math/libm-test.inc (nextafter_test_data): Add tests.
48106         * NEWS: Add 16739 and 16786 to bug list.
48108         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
48110         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
48112 2014-04-01  Will Newton  <will.newton@linaro.org>
48114         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
48115         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
48117 2014-04-01  Florian Weimer  <fweimer@redhat.com>
48119         [BZ #13347]
48120         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
48121         * nptl/tst-setuid2.c: New file.
48122         * nptl/Makefile (xtests): Add tst-setuid2.
48124 2014-04-01  Alan Modra  <amodra@gmail.com>
48126         [BZ #16786]
48127         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
48129 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48131         [BZ #6803]
48132         [BZ #6804]
48133         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
48134         set errno as appropriate.
48135         * math/w_scalbf.c (__scalbf): Likewise.
48136         * math/w_scalbl.c (__scalbl): Likewise.
48137         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
48138         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
48139         * math/libm-test.inc (scalb_test_data): Add errno expectations.
48140         Add more NaN tests.
48142         [BZ #16349]
48143         * math/w_atan2.c: Include <errno.h>.
48144         (__atan2): Set errno for result underflowing to zero.
48145         * math/w_atan2f.c: Include <errno.h>.
48146         (__atan2f): Set errno for result underflowing to zero.
48147         * math/w_atan2l.c: Include <errno.h>.
48148         (__atan2l): Set errno for result underflowing to zero.
48149         * math/auto-libm-test-in: Don't allow missing errno for some atan2
48150         tests.
48151         * math/auto-libm-test-out: Regenerated.
48153 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48155         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
48156         Encode instruction correctly in little endian.
48157         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
48158         Likewise.
48159         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
48160         Likewise.
48161         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
48162         Likewise.
48163         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
48164         Likewise.
48166 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
48168         [BZ #9894]
48169         * sysdeps/unix/sysv/linux/kernel-features.h
48170         [__sparc__ && !__arch64__ && !__sparc_v9__]
48171         (__ASSUME_SET_ROBUST_LIST): Do not define.
48172         [__sparc__ && !__arch64__ && !__sparc_v9__]
48173         (__ASSUME_FUTEX_LOCK_PI): Likewise.
48174         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
48175         Likewise.
48176         * sysdeps/unix/sysv/linux/arm/kernel-features.h
48177         (__ASSUME_FUTEX_LOCK_PI): Undefine.
48178         (__ASSUME_REQUEUE_PI): Likewise.
48179         (__ASSUME_SET_ROBUST_LIST): Likewise.
48180         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
48181         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
48182         Undefine.
48183         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48184         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
48185         Likewise.
48186         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
48187         Likewise.
48188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
48189         Likewise.
48190         * sysdeps/unix/sysv/linux/mips/kernel-features.h
48191         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
48192         Undefine.
48193         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
48194         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
48195         Likewise.
48197         [BZ #16648]
48198         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48199         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
48200         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
48202 2014-03-31  Will Newton  <will.newton@linaro.org>
48204         * benchtests/Makefile (bench): Add ffs and ffsll to list
48205         of tests.
48206         * benchtests/ffs-inputs: New file.
48207         * benchtests/ffsll-inputs: Likewise.
48209 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
48211         [BZ #16770]
48212         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
48213         too large before casting to int.
48214         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
48215         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
48216         * math/libm-test.inc (scalb_test_data): Add more tests.
48218 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48220         * benchtests/Makefile (DETAILED_OPT): New make option.
48221         (bench-func): Run benchmark program with -d if DETAILED_OPT is
48222         set.
48223         * benchtests/bench-skeleton.c: Include stdbool.h.
48224         (main): Store and print timings per input.
48225         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
48226         member to each argument value.
48227         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
48228         (_print_arg_data): Initialize per-input timing to 0.
48230         * benchtests/Makefile (timing-type): New binary.
48231         (bench-clean): Also remove bench-timing-type.
48232         (bench): New target for timing-type.
48233         (bench-func): Print output in JSON format.
48234         * benchtests/bench-skeleton.c (main): Print output in JSON
48235         format.
48236         * benchtests/bench-timing-type.c: New file.
48237         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
48238         (TIMING_PRINT_STATS): Remove.
48239         * benchtests/scripts/bench.py (_print_arg_data): Store variant
48240         name separately.
48242         * benchtests/bench-modf.c: Remove.
48243         * benchtests/modf-inputs: New inputs file.
48245 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
48247         [BZ #16362]
48248         * math/s_clog10.c (M_PI_LOG10E): New macro.
48249         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
48250         imaginary parts are 0.
48251         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
48252         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
48253         imaginary parts are 0.
48254         * math/s_clog10l.c (M_PI_LOG10El): New macro.
48255         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
48256         imaginary parts are 0.
48257         * math/libm-test.inc (clog10_test_data): Update expected results
48258         for when real and imaginary parts are 0.
48260 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
48262         * elf/dl-load.c: Finish conversion of __builtin_expect into
48263         __glibc_{un}likely.
48265 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
48267         [BZ #16348]
48268         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
48269         1+x for argument with exponent below -67.
48270         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
48271         Likewise.
48272         * math/auto-libm-test-in: Add more tests of exp.
48273         * math/auto-libm-test-out: Regenerated.
48275 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48277         [BZ #16759]
48278         * inet/getnetgrent_r.c (get_nonempty_val): New function.
48279         (nscd_getnetgrent): Use it.
48281         [BZ #16760]
48282         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
48283         of stpcpy.
48285 2014-03-27  Andi Kleen  <ak@linux.intel.com>
48287         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
48288         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48289         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48290         (lll_robust_unlock): Remove out of line section. Use cfi
48291         intrinsics.
48292         (LLL_STUB_UNWIND_INFO*): Remove.
48293         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
48294         (lll_robust_lock, lll_cond_lock, lll_timedlock)
48295         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
48296         (lll_robust_unlock): Remove out of line section. Use cfi
48297         intrinsics.
48298         (LLL_STUB_UNWIND_INFO*): Remove.
48300 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48302         [BZ #16758]
48303         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
48304         blank values.
48306 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
48308         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
48310 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
48312         [BZ #16198]
48313         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
48314         fnstenv.
48315         * math/test-fenv-preserve.c: New file.
48316         * math/Makefile (tests): Add test-fenv-preserve.
48318 2014-03-26  Will Newton <will.newton@linaro.org>
48320         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
48322 2014-03-25  Roland McGrath  <roland@hack.frob.com>
48324         * scripts/versionlist.awk: Partition the version sets and emit all
48325         GLIBC_* (sorted) before all others (sorted).
48327 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48329         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
48330         GLIBC_2.2.5 version.
48332 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48334         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
48335         calls.
48337         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
48338         previous change.
48340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48342 2014-03-25  Andreas Schwab  <schwab@suse.de>
48344         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
48345         label to be used after in6ailist is initialized.
48347 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48349         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
48350         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48352 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
48354         [BZ #16357]
48355         [BZ #16599]
48356         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
48357         min_plus_half.
48358         (fp_formats): Update initializers.
48359         (init_fp_formats): Initialize new field.
48360         (output_for_one_input_case): Allow underflow for results up to
48361         min_plus_half.
48362         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
48363         * math/auto-libm-test-in: Don't mark some underflows from asin and
48364         atanh as spurious.
48365         * math/auto-libm-test-out: Regenerated.
48366         * sysdeps/i386/fpu/libm-test-ulps: Update.
48367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48369 2014-03-25  Andreas Schwab  <schwab@suse.de>
48371         * libio/Makefile (tst-ftell-partial-wide-ENV)
48372         (tst-ftell-active-handler-ENV): Define.
48374 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
48376         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
48378 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48380         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
48382 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48384         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
48385         * sysdeps/x86_64/fpu/multiarch/e_exp.c
48386         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
48388 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
48390         [BZ #16634]
48391         * elf/dl-load.c (open_verify): Add mode parameter.
48392         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
48393         (open_path): Change from boolean 'secure' to complete flag 'mode'
48394         (_dl_map_object): Adjust.
48395         * elf/Makefile (tests): Add tst-dlopen-aout.
48396         * elf/tst-dlopen-aout.c: New test.
48398 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
48400         [BZ #16714]
48401         * sysdeps/unix/sysv/linux/s390/bits/stat.h
48402         (struct stat): Rename member pad0 to __glibc_reserved0.
48404         [BZ #16712]
48405         * sysdeps/s390/s390-32/bits/wordsize.h
48406         (__WORDSIZE32_SIZE_ULONG): New define.
48407         * sysdeps/s390/s390-64/bits/wordsize.h
48408         (__WORDSIZE32_SIZE_ULONG): Likewise.
48409         * sysdeps/generic/stdint.h (SIZE_MAX):
48410         Define as UL if __WORDSIZE32_SIZE_ULONG.
48412         [BZ #16713]
48413         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
48414         (__glibc_reserved0): New variable.
48415         (sa_flags): Change type to int.
48417         * posix/Makefile (before-compile): Use += before-compile instead
48418         of a :=.
48420         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
48421         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
48423 2014-03-20  Andreas Schwab  <schwab@suse.de>
48425         [BZ #16743]
48426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
48427         non-matching result from nscd.
48429 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48431         * scripts/bench.py: Moved to ...
48432         * benchtests/scripts/bench.py: ... here.
48433         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
48435 2014-03-24  Andreas Schwab  <schwab@suse.de>
48437         [BZ #16002]
48438         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
48439         alloca_account and account alloca use for struct in6ailist.
48441 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
48443         [BZ #16284]
48444         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
48445         rounding mode to recompute results that overflow to infinity or
48446         underflow to zero.
48447         * math/auto-libm-test-in: Don't mark tests as expected to fail for
48448         bug 16284.
48449         * math/auto-libm-test-out: Regenerated.
48450         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
48451         (ccosh_test): Likewise.
48452         (csin_test_data): Use plus_oflow.
48453         (csin_test): Use ALL_RM_TEST.
48454         (csinh_test_data): Use plus_oflow.
48455         (csinh_test): Use ALL_RM_TEST.
48456         * sysdeps/i386/fpu/libm-test-ulps: Update.
48457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48459 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
48461         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
48462         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
48463         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
48465         [BZ #16731]
48466         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
48467         when x - 1 is zero.
48468         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
48469         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
48470         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
48471         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
48472         argument is 1.
48473         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
48474         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
48475         zero.
48476         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
48477         * sysdeps/i386/fpu/libm-test-ulps: Update.
48478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48480 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48482         * scripts/bench.pl: Remove file.
48483         * scripts/bench.py: New benchmark script.
48484         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
48485         * benchtests/README: Mention python dependency.
48486         * scripts/pylintrc: New file.
48487         * scripts/pylint: New file.
48489         * bits/mathdef.h: Use #ifdef instead of #if.
48490         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
48491         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48492         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
48493         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48494         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
48495         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
48497 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48498             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48500         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
48501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
48502         and strpbrk-ppc64 objects.
48503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48504         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
48505         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
48506         multiarch strpbrk for POWER7.
48507         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
48508         multiarch strpbrk for PPC64.
48509         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
48510         ifunc selector.
48511         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
48512         strpbrk for POWER7.
48514 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48516         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
48517         (atan_test): Likewise.
48518         (atanh_test_data): Use NO_TEST_INLINE for two tests.
48519         (atanh_test): Use ALL_RM_TEST.
48520         (atan2_test_data): Likewise.
48521         (cabs_test): Likewise.
48522         (cacosh_test): Likewise.
48523         (carg_test): Likewise.
48524         (casin_test): Likewise.
48525         (casinh_test): Likewise.
48526         (cbrt_test): Likewise.
48527         (csqrt_test): Likewise.
48528         (erf_test): Likewise.
48529         (erfc_test): Likewise.
48530         (pow10_test): Likewise.
48531         (exp2_test): Likewise.
48532         (hypot_test): Likewise.
48533         (j0_test): Likewise.
48534         (j1_test): Likewise.
48535         (lgamma_test): Likewise.
48536         (gamma_test): Likewise.
48537         (sincos_test): Likewise.
48538         (tanh_test): Likewise.
48539         (y0_test): Likewise.
48540         (y1_test): Likewise.
48541         * sysdeps/i386/fpu/libm-test-ulps: Update.
48542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48544 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48546         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
48547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
48548         and strcspn-ppc64 objects.
48549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48550         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
48551         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
48552         multiarch strcspn for POWER7.
48553         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
48554         multiarch strcspn for PPC64.
48555         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
48556         ifunc selector.
48557         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
48558         strcspn for POWER7.
48560 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
48562         * math/gen-libm-test.pl (generate_testfile): Expect only function
48563         name as argument to AUTO_TESTS_* and pass results for all rounding
48564         modes to parse_args.
48565         (parse_auto_input): Separate inputs of automatic tests from
48566         outputs before storing in %auto_tests.
48567         * math/libm-test.inc (acos_test_data): Update call to
48568         AUTO_TESTS_f_f.
48569         (acos_test): Use ALL_RM_TEST.
48570         (acos_tonearest_test_data): Remove.
48571         (acos_test_tonearest): Likewise.
48572         (acos_towardzero_test_data): Likewise.
48573         (acos_test_towardzero): Likewise.
48574         (acos_downward_test_data): Likewise.
48575         (acos_test_downward): Likewise.
48576         (acos_upward_test_data): Likewise.
48577         (acos_test_upward): Likewise.
48578         (acosh_test_data): Update call to AUTO_TESTS_f_f.
48579         (asin_test_data): Likewise.
48580         (asin_test): Use ALL_RM_TEST.
48581         (asin_tonearest_test_data): Remove.
48582         (asin_test_tonearest): Likewise.
48583         (asin_towardzero_test_data): Likewise.
48584         (asin_test_towardzero): Likewise.
48585         (asin_downward_test_data): Likewise.
48586         (asin_test_downward): Likewise.
48587         (asin_upward_test_data): Likewise.
48588         (asin_test_upward): Likewise.
48589         (asinh_test_data): Update call to AUTO_TESTS_f_f.
48590         (atan_test_data): Likewise.
48591         (atanh_test_data): Likewise.
48592         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
48593         (cabs_test_data): Update call to AUTO_TESTS_c_f.
48594         (carg_test_data): Likewise.
48595         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
48596         (ccos_test_data): Update call to AUTO_TESTS_c_c.
48597         (ccosh_test_data): Likewise.
48598         (cexp_test_data): Likewise.
48599         (clog_test_data): Likewise.
48600         (clog10_test_data): Likewise.
48601         (cos_test_data): Update call to AUTO_TESTS_f_f.
48602         (cos_test): Use ALL_RM_TEST.
48603         (cos_tonearest_test_data): Remove.
48604         (cos_test_tonearest): Likewise.
48605         (cos_towardzero_test_data): Likewise.
48606         (cos_test_towardzero): Likewise.
48607         (cos_downward_test_data): Likewise.
48608         (cos_test_downward): Likewise.
48609         (cos_upward_test_data): Likewise.
48610         (cos_test_upward): Likewise.
48611         (cosh_test_data): Update call to AUTO_TESTS_f_f.
48612         (cosh_test): Use ALL_RM_TEST.
48613         (cosh_tonearest_test_data): Remove.
48614         (cosh_test_tonearest): Likewise.
48615         (cosh_towardzero_test_data): Likewise.
48616         (cosh_test_towardzero): Likewise.
48617         (cosh_downward_test_data): Likewise.
48618         (cosh_test_downward): Likewise.
48619         (cosh_upward_test_data): Likewise.
48620         (cosh_test_upward): Likewise.
48621         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
48622         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
48623         (ctan_test_data): Likewise.
48624         (ctan_test): Use ALL_RM_TEST.
48625         (ctan_tonearest_test_data): Remove.
48626         (ctan_test_tonearest): Likewise.
48627         (ctan_towardzero_test_data): Likewise.
48628         (ctan_test_towardzero): Likewise.
48629         (ctan_downward_test_data): Likewise.
48630         (ctan_test_downward): Likewise.
48631         (ctan_upward_test_data): Likewise.
48632         (ctan_test_upward): Likewise.
48633         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
48634         (ctanh_test): Use ALL_RM_TEST.
48635         (ctanh_tonearest_test_data): Remove.
48636         (ctanh_test_tonearest): Likewise.
48637         (ctanh_towardzero_test_data): Likewise.
48638         (ctanh_test_towardzero): Likewise.
48639         (ctanh_downward_test_data): Likewise.
48640         (ctanh_test_downward): Likewise.
48641         (ctanh_upward_test_data): Likewise.
48642         (ctanh_test_upward): Likewise.
48643         (erf_test_data): Update call to AUTO_TESTS_f_f.
48644         (erfc_test_data): Likewise.
48645         (exp_test_data): Likewise.
48646         (exp_test): Use ALL_RM_TEST.
48647         (exp_tonearest_test_data): Remove.
48648         (exp_test_tonearest): Likewise.
48649         (exp_towardzero_test_data): Likewise.
48650         (exp_test_towardzero): Likewise.
48651         (exp_downward_test_data): Likewise.
48652         (exp_test_downward): Likewise.
48653         (exp_upward_test_data): Likewise.
48654         (exp_test_upward): Likewise.
48655         (exp10_test_data): Update call to AUTO_TESTS_f_f.
48656         (exp10_test): Use ALL_RM_TEST.
48657         (exp10_tonearest_test_data): Remove.
48658         (exp10_test_tonearest): Likewise.
48659         (exp10_towardzero_test_data): Likewise.
48660         (exp10_test_towardzero): Likewise.
48661         (exp10_downward_test_data): Likewise.
48662         (exp10_test_downward): Likewise.
48663         (exp10_upward_test_data): Likewise.
48664         (exp10_test_upward): Likewise.
48665         (exp2_test_data): Update call to AUTO_TESTS_f_f.
48666         (expm1_test_data): Likewise.
48667         (expm1_test): Use ALL_RM_TEST.
48668         (expm1_tonearest_test_data): Remove.
48669         (expm1_test_tonearest): Likewise.
48670         (expm1_towardzero_test_data): Likewise.
48671         (expm1_test_towardzero): Likewise.
48672         (expm1_downward_test_data): Likewise.
48673         (expm1_test_downward): Likewise.
48674         (expm1_upward_test_data): Likewise.
48675         (expm1_test_upward): Likewise.
48676         (fma_test_data): Update call to AUTO_TESTS_fff_f.
48677         (fma_test): Use ALL_RM_TEST.
48678         (fma_towardzero_test_data): Remove.
48679         (fma_test_towardzero): Likewise.
48680         (fma_downward_test_data): Likewise.
48681         (fma_test_downward): Likewise.
48682         (fma_upward_test_data): Likewise.
48683         (fma_test_upward): Likewise.
48684         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
48685         (j0_test_data): Update call to AUTO_TESTS_f_f.
48686         (j1_test_data): Likewise.
48687         (jn_test_data): Update call to AUTO_TESTS_if_f.
48688         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
48689         (log_test_data): Update call to AUTO_TESTS_f_f.
48690         (log10_test_data): Likewise.
48691         (log1p_test_data): Likewise.
48692         (log2_test_data): Likewise.
48693         (pow_test_data): Update call to AUTO_TESTS_ff_f.
48694         (pow_tonearest_test_data): Likewise.
48695         (sin_test_data): Update call to AUTO_TESTS_f_f.
48696         (sin_test): Use ALL_RM_TEST.
48697         (sin_tonearest_test_data): Remove.
48698         (sin_test_tonearest): Likewise.
48699         (sin_towardzero_test_data): Likewise.
48700         (sin_test_towardzero): Likewise.
48701         (sin_downward_test_data): Likewise.
48702         (sin_test_downward): Likewise.
48703         (sin_upward_test_data): Likewise.
48704         (sin_test_upward): Likewise.
48705         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
48706         (sinh_test_data): Update call to AUTO_TESTS_f_f.
48707         (sinh_test): Use ALL_RM_TEST.
48708         (sinh_tonearest_test_data): Remove.
48709         (sinh_test_tonearest): Likewise.
48710         (sinh_towardzero_test_data): Likewise.
48711         (sinh_test_towardzero): Likewise.
48712         (sinh_downward_test_data): Likewise.
48713         (sinh_test_downward): Likewise.
48714         (sinh_upward_test_data): Likewise.
48715         (sinh_test_upward): Likewise.
48716         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
48717         (sqrt_test): Use ALL_RM_TEST.
48718         (sqrt_tonearest_test_data): Remove.
48719         (sqrt_test_tonearest): Likewise.
48720         (sqrt_towardzero_test_data): Likewise.
48721         (sqrt_test_towardzero): Likewise.
48722         (sqrt_downward_test_data): Likewise.
48723         (sqrt_test_downward): Likewise.
48724         (sqrt_upward_test_data): Likewise.
48725         (sqrt_test_upward): Likewise.
48726         (tan_test_data): Update call to AUTO_TESTS_f_f.
48727         (tan_test): Use ALL_RM_TEST.
48728         (tan_tonearest_test_data): Remove.
48729         (tan_test_tonearest): Likewise.
48730         (tan_towardzero_test_data): Likewise.
48731         (tan_test_towardzero): Likewise.
48732         (tan_downward_test_data): Likewise.
48733         (tan_test_downward): Likewise.
48734         (tan_upward_test_data): Likewise.
48735         (tan_test_upward): Likewise.
48736         (tanh_test_data): Update call to AUTO_TESTS_f_f.
48737         (tgamma_test_data): Likewise.
48738         (y0_test_data): Likewise.
48739         (y1_test_data): Likewise.
48740         (yn_test_data): Update call to AUTO_TESTS_if_f.
48741         (main): Do not call removed functions.
48743 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48745         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
48746         (ldexp_test_data): Remove.
48747         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
48748         scalbn_test_data.
48749         (scalb_test): Use ALL_RM_TEST.
48751 2014-03-19  Andreas Schwab  <schwab@suse.de>
48753         * nscd/nscd.service: Also invalidate netgroup cache on reload.
48755 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
48757         [BZ #16649]
48758         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
48759         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
48760         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
48761         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48762         (__ASSUME_PREADV): Undefine.
48763         (__ASSUME_PWRITEV): Likewise.
48765 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48767         * bits/mman-linux.h: Add comment about non-Linux use.
48768         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
48769         bits/mman-linux.h resting place.
48771         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
48772         * bits/mman-linux.h: ... here.
48774 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48776         * conform/conformtest.pl: Add standard definition when calling C
48777         preprocessor on data files.
48778         (checknamespace): Remove unused variable.
48780 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48782         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
48783         minus_oflow, plus_uflow and minus_uflow in expected results.
48784         * math/libm-test.inc (scalbn_test_data): Add more tests of
48785         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
48786         minus_uflow.
48787         (scalbn_test): Use ALL_RM_TEST.
48788         (scalbln_test_data): Add more tests of negative arguments.  Use
48789         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
48790         (scalbln_test): Use ALL_RM_TEST.
48792 2014-03-18  Roland McGrath  <roland@hack.frob.com>
48794         * scripts/abilist.awk: Ignore symbols marked with .hidden.
48796 2014-03-18  Will Newton  <will.newton@linaro.org>
48798         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
48799         inaccurate comment.
48801 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
48803         * Makerules [!subdir] (check-abi): Exit with error status if a
48804         test failed.
48806 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48808         * math/libm-test.inc (nearbyint_test_data): Include all tests used
48809         for rint.  Include results for all rounding modes.
48810         (nearbyint_test): Use ALL_RM_TEST.
48811         (rint_test_data): Include all tests used for nearbyint.
48813 2014-03-17  Will Newton  <will.newton@linaro.org>
48815         * nptl/sysdeps/pthread/pthread.h: Revert previous
48816         change.
48818         * sysdeps/generic/ldsodefs.h: Revert previous
48819         change.
48821         * libio/genops.c: Revert previous change.
48822         * libio/libioP.h: Likewise.
48823         * stdio-common/vfprintf.c: Likewise.
48825         * sysdeps/generic/math_private.h: Revert previous
48826         change.
48828         * sysdeps/generic/math_private.h: Check whether
48829         HAVE_RM_CTX is defined with #ifdef rather
48830         than #if.
48832         * argp/argp-fmtstream.h: Check whether
48833         __STRICT_ANSI__ is defined with #ifdef rather
48834         than #if.
48835         * argp/argp.h: Likewise.
48837         * libio/genops.c: Check whether
48838         _IO_JUMPS_OFFSET is defined with #ifdef rather
48839         than #if.
48840         * libio/libioP.h: Likewise.
48841         * stdio-common/vfprintf.c: Likewise.
48843         * sysdeps/generic/ldsodefs.h: Check whether
48844         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
48845         than #if.
48847         * nptl/sysdeps/pthread/pthread.h: Check
48848         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
48849         its value.
48851 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48853         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
48854         setting O_APPEND.
48855         * libio/tst-ftell-active-handler.c (do_append_test): Add a
48856         test case.
48858         [BZ #16680]
48859         * libio/fileops.c (_IO_file_open): Seek to end of file but
48860         don't cache the offset.
48861         (get_file_offset): Remove function.
48862         (do_ftell): Use cached offset when available.
48863         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
48864         don't cache the offset.
48865         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
48866         case.
48867         (do_one_test): Call it.
48868         (do_ftell_test): Fix up expected old offset for a+ mode.
48869         * libio/wfileops.c (do_ftell_wide): Used cached offset when
48870         available.
48872         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
48873         up test status with function return status.
48874         (do_write_test): Likewise.
48875         (do_append_test): Likewise.
48877         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
48878         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
48879         Remove.
48881 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
48883         * math/gen-libm-test.pl (parse_args): Handle results specified for
48884         each rounding mode separately.
48885         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
48886         tests and results from lrint_tonearest_test_data,
48887         lrint_towardzero_test_data, lrint_downward_test_data and
48888         lrint_upward_test_data.
48889         (lrint_test): Use ALL_RM_TEST.
48890         (lrint_tonearest_test_data): Remove.
48891         (lrint_test_tonearest): Likewise.
48892         (lrint_towardzero_test_data): Likewise.
48893         (lrint_test_towardzero): Likewise.
48894         (lrint_downward_test_data): Likewise.
48895         (lrint_test_downward): Likewise.
48896         (lrint_upward_test_data): Likewise.
48897         (lrint_test_upward): Likewise.
48898         (llrint_test_data): Merge in per-rounding-mode tests and results
48899         from llrint_tonearest_test_data, llrint_towardzero_test_data,
48900         llrint_downward_test_data and llrint_upward_test_data.
48901         (llrint_test): Use ALL_RM_TEST.
48902         (llrint_tonearest_test_data): Remove.
48903         (llrint_test_tonearest): Likewise.
48904         (llrint_towardzero_test_data): Likewise.
48905         (llrint_test_towardzero): Likewise.
48906         (llrint_downward_test_data): Likewise.
48907         (llrint_test_downward): Likewise.
48908         (llrint_upward_test_data): Likewise.
48909         (llrint_test_upward): Likewise.
48910         (rint_test_data): Merge in per-rounding-mode tests and results
48911         from rint_tonearest_test_data, rint_towardzero_test_data,
48912         rint_downward_test_data and rint_upward_test_data.  Add
48913         per-rounding-mode results for tests not in those arrays.
48914         (rint_test): Use ALL_RM_TEST.
48915         (rint_tonearest_test_data): Remove.
48916         (rint_test_tonearest): Likewise.
48917         (rint_towardzero_test_data): Likewise.
48918         (rint_test_towardzero): Likewise.
48919         (rint_downward_test_data): Likewise.
48920         (rint_test_downward): Likewise.
48921         (rint_upward_test_data): Likewise.
48922         (rint_test_upward): Likewise.
48923         (main): Don't call removed functions.
48925 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48927         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
48928         "Compiled on ..." crapola.  It is anti-useful.
48930 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
48932         * scripts/evaluate-test.sh: Handle fourth argument to determine
48933         whether test run should stop on failure.
48934         * Makeconfig (stop-on-test-failure): New variable.
48935         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
48936         $(stop-on-test-failure).
48937         * Makefile (tests): Give a summary of results from testing and
48938         exit with failure status if they include an ERROR or FAIL.
48939         (xtests): Likewise.
48940         * manual/install.texi (Configuring and compiling): Mention
48941         stop-on-test-failure=y.
48942         * INSTALL: Regenerated.
48944 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48946         * scripts/versionlist.awk: New file.
48947         * Makerules [$(build-shared) = yes]
48948         (postclean-generated): Add Versions.def, not Versions.def.v and
48949         Versions.def.v.i.
48950         ($(common-objpfx)Versions.def.v.i): Target removed.
48951         ($(common-objpfx)Versions.def): New target.
48952         ($(common-objpfx)Versions.all): Depend on that rather that
48953         $(common-objpfx)Versions.def.v.
48954         * Versions.def: File removed.
48956         * Makeconfig (+gccwarn): Add -Wundef.
48957         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
48958         a dl-sysdep.h breaking its contract.
48959         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
48960         * include/stackinfo.h: New file.
48961         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
48962         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
48963         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
48964         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
48965         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
48966         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
48967         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48968         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48969         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48970         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48971         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48972         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
48973         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48974         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48975         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
48977 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48979         [BZ #16707]
48980         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
48981         implementation.
48982         * math/libm-test.inc (round_test_data): Add more tests.
48984         [BZ #16706]
48985         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
48986         implementation.
48987         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48989         [BZ #16701]
48990         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
48991         implementation.
48992         * math/libm-test.inc (ceil_test_data): Add more tests.
48994         * math/libm-test.inc (trunc_test_data): Add more tests related to
48995         BZ#16414.
48997 2014-03-14  Roland McGrath  <roland@hack.frob.com>
48999         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
49000         with #if rather than #ifdef.
49001         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
49003 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
49005         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
49006         first.  Disable AVX-512 GCC support if assembler doesn't support
49007         it.
49008         * sysdeps/x86_64/configure: Regenerated.
49010 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
49012         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
49013         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
49014         (__old_pthread_attr_setstack): Likewise.
49015         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
49016         [!_STACK_GROWS_DOWN]: Likewise.
49018 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
49020         * config.make.in (have-bash2): Delete.
49021         * configure.ac (libc_cv_have_bash2): Delete.
49022         * configure: Regenerate.
49023         * elf/Makefile (common-ldd-rewrite): Rename to ...
49024         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
49025         (sh-ldd-rewrite): Delete.
49026         (bash-ldd-rewrite): Delete.
49027         (have-bash2): Delete checks.
49028         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
49029         ldd-rewrite.
49031         * config.make.in (have-ksh): Delete.
49032         (KSH): Delete.
49033         * configure.ac (libc_cv_have_ksh): Delete.
49034         * configure: Regenerate.
49036         * elf/Makefile: Delete $(have-ksh) check.
49037         ($(objpfx)sotruss): Change KSH to BASH.
49038         * elf/sotruss.ksh: Rename to ...
49039         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
49040         function style to match POSIX.  Drop ksh vim mode setting.
49042         * manual/time.texi (Specifying the Time Zone with TZ): Change
49043         Tuesday to Thursday.
49045         * debug/tst-longjmp_chk2.c: Update header comment.
49046         (stackoverflow_handler): Add comment.  Call assert on pass value.
49048 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
49050         [BZ #16194]
49051         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
49052         (HAVE_AVX512_ASM_SUPPORT): Likewise.
49053         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
49054         (La_x86_64_vector): Add zmm.
49055         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
49056         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
49057         ($(objpfx)tst-audit10): New target.
49058         ($(objpfx)tst-audit10.out): Likewise.
49059         (tst-audit10-ENV): New.
49060         (AVX512-CFLAGS): Likewise.
49061         (CFLAGS-tst-audit10.c): Likewise.
49062         (CFLAGS-tst-auditmod10a.c): Likewise.
49063         (CFLAGS-tst-auditmod10b.c): Likewise.
49064         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
49065         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
49066         * sysdeps/x86_64/configure: Regenerated.
49067         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
49068         AVX-512 zmm register support.
49069         (_dl_x86_64_save_sse): Likewise.
49070         (_dl_x86_64_restore_sse): Likewise.
49071         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
49072         size vector registers.
49073         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
49074         (ZMM_SIZE): Likewise.
49075         * sysdeps/x86_64/tst-audit10.c: New file.
49076         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
49077         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
49079 2014-03-13  Roland McGrath  <roland@hack.frob.com>
49081         * configure.ac (HAVE_EHDR_START): New check.
49082         * configure: Regenerated.
49083         * config.h.in (HAVE_EHDR_START): New #undef.
49084         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
49085         assuming the lowest-addressed segment maps the start of the file.
49087 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
49089         * INSTALL: Regenerated.
49091 2014-03-13  Will Newton  <will.newton@linaro.org>
49093         * manual/setjmp.texi (System V contexts): Improve
49094         clarity and grammar of documentation.
49096 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
49098         [BZ #16381]
49099         * elf/Makefile (tests): Add tst-pie2.
49100         (tests-pie): Add tst-pie2.
49101         * elf/tst-pie2.c: New file.
49102         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
49103         for ET_EXEC.
49104         * elf/rtld.c (map_doit): Load executable as lt_executable.
49105         (dl_main): Likewise.
49107 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
49109         [BZ #16642]
49110         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49111         (__ASSUME_PSELECT): Undefine.
49113 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49115         [BZ #16689]
49116         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
49117         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
49118         static build.
49119         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
49120         selector for static builds.
49122 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49124         [BZ #16695]
49125         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
49126         key in the buffer.
49128 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49130         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
49131         IFUNC selector for static builds.
49133 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
49135         * sysdeps/mips/math_private.h [__mips_hard_float]
49136         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
49137         libc_feresetround_mips_ctx.
49138         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
49139         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
49140         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
49142         [BZ #16677]
49143         * math/s_nextafter.c (__nextafter): Do not return value from
49144         overflowing computation.
49145         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
49146         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
49147         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
49148         Likewise.
49149         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
49150         Likewise.
49151         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
49152         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
49154 2014-03-11  Roland McGrath  <roland@hack.frob.com>
49156         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
49157         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
49158         Move sfi_sp use from the load-multiple (that no longer sets sp) to
49159         the new mov targetting sp.
49161 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49163         [BZ #16683]
49164         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
49165         Define it for static builds as well.
49166         (NO_BZERO_IMPL): Likewise.
49168 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49170         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
49171         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
49172         multiarch strspn for PPC64.
49173         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
49174         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
49175         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49176         (__libc_ifunc_impl_list): Likewise.
49177         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
49178         multiarch optimizations
49179         * string/strspn.c (strspn): Using macro to redefine symbol name.
49181 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49182             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49184         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
49185         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
49186         multiarch strncat for PPC64.
49187         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
49188         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
49189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49190         (__libc_ifunc_impl_list): Likewise.
49191         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
49192         multiarch optimizations
49194 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49196         [BZ #16639]
49197         * nscd/nscd.service: Make service type forking.
49199 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49201         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
49202         sign in non default rounding modes.
49203         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
49205 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
49207         * math/libm-test.inc (ALL_RM_TEST): New macro.
49208         (ceil_test): Use ALL_RM_TEST.
49209         (cimag_test): Likewise.
49210         (conj_test): Likewise.
49211         (copysign_test): Likewise.
49212         (cproj_test): Likewise.
49213         (creal_test): Likewise.
49214         (fabs_test): Likewise.
49215         (floor_test): Likewise.
49216         (fmax_test): Likewise.
49217         (fmin_test): Likewise.
49218         (fmod_test): Likewise.
49219         (fpclassify_test): Likewise.
49220         (frexp_test): Likewise.
49221         (ilogb_test): Likewise.
49222         (isfinite_test): Likewise.
49223         (finite_test): Likewise.
49224         (isgreater_test): Likewise.
49225         (isgreaterequal_test): Likewise.
49226         (isinf_test): Likewise.
49227         (isless_test): Likewise.
49228         (islessequal_test): Likewise.
49229         (islessgreater_test): Likewise.
49230         (isnan_test): Likewise.
49231         (isnormal_test): Likewise.
49232         (issignaling_test): Likewise.
49233         (isunordered_test): Likewise.
49234         (logb_test): Likewise.
49235         (logb_downward_test_data): Remove.
49236         (logb_test_downward): Likewise.
49237         (lround_test): Use ALL_RM_TEST.
49238         (llround_test): Likewise.
49239         (modf_test): Likewise.
49240         (nexttoward_test): Likewise.
49241         (remainder_test): Likewise.
49242         (drem_test): Likewise.
49243         (remainder_tonearest_test_data): Likewise.
49244         (remainder_test_tonearest): Likewise.
49245         (drem_test_tonearest): Likewise.
49246         (remainder_towardzero_test_data): Likewise.
49247         (remainder_test_towardzero): Likewise.
49248         (drem_test_towardzero): Likewise.
49249         (remainder_downward_test_data): Likewise.
49250         (remainder_test_downward): Likewise.
49251         (drem_test_downward): Likewise.
49252         (remainder_upward_test_data): Likewise.
49253         (remainder_test_upward): Likewise.
49254         (drem_test_upward): Likewise.
49255         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
49256         (round_test): Use ALL_RM_TEST.
49257         (signbit_test): Likewise.
49258         (trunc_test): Likewise.
49259         (significand_test): Likewise.
49260         (main): Don't call removed functions.
49262 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49264         [BZ #16674]
49265         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
49266         || __USE_XOPEN2K8].
49267         (ILL_ILLOPN): Likewise.
49268         (ILL_ILLADR): Likewise.
49269         (ILL_ILLTRP): Likewise.
49270         (ILL_PRVOPC): Likewise.
49271         (ILL_PRVREG): Likewise.
49272         (ILL_COPROC): Likewise.
49273         (ILL_BADSTK): Likewise.
49274         (FPE_INTDIV): Likewise.
49275         (FPE_INTOVF): Likewise.
49276         (FPE_FLTDIV): Likewise.
49277         (FPE_FLTOVF): Likewise.
49278         (FPE_FLTUND): Likewise.
49279         (FPE_FLTRES): Likewise.
49280         (FPE_FLTINV): Likewise.
49281         (FPE_FLTSUB): Likewise.
49282         (SEGV_MAPERR): Likewise.
49283         (SEGV_ACCERR): Likewise.
49284         (BUS_ADRALN): Likewise.
49285         (BUS_ADRERR): Likewise.
49286         (BUS_OBJERR): Likewise.
49287         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49288         (TRAP_TRACE): Likewise.
49289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49290         __USE_XOPEN2K8].
49291         (CLD_KILLED): Likewise.
49292         (CLD_DUMPED): Likewise.
49293         (CLD_TRAPPED): Likewise.
49294         (CLD_STOPPED): Likewise.
49295         (CLD_CONTINUED): Likewise.
49296         (POLL_IN): Likewise.
49297         (POLL_OUT): Likewise.
49298         (POLL_MSG): Likewise.
49299         (POLL_ERR): Likewise.
49300         (POLL_PRI): Likewise.
49301         (POLL_HUP): Likewise.
49302         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
49303         Likewise.
49304         (ILL_ILLOPN): Likewise.
49305         (ILL_ILLADR): Likewise.
49306         (ILL_ILLTRP): Likewise.
49307         (ILL_PRVOPC): Likewise.
49308         (ILL_PRVREG): Likewise.
49309         (ILL_COPROC): Likewise.
49310         (ILL_BADSTK): Likewise.
49311         (FPE_INTDIV): Likewise.
49312         (FPE_INTOVF): Likewise.
49313         (FPE_FLTDIV): Likewise.
49314         (FPE_FLTOVF): Likewise.
49315         (FPE_FLTUND): Likewise.
49316         (FPE_FLTRES): Likewise.
49317         (FPE_FLTINV): Likewise.
49318         (FPE_FLTSUB): Likewise.
49319         (SEGV_MAPERR): Likewise.
49320         (SEGV_ACCERR): Likewise.
49321         (BUS_ADRALN): Likewise.
49322         (BUS_ADRERR): Likewise.
49323         (BUS_OBJERR): Likewise.
49324         (BUS_MCEERR_AR): Likewise.
49325         (BUS_MCEERR_AO): Likewise.
49326         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49327         (TRAP_TRACE): Likewise.
49328         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49329         __USE_XOPEN2K8].
49330         (CLD_KILLED): Likewise.
49331         (CLD_DUMPED): Likewise.
49332         (CLD_TRAPPED): Likewise.
49333         (CLD_STOPPED): Likewise.
49334         (CLD_CONTINUED): Likewise.
49335         (POLL_IN): Likewise.
49336         (POLL_OUT): Likewise.
49337         (POLL_MSG): Likewise.
49338         (POLL_ERR): Likewise.
49339         (POLL_PRI): Likewise.
49340         (POLL_HUP): Likewise.
49341         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
49342         (ILL_ILLOPN): Likewise.
49343         (ILL_ILLADR): Likewise.
49344         (ILL_ILLTRP): Likewise.
49345         (ILL_PRVOPC): Likewise.
49346         (ILL_PRVREG): Likewise.
49347         (ILL_COPROC): Likewise.
49348         (ILL_BADSTK): Likewise.
49349         (FPE_INTDIV): Likewise.
49350         (FPE_INTOVF): Likewise.
49351         (FPE_FLTDIV): Likewise.
49352         (FPE_FLTOVF): Likewise.
49353         (FPE_FLTUND): Likewise.
49354         (FPE_FLTRES): Likewise.
49355         (FPE_FLTINV): Likewise.
49356         (FPE_FLTSUB): Likewise.
49357         (SEGV_MAPERR): Likewise.
49358         (SEGV_ACCERR): Likewise.
49359         (BUS_ADRALN): Likewise.
49360         (BUS_ADRERR): Likewise.
49361         (BUS_OBJERR): Likewise.
49362         (BUS_MCEERR_AR): Likewise.
49363         (BUS_MCEERR_AO): Likewise.
49364         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49365         (TRAP_TRACE): Likewise.
49366         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49367         __USE_XOPEN2K8].
49368         (CLD_KILLED): Likewise.
49369         (CLD_DUMPED): Likewise.
49370         (CLD_TRAPPED): Likewise.
49371         (CLD_STOPPED): Likewise.
49372         (CLD_CONTINUED): Likewise.
49373         (POLL_IN): Likewise.
49374         (POLL_OUT): Likewise.
49375         (POLL_MSG): Likewise.
49376         (POLL_ERR): Likewise.
49377         (POLL_PRI): Likewise.
49378         (POLL_HUP): Likewise.
49379         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
49380         Likewise.
49381         (ILL_ILLOPN): Likewise.
49382         (ILL_ILLADR): Likewise.
49383         (ILL_ILLTRP): Likewise.
49384         (ILL_PRVOPC): Likewise.
49385         (ILL_PRVREG): Likewise.
49386         (ILL_COPROC): Likewise.
49387         (ILL_BADSTK): Likewise.
49388         (ILL_BADIADDR): Likewise.
49389         (ILL_BREAK): Likewise.
49390         (FPE_INTDIV): Likewise.
49391         (FPE_INTOVF): Likewise.
49392         (FPE_FLTDIV): Likewise.
49393         (FPE_FLTOVF): Likewise.
49394         (FPE_FLTUND): Likewise.
49395         (FPE_FLTRES): Likewise.
49396         (FPE_FLTINV): Likewise.
49397         (FPE_FLTSUB): Likewise.
49398         (FPE_DECOVF): Likewise.
49399         (FPE_DECDIV): Likewise.
49400         (FPE_DECERR): Likewise.
49401         (FPE_INVASC): Likewise.
49402         (FPE_INVDEC): Likewise.
49403         (SEGV_MAPERR): Likewise.
49404         (SEGV_ACCERR): Likewise.
49405         (SEGV_PSTKOVF): Likewise.
49406         (BUS_ADRALN): Likewise.
49407         (BUS_ADRERR): Likewise.
49408         (BUS_OBJERR): Likewise.
49409         (BUS_MCEERR_AR): Likewise.
49410         (BUS_MCEERR_AO): Likewise.
49411         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49412         (TRAP_TRACE): Likewise.
49413         (TRAP_BRANCH): Likewise.
49414         (TRAP_HWBKPT): Likewise.
49415         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49416         __USE_XOPEN2K8].
49417         (CLD_KILLED): Likewise.
49418         (CLD_DUMPED): Likewise.
49419         (CLD_TRAPPED): Likewise.
49420         (CLD_STOPPED): Likewise.
49421         (CLD_CONTINUED): Likewise.
49422         (POLL_IN): Likewise.
49423         (POLL_OUT): Likewise.
49424         (POLL_MSG): Likewise.
49425         (POLL_ERR): Likewise.
49426         (POLL_PRI): Likewise.
49427         (POLL_HUP): Likewise.
49428         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
49429         (ILL_ILLOPN): Likewise.
49430         (ILL_ILLADR): Likewise.
49431         (ILL_ILLTRP): Likewise.
49432         (ILL_PRVOPC): Likewise.
49433         (ILL_PRVREG): Likewise.
49434         (ILL_COPROC): Likewise.
49435         (ILL_BADSTK): Likewise.
49436         (FPE_INTDIV): Likewise.
49437         (FPE_INTOVF): Likewise.
49438         (FPE_FLTDIV): Likewise.
49439         (FPE_FLTOVF): Likewise.
49440         (FPE_FLTUND): Likewise.
49441         (FPE_FLTRES): Likewise.
49442         (FPE_FLTINV): Likewise.
49443         (FPE_FLTSUB): Likewise.
49444         (SEGV_MAPERR): Likewise.
49445         (SEGV_ACCERR): Likewise.
49446         (BUS_ADRALN): Likewise.
49447         (BUS_ADRERR): Likewise.
49448         (BUS_OBJERR): Likewise.
49449         (BUS_MCEERR_AR): Likewise.
49450         (BUS_MCEERR_AO): Likewise.
49451         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49452         (TRAP_TRACE): Likewise.
49453         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49454         __USE_XOPEN2K8].
49455         (CLD_KILLED): Likewise.
49456         (CLD_DUMPED): Likewise.
49457         (CLD_TRAPPED): Likewise.
49458         (CLD_STOPPED): Likewise.
49459         (CLD_CONTINUED): Likewise.
49460         (POLL_IN): Likewise.
49461         (POLL_OUT): Likewise.
49462         (POLL_MSG): Likewise.
49463         (POLL_ERR): Likewise.
49464         (POLL_PRI): Likewise.
49465         (POLL_HUP): Likewise.
49466         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
49467         (ILL_ILLOPN): Likewise.
49468         (ILL_ILLADR): Likewise.
49469         (ILL_ILLTRP): Likewise.
49470         (ILL_PRVOPC): Likewise.
49471         (ILL_PRVREG): Likewise.
49472         (ILL_COPROC): Likewise.
49473         (ILL_BADSTK): Likewise.
49474         (FPE_INTDIV): Likewise.
49475         (FPE_INTOVF): Likewise.
49476         (FPE_FLTDIV): Likewise.
49477         (FPE_FLTOVF): Likewise.
49478         (FPE_FLTUND): Likewise.
49479         (FPE_FLTRES): Likewise.
49480         (FPE_FLTINV): Likewise.
49481         (FPE_FLTSUB): Likewise.
49482         (SEGV_MAPERR): Likewise.
49483         (SEGV_ACCERR): Likewise.
49484         (BUS_ADRALN): Likewise.
49485         (BUS_ADRERR): Likewise.
49486         (BUS_OBJERR): Likewise.
49487         (BUS_MCEERR_AR): Likewise.
49488         (BUS_MCEERR_AO): Likewise.
49489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49490         (TRAP_TRACE): Likewise.
49491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49492         __USE_XOPEN2K8].
49493         (CLD_KILLED): Likewise.
49494         (CLD_DUMPED): Likewise.
49495         (CLD_TRAPPED): Likewise.
49496         (CLD_STOPPED): Likewise.
49497         (CLD_CONTINUED): Likewise.
49498         (POLL_IN): Likewise.
49499         (POLL_OUT): Likewise.
49500         (POLL_MSG): Likewise.
49501         (POLL_ERR): Likewise.
49502         (POLL_PRI): Likewise.
49503         (POLL_HUP): Likewise.
49504         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
49505         (ILL_ILLOPN): Likewise.
49506         (ILL_ILLADR): Likewise.
49507         (ILL_ILLTRP): Likewise.
49508         (ILL_PRVOPC): Likewise.
49509         (ILL_PRVREG): Likewise.
49510         (ILL_COPROC): Likewise.
49511         (ILL_BADSTK): Likewise.
49512         (FPE_INTDIV): Likewise.
49513         (FPE_INTOVF): Likewise.
49514         (FPE_FLTDIV): Likewise.
49515         (FPE_FLTOVF): Likewise.
49516         (FPE_FLTUND): Likewise.
49517         (FPE_FLTRES): Likewise.
49518         (FPE_FLTINV): Likewise.
49519         (FPE_FLTSUB): Likewise.
49520         (SEGV_MAPERR): Likewise.
49521         (SEGV_ACCERR): Likewise.
49522         (BUS_ADRALN): Likewise.
49523         (BUS_ADRERR): Likewise.
49524         (BUS_OBJERR): Likewise.
49525         (BUS_MCEERR_AR): Likewise.
49526         (BUS_MCEERR_AO): Likewise.
49527         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49528         (TRAP_TRACE): Likewise.
49529         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49530         __USE_XOPEN2K8].
49531         (CLD_KILLED): Likewise.
49532         (CLD_DUMPED): Likewise.
49533         (CLD_TRAPPED): Likewise.
49534         (CLD_STOPPED): Likewise.
49535         (CLD_CONTINUED): Likewise.
49536         (POLL_IN): Likewise.
49537         (POLL_OUT): Likewise.
49538         (POLL_MSG): Likewise.
49539         (POLL_ERR): Likewise.
49540         (POLL_PRI): Likewise.
49541         (POLL_HUP): Likewise.
49542         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
49543         (ILL_ILLOPN): Likewise.
49544         (ILL_ILLADR): Likewise.
49545         (ILL_ILLTRP): Likewise.
49546         (ILL_PRVOPC): Likewise.
49547         (ILL_PRVREG): Likewise.
49548         (ILL_COPROC): Likewise.
49549         (ILL_BADSTK): Likewise.
49550         (ILL_DBLFLT): Likewise.
49551         (ILL_HARDWALL): Likewise.
49552         (FPE_INTDIV): Likewise.
49553         (FPE_INTOVF): Likewise.
49554         (FPE_FLTDIV): Likewise.
49555         (FPE_FLTOVF): Likewise.
49556         (FPE_FLTUND): Likewise.
49557         (FPE_FLTRES): Likewise.
49558         (FPE_FLTINV): Likewise.
49559         (FPE_FLTSUB): Likewise.
49560         (SEGV_MAPERR): Likewise.
49561         (SEGV_ACCERR): Likewise.
49562         (BUS_ADRALN): Likewise.
49563         (BUS_ADRERR): Likewise.
49564         (BUS_OBJERR): Likewise.
49565         (BUS_MCEERR_AR): Likewise.
49566         (BUS_MCEERR_AO): Likewise.
49567         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49568         (TRAP_TRACE): Likewise.
49569         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49570         __USE_XOPEN2K8].
49571         (CLD_KILLED): Likewise.
49572         (CLD_DUMPED): Likewise.
49573         (CLD_TRAPPED): Likewise.
49574         (CLD_STOPPED): Likewise.
49575         (CLD_CONTINUED): Likewise.
49576         (POLL_IN): Likewise.
49577         (POLL_OUT): Likewise.
49578         (POLL_MSG): Likewise.
49579         (POLL_ERR): Likewise.
49580         (POLL_PRI): Likewise.
49581         (POLL_HUP): Likewise.
49582         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
49583         (ILL_ILLOPN): Likewise.
49584         (ILL_ILLADR): Likewise.
49585         (ILL_ILLTRP): Likewise.
49586         (ILL_PRVOPC): Likewise.
49587         (ILL_PRVREG): Likewise.
49588         (ILL_COPROC): Likewise.
49589         (ILL_BADSTK): Likewise.
49590         (FPE_INTDIV): Likewise.
49591         (FPE_INTOVF): Likewise.
49592         (FPE_FLTDIV): Likewise.
49593         (FPE_FLTOVF): Likewise.
49594         (FPE_FLTUND): Likewise.
49595         (FPE_FLTRES): Likewise.
49596         (FPE_FLTINV): Likewise.
49597         (FPE_FLTSUB): Likewise.
49598         (SEGV_MAPERR): Likewise.
49599         (SEGV_ACCERR): Likewise.
49600         (BUS_ADRALN): Likewise.
49601         (BUS_ADRERR): Likewise.
49602         (BUS_OBJERR): Likewise.
49603         (BUS_MCEERR_AR): Likewise.
49604         (BUS_MCEERR_AO): Likewise.
49605         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
49606         (TRAP_TRACE): Likewise.
49607         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
49608         __USE_XOPEN2K8].
49609         (CLD_KILLED): Likewise.
49610         (CLD_DUMPED): Likewise.
49611         (CLD_TRAPPED): Likewise.
49612         (CLD_STOPPED): Likewise.
49613         (CLD_CONTINUED): Likewise.
49614         (POLL_IN): Likewise.
49615         (POLL_OUT): Likewise.
49616         (POLL_MSG): Likewise.
49617         (POLL_ERR): Likewise.
49618         (POLL_PRI): Likewise.
49619         (POLL_HUP): Likewise.
49620         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
49621         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49623         [BZ #16670]
49624         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
49625         before #include of <time.h>.
49626         [!__USE_XOPEN2K] (__need_timespec): Likewise.
49627         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
49628         (test-xfail-UNIX98/sched.h/conform): Likewise.
49630 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
49632         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
49633         error absence of trapping exception support.
49634         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
49636 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
49638         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
49639         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
49640         * timezone/Makefile (testdata): Move definition above include of
49641         Rules.
49642         (test-zones): New variable.
49643         (tests-special): Add zone files.
49644         (build-testdata): Use $(evaluate-test).
49646         * elf/Makefile (tests-special): Rename tests to end with .out.
49647         ($(objpfx)noload-mem): Likewise.
49648         ($(objpfx)tst-leaks1-mem): Likewise.
49649         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
49650         * iconv/Makefile (xtests-special): Change test-iconvconfig to
49651         $(objpfx)test-iconvconfig.out.
49652         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
49653         set -e inside subshell and redirect output to file.
49654         * iconvdata/Makefile (generated): Rename tests to end with .out.
49655         Correct type.
49656         (tests-special): Rename tests to end with .out.
49657         ($(objpfx)mtrace-tst-loading): Likewise.
49658         * intl/Makefile (generated): Likewise.
49659         (tests-special): Likewise.
49660         ($(objpfx)mtrace-tst-gettext): Likewise.
49661         * misc/Makefile (generated): Likewise.
49662         (tests-special): Likewise.
49663         ($(objpfx)tst-error1-mem): Likewise.
49664         * nptl/Makefile (tests-special): Likewise.
49665         ($(objpfx)tst-stack3-mem): Likewise.
49666         (generated): Likewise.
49667         * posix/Makefile (generated): Likewise.
49668         (tests-special): Likewise.
49669         (xtests-special): Likewise.
49670         ($(objpfx)tst-fnmatch-mem): Likewise.
49671         ($(objpfx)bug-regex2-mem): Likewise.
49672         ($(objpfx)bug-regex14-mem): Likewise.
49673         ($(objpfx)bug-regex21-mem): Likewise.
49674         ($(objpfx)bug-regex31-mem): Likewise.
49675         ($(objpfx)tst-vfork3-mem): Likewise.
49676         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
49677         ($(objpfx)tst-pcre-mem): Likewise.
49678         ($(objpfx)tst-boost-mem): Likewise.
49679         ($(objpfx)bug-ga2-mem): Likewise.
49680         ($(objpfx)bug-glob2-mem): Likewise.
49681         * resolv/Makefile (generate): Likewise.
49682         (tests-special): Likewise.
49683         (xtests-special): Likewise.
49684         (generated): Likewise.
49685         ($(objpfx)mtrace-tst-leaks): Likewise.
49686         ($(objpfx)mtrace-tst-leaks2): Likewise.
49688         * scripts/merge-test-results.sh: New file.
49689         * Makefile (tests-special-notdir): New variable.
49690         (tests): Run merge-test-results.sh.
49691         (xtests): Likewise.
49692         * Rules (tests-special-notdir): New variable.
49693         (xtests-special-notdir): Likewise.
49694         (tests): Run merge-test-results.sh
49695         (xtests): Likewise.
49697         * Makeconfig (test-xfail-name): New variable.
49698         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
49699         compute variable name for expected failures.
49700         * conform/Makefile (conformtest-headers-data): New variable.
49701         (conformtest-standards): Likewise.
49702         (conformtest-headers-ISO): Likewise.
49703         (conformtest-headers-ISO99): Likewise.
49704         (conformtest-headers-ISO11): Likewise.
49705         (conformtest-headers-POSIX): Likewise.
49706         (conformtest-headers-XPG3): Likewise.
49707         (conformtest-headers-XPG4): Likewise.
49708         (conformtest-headers-UNIX98): Likewise.
49709         (conformtest-headers-XOPEN2K): Likewise.
49710         (conformtest-headers-POSIX2008): Likewise.
49711         (conformtest-headers-XOPEN2K8): Likewise.
49712         (conformtest-header-list-base): Likewise.
49713         (conformtest-header-list-tests): Likewise.
49714         (conformtest-header-base): Likewise.
49715         (conformtest-header-tests): Likewise.
49716         (tests-special): Add $(conformtest-header-list-tests).  If
49717         [$(fast-check) && !$(cross-compiling)], add
49718         $(conformtest-header-tests) instead of
49719         $(objpfx)run-conformtest.out.
49720         (generated): Add $(conformtest-header-list-base).  If
49721         [$(fast-check) && !$(cross-compiling)], add
49722         $(conformtest-header-base).  Remove previous setting.
49723         ($(conformtest-header-list-tests)): New target.
49724         (test-xfail-run-conformtest): Remove variable.
49725         ($(objpfx)run-conformtest.out): Remove target.
49726         (test-xfail-ISO11/complex.h/conform): New variable.
49727         (test-xfail-ISO11/stdalign.h/conform): Likewise.
49728         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
49729         (test-xfail-XPG3/varargs.h/conform): Likewise.
49730         (test-xfail-XPG4/varargs.h/conform): Likewise.
49731         (test-xfail-UNIX98/varargs.h/conform): Likewise.
49732         (test-xfail-XPG4/ndbm.h/conform): Likewise.
49733         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
49734         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
49735         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
49736         (test-xfail-XPG3/fcntl.h/conform): Likewise.
49737         (test-xfail-XPG3/ftw.h/conform): Likewise.
49738         (test-xfail-XPG3/grp.h/conform): Likewise.
49739         (test-xfail-XPG3/langinfo.h/conform): Likewise.
49740         (test-xfail-XPG3/limits.h/conform): Likewise.
49741         (test-xfail-XPG3/pwd.h/conform): Likewise.
49742         (test-xfail-XPG3/search.h/conform): Likewise.
49743         (test-xfail-XPG3/signal.h/conform): Likewise.
49744         (test-xfail-XPG3/stdio.h/conform): Likewise.
49745         (test-xfail-XPG3/stdlib.h/conform): Likewise.
49746         (test-xfail-XPG3/string.h/conform): Likewise.
49747         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
49748         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
49749         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
49750         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
49751         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
49752         (test-xfail-XPG3/sys/types.h/conform): Likewise.
49753         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
49754         (test-xfail-XPG3/termios.h/conform): Likewise.
49755         (test-xfail-XPG3/time.h/conform): Likewise.
49756         (test-xfail-XPG3/unistd.h/conform): Likewise.
49757         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
49758         (test-xfail-XPG4/fcntl.h/conform): Likewise.
49759         (test-xfail-XPG4/langinfo.h/conform): Likewise.
49760         (test-xfail-XPG4/netdb.h/conform): Likewise.
49761         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
49762         (test-xfail-XPG4/signal.h/conform): Likewise.
49763         (test-xfail-XPG4/stdio.h/conform): Likewise.
49764         (test-xfail-XPG4/stdlib.h/conform): Likewise.
49765         (test-xfail-XPG4/stropts.h/conform): Likewise.
49766         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
49767         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
49768         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
49769         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
49770         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
49771         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
49772         (test-xfail-XPG4/sys/time.h/conform): Likewise.
49773         (test-xfail-XPG4/sys/types.h/conform): Likewise.
49774         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
49775         (test-xfail-XPG4/termios.h/conform): Likewise.
49776         (test-xfail-XPG4/ucontext.h/conform): Likewise.
49777         (test-xfail-XPG4/unistd.h/conform): Likewise.
49778         (test-xfail-XPG4/utmpx.h/conform): Likewise.
49779         (test-xfail-POSIX/sched.h/conform): Likewise.
49780         (test-xfail-POSIX/signal.h/conform): Likewise.
49781         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
49782         (test-xfail-POSIX/tar.h/conform): Likewise.
49783         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
49784         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
49785         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
49786         (test-xfail-UNIX98/netdb.h/conform): Likewise.
49787         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
49788         (test-xfail-UNIX98/sched.h/conform): Likewise.
49789         (test-xfail-UNIX98/signal.h/conform): Likewise.
49790         (test-xfail-UNIX98/stdio.h/conform): Likewise.
49791         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
49792         (test-xfail-UNIX98/stropts.h/conform): Likewise.
49793         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
49794         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
49795         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
49796         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
49797         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
49798         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
49799         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
49800         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
49801         (test-xfail-UNIX98/unistd.h/conform): Likewise.
49802         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
49803         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
49804         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
49805         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
49806         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
49807         (test-xfail-XOPEN2K/math.h/conform): Likewise.
49808         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
49809         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
49810         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
49811         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
49812         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
49813         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
49814         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
49815         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
49816         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
49817         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
49818         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
49819         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
49820         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
49821         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
49822         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
49823         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
49824         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
49825         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
49826         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
49827         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
49828         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
49829         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
49830         (test-xfail-POSIX2008/signal.h/conform): Likewise.
49831         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
49832         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
49833         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
49834         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
49835         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
49836         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
49837         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
49838         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
49839         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
49840         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
49841         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
49842         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
49843         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
49844         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
49845         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
49846         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
49847         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
49848         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
49849         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
49850         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
49851         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
49852         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
49853         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
49854         (conformtest-cc-flags): Likewise.
49855         ($(conformtest-header-tests): New target.
49856         * conform/check-header-lists.sh: New file.
49857         * conform/run-conformtest.sh: Remove.
49859         * conform/conformtest.pl: Allow ' and \ in values given for
49860         constants.
49861         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
49862         inclusion.
49863         [POSIX] (sys/types.h): Likewise.
49864         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
49865         inclusion.
49866         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
49867         inclusion.
49868         * conform/data/signal.h-data (SIGIO): Remove expectation.
49869         [XPG3] (SIGBUS): Do not expect.
49870         [POSIX || XPG3] (SIGPOLL): Likewise.
49871         [POSIX || XPG3] (SIGPROF): Likewise.
49872         [POSIX || XPG3] (SIGSYS): Likewise.
49873         [XPG3] (SIGTRAP): Likewise.
49874         [POSIX || XPG3] (SIGURG): Likewise.
49875         [POSIX || XPG3] (SIGVTALRM): Likewise.
49876         [POSIX || XPG3] (SIGXCPU): Likewise.
49877         [POSIX || XPG3] (SIGXFSZ): Likewise.
49878         [POSIX] (SA_SIGINFO): Expect.
49879         [XPG3] (siginfo_t): Do not expect type or contents.
49880         [POSIX] (si_pid): Do not expect element.
49881         [POSIX] (si_uid): Likewise.
49882         [POSIX] (si_addr): Likewise.
49883         [POSIX] (si_status): Likewise.
49884         [POSIX] (si_band): Likewise.
49885         [XPG4] (si_value): Likewise.
49886         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
49887         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
49888         [POSIX || XPG3] (ILL_ILLADR): Likewise.
49889         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
49890         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
49891         [POSIX || XPG3] (ILL_PRVREG): Likewise.
49892         [POSIX || XPG3] (ILL_COPROC): Likewise.
49893         [POSIX || XPG3] (ILL_BADSTK): Likewise.
49894         [POSIX || XPG3] (FPE_INTDIV): Likewise.
49895         [POSIX || XPG3] (FPE_INTOVF): Likewise.
49896         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
49897         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
49898         [POSIX || XPG3] (FPE_FLTUND): Likewise.
49899         [POSIX || XPG3] (FPE_FLTRES): Likewise.
49900         [POSIX || XPG3] (FPE_FLTINV): Likewise.
49901         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
49902         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
49903         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
49904         [POSIX || XPG3] (BUS_ADRALN): Likewise.
49905         [POSIX || XPG3] (BUS_ADRERR): Likewise.
49906         [POSIX || XPG3] (BUS_OBJERR): Likewise.
49907         [POSIX || XPG3] (CLD_EXITED): Likewise.
49908         [POSIX || XPG3] (CLD_KILLED): Likewise.
49909         [POSIX || XPG3] (CLD_DUMPED): Likewise.
49910         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
49911         [POSIX || XPG3] (CLD_STOPPED): Likewise.
49912         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
49913         [POSIX || XPG3] (POLL_IN): Likewise.
49914         [POSIX || XPG3] (POLL_OUT): Likewise.
49915         [POSIX || XPG3] (POLL_MSG): Likewise.
49916         [POSIX || XPG3] (POLL_ERR): Likewise.
49917         [POSIX || XPG3] (POLL_PRI): Likewise.
49918         [POSIX || XPG3] (POLL_HUP): Likewise.
49919         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
49920         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
49921         (SIG*): Do not allow.
49922         [XPG3] (si_*): Likewise.
49923         [XPG3] (SI_*): Likewise.
49924         [XPG3 || XPG4] (sigev_*): Likewise.
49925         [XPG3 || XPG4] (SIGEV_*): Likewise.
49926         [XPG3 || XPG4] (sival_*): Likewise.
49927         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
49928         [POSIX || XPG3] (BUS_*): Likewise.
49929         [POSIX || XPG3] (CLD_*): Likewise.
49930         [POSIX || XPG3] (FPE_*): Likewise.
49931         [POSIX || XPG3] (ILL_*): Likewise.
49932         [POSIX || XPG3] (POLL_*): Likewise.
49933         [POSIX || XPG3] (SEGV_*): Likewise.
49934         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
49935         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
49936         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
49937         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
49938         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
49939         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
49940         Specify type and value.
49941         (TVERSLEN): Likewise.
49942         (REGTYPE): Likewise.
49943         (AREGTYPE): Likewise.
49944         (LNKTYPE): Likewise.
49945         (SYMTYPE): Likewise.
49946         (CHRTYPE): Likewise.
49947         (BLKTYPE): Likewise.
49948         (DIRTYPE): Likewise.
49949         (FIFOTYPE): Likewise.
49950         (CONTTYPE): Likewise.
49951         (TSUID): Likewise.
49952         (TSGID): Likewise.
49953         (TSVTX): Likewise.
49954         (TUREAD): Likewise.
49955         (TUWRITE): Likewise.
49956         (TUEXEC): Likewise.
49957         (TGREAD): Likewise.
49958         (TGWRITE): Likewise.
49959         (TGEXEC): Likewise.
49960         (TOREAD): Likewise.
49961         (TOWRITE): Likewise.
49962         (TOEXEC): Likewise.
49963         [POSIX] (TSVTX): Expect constant.
49965 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
49967         * Makefile (tests): Change dependencies to ....
49968         (tests-special): ... additions to this variable.
49969         (tests): Depend on $(tests-special).
49970         * Makerules (check-abi-list): New variable.
49971         (check-abi): Depend on $(check-abi-list).
49972         [$(subdir) = elf] (tests-special): Add
49973         $(objpfx)check-abi-libc.out.
49974         [$(build-shared) = yes && subdir] (tests-special): Add
49975         $(check-abi-list).
49976         [$(build-shared) = yes && subdir] (tests): Do not depend on
49977         check-abi.
49978         * Rules (tests): Depend on $(tests-special).
49979         (xtests): Depend on $(xtests-special).
49980         * catgets/Makefile (tests): Change dependencies to ....
49981         (tests-special): ... additions to this variable.
49982         * conform/Makefile (tests): Change dependencies to ....
49983         (tests-special): ... additions to this variable.
49984         * elf/Makefile (tests): Change dependencies to ....
49985         (tests-special): ... additions to this variable.
49986         * grp/Makefile (tests): Change dependencies to ....
49987         (tests-special): ... additions to this variable.
49988         * iconv/Makefile (xtests): Change dependencies to ....
49989         (xtests-special): ... additions to this variable.
49990         * iconvdata/Makefile (tests): Change dependencies to ....
49991         (tests-special): ... additions to this variable.
49992         * intl/Makefile (tests): Change dependencies to ....
49993         (tests-special): ... additions to this variable.  Also add
49994         $(objpfx)tst-gettext.out.
49995         * io/Makefile (tests): Change dependencies to ....
49996         (tests-special): ... additions to this variable.
49997         * libio/Makefile (tests): Change dependencies to ....
49998         (tests-special): ... additions to this variable.
49999         * malloc/Makefile (tests): Change dependencies to ....
50000         (tests-special): ... additions to this variable.
50001         * misc/Makefile (tests): Change dependencies to ....
50002         (tests-special): ... additions to this variable.
50003         * nptl/Makefile (tests): Change dependencies to ....
50004         (tests-special): ... additions to this variable.
50005         * nptl_db/Makefile (tests): Change dependencies to ....
50006         (tests-special): ... additions to this variable.
50007         * posix/Makefile (tests): Change dependencies to ....
50008         (tests-special): ... additions to this variable.
50009         (xtests): Change dependencies to ....
50010         (xtests-special): ... additions to this variable.
50011         * resolv/Makefile (tests): Change dependencies to ....
50012         (tests-special): ... additions to this variable.
50013         (xtests): Change dependencies to ....
50014         (xtests-special): ... additions to this variable.
50015         * stdio-common/Makefile (tests): Change dependencies to ....
50016         (tests-special): ... additions to this variable.
50017         (do-tst-unbputc): Remove target.
50018         (do-tst-printf): Likewise.
50019         * stdlib/Makefile (tests): Change dependencies to ....
50020         (tests-special): ... additions to this variable.
50021         * string/Makefile (tests): Change dependencies to ....
50022         (tests-special): ... additions to this variable.
50023         * sysdeps/x86/Makefile (tests): Change dependencies to ....
50024         (tests-special): ... additions to this variable.
50026         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
50027         whole file.
50028         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
50029         whole file.
50030         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
50031         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
50033         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
50034         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
50035         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
50036         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
50037         * conform/data/libgen.h-data [XPG3]: Likewise.
50038         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
50039         * conform/data/ndbm.h-data [XPG3]: Likewise.
50040         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50041         * conform/data/netdb.h-data [XPG3]: Likewise.
50042         * conform/data/netinet/in.h-data [XPG3]: Likewise.
50043         * conform/data/poll.h-data [XPG3]: Likewise.
50044         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
50045         * conform/data/strings.h-data [XPG3]: Likewise.
50046         * conform/data/stropts.h-data [XPG3]: Likewise.
50047         * conform/data/sys/mman.h-data [XPG3]: Likewise.
50048         * conform/data/sys/resource.h-data [XPG3]: Likewise.
50049         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
50050         Likewise.
50051         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
50052         * conform/data/sys/time.h-data [XPG3]: Likewise.
50053         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
50054         * conform/data/sys/uio.h-data [XPG3]: Likewise.
50055         * conform/data/sys/un.h-data [XPG3]: Likewise.
50056         * conform/data/syslog.h-data [XPG3]: Likewise.
50057         * conform/data/ucontext.h-data [XPG3]: Likewise.
50058         * conform/data/utmpx.h-data [XPG3]: Likewise.
50059         * conform/data/varargs.h-data [UNIX98]: Enable file.
50061         * manual/Makefile (INSTALL_INFO): Remove variable setting.
50063         * math/libm-test.inc (struct test_f_f_data): Move expected results
50064         into structure for each rounding mode.
50065         (struct test_ff_f_data): Likewise.
50066         (struct test_ff_f_data_nexttoward): Likewise.
50067         (struct test_fi_f_data): Likewise.
50068         (struct test_fl_f_data): Likewise.
50069         (struct test_if_f_data): Likewise.
50070         (struct test_fff_f_data): Likewise.
50071         (struct test_c_f_data): Likewise.
50072         (struct test_f_f1_data): Likewise.
50073         (struct test_fF_f1_data): Likewise.
50074         (struct test_ffI_f1_data): Likewise.
50075         (struct test_c_c_data): Likewise.
50076         (struct test_cc_c_data): Likewise.
50077         (struct test_f_i_data): Likewise.
50078         (struct test_ff_i_data): Likewise.
50079         (struct test_f_l_data): Likewise.
50080         (struct test_f_L_data): Likewise.
50081         (struct test_fFF_11_data): Likewise.
50082         (RM_): New macro.
50083         (RM_FE_DOWNWARD): Likewise.
50084         (RM_FE_TONEAREST): Likewise.
50085         (RM_FE_TOWARDZERO): Likewise.
50086         (RM_FE_UPWARD): Likewise.
50087         (RUN_TEST_LOOP_f_f): Update references to expected results.
50088         (RUN_TEST_LOOP_2_f): Likewise.
50089         (RUN_TEST_LOOP_fff_f): Likewise.
50090         (RUN_TEST_LOOP_c_f): Likewise.
50091         (RUN_TEST_LOOP_f_f1): Likewise.
50092         (RUN_TEST_LOOP_fF_f1): Likewise.
50093         (RUN_TEST_LOOP_fI_f1): Likewise.
50094         (RUN_TEST_LOOP_ffI_f1): Likewise.
50095         (RUN_TEST_LOOP_c_c): Likewise.
50096         (RUN_TEST_LOOP_cc_c): Likewise.
50097         (RUN_TEST_LOOP_f_i): Likewise.
50098         (RUN_TEST_LOOP_f_i_tg): Likewise.
50099         (RUN_TEST_LOOP_ff_i_tg): Likewise.
50100         (RUN_TEST_LOOP_f_b): Likewise.
50101         (RUN_TEST_LOOP_f_b_tg): Likewise.
50102         (RUN_TEST_LOOP_f_l): Likewise.
50103         (RUN_TEST_LOOP_f_L): Likewise.
50104         (RUN_TEST_LOOP_fFF_11): Likewise.
50105         * math/gen-libm-test.pl (parse_args): Output four copies of
50106         expected results for each test.
50108         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50109         (__ASSUME_UTIMES): Remove.
50110         * sysdeps/unix/sysv/linux/tile/kernel-features.h
50111         (__ASSUME_UTIMES): Likewise.
50113         * math/gen-auto-libm-tests.c: Update comment on output format.
50114         (output_for_one_input_case): Generate before-rounding and
50115         after-rounding information as conditions on output flags not
50116         floating-point format.
50117         * math/auto-libm-test-out: Regenerated.
50118         * math/gen-libm-test.pl (cond_value): New function.
50119         (or_cond_value): Use cond_value.
50120         (generate_testfile): Handle conditional exceptions.
50122 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
50124         * math/libm-test.inc (max_valid_error): New variable.
50125         (init_max_error): Take new argument specifying whether function
50126         results are exactly determined.  Set max_valid_error and bound
50127         other variables for errors based on this argument.
50128         (set_max_error): Do not record results above max_valid_error.
50129         (check_float_internal): Only accept errors of up to 0.5ulps if
50130         also at most max_valid_error.
50131         (START): Take new argument EXACT and pass it to init_max_error.
50132         (acos_test): Update call to START.
50133         (acos_test_tonearest): Likewise.
50134         (acos_test_towardzero): Likewise.
50135         (acos_test_downward): Likewise.
50136         (acos_test_upward): Likewise.
50137         (acosh_test): Likewise.
50138         (asin_test): Likewise.
50139         (asin_test_tonearest): Likewise.
50140         (asin_test_towardzero): Likewise.
50141         (asin_test_downward): Likewise.
50142         (asin_test_upward): Likewise.
50143         (asinh_test): Likewise.
50144         (atan_test): Likewise.
50145         (atanh_test): Likewise.
50146         (atan2_test): Likewise.
50147         (cabs_test): Likewise.
50148         (cacos_test): Likewise.
50149         (cacosh_test): Likewise.
50150         (carg_test): Likewise.
50151         (casin_test): Likewise.
50152         (casinh_test): Likewise.
50153         (catan_test): Likewise.
50154         (catanh_test): Likewise.
50155         (cbrt_test): Likewise.
50156         (ccos_test): Likewise.
50157         (ccosh_test): Likewise.
50158         (ceil_test): Likewise.
50159         (cexp_test): Likewise.
50160         (cimag_test): Likewise.
50161         (clog_test): Likewise.
50162         (clog10_test): Likewise.
50163         (conj_test): Likewise.
50164         (copysign_test): Likewise.
50165         (cos_test): Likewise.
50166         (cos_test_tonearest): Likewise.
50167         (cos_test_towardzero): Likewise.
50168         (cos_test_downward): Likewise.
50169         (cos_test_upward): Likewise.
50170         (cosh_test): Likewise.
50171         (cosh_test_tonearest): Likewise.
50172         (cosh_test_towardzero): Likewise.
50173         (cosh_test_downward): Likewise.
50174         (cosh_test_upward): Likewise.
50175         (cpow_test): Likewise.
50176         (cproj_test): Likewise.
50177         (creal_test): Likewise.
50178         (csin_test): Likewise.
50179         (csinh_test): Likewise.
50180         (csqrt_test): Likewise.
50181         (ctan_test): Likewise.
50182         (ctan_test_tonearest): Likewise.
50183         (ctan_test_towardzero): Likewise.
50184         (ctan_test_downward): Likewise.
50185         (ctan_test_upward): Likewise.
50186         (ctanh_test): Likewise.
50187         (ctanh_test_tonearest): Likewise.
50188         (ctanh_test_towardzero): Likewise.
50189         (ctanh_test_downward): Likewise.
50190         (ctanh_test_upward): Likewise.
50191         (erf_test): Likewise.
50192         (erfc_test): Likewise.
50193         (exp_test): Likewise.
50194         (exp_test_tonearest): Likewise.
50195         (exp_test_towardzero): Likewise.
50196         (exp_test_downward): Likewise.
50197         (exp_test_upward): Likewise.
50198         (exp10_test): Likewise.
50199         (exp10_test_tonearest): Likewise.
50200         (exp10_test_towardzero): Likewise.
50201         (exp10_test_downward): Likewise.
50202         (exp10_test_upward): Likewise.
50203         (pow10_test): Likewise.
50204         (exp2_test): Likewise.
50205         (expm1_test): Likewise.
50206         (expm1_test_tonearest): Likewise.
50207         (expm1_test_towardzero): Likewise.
50208         (expm1_test_downward): Likewise.
50209         (expm1_test_upward): Likewise.
50210         (fabs_test): Likewise.
50211         (fdim_test): Likewise.
50212         (floor_test): Likewise.
50213         (fma_test): Likewise.
50214         (fma_test_towardzero): Likewise.
50215         (fma_test_downward): Likewise.
50216         (fma_test_upward): Likewise.
50217         (fmax_test): Likewise.
50218         (fmin_test): Likewise.
50219         (fmod_test): Likewise.
50220         (fpclassify_test): Likewise.
50221         (frexp_test): Likewise.
50222         (hypot_test): Likewise.
50223         (ilogb_test): Likewise.
50224         (isfinite_test): Likewise.
50225         (finite_test): Likewise.
50226         (isgreater_test): Likewise.
50227         (isgreaterequal_test): Likewise.
50228         (isinf_test): Likewise.
50229         (isless_test): Likewise.
50230         (islessequal_test): Likewise.
50231         (islessgreater_test): Likewise.
50232         (isnan_test): Likewise.
50233         (isnormal_test): Likewise.
50234         (issignaling_test): Likewise.
50235         (isunordered_test): Likewise.
50236         (j0_test): Likewise.
50237         (j1_test): Likewise.
50238         (jn_test): Likewise.
50239         (ldexp_test): Likewise.
50240         (lgamma_test): Likewise.
50241         (gamma_test): Likewise.
50242         (lrint_test): Likewise.
50243         (lrint_test_tonearest): Likewise.
50244         (lrint_test_towardzero): Likewise.
50245         (lrint_test_downward): Likewise.
50246         (lrint_test_upward): Likewise.
50247         (llrint_test): Likewise.
50248         (llrint_test_tonearest): Likewise.
50249         (llrint_test_towardzero): Likewise.
50250         (llrint_test_downward): Likewise.
50251         (llrint_test_upward): Likewise.
50252         (log_test): Likewise.
50253         (log10_test): Likewise.
50254         (log1p_test): Likewise.
50255         (log2_test): Likewise.
50256         (logb_test): Likewise.
50257         (logb_test_downward): Likewise.
50258         (lround_test): Likewise.
50259         (llround_test): Likewise.
50260         (modf_test): Likewise.
50261         (nearbyint_test): Likewise.
50262         (nextafter_test): Likewise.
50263         (nexttoward_test): Likewise.
50264         (pow_test): Likewise.
50265         (pow_test_tonearest): Likewise.
50266         (pow_test_towardzero): Likewise.
50267         (pow_test_downward): Likewise.
50268         (pow_test_upward): Likewise.
50269         (remainder_test): Likewise.
50270         (drem_test): Likewise.
50271         (remainder_test_tonearest): Likewise.
50272         (drem_test_tonearest): Likewise.
50273         (remainder_test_towardzero): Likewise.
50274         (drem_test_towardzero): Likewise.
50275         (remainder_test_downward): Likewise.
50276         (drem_test_downward): Likewise.
50277         (remainder_test_upward): Likewise.
50278         (drem_test_upward): Likewise.
50279         (remquo_test): Likewise.
50280         (rint_test): Likewise.
50281         (rint_test_tonearest): Likewise.
50282         (rint_test_towardzero): Likewise.
50283         (rint_test_downward): Likewise.
50284         (rint_test_upward): Likewise.
50285         (round_test): Likewise.
50286         (scalb_test): Likewise.
50287         (scalbn_test): Likewise.
50288         (scalbln_test): Likewise.
50289         (signbit_test): Likewise.
50290         (sin_test): Likewise.
50291         (sin_test_tonearest): Likewise.
50292         (sin_test_towardzero): Likewise.
50293         (sin_test_downward): Likewise.
50294         (sin_test_upward): Likewise.
50295         (sincos_test): Likewise.
50296         (sinh_test): Likewise.
50297         (sinh_test_tonearest): Likewise.
50298         (sinh_test_towardzero): Likewise.
50299         (sinh_test_downward): Likewise.
50300         (sinh_test_upward): Likewise.
50301         (sqrt_test): Likewise.
50302         (sqrt_test_tonearest): Likewise.
50303         (sqrt_test_towardzero): Likewise.
50304         (sqrt_test_downward): Likewise.
50305         (sqrt_test_upward): Likewise.
50306         (tan_test): Likewise.
50307         (tan_test_tonearest): Likewise.
50308         (tan_test_towardzero): Likewise.
50309         (tan_test_downward): Likewise.
50310         (tan_test_upward): Likewise.
50311         (tanh_test): Likewise.
50312         (tgamma_test): Likewise.
50313         (trunc_test): Likewise.
50314         (y0_test): Likewise.
50315         (y1_test): Likewise.
50316         (yn_test): Likewise.
50317         (significand_test): Likewise.
50319         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
50320         individual tests in comment.
50321         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
50322         (prev_max_error): New variable.
50323         (prev_real_max_error): Likewise.
50324         (prev_imag_max_error): Likewise.
50325         (compare_ulp_data): Don't refer to test names in comment.
50326         (find_test_ulps): Remove function.
50327         (find_function_ulps): Likewise.
50328         (find_complex_function_ulps): Likewise.
50329         (init_max_error): Take function name as argument.  Look up ulps
50330         for that function.
50331         (print_ulps): Remove function.
50332         (print_max_error): Use prev_max_error instead of calling
50333         find_function_ulps.
50334         (print_complex_max_error): Use prev_real_max_error and
50335         prev_imag_max_error instead of calling find_complex_function_ulps.
50336         (check_float_internal): Take max_ulp parameter instead of calling
50337         find_test_ulps.  Don't call print_ulps.
50338         (check_float): Update call to check_float_internal.
50339         (check_complex): Update calls to check_float_internal.
50340         (START): Pass argument to init_max_error.
50341         * math/gen-libm-test.pl (%results): Don't include "kind"
50342         information.
50343         (parse_ulps): Don't handle ulps of individual tests.
50344         (print_ulps_file): Likewise.
50345         (output_ulps): Likewise.
50346         * math/README.libm-test: Update.
50347         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
50348         individual tests.
50349         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
50350         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
50351         * sysdeps/arm/libm-test-ulps: Likewise.
50352         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
50353         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
50354         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
50355         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
50356         * sysdeps/microblaze/libm-test-ulps: Likewise.
50357         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
50358         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
50359         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50360         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
50361         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50362         * sysdeps/sh/libm-test-ulps: Likewise.
50363         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50364         * sysdeps/tile/libm-test-ulps: Likewise.
50365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50367 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
50369         * math/libm-test.inc (print_complex_max_error): Check separately
50370         whether real and imaginary errors are within allowed range and
50371         pass 0 to print_complex_function_ulps instead of value within
50372         allowed range.
50374 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50376         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
50377         formatting.
50378         (get_handles_fopen): Likewise.
50379         (do_write_test): Likewise.
50381         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
50383         * libio/fileops.c (do_ftell): Use cached offset when
50384         available.
50385         * libio/iofwide.c (do_ftell_wide): Likewise.
50386         * libio/iofdopen.c (_IO_new_fdopen): Don't use
50387         _IO_file_attach.
50388         * libio/wfileops.c (_IO_fwide): Don't cache offset.
50390         [BZ #16532]
50391         * libio/libioP.h (get_file_offset): New function.
50392         * libio/fileops.c (get_file_offset): Likewise.
50393         (do_ftell): Likewise.
50394         (_IO_new_file_seekoff): Split out ftell logic.
50395         * libio/wfileops.c (do_ftell_wide): Likewise.
50396         (_IO_wfile_seekoff): Split out ftell logic.
50397         * libio/tst-ftell-active-handler.c: New test case.
50398         * libio/Makefile (tests): Add it.
50400 2014-03-03  Roland McGrath  <roland@hack.frob.com>
50402         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
50403         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
50405 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50407         [BZ #16639]
50408         * nscd/connections.c (nscd_init): Call do_exit.
50409         (start_threads): Call do_exit and notify_parent.
50410         (begin_drop_privileges): Call do_exit.
50411         (finish_drop_privileges): Likewise.
50412         * nscd/selinux.c (preserve_capabilities): Likewise.
50413         (install_real_capabilities): Likewise.
50414         (nscd_selinux_enabled): Likewise.
50415         (avc_create_thread): Likewise.
50416         (avc_alloc_lock): Likewise.
50417         (nscd_avc_init): Likewise.
50418         * nscd/nscd.c (parent_fd): New static variable.
50419         (main): Create a pipe between parent and child processes.
50420         Skip closing parent_fd.
50421         (monitor_child): New function.
50422         (do_exit): Likewise.
50423         (notify_parent): Likewise.
50424         * nscd/nscd.h (notify_parent): Likewise.
50425         (do_exit): Likewise.
50427 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
50429         * malloc/malloc.c (__libc_calloc): Revert last change.
50431 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50433         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50435 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50437         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
50438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
50439         implementation.
50440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50441         (__libc_ifunc_impl_list): Likewise.
50442         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
50443         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
50444         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
50445         * string/strrchr.c: Define STRRCHR.
50447 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
50449         * benchtest/bench-strtok.c (simple_strtok): Delete.
50450         (strtok_string): Use as benchmark.
50451         * string/strtok (STRTOK): New macro.
50453 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
50455         * manual/threads.texi: Add header and standard comments to all
50456         functions.
50458         * elf/dl-lookup.c (check_match): New function.
50459         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
50460         (do_lookup_x): Remove nested function check_match. Use non-nested
50461         function check_match.
50463 2014-02-28  Roland McGrath  <roland@hack.frob.com>
50465         * csu/Makefile (generated, before-compile): Use += rather than =.
50466         * catgets/Makefile (generated, generated-dirs): Likewise.
50467         * debug/Makefile (generated): Likewise.
50468         * dlfcn/Makefile (generated): Likewise.
50469         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
50470         * iconvdata/Makefile (before-compile, generated): Likewise.
50471         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
50472         * libio/Makefile (generated): Likewise.
50473         * malloc/Makefile (generated): Likewise.
50474         * manual/Makefile (generated, generated-dirs): Likewise.
50475         * misc/Makefile (generated): Likewise.
50476         * posix/Makefile (generated): Likewise.
50477         * resolv/Makefile (generated): Likewise.
50478         * sunrpc/Makefile (generated, generated-dirs): Likewise.
50479         * timezone/Makefile (generated, generated-dirs): Likewise.
50481         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
50483 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
50486         power8 implementation.
50487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
50488         file: POWER8 llround ifunc implementation.
50489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
50490         (__lllround): Add POWER8 implementation.
50491         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
50492         POWER8 llround implementation.
50494         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
50495         power8 implementation.
50496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
50497         file: POWER8 llrint ifunc implementation.
50498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
50499         Add POWER8 implementation.
50500         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
50501         POWER8 llrint implementation.
50503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
50504         power8 implementation.
50505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
50506         file: POWER8 finite ifunc implementation.
50507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
50508         Add POWER8 implementation.
50509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
50510         Likewise.
50511         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
50512         POWER8 finite implementation.
50513         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
50515         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
50516         power8 implementation.
50517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
50518         file: POWER8 isinf ifunc implementation.
50519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
50520         POWER8 implementation.
50521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
50522         Likewise.
50523         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
50524         isinf implementation.
50525         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
50527         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
50528         (INIT_ARCH): Add hwcap2 initialization.
50529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
50530         power8 implementation.
50531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
50532         file: POWER8 isnan ifunc implementation.
50533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
50534         POWER8 implementation.
50535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
50536         Likewise.
50537         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
50538         isnan implementation.
50539         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
50541 2014-02-27  Joey Ye  <joey.ye@arm.com>
50543         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
50544         (_FP_NANFRAC_Q): Set to zero.
50546 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50548         [BZ #16623]
50549         * math/auto-libm-test-in: New test inputs.
50550         * math/auto-libm-test-out: Regenerate.
50551         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
50552         and DA.
50553         (__cos): Likewise.
50554         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50556 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
50558         * scripts/evaluate-test.sh: Take new argument indicating whether
50559         failure is expected.
50560         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
50561         indicating whether failure is expected.
50562         * conform/Makefile (test-xfail-run-conformtest): New variable.
50563         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
50564         level.
50565         * posix/Makefile (test-xfail-annexc): New variable.
50566         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
50568 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
50570         * argp/Makefile: Include Makeconfig immediately after defining
50571         subdir.
50572         * assert/Makefile: Likewise.
50573         * benchtests/Makefile: Likewise.
50574         * catgets/Makefile: Likewise.
50575         * conform/Makefile: Likewise.
50576         * crypt/Makefile: Likewise.
50577         * csu/Makefile: Likewise.
50578         (all): Remove target.
50579         * ctype/Makefile: Include Makeconfig immediately after defining
50580         subdir.
50581         * debug/Makefile: Likewise.
50582         * dirent/Makefile: Likewise.
50583         * dlfcn/Makefile: Likewise.
50584         * gmon/Makefile: Likewise.
50585         * gnulib/Makefile: Likewise.
50586         * grp/Makefile: Likewise.
50587         * gshadow/Makefile: Likewise.
50588         * hesiod/Makefile: Likewise.
50589         * hurd/Makefile: Likewise.
50590         (all): Remove target.
50591         * iconvdata/Makefile: Include Makeconfig immediately after
50592         defining subdir.
50593         * inet/Makefile: Likewise.
50594         * intl/Makefile: Likewise.
50595         * io/Makefile: Likewise.
50596         * libio/Makefile: Likewise.
50597         (all): Remove target.
50598         * locale/Makefile: Include Makeconfig immediately after defining
50599         subdir.
50600         * login/Makefile: Likewise.
50601         * mach/Makefile: Likewise.
50602         (all): Remove target.
50603         * malloc/Makefile: Include Makeconfig immediately after defining
50604         subdir.
50605         (all): Remove target.
50606         * manual/Makefile: Include Makeconfig immediately after defining
50607         subdir.
50608         * math/Makefile: Likewise.
50609         * misc/Makefile: Likewise.
50610         * nis/Makefile: Likewise.
50611         * nss/Makefile: Likewise.
50612         * po/Makefile: Likewise.
50613         (all): Remove target.
50614         * posix/Makefile: Include Makeconfig immediately after defining
50615         subdir.
50616         * pwd/Makefile: Likewise.
50617         * resolv/Makefile: Likewise.
50618         * resource/Makefile: Likewise.
50619         * rt/Makefile: Likewise.
50620         * setjmp/Makefile: Likewise.
50621         * shadow/Makefile: Likewise.
50622         * signal/Makefile: Likewise.
50623         * socket/Makefile: Likewise.
50624         * soft-fp/Makefile: Likewise.
50625         * stdio-common/Makefile: Likewise.
50626         * stdlib/Makefile: Likewise.
50627         * streams/Makefile: Likewise.
50628         * string/Makefile: Likewise.
50629         * sunrpc/Makefile: Likewise.
50630         (all): Remove target.
50631         * sysvipc/Makefile: Include Makeconfig immediately after defining
50632         subdir.
50633         * termios/Makefile: Likewise.
50634         * time/Makefile: Likewise.
50635         * timezone/Makefile: Likewise.
50636         (all): Remove target.
50637         * wcsmbs/Makefile: Include Makeconfig immediately after defining
50638         subdir.
50639         * wctype/Makefile: Likewise.
50641 2014-02-26  Steve Ellcey  <sellcey@mips.com>
50643         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
50644         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
50645         (libc_feholdexcept_setround_mips): Ditto.
50646         (libc_feholdsetround): New.
50647         (libc_feholdsetroundf): New.
50648         (libc_feholdsetroundl): New.
50649         (libc_feupdateenv_test_mips): New.
50650         (libc_feupdateenv_test): New.
50651         (libc_feupdateenv_testf): New.
50652         (libc_feupdateenv_testl): New.
50653         (libc_feresetround): New.
50654         (libc_feresetroundf): New.
50655         (libc_feresetroundl): New.
50656         (libc_fetestexcept_mips): New.
50657         (libc_fetestexcept): New.
50658         (libc_fetestexceptf): New.
50659         (libc_fetestexceptl): New.
50660         (HAVE_RM_CTX): New.
50661         (libc_feholdexcept_setround_mips_ctx): New.
50662         (libc_feholdexcept_setround_ctx): New.
50663         (libc_feholdexcept_setroundf_ctx): New.
50664         (libc_feholdexcept_setroundl_ctx): New.
50665         (libc_fesetenv_mips_ctx): New.
50666         (libc_fesetenv_ctx): New.
50667         (libc_fesetenv_ctxf): New.
50668         (libc_fesetenv_ctxl): New.
50669         (libc_feupdateenv_mips_ctx): New.
50670         (libc_feupdateenv_ctx): New.
50671         (libc_feupdateenvf_ctx): New.
50672         (libc_feupdateenvl_ctx): New.
50673         (libc_feholdsetround_mips_ctx): New.
50674         (libc_feholdsetround_ctx): New.
50675         (libc_feholdsetroundf_ctx): New.
50676         (libc_feholdsetroundl_ctx): New.
50677         (libc_feresetround_mips_ctx): New.
50678         (libc_feresetround_ctx): New.
50679         (libc_feresetroundf_ctx): New.
50680         (libc_feresetroundl_ctx): New.
50682 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
50684         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
50686         * manual/ipc.texi: New file.
50687         * manual/Makefile (chapters): Add ipc.
50688         * manual/job.texi: Add "Inter-Process Communication" to next.
50689         * manual/process.texi: Add "Inter-Process Communication" to prev.
50691 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50695 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
50697         * malloc/malloc.c (__libc_calloc): Simplify implementation.
50699         * manual/arith.texi: Fix spaces after sentences.
50700         * manual/charset.texi: Likewise.
50701         * manual/errno.texi: Likewise.
50702         * manual/install.texi: Likewise.
50703         * manual/llio.texi: Likewise.
50704         * manual/locale.texi: Likewise.
50705         * manual/maint.texi: Likewise.
50706         * manual/math.texi: Likewise.
50707         * manual/memory.texi: Likewise.
50708         * manual/message.texi: Likewise.
50709         * manual/probes.texi: Likewise.
50710         * manual/resource.texi: Likewise.
50711         * manual/signal.texi: Likewise.
50712         * manual/socket.texi: Likewise.
50713         * manual/stdio.texi: Likewise.
50714         * manual/string.texi: Likewise.
50715         * manual/time.texi: Likewise.
50716         * manual/users.texi: Likewise.
50718 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
50720         [BZ #16632]
50721         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
50722         _DEFAULT_SOURCE is defined.
50724 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
50725             Carlos O'Donell  <carlos@redhat.com>
50727         [BZ #16613]
50728         * elf/dl-tls.c (_dl_count_modids): New function.
50729         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
50730         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
50731         audit library and increment generation counter.
50732         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
50733         * elf/tst-audit9.c: New file.
50734         * elf/tst-auditmod9a.c: New file.
50735         * elf/tst-auditmod9b.c: New file.
50736         * elf/Makefile: Add rules to build and run tst-audit9.
50738 2014-02-25  Florian Weimer  <fweimer@redhat.com>
50740         [BZ #15347]
50741         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
50743 2014-02-25  Will Newton  <will.newton@linaro.org>
50745         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
50746         (__longjmp): Restore sp and lr before restoring callee
50747         saved registers.  Add longjmp and longjmp_target
50748         SystemTap probe point.
50749         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
50750         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
50751         Define to zero to match jmpbuf layout.
50752         * sysdeps/arm/setjmp.S: Include stap-probe.h.
50753         (__sigsetjmp): Save sp and lr before saving callee
50754         saved registers.  Add setjmp SystemTap probe point.
50756 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
50758         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50760 2014-02-24  Andreas Schwab  <schwab@suse.de>
50762         [BZ #15804]
50763         * elf/pldd.c (wait_for_ptrace_stop): New function.
50764         (main): Call it after attaching.
50766 2014-02-22  Roland McGrath  <roland@hack.frob.com>
50768         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
50769         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
50770         Versions files is now verboten.
50771         * hurd/Versions (libc: GLIBC_2.0):
50772         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
50773         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
50774         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
50775         * mach/Versions: Likewise.
50777         * csu/Versions: Remove unused %include.
50778         * resolv/Versions: Likewise.
50780 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
50782         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
50783         ($(objpfx)check-local-headers.out): Likewise.
50784         ($(objpfx)begin-end-check.out): Likewise.
50785         * Makerules (check-abi-%.out): Likewise.
50786         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
50787         ($(objpfx)test2.cat): Likewise.
50788         ($(objpfx)de/libc.cat): Likewise.
50789         ($(objpfx)test-gencat.out): Likewise.
50790         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
50791         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
50792         ($(objpfx)noload-mem): Likewise.
50793         ($(objpfx)tst-pathopt.out): Likewise.
50794         ($(objpfx)tst-rtld-load-self.out): Likewise.
50795         ($(objpfx)tst-array1-cmp.out): Likewise.
50796         ($(objpfx)tst-array1-static-cmp.out): Likewise.
50797         ($(objpfx)tst-array2-cmp.out): Likewise.
50798         ($(objpfx)tst-array3-cmp.out): Likewise.
50799         ($(objpfx)tst-array4-cmp.out): Likewise.
50800         ($(objpfx)tst-array5-cmp.out): Likewise.
50801         ($(objpfx)tst-array5-static-cmp.out): Likewise.
50802         ($(objpfx)check-textrel.out): Likewise.
50803         ($(objpfx)check-execstack.out): Likewise.
50804         ($(objpfx)check-localplt.out): Likewise.
50805         ($(objpfx)order2-cmp.out): Likewise.
50806         ($(objpfx)tst-leaks1-mem): Likewise.
50807         ($(objpfx)tst-leaks1-static-mem): Likewise.
50808         ($(objpfx)tst-initorder-cmp.out): Likewise.
50809         ($(objpfx)tst-initorder2-cmp.out): Likewise.
50810         ($(objpfx)tst-unused-dep.out): Likewise.
50811         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
50812         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
50813         * iconv/Makefile (test-iconvconfig): Likewise.
50814         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
50815         ($(objpfx)iconv-test.out): Likewise.
50816         ($(objpfx)tst-tables.out): Likewise.
50817         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
50818         ($(objpfx)tst-gettext.out): Likewise.
50819         ($(objpfx)tst-translit.out): Likewise.
50820         ($(objpfx)tst-gettext2.out): Likewise.
50821         ($(objpfx)tst-gettext4.out): Likewise.
50822         ($(objpfx)tst-gettext6.out): Likewise.
50823         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
50824         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
50825         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
50826         ($(objpfx)tst-fopenloc-mem.out): Likewise.
50827         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
50828         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
50829         * posix/Makefile ($(objpfx)globtest.out): Likewise.
50830         ($(objpfx)wordexp-tst.out): Likewise.
50831         ($(objpfx)annexc.out): Likewise.
50832         ($(objpfx)tst-fnmatch-mem): Likewise.
50833         ($(objpfx)bug-regex2-mem): Likewise.
50834         ($(objpfx)bug-regex14-mem): Likewise.
50835         ($(objpfx)bug-regex21-mem): Likewise.
50836         ($(objpfx)bug-regex31-mem): Likewise.
50837         ($(objpfx)tst-vfork3-mem): Likewise.
50838         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
50839         ($(objpfx)tst-pcre-mem): Likewise.
50840         ($(objpfx)tst-boost-mem): Likewise.
50841         ($(objpfx)tst-getconf.out): Likewise.
50842         ($(objpfx)bug-ga2-mem): Likewise.
50843         ($(objpfx)bug-glob2-mem): Likewise.
50844         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
50845         ($(objpfx)mtrace-tst-leaks2): Likewise.
50846         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
50847         ($(objpfx)tst-printf.out): Likewise.
50848         ($(objpfx)tst-setvbuf1.out): Likewise.
50849         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
50850         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
50851         ($(objpfx)tst-fmtmsg.out): Likewise.
50852         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
50853         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
50855         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
50856         * bits/sigaction.h [__USE_MISC]: Likewise.
50857         * bits/waitstatus.h: Update #endif comments.
50858         * ctype/ctype.h: Likewise.
50859         * dirent/dirent.h: Likewise.
50860         [__USE_MISC]: Remove redundant conditionals.
50861         * grp/grp.h: Update #endif comments.
50862         [__USE_GNU]: Remove redundant conditionals.
50863         [__USE_MISC]: Likewise.
50864         * inet/netinet/in.h [__USE_GNU]: Likewise.
50865         * io/sys/stat.h [__USE_MISC]: Likewise.
50866         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
50867         * libio/bits/stdio.h: Update #endif comments.
50868         [__USE_MISC]: Remove redundant conditionals.
50869         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
50870         * libio/stdio.h: Update #endif comments.
50871         [__USE_MISC]: Remove redundant conditionals.
50872         * math/bits/math-finite.h [__USE_MISC]: Likewise.
50873         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
50874         * math/math.h: Update #else and #endif comments.
50875         [__USE_MISC]: Remove redundant conditionals.
50876         * misc/sys/uio.h: Update #endif comments.
50877         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
50878         * posix/glob.h [__USE_MISC]: Likewise.
50879         * posix/sys/types.h: Update #endif comments.
50880         [__USE_MISC]: Remove redundant conditionals.
50881         * posix/sys/wait.h: Update #endif comments.
50882         [__USE_MISC]: Remove redundant conditionals.
50883         * posix/unistd.h: Update #endif comments.
50884         [__USE_MISC]: Remove redundant conditionals.
50885         * pwd/pwd.h [__USE_GNU]: Likewise.
50886         [__USE_MISC]: Likewise.
50887         * resolv/netdb.h [__USE_GNU]: Likewise.
50888         * signal/signal.h: Update #endif comments.
50889         [__USE_MISC]: Remove redundant conditionals.
50890         * stdlib/stdlib.h: Update #else and #endif comments.
50891         [__USE_MISC]: Remove redundant conditionals.
50892         [__USE_GNU]: Likewise.
50893         * string/bits/string2.h [__USE_MISC]: Likewise.
50894         * string/string.h: Update #endif comments.
50895         [__USE_MISC]: Remove redundant conditionals.
50896         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
50897         Likewise.
50898         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
50899         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
50900         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
50901         Likewise.
50902         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
50903         Likewise.
50904         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
50905         comments.
50906         [__USE_MISC]: Remove redundant conditionals.
50907         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
50908         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
50909         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
50910         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
50911         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
50912         Likewise.
50913         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
50914         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
50915         Likewise.
50916         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
50917         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
50918         Likewise.
50919         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
50920         Likewise.
50921         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
50922         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
50923         Likewise.
50924         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
50925         Likewise.
50926         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
50927         * sysdeps/x86/bits/string.h: Update #endif comments.
50928         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
50929         conditionals.
50930         * time/sys/time.h: Update #endif comments.
50931         * time/time.h: Likewise.
50932         [__USE_MISC]: Remove redundant conditionals.
50934 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
50936         [BZ #16600]
50937         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
50939 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
50941         * Versions.def (librt): Add GLIBC_2.17.
50943 2014-02-21  Adam Conrad  <adconrad@0c3.net>
50945         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
50946         synonym for _SYS_AUXV_H to allow direct inclusion.
50947         * sysdeps/sparc/bits/hwcap.h: Likewise.
50948         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
50949         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
50950         * sysdeps/sparc/sysdep.h: Likewise.
50952 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
50954         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
50956 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50958         * benchtests/bench-strrchr.c: Print length instead of position.
50960 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
50962         [BZ #16611]
50963         * sysdeps/unix/sysv/linux/kernel-features.h
50964         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
50965         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
50966         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
50967         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
50968         Likewise.
50969         [__i386__ || __powerpc__ || __sh__ || __sparc__]
50970         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
50971         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
50972         (__ASSUME_SENDMMSG): Define instead of using previous
50973         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
50974         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
50975         (__ASSUME_SENDMMSG_SYSCALL): Define.
50976         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
50977         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
50978         Likewise.
50979         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50980         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50981         Likewise.
50982         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
50983         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
50984         Likewise.
50985         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
50986         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50987         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50988         [__ASSUME_SENDMMSG]: Change conditionals to
50989         [__ASSUME_SENDMMSG_SOCKETCALL].
50990         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50991         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
50992         Define.
50993         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50994         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
50995         Likewise.
50996         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
50997         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
50998         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
50999         [!__ASSUME_SENDMMSG]: Change conditional to
51000         [!__ASSUME_SENDMMSG_SOCKETCALL].
51001         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51002         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
51003         Define.
51005         [BZ #16610]
51006         * sysdeps/unix/sysv/linux/kernel-features.h
51007         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
51008         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
51009         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
51010         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
51011         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
51012         [__i386__ || __sparc__]
51013         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51014         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
51015         (__ASSUME_RECVMMSG): Define instead of using previous
51016         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
51017         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51018         (__ASSUME_RECVMMSG_SYSCALL): Define.
51019         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51020         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51021         Likewise.
51022         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51023         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51024         Likewise.
51025         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51026         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51027         Likewise.
51028         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
51029         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51030         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51031         [__ASSUME_RECVMMSG]: Change condition to
51032         [__ASSUME_RECVMMSG_SOCKETCALL].
51033         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51034         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51035         Define.
51036         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
51037         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51038         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
51039         Likewise.
51040         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
51041         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
51042         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
51043         [!__ASSUME_RECVMMSG]: Change condition to
51044         [!__ASSUME_RECVMMSG_SOCKETCALL].
51045         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51046         (__ASSUME_RECVMMSG_SYSCALL): Define.
51048         [BZ #16609]
51049         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
51050         __powerpc__ || __s390__ || __sh__ || __sparc__]
51051         (__ASSUME_SOCKETCALL): Define.
51052         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
51053         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
51054         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
51055         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
51056         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
51057         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
51058         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
51059         (__ASSUME_ACCEPT4): Define instead of using previous
51060         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
51061         __powerpc__ || __sparc__ || __s390__)] condition.
51062         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51063         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51064         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
51065         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51066         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51067         [!__ASSUME_ACCEPT4]: Change condition to
51068         [!__ASSUME_ACCEPT4_SOCKETCALL].
51069         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51070         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
51071         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
51072         * sysdeps/unix/sysv/linux/arm/kernel-features.h
51073         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
51074         __ASSUME_ACCEPT4_SYSCALL.
51075         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
51076         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
51077         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51078         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
51079         __ASSUME_ACCEPT4_SYSCALL.
51080         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
51081         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
51082         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
51083         [__ASSUME_ACCEPT4]: Change condition to
51084         [__ASSUME_ACCEPT4_SOCKETCALL].
51085         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51086         (__ASSUME_SOCKETCALL): Define.
51087         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
51088         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51089         (__ASSUME_SOCKETCALL): Define.
51090         (__ASSUME_ACCEPT4): Remove.
51091         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
51092         Define.
51093         * sysdeps/unix/sysv/linux/mips/kernel-features.h
51094         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
51095         Likewise.
51096         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51097         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
51099         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
51100         macro.
51101         (HWCAP_ARM_LPAE): Likewise.
51102         (HWCAP_ARM_EVTSTRM): Likewise.
51103         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
51104         Add vpfd32, lpae and evtstrm.
51105         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
51106         Increase to 22.
51108 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
51110         * math/auto-libm-test-in: Add tests of clog10.
51111         * math/auto-libm-test-out: Regenerated.
51112         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
51113         * sysdeps/i386/fpu/libm-test-ulps: Update.
51114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51116 2014-02-18  Andreas Schwab  <schwab@suse.de>
51118         [BZ #16574]
51119         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
51120         Store non-zero if the second buffer was newly allocated.
51121         (send_dg): Likewise.
51122         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
51123         to send_vc and send_dg.
51124         (res_nsend): Pass NULL for ansp2_malloced.
51125         * resolv/res_query.c (__libc_res_nquery): Add parameter
51126         answerp2_malloced and pass it down to __libc_res_nsend.
51127         (res_nquery): Pass additional NULL to __libc_res_nquery.
51128         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
51129         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
51130         second answer buffer if answerp2_malloced was set.
51131         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
51132         (__libc_res_nquerydomain): Add parameter
51133         answerp2_malloced and pass it down to __libc_res_nquery.
51134         (res_nquerydomain): Pass additional NULL to
51135         __libc_res_nquerydomain.
51136         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
51137         additional NULL to __libc_res_nsend and __libc_res_nquery.
51138         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
51139         additional NULL to __libc_res_nsearch.
51140         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
51141         parameter of __libc_res_nsearch to check for separately allocated
51142         second buffer.
51143         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
51144         __libc_res_nquery.
51145         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
51146         additional NULL to __libc_res_nquery.
51147         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
51148         __libc_res_nsearch.
51149         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
51150         * include/resolv.h: Update prototypes of __libc_res_nquery,
51151         __libc_res_nsearch, __libc_res_nsend.
51153 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
51155         * math/auto-libm-test-in: Add tests of fma.
51156         * math/auto-libm-test-out: Regenerated.
51157         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
51158         (fma_towardzero_test_data): Likewise.
51159         (fma_downward_test_data): Likewise.
51160         (fma_upward_test_data): Likewise.
51161         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
51162         mpc_mode.
51163         (rounding_modes): Add values for new field.
51164         (func_calc_method): Add value mpfr_fff_f.
51165         (func_calc_desc): Add mpfr_fff_f union field.
51166         (test_function): Add field exact_args.
51167         (FUNC): Add macro argument EXACT_ARGS.
51168         (FUNC_mpfr_f_f): Update call to FUNC.
51169         (FUNC_mpfr_f_f): Likewise.
51170         (FUNC_mpfr_ff_f): Likewise.
51171         (FUNC_mpfr_if_f): Likewise.
51172         (FUNC_mpc_c_f): Likewise.
51173         (FUNC_mpc_c_c): Likewise.
51174         (test_functions): Add fma.  Update calls to FUNC.
51175         (handle_input_arg): Add argument exact_args.
51176         (add_test): Update call to handle_input_arg.
51177         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
51178         (output_for_one_input_case): Update call to calc_generic_results.
51179         Recalculate exact zero results in each rounding mode.
51181         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
51182         non-negative before setting low bit.
51183         * math/auto-libm-test-in: Mark one asin test possibly having
51184         spurious underflow.
51185         * math/auto-libm-test-out: Regenerated.
51186         * sysdeps/i386/fpu/libm-test-ulps: Update.
51187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51189 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
51191         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
51192         * sysdeps/unix/sysv/linux/microblaze: Move directory from
51193         ports/sysdeps/unix/sysv/linux/microblaze.
51194         * README: Add missing listing for microblaze*-*-linux-gnu.
51196 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
51198         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
51199         duplicate code
51201 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
51203         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
51204         * sysdeps/unix/sysv/linux/ia64: Move directory from
51205         ports/sysdeps/unix/sysv/linux/ia64.
51206         * README: Update listing for ia64-*-linux-gnu.
51208 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
51209             Joseph Myers  <joseph@codesourcery.com>
51211         * Makeconfig (test-name): New variable.
51212         (evaluate-test): Likewise.
51213         * Makerules (do-test-clean): Remove .test-result files.
51214         (common-mostlyclean): Likewise.
51215         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
51216         * scripts/evaluate-test.sh: New file.
51218 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
51220         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
51221         separate $(objpfx)tst-fopenloc-cmp.out and
51222         $(objpfx)tst-fopenloc-mem.out targets.
51223         (tests): Update dependencies.
51224         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
51225         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
51226         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
51227         (tst-rxspencer-no-utf8-ARGS): New variable.
51228         (tst-rxspencer-no-utf8-ENV): Likewise.
51229         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
51230         instead of $(objpfx)tst-rxspencer-mem.
51231         ($(objpfx)tst-rxspencer-mem): Change target to
51232         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
51233         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
51234         * posix/tst-rxspencer-no-utf8.c: New file.
51236         * elf/Makefile ($(objpfx)order.out): Remove rule.
51237         [$(run-built-tests) = yes] (tests): Depend on
51238         $(objpfx)order-cmp.out.
51239         ($(objpfx)order-cmp.out): New rule.
51240         [$(run-built-tests) = yes] (tests): Depend on
51241         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
51242         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
51243         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
51244         $(objpfx)tst-array5-static-cmp.out.
51245         ($(objpfx)tst-array1.out): Remove rule.
51246         ($(objpfx)tst-array1-cmp.out): New rule.
51247         ($(objpfx)tst-array1-static.out): Remove rule.
51248         ($(objpfx)tst-array1-static-cmp.out): New rule.
51249         ($(objpfx)tst-array2.out): Remove rule.
51250         ($(objpfx)tst-array2-cmp.out): New rule.
51251         ($(objpfx)tst-array3.out): Remove rule.
51252         ($(objpfx)tst-array3-cmp.out): New rule.
51253         ($(objpfx)tst-array4.out): Remove rule.
51254         ($(objpfx)tst-array4-cmp.out): New rule.
51255         ($(objpfx)tst-array5.out): Remove rule.
51256         ($(objpfx)tst-array5-cmp.out): New rule.
51257         ($(objpfx)tst-array5-static.out): Remove rule.
51258         ($(objpfx)tst-array5-static-cmp.out): New rule.
51259         [$(run-built-tests) = yes] (tests): Depend on
51260         $(objpfx)order2-cmp.out.
51261         ($(objpfx)order2.out): Remove rule.
51262         ($(objpfx)order2-cmp.out): New rule.
51263         ($(objpfx)tst-initorder.out): Remove rule.
51264         [$(run-built-tests) = yes] (tests): Depend on
51265         $(objpfx)tst-initorder-cmp.out.
51266         ($(objpfx)tst-initorder-cmp.out): New rule.
51267         ($(objpfx)tst-initorder2.out): Remove rule.
51268         [$(run-built-tests) = yes] (tests): Depend on
51269         $(objpfx)tst-initorder2-cmp.out.
51270         ($(objpfx)tst-initorder2-cmp.out): New rule.
51271         [$(run-built-tests) = yes] (tests): Depend on
51272         $(objpfx)tst-unused-dep-cmp.out.
51273         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
51274         ($(objpfx)tst-unused-dep-cmp.out): New rule.
51275         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
51276         on $(objpfx)tst-setvbuf1-cmp.out.
51277         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
51278         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
51279         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
51280         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
51281         ($(objpfx)tst-svc.out): Remove rule.
51282         ($(objpfx)tst-svc-cmp.out): New rule.
51284 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
51286         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
51287         * ctype/ctype.h [__USE_MISC]: Likewise.
51288         * dirent/dirent.h [__USE_MISC]: Likewise.
51289         * grp/grp.h [__USE_MISC]: Likewise.
51290         * io/fcntl.h [__USE_MISC]: Likewise.
51291         * io/sys/stat.h [__USE_MISC]: Likewise.
51292         * libio/stdio.h [__USE_MISC]: Likewise.
51293         * posix/unistd.h [__USE_MISC]: Likewise.
51294         * pwd/pwd.h [__USE_MISC]: Likewise.
51295         * stdlib.h [__USE_MISC]: Likewise.
51296         * string/bits/string2.h [__USE_MISC]: Likewise.
51297         * string/string.h [__USE_MISC]: Likewise.
51298         * time/time.h [__USE_MISC]: Likewise.
51300 2014-02-13  Andreas Schwab  <schwab@suse.de>
51302         [BZ #16574]
51303         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
51304         second answer buffer if it was separately allocated.
51306 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
51308         * sysdeps/mips/math-tests.h: Include <features.h>.
51309         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51310         (ROUNDING_TESTS_long_double): Do not define.
51311         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
51312         (EXCEPTION_TESTS_long_double): Likewise.
51313         * sysdeps/mips/mips64/libm-test-ulps: Update.
51315         * include/features.h (__USE_BSD): Remove macro definitions.
51316         (__USE_SVID): Likewise.
51317         (_BSD_SOURCE): Likewise.
51318         (_SVID_SOURCE): Likewise.
51319         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
51320         from definition of _DEFAULT_SOURCE.
51321         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
51322         [_DEFAULT_SOURCE].
51323         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
51324         * bits/mman.h [__USE_BSD]: Likewise.
51325         * bits/termios.h [__USE_BSD]: Likewise.
51326         * bits/waitstatus.h [__USE_BSD]: Likewise.
51327         * ctype/ctype.h [__USE_SVID]: Likewise.
51328         * dirent/dirent.h [__USE_BSD]: Likewise.
51329         * grp/grp.h [__USE_SVID]: Likewise.
51330         [__USE_BSD]: Likewise.
51331         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
51332         * io/fcntl.h [__USE_BSD]: Likewise.
51333         * io/ftw.h [__USE_BSD]: Likewise.
51334         * io/sys/stat.h [__USE_BSD]: Likewise.
51335         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
51336         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
51337         * libio/stdio.h [__USE_SVID]: Likewise.
51338         [__USE_BSD]: Likewise.
51339         * math/math.h [__USE_SVID]: Likewise.
51340         [__USE_BSD]: Likewise.
51341         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
51342         * misc/bits/syslog.h [__USE_BSD]: Likewise.
51343         * misc/search.h [__USE_SVID]: Likewise.
51344         * misc/sys/mman.h [__USE_BSD]: Likewise.
51345         * misc/sys/syslog.h [__USE_BSD]: Likewise.
51346         * misc/sys/uio.h [__USE_BSD]: Likewise.
51347         * posix/bits/unistd.h [__USE_BSD]: Likewise.
51348         * posix/glob.h [__USE_BSD]: Likewise.
51349         * posix/regex.h [__USE_BSD]: Likewise.
51350         * posix/sys/types.h [__USE_BSD]: Likewise.
51351         [__USE_SVID]: Likewise.
51352         * posix/sys/utsname.h [__USE_SVID]: Likewise.
51353         * posix/sys/wait.h [__USE_BSD]: Likewise.
51354         [__USE_SVID]: Likewise.
51355         * posix/unistd.h [__USE_BSD]: Likewise.
51356         [__USE_SVID]: Likewise.
51357         * pwd/pwd.h [__USE_SVID]: Likewise.
51358         * resolv/netdb.h [__USE_BSD]: Likewise.
51359         * setjmp/setjmp.h [__USE_BSD]: Likewise.
51360         * signal/signal.h [__USE_BSD]: Likewise.
51361         [__USE_SVID]: Likewise.
51362         * socket/sys/socket.h [__USE_BSD]: Likewise.
51363         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
51364         * stdlib/stdlib.h [__USE_BSD]: Likewise.
51365         [__USE_SVID]: Likewise.
51366         * string/bits/string2.h [__USE_BSD]: Likewise.
51367         [__USE_SVID]: Likewise.
51368         * string/bits/string3.h [__USE_BSD]: Likewise.
51369         * string/endian.h [__USE_BSD]: Likewise.
51370         * string/string.h [__USE_SVID]: Likewise.
51371         [__USE_BSD]: Likewise.
51372         * string/strings.h [__USE_BSD]: Likewise.
51373         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
51374         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
51375         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
51376         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
51377         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
51378         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
51379         Likewise.
51380         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
51381         Likewise.
51382         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
51383         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
51384         Likewise.
51385         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
51386         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
51387         Likewise.
51388         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
51389         Likewise.
51390         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
51391         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
51392         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
51393         Likewise.
51394         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
51395         Likewise.
51396         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
51397         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
51398         * termios/termios.h [__USE_BSD]: Likewise.
51399         * time/sys/time.h [__USE_BSD]: Likewise.
51400         * time/time.h [__USE_BSD]: Likewise.
51401         [__USE_SVID]: Likewise.
51403         * Makefile (subdir_targets): Remove subdir_lint.out.
51405         * stdio-common/Makefile (do-tst-unbputc): Remove target.
51406         (do-tst-printf): Likewise.
51407         (tests): Depend directly on $(objpfx)tst-unbputc.out and
51408         $(objpfx)tst-printf.out.
51410         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
51412         * Makerules (check-abi-%): Change target to
51413         $(objpfx)check-abi-%.out.
51414         (check-abi target): Update dependencies.
51415         (check-abi-pattern variable): Redirect output of diff to $@.
51416         (check-abi variable): Likewise.
51417         * elf/Makefile (check-abi): Update dependencies.
51419         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
51420         unused.
51421         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
51422         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
51423         subnormal range.
51424         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
51425         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
51426         value has largest subnormal exponent.
51427         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
51428         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
51429         * sysdeps/aarch64/soft-fp/sfp-machine.h
51430         (_FP_TININESS_AFTER_ROUNDING): New macro.
51431         * sysdeps/alpha/soft-fp/sfp-machine.h
51432         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51433         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51434         Likewise.
51435         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
51436         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51437         * sysdeps/mips/soft-fp/sfp-machine.h
51438         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51439         * sysdeps/powerpc/soft-fp/sfp-machine.h
51440         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51441         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51442         Likewise.
51443         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51444         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51445         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51446         (_FP_TININESS_AFTER_ROUNDING): Likewise.
51447         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
51448         Likewise.
51450 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
51452         [BZ #16545]
51453         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
51454         model 1.
51456 2014-02-12  Richard Henderson  <rth@redhat.com>
51458         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
51459         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
51460         * sysdeps/unix/sysv/linux/alpha: Move directory from
51461         ports/sysdeps/unix/sysv/linux/alpha.
51462         * README: Update listing for alpha-*-linux-gnu.
51464 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
51466         * include/features.h: Update comment documenting feature test
51467         macros.
51468         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
51469         _DEFAULT_SOURCE.
51470         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
51471         (_SVID_SOURCE): Likewise.
51472         (_DEFAULT_SOURCE): Update description of default features.
51473         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
51474         with _GNU_SOURCE.
51475         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
51476         (S_ISVTX): Likewise.
51477         * manual/math.texi (Mathematical Constants): Likewise.
51478         * manual/signal.texi (Interrupted Primitives): Likewise.
51479         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
51480         * math/test-matherr.c (_SVID_SOURCE): Do not define.
51481         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
51482         Don't refer to _SVID_SOURCE in warning text.
51484         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51486         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
51487         already defined.
51488         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
51489         * sysdeps/mips/dl-lookup.c: Remove.
51490         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
51492 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
51494         [BZ #16447]
51495         * math/auto-libm-test-in: Add testcase for expl.
51496         * math/auto-libm-test-out: Regenerate.
51497         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
51498         calculation of unsafe.
51499         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
51501 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51503         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
51504         * sysdeps/unix/sysv/linux/aarch64: Move directory from
51505         ports/sysdeps/unix/sysv/linux/aarch64.
51506         * README: Update listing for aarch64*-*-linux-gnu.
51508 2014-02-11  Will Newton  <will.newton@linaro.org>
51510         * manual/probes.texi (Mathematical Function Probes): Use
51511         "triggered" instead of "hit".
51513         * manual/probes.texi (Internal Probes): Add documentation
51514         of setjmp, longjmp and longjmp_target probes.
51516         * include/stap-probe.h: Add comment about probe argument
51517         format.
51519         * malloc/mtrace.c (attribute_hidden): Remove unused macro
51520         definition.  (tr_where, tr_freehook, tr_mallochook,
51521         tr_reallochook, tr_memalignhook): Use ANSI protoype.
51523 2014-02-11  David S. Miller  <davem@davemloft.net>
51525         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
51526         processing int_tests.
51528 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
51530         * sysdeps/mips: Move directory from ports/sysdeps/mips.
51531         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
51532         * sysdeps/unix/sysv/linux/mips: Move directory from
51533         ports/sysdeps/unix/sysv/linux/mips.
51534         * README: Update listing for mips-*-linux-gnu and
51535         mips64-*-linux-gnu.
51537 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
51539         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
51540         * sysdeps/unix/sysv/linux/m68k: Move directory from
51541         ports/sysdeps/unix/sysv/linux/m68k.
51542         * README: Update listing for m68k-*-linux-gnu.
51544 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
51546         * sysdeps/tile: Move directory from ports/sysdeps/tile.
51547         * sysdeps/unix/sysv/linux/generic: Move directory from
51548         ports/sysdeps/unix/sysv/linux/generic.
51549         * sysdeps/unix/sysv/linux/tile: Move directory from
51550         ports/sysdeps/unix/sysv/linux/tile.
51551         * README: Update listing for tile*-*-linux-gnu.
51553 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
51555         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
51556         __builtin_expect.
51557         * benchtests/bench-memmem.c (simple_memmem): Likewise.
51558         * catgets/open_catalog.c (__open_catalog): Likewise.
51559         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
51560         * debug/confstr_chk.c: Likewise.
51561         * debug/fread_chk.c (__fread_chk): Likewise.
51562         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
51563         * debug/getgroups_chk.c: Likewise.
51564         * debug/mbsnrtowcs_chk.c: Likewise.
51565         * debug/mbsrtowcs_chk.c: Likewise.
51566         * debug/mbstowcs_chk.c: Likewise.
51567         * debug/memcpy_chk.c: Likewise.
51568         * debug/memmove_chk.c: Likewise.
51569         * debug/mempcpy_chk.c: Likewise.
51570         * debug/memset_chk.c: Likewise.
51571         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
51572         * debug/strcat_chk.c (__strcat_chk): Likewise.
51573         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
51574         * debug/strncat_chk.c (__strncat_chk): Likewise.
51575         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
51576         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
51577         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
51578         * debug/wcpncpy_chk.c: Likewise.
51579         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
51580         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
51581         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
51582         * debug/wcsncpy_chk.c: Likewise.
51583         * debug/wcsnrtombs_chk.c: Likewise.
51584         * debug/wcsrtombs_chk.c: Likewise.
51585         * debug/wcstombs_chk.c: Likewise.
51586         * debug/wmemcpy_chk.c: Likewise.
51587         * debug/wmemmove_chk.c: Likewise.
51588         * debug/wmempcpy_chk.c: Likewise.
51589         * debug/wmemset_chk.c: Likewise.
51590         * dirent/scandirat.c (SCANDIRAT): Likewise.
51591         * dlfcn/dladdr1.c (dladdr1): Likewise.
51592         * dlfcn/dladdr.c (dladdr): Likewise.
51593         * dlfcn/dlclose.c (dlclose_doit): Likewise.
51594         * dlfcn/dlerror.c (__dlerror): Likewise.
51595         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
51596         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
51597         * dlfcn/dlopen.c (dlopen_doit): Likewise.
51598         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
51599         * dlfcn/dlsym.c (dlsym_doit): Likewise.
51600         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
51601         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
51602         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
51603         Likewise.
51604         * elf/dl-conflict.c: Likewise.
51605         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
51606         * elf/dl-dst.h: Likewise.
51607         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
51608         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
51609         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
51610         * elf/dl-init.c (call_init, _dl_init): Likewise.
51611         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
51612         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
51613         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
51614         Likewise.
51615         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
51616         Likewise.
51617         * elf/dl-minimal.c (__libc_memalign): Likewise.
51618         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
51619         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51620         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
51621         * elf/dl-sym.c (do_sym): Likewise.
51622         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
51623         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
51624         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
51625         * elf/dl-writev.h (_dl_writev): Likewise.
51626         * elf/ldconfig.c (search_dir): Likewise.
51627         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
51628         (dl_main): Likewise.
51629         * elf/setup-vdso.h (setup_vdso): Likewise.
51630         * grp/compat-initgroups.c (compat_call): Likewise.
51631         * grp/fgetgrent.c (fgetgrent): Likewise.
51632         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
51633         * grp/putgrent.c (putgrent): Likewise.
51634         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51635         Likewise.
51636         * hurd/hurdinit.c: Likewise.
51637         * iconvdata/8bit-gap.c (struct): Likewise.
51638         * iconvdata/ansi_x3.110.c : Likewise.
51639         * iconvdata/big5.c : Likewise.
51640         * iconvdata/big5hkscs.c : Likewise.
51641         * iconvdata/cp1255.c: Likewise.
51642         * iconvdata/cp1258.c : Likewise.
51643         * iconvdata/cp932.c : Likewise.
51644         * iconvdata/euc-cn.c: Likewise.
51645         * iconvdata/euc-jisx0213.c : Likewise.
51646         * iconvdata/euc-jp.c: Likewise.
51647         * iconvdata/euc-jp-ms.c : Likewise.
51648         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
51649         * iconvdata/gb18030.c : Likewise.
51650         * iconvdata/gbbig5.c (const): Likewise.
51651         * iconvdata/gbgbk.c: Likewise.
51652         * iconvdata/gbk.c : Likewise.
51653         * iconvdata/ibm1364.c : Likewise.
51654         * iconvdata/ibm930.c : Likewise.
51655         * iconvdata/ibm932.c: Likewise.
51656         * iconvdata/ibm933.c : Likewise.
51657         * iconvdata/ibm935.c : Likewise.
51658         * iconvdata/ibm937.c : Likewise.
51659         * iconvdata/ibm939.c : Likewise.
51660         * iconvdata/ibm943.c: Likewise.
51661         * iconvdata/iso_11548-1.c: Likewise.
51662         * iconvdata/iso-2022-cn.c : Likewise.
51663         * iconvdata/iso-2022-cn-ext.c : Likewise.
51664         * iconvdata/iso-2022-jp-3.c: Likewise.
51665         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
51666         * iconvdata/iso-2022-kr.c : Likewise.
51667         * iconvdata/iso646.c (gconv_end): Likewise.
51668         * iconvdata/iso_6937-2.c : Likewise.
51669         * iconvdata/iso_6937.c : Likewise.
51670         * iconvdata/iso8859-1.c: Likewise.
51671         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
51672         * iconvdata/shift_jisx0213.c : Likewise.
51673         * iconvdata/sjis.c : Likewise.
51674         * iconvdata/t.61.c : Likewise.
51675         * iconvdata/tcvn5712-1.c : Likewise.
51676         * iconvdata/tscii.c: Likewise.
51677         * iconvdata/uhc.c : Likewise.
51678         * iconvdata/unicode.c (gconv_end): Likewise.
51679         * iconvdata/utf-16.c (gconv_end): Likewise.
51680         * iconvdata/utf-32.c (gconv_end): Likewise.
51681         * iconvdata/utf-7.c (base64): Likewise.
51682         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
51683         * iconv/gconv_close.c (__gconv_close): Likewise.
51684         * iconv/gconv_open.c (__gconv_open): Likewise.
51685         * iconv/gconv_simple.c (internal_ucs4_loop_single)
51686         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
51687         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
51688         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
51689         (ucs4le_internal_loop_single): Likewise.
51690         * iconv/iconv.c (iconv): Likewise.
51691         * iconv/iconv_close.c: Likewise.
51692         * iconv/loop.c (SINGLE): Likewise.
51693         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
51694         * include/atomic.h: Likewise.
51695         * inet/inet6_option.c (option_alloc): Likewise.
51696         * intl/bindtextdom.c (set_binding_values): Likewise.
51697         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
51698         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
51699         * intl/localealias.c (read_alias_file): Likewise.
51700         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
51701         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
51702         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
51703         * libio/fmemopen.c (fmemopen): Likewise.
51704         * libio/iofgets.c (_IO_fgets): Likewise.
51705         * libio/iofgets_u.c (fgets_unlocked): Likewise.
51706         * libio/iofgetws.c (fgetws): Likewise.
51707         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
51708         * libio/iogetdelim.c (_IO_getdelim): Likewise.
51709         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
51710         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
51711         * locale/findlocale.c (_nl_find_locale): Likewise.
51712         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
51713         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
51714         Likewise.
51715         * locale/setlocale.c (setlocale): Likewise.
51716         * login/programs/pt_chown.c (main): Likewise.
51717         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
51718         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
51719         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
51720         (mmap, mmap64, mremap, munmap): Likewise.
51721         * math/e_exp2l.c: Likewise.
51722         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
51723         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
51724         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
51725         * math/s_catan.c (__catan): Likewise.
51726         * math/s_catanf.c (__catanf): Likewise.
51727         * math/s_catanh.c (__catanh): Likewise.
51728         * math/s_catanhf.c (__catanhf): Likewise.
51729         * math/s_catanhl.c (__catanhl): Likewise.
51730         * math/s_catanl.c (__catanl): Likewise.
51731         * math/s_ccosh.c (__ccosh): Likewise.
51732         * math/s_ccoshf.c (__ccoshf): Likewise.
51733         * math/s_ccoshl.c (__ccoshl): Likewise.
51734         * math/s_cexp.c (__cexp): Likewise.
51735         * math/s_cexpf.c (__cexpf): Likewise.
51736         * math/s_cexpl.c (__cexpl): Likewise.
51737         * math/s_clog10.c (__clog10): Likewise.
51738         * math/s_clog10f.c (__clog10f): Likewise.
51739         * math/s_clog10l.c (__clog10l): Likewise.
51740         * math/s_clog.c (__clog): Likewise.
51741         * math/s_clogf.c (__clogf): Likewise.
51742         * math/s_clogl.c (__clogl): Likewise.
51743         * math/s_csin.c (__csin): Likewise.
51744         * math/s_csinf.c (__csinf): Likewise.
51745         * math/s_csinh.c (__csinh): Likewise.
51746         * math/s_csinhf.c (__csinhf): Likewise.
51747         * math/s_csinhl.c (__csinhl): Likewise.
51748         * math/s_csinl.c (__csinl): Likewise.
51749         * math/s_csqrt.c (__csqrt): Likewise.
51750         * math/s_csqrtf.c (__csqrtf): Likewise.
51751         * math/s_csqrtl.c (__csqrtl): Likewise.
51752         * math/s_ctan.c (__ctan): Likewise.
51753         * math/s_ctanf.c (__ctanf): Likewise.
51754         * math/s_ctanh.c (__ctanh): Likewise.
51755         * math/s_ctanhf.c (__ctanhf): Likewise.
51756         * math/s_ctanhl.c (__ctanhl): Likewise.
51757         * math/s_ctanl.c (__ctanl): Likewise.
51758         * math/w_pow.c: Likewise.
51759         * math/w_powf.c: Likewise.
51760         * math/w_powl.c: Likewise.
51761         * math/w_scalb.c (sysv_scalb): Likewise.
51762         * math/w_scalbf.c (sysv_scalbf): Likewise.
51763         * math/w_scalbl.c (sysv_scalbl): Likewise.
51764         * misc/error.c (error_tail): Likewise.
51765         * misc/pselect.c (__pselect): Likewise.
51766         * nis/nis_callback.c (__nis_create_callback): Likewise.
51767         * nis/nis_call.c (__nisfind_server): Likewise.
51768         * nis/nis_creategroup.c (nis_creategroup): Likewise.
51769         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
51770         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
51771         * nis/nis_getservlist.c (nis_getservlist): Likewise.
51772         * nis/nis_lookup.c (nis_lookup): Likewise.
51773         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
51774         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
51775         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
51776         * nis/nis_xdr.c (xdr_endpoint): Likewise.
51777         * nis/nss_compat/compat-grp.c (getgrent_next_file)
51778         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
51779         * nis/nss_compat/compat-initgroups.c (add_group)
51780         (internal_getgrent_r): Likewise.
51781         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
51782         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
51783         * nis/nss_compat/compat-spwd.c (getspent_next_file)
51784         (internal_getspnam_r): Likewise.
51785         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
51786         (_nss_nis_getaliasbyname_r): Likewise.
51787         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
51788         (_nss_nis_getntohost_r): Likewise.
51789         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
51790         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
51791         (_nss_nis_getgrgid_r): Likewise.
51792         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
51793         (internal_nis_gethostent_r, internal_gethostbyname2_r)
51794         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
51795         (_nss_nis_gethostbyname4_r): Likewise.
51796         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
51797         (initgroups_netid): Likewise.
51798         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
51799         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
51800         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
51801         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
51802         (_nss_nis_getprotobynumber_r): Likewise.
51803         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
51804         (_nss_nis_getsecretkey): Likewise.
51805         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
51806         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
51807         (_nss_nis_getpwuid_r): Likewise.
51808         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
51809         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
51810         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
51811         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
51812         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
51813         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
51814         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
51815         Likewise.
51816         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
51817         (_nss_nisplus_getntohost_r): Likewise.
51818         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
51819         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
51820         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
51821         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
51822         Likewise.
51823         * nis/nss_nisplus/nisplus-initgroups.c
51824         (_nss_nisplus_initgroups_dyn): Likewise.
51825         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
51826         (_nss_nisplus_getnetbyaddr_r): Likewise.
51827         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
51828         (_nss_nisplus_getprotobynumber_r): Likewise.
51829         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
51830         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
51831         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
51832         Likewise.
51833         * nis/nss_nisplus/nisplus-service.c
51834         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
51835         (_nss_nisplus_getservbyport_r): Likewise.
51836         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
51837         (_nss_nisplus_getspnam_r): Likewise.
51838         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
51839         Likewise.
51840         * nscd/aicache.c (addhstaiX): Likewise.
51841         * nscd/cache.c (cache_search, prune_cache): Likewise.
51842         * nscd/connections.c (register_traced_file, send_ro_fd)
51843         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
51844         (main_loop_epoll): Likewise.
51845         * nscd/grpcache.c (addgrbyX): Likewise.
51846         * nscd/hstcache.c (addhstbyX): Likewise.
51847         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51848         * nscd/mem.c (gc, mempool_alloc): Likewise.
51849         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
51850         (addinnetgrX): Likewise.
51851         * nscd/nscd-client.h (__nscd_acquire_maplock)
51852         (__nscd_drop_map_ref): Likewise.
51853         * nscd/nscd_getai.c (__nscd_getai): Likewise.
51854         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
51855         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
51856         Likewise.
51857         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
51858         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
51859         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
51860         (__nscd_get_map_ref): Likewise.
51861         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
51862         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
51863         Likewise.
51864         * nscd/pwdcache.c (addpwbyX): Likewise.
51865         * nscd/selinux.c (preserve_capabilities): Likewise.
51866         * nscd/servicescache.c (addservbyX): Likewise.
51867         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
51868         * posix/fnmatch.c (fnmatch): Likewise.
51869         * posix/getopt.c (_getopt_internal_r): Likewise.
51870         * posix/glob.c (glob, glob_in_dir): Likewise.
51871         * posix/wordexp.c (exec_comm_child): Likewise.
51872         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
51873         (getanswer_r, gaih_getanswer_slice): Likewise.
51874         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
51875         * resolv/res_init.c: Likewise.
51876         * resolv/res_mkquery.c (res_nmkquery): Likewise.
51877         * resolv/res_query.c (__libc_res_nquery): Likewise.
51878         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
51879         Likewise.
51880         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
51881         * stdio-common/perror.c (perror): Likewise.
51882         * stdio-common/printf_fp.c (___printf_fp): Likewise.
51883         * stdio-common/tmpnam.c (tmpnam): Likewise.
51884         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
51885         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
51886         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
51887         Likewise.
51888         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
51889         * stdlib/putenv.c (putenv): Likewise.
51890         * stdlib/setenv.c (__add_to_environ): Likewise.
51891         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
51892         * stdlib/strtol_l.c (INTERNAL): Likewise.
51893         * string/memmem.c (memmem): Likewise.
51894         * string/strerror.c (strerror): Likewise.
51895         * string/strnlen.c (__strnlen): Likewise.
51896         * string/test-memmem.c (simple_memmem): Likewise.
51897         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
51898         * sunrpc/pm_getport.c (__get_socket): Likewise.
51899         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
51900         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
51901         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
51902         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
51903         Likewise.
51904         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
51905         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
51906         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
51907         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
51908         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
51909         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
51910         Likewise.
51911         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
51912         Likewise.
51913         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
51914         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
51915         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51916         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
51917         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
51918         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
51919         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
51920         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
51921         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
51922         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
51923         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51924         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
51925         Likewise.
51926         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
51927         Likewise.
51928         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
51929         Likewise.
51930         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
51931         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51932         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
51933         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
51934         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
51935         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
51936         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51937         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
51938         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
51939         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
51940         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
51941         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51942         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51943         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
51944         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51945         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
51946         Likewise.
51947         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
51948         Likewise.
51949         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
51950         Likewise.
51951         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
51952         Likewise.
51953         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
51954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51955         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
51956         Likewise.
51957         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
51958         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
51959         * sysdeps/posix/opendir.c (__opendirat): Likewise.
51960         * sysdeps/posix/sleep.c: Likewise.
51961         * sysdeps/posix/tempname.c: Likewise.
51962         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
51963         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
51964         Likewise.
51965         * sysdeps/powerpc/powerpc32/dl-machine.h
51966         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
51967         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
51968         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
51969         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
51970         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
51971         Likewise.
51972         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
51973         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
51974         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51975         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
51976         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
51977         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
51978         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
51979         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
51980         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51981         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
51982         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
51983         (elf_machine_lazy_rel): Likewise.
51984         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51985         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
51986         (elf_machine_lazy_rel): Likewise.
51987         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
51988         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
51989         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
51990         * sysdeps/unix/grantpt.c (grantpt): Likewise.
51991         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
51992         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
51993         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
51994         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51995         Likewise.
51996         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
51997         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
51998         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
51999         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
52000         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
52001         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
52002         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
52003         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
52004         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
52005         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
52006         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52007         Likewise.
52008         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
52009         (__posix_fallocate64_l64): Likewise.
52010         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
52011         (posix_fallocate): Likewise.
52012         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
52013         Likewise.
52014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52015         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
52016         (getifaddrs_internal): Likewise.
52017         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
52018         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
52019         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
52020         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
52021         * sysdeps/unix/sysv/linux/posix_fallocate64.c
52022         (__posix_fallocate64_l64): Likewise.
52023         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
52024         Likewise.
52025         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
52026         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
52027         (__get_clockfreq): Likewise.
52028         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
52029         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
52030         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
52031         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52032         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52033         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
52034         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
52035         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
52036         Likewise.
52037         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
52038         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
52039         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
52040         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
52041         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52042         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
52043         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
52044         Likewise.
52045         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
52046         (posix_fallocate): Likewise.
52047         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52048         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
52049         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
52050         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
52051         (elf_machine_rela, elf_machine_rela_relative)
52052         (elf_machine_lazy_rel): Likewise.
52053         * time/asctime.c (asctime_internal): Likewise.
52054         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
52055         * time/tzset.c (__tzset_parse_tz): Likewise.
52056         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
52057         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
52058         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
52059         * wcsmbs/wcsmbsload.h: Likewise.
52061         [BZ #15894]
52062         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
52064         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
52065         (arena_get2): Remove THREAD_STATS conditionals.
52066         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
52067         (__malloc_stats, int): Likewise.
52069 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
52071         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
52072         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
52074         * manual/setjmp.texi: Fix typos/grammar errors.
52076         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
52077         Only return early when n is <= 0.  Delete unused return statement.
52079         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
52080         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
52081         * debug/tst-longjmp_chk3.c: New file.
52083         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
52084         (test_main): Replace code with set_fortify_handler call.
52085         * debug/test-strcpy_chk.c: Likewise.
52086         * debug/tst-chk1.c: Likewise.
52087         * debug/tst-longjmp_chk.c: Likewise.
52088         * test-skeleton.c: Include fcntl.h & paths.h
52089         (set_fortify_handler): Define.
52091         * debug/tst-longjmp_chk.c: Add header comment and include
52092         ../test-skeleton.c.
52093         (do_test): Mark static.
52094         (TEST_FUNCTION): Define.
52096         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
52097         (IP_PMTUDISC_INTERFACE): Likewise.
52098         (IP_MULTICAST_IF): Likewise.
52099         (IP_MULTICAST_TTL): Likewise.
52100         (IP_MULTICAST_LOOP): Likewise.
52101         (IP_ADD_MEMBERSHIP): Likewise.
52102         (IP_DROP_MEMBERSHIP): Likewise.
52103         (IP_UNBLOCK_SOURCE): Likewise.
52104         (IP_BLOCK_SOURCE): Likewise.
52105         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
52106         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
52107         (IP_MSFILTER): Likewise.
52108         (MCAST_JOIN_GROUP): Likewise.
52109         (MCAST_BLOCK_SOURCE): Likewise.
52110         (MCAST_UNBLOCK_SOURCE): Likewise.
52111         (MCAST_LEAVE_GROUP): Likewise.
52112         (MCAST_JOIN_SOURCE_GROUP): Likewise.
52113         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
52114         (MCAST_MSFILTER): Likewise.
52115         (IP_MULTICAST_ALL): Likewise.
52116         (IP_UNICAST_IF): Likewise.
52118         * timezone/Makefile: Delete $(have-ksh) check.
52119         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
52120         * timezone/tzselect.ksh: Add +x mode bits.
52122         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
52123         (ANON_INODE_FS_MAGIC): Likewise.
52124         (BDEVFS_MAGIC): Likewise.
52125         (BINFMTFS_MAGIC): Likewise.
52126         (BTRFS_TEST_MAGIC): Likewise.
52127         (CRAMFS_MAGIC_WEND): Likewise.
52128         (DEBUGFS_MAGIC): Likewise.
52129         (ECRYPTFS_SUPER_MAGIC): Likewise.
52130         (EXT3_SUPER_MAGIC): Likewise.
52131         (EXT4_SUPER_MAGIC): Likewise.
52132         (FUTEXFS_SUPER_MAGIC): Likewise.
52133         (HOSTFS_SUPER_MAGIC): Likewise.
52134         (HUGETLBFS_MAGIC): Likewise.
52135         (MINIX3_SUPER_MAGIC): Likewise.
52136         (MTD_INODE_FS_MAGIC): Likewise.
52137         (NILFS_SUPER_MAGIC): Likewise.
52138         (OPENPROM_SUPER_MAGIC): Likewise.
52139         (PIPEFS_MAGIC): Likewise.
52140         (PSTOREFS_MAGIC): Likewise.
52141         (QNX6_SUPER_MAGIC): Likewise.
52142         (RAMFS_MAGIC): Likewise.
52143         (REISERFS_SUPER_MAGIC_STRING): Likewise.
52144         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
52145         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
52146         (SECURITYFS_MAGIC): Likewise.
52147         (SELINUX_MAGIC): Likewise.
52148         (SMACK_MAGIC): Likewise.
52149         (SOCKFS_MAGIC): Likewise.
52150         (SQUASHFS_MAGIC): Likewise.
52151         (STACK_END_MAGIC): Likewise.
52152         (TMPFS_MAGIC): Likewise.
52153         (USBDEVICE_SUPER_MAGIC): Likewise.
52154         (V9FS_MAGIC): Likewise.
52155         (XENFS_SUPER_MAGIC): Likewise.
52156         (CRAMFS_MAGIC): Fix typo in comment.
52157         (EXT2_SUPER_MAGIC): Update comment.
52158         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
52160 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
52162         * sysdeps/arm: Move directory from ports/sysdeps/arm.
52163         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
52164         * sysdeps/unix/sysv/linux/arm: Move directory from
52165         ports/sysdeps/unix/sysv/linux/arm.
52166         * README: Update listing for arm-*-linux-gnueabi.
52168         * README: Remove mention of am33.
52170 2014-02-07  Roland McGrath  <roland@hack.frob.com>
52172         * bits/sigset.h (__sigemptyset): Use a statement expression rather
52173         than the comma operator, to avoid "rhs of comma has no effect"
52174         compiler warnings.
52175         (__sigfillset, __sigandset, __sigorset): Likewise.
52176         * include/signal.h (__sigemptyset): Likewise.
52177         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
52179 2014-02-07  Allan McRae  <allan@archlinux.org>
52181         * version.h (RELEASE): Set to "development".
52182         (VERSION): Set to "2.19.90"
52183         * NEWS: Add 2.20 section.
52185 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
52187         [BZ #16529]
52188         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
52190 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52192         * manual/contrib.texi: Update entry for Carlos O'Donell,
52193         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
52195 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
52197         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
52199         * sysdeps/unix/sysv/linux/kernel-features.h
52200         [__LINUX_KERNEL_VERSION >= 0x020621]
52201         (__ASSUME_PROC_PID_TASK_COMM): Define.
52203 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52205         [BZ #16398]
52206         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
52207         conversion when destination buffer does not have enough space.
52208         * libio/tst-ftell-partial-wide.c: New test case.
52209         * libio/Makefile (tests): Add tst-ftell-partial-wide.
52211         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
52212         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
52213         Leonard and Allan McRae.
52215 2014-02-04  David S. Miller  <davem@davemloft.net>
52217         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
52218         32-bit.
52220 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
52223         New file
52224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
52225         New file
52226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
52227         New file.
52228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
52229         New file.
52230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
52231         New file.
52232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
52233         New file.
52234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
52235         New file.
52236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
52237         New file.
52238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
52239         New file.
52240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
52241         New file.
52242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
52243         New file.
52244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
52245         New file.
52246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
52247         New file.
52249 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52251         * nptl/shlib-versions: Change powerpc*le start to 2.17.
52252         * shlib-versions: Likewise.
52254 2014-02-04  Roland McGrath  <roland@hack.frob.com>
52255             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52257         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
52258         (abilist-pattern): New variable, set to %-le.abilist.
52260         * Makerules (abilist-pattern): New variable.
52261         (vpath): Use $(abilist-pattern) in place of %.abilist.
52262         (check-abi-% pattern rule): Likewise.
52263         (check-abi, update-abi): Likewise.
52265 2014-02-04  Eric Wong  <normalperson@yhbt.net>
52267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52269 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
52271         * manual/startup.texi: Add next, previous, and top entries for
52272         the `Program Arguments' and `Environment Variables' nodes.
52274 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
52276         * manual/macros.texi: Add comments before MTASC-safety macros.
52278         * manual/users.texi: Document MTASC-safety properties.
52280         * manual/threads.texi (pthread_key_create, pthread_key_delete)
52281         (pthread_getspecific, pthread_setspecific): Format with
52282         @deftypefun, and add @safety note.
52283         * manual/signal.texi: Move comments that analyze the above
52284         functions to their home place.
52286 2014-02-03  Allan McRae  <allan@archlinux.org>
52288         * po/sl.po: Update Slovenian translation from translation project.
52290 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
52292         * manual/time.texi (timegm): Add missing blank after @c.
52293         Reported by Joseph Myers <joseph@codesourcery.com>.
52295 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
52297         * manual/check-safety.sh: New.
52298         * manual/Makefile ($(objpfx)stamp-summary): Run it.
52300         * manual/terminal.texi: Document MTASC-safety properties.
52302         * manual/filesys.texi: Document MTASC-safety properties.
52304         * manual/errno.texi: Document MTASC-safety properties.
52306         * manual/intro.texi: Document safety identifiers and
52307         conditionals.
52309         * manual/string.texi (wcstok): Fix prototype.
52310         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
52312         * manual/time.texi: Document MTASC-safety properties.
52314         * manual/string.texi: Document MTASC-safety properties.
52316         * manual/threads.texi: Document MTASC-safety properties.
52318         * manual/stdio.texi: Document MTASC-safety properties.
52320         * manual/syslog.texi: Document MTASC-safety properties.
52322         * manual/sysinfo.texi: Document MTASC-safety properties.
52324         * manual/startup.texi: Document MTASC-safety properties.
52326         * manual/socket.texi: Document MTASC-safety properties.
52328         * manual/signal.texi: Document MTASC-safety properties.
52330 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
52332         * manual/setjmp.texi: Document MTASC-safety properties.
52334         * manual/search.texi: Document MTASC-safety properties.
52336         * manual/resource.texi: Document MTASC-safety properties.
52338         * manual/process.texi: Document MTASC-safety properties.
52340         * manual/platform.texi: Document MTASC-safety properties.
52342         * manual/pipe.texi: Document MTASC-safety properties.
52344         * manual/pattern.texi: Document MTASC-safety properties.
52346         * manual/message.texi: Document MTASC-safety properties.
52348         [BZ #12751]
52349         * manual/memory.texi: Document MTASC-safety properties.
52351         * manual/math.texi: Document MTASC-safety properties.
52353         * manual/locale.texi: Document MTASC-safety properties.
52355         * manual/llio.texi: Document MTASC-safety properties.
52357         * manual/libdl.texi: New.
52359         * manual/lang.texi: Document MTASC-safety properties.
52361         * manual/job.texi: Document MTASC-safety properties.
52363         * manual/getopt.texi: Document MTASC-safety properties.
52365         * manual/ctype.texi: Document MTASC-safety properties.
52367 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
52369         [BZ #16046]
52370         * csu/libc-tls.c (static_map): Remove variable.
52371         (__libc_setup_tls): Use main executable's link map for TLS data.
52372         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
52373         casing for LM_ID_BASE and GL(dl_nns).
52374         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
52375         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
52376         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
52377         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
52378         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
52379         member.
52380         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
52381         l_phnum members.
52383 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
52385         * manual/debug.texi: Document MTASC-safety properties.
52387 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
52389         [BZ #16510]
52390         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
52391         of __x86_64__ when disabling x87 inline functions.
52393 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
52395         * manual/charset.texi: Document MTASC-safety properties.
52397         * manual/crypt.texi: Document MTASC-safety properties.
52399         * manual/conf.texi: Document MTASC-safety properties.
52401         * manual/arith.texi: Document MTASC-safety properties.
52403         * manual/argp.texi: Document MTASC-safety properties.
52405         * manual/macros.texi: Introduce macros to document multi
52406         thread, asynchronous signal and asynchronous cancellation
52407         safety properties.
52408         * manual/intro.texi: Introduce the properties themselves.
52410 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52412         * sysdeps/sh/sh4/Makefile: New file.
52414 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
52416         * math/gen-libm-test.pl ($srcdir): New variable.
52417         ($auto_input): Use it.
52419 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52421         [BZ #16506]
52422         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
52423         access beyond array bounds when parsing netgroups file.
52425         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
52426         the old buffer before realloc.
52428 2014-01-27  Allan McRae  <allan@archlinux.org>
52430         * po/fr.po: Update French translation from translation project.
52432 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52434         * sysdeps/sh/libm-test-ulps: Regenerate.
52436 2014-01-24  David S. Miller  <davem@davemloft.net>
52438         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
52440 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52442         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
52443         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
52445 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
52447         [BZ #16474]
52448         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
52449         string pointers after reallocation.
52451 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52453         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
52454         __SH4A__ instead of __SH_FPU_ANY__.
52456 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52458         * sysdeps/sh/fpu_control.h: New file.
52459         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
52460         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
52461         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
52462         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
52463         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
52464         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
52465         * sysdeps/sh/sys/ucontext.h: Remove.
52466         * sysdeps/sh/sys: Remove directory.
52468 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52470         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
52471         s390/sys/ucontext.h.
52472         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
52473         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
52475 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
52477         [BZ #15605]
52478         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
52480 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52482         [BZ #16431]
52483         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52484         Adjust the vDSO correctly for internal calls.
52485         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
52487 2014-01-20  Allan McRae  <allan@archlinux.org>
52489         * po/ca.po: Update Catalan translation from translation project.
52491 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
52493         * sysdeps/s390/sotruss-lib.c: New file.
52495 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52497         [BZ #16430]
52498         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
52499         (__GI___gettimeofday): Alias for a different internal symbol to avoid
52500         local calls issues by not having a PLT stub required for IFUNC calls.
52501         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
52503 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
52505         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
52506         * math/test-fpucw-static.c: Likewise.
52508 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
52510         [BZ #16453]
52511         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
52513 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52515         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
52516         implementation for powerpc.
52518 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
52520         [BZ #14782]
52521         * sysdeps/posix/system.c (__libc_system): Do not enable
52522         asynchronous cancellation.
52524 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52526         [BZ #16427]
52527         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
52528         handling only for numbers special also in the IEEE case.
52530 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52532         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52534 2014-01-11  Allan McRae  <allan@archlinux.org>
52536         * po/bg.po: Update Bulgarian translation from translation project.
52538         * po/de.po: Update German translation from translation project.
52540 2014-01-10  Roland McGrath  <roland@hack.frob.com>
52542         * sysdeps/generic/gcc-compat.h: New file.
52544 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
52546         * benchtests/asin-inputs: Correct slow inputs.
52547         * benchtests/acos-inputs: Likewise.
52549 2014-01-10  Allan McRae  <allan@archlinux.org>
52551         * po:sv.po: Update Swedish translation from translation project.
52553         * po/vi.po: Update Vietnamese translation from translation project.
52555         * po/eo.po: Update Esperanto translation from translation project.
52557         * po/cs.po: Update Czech translation from translation project.
52559         * po/nl.po: Update Dutch translation from translation project.
52561         * po/pl.po: Update Polish translation from translation project.
52563         * po/ru.po: Update Russian translation from translation project.
52565         * po/uk.po: Update Ukrainian translation from translation project.
52567 2014-01-08  Brooks Moses  <bmoses@google.com>
52569         * elf/dl-load.c: Fix comment typo.
52571 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
52573         * po/header.pot: Rename to...
52574         * po/pot.header: ... this.
52575         * po/Makefile: Use pot.header.
52577 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
52578             Maxim Kuvyrkov  <maxim@kugelworks.com>
52580         [BZ #16394]
52581         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
52582         SRC and DEST against LEN.
52584 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52586         [BZ #16414]
52587         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
52588         implementation.
52589         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
52591 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52593         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52595 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
52597         [BZ #16408]
52598         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
52599         for large positive arguments.
52601 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
52603         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52605         * math/auto-libm-test-in: Mark various tests with
52606         xfail-rounding:ldbl-128ibm.
52607         * math/auto-libm-test-out: Regenerated.
52609         [BZ #16407]
52610         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
52611         Increase overflow threshold.
52613 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
52615         [BZ #14286]
52616         * stdio-common/vfprintf.c: Check for integer overflow.
52618 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52620         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
52621         the first argument and return value of __tls_get_addr_internal.
52623 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52625         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
52626         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
52628 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52630         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
52631         * sysdeps/s390/rtld-global-offsets.sym: New file.
52632         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
52633         GLIBC_2.19 symbol.
52634         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
52635         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
52636         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
52637         ... this.
52638         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
52639         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
52640         ... this.
52641         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52642         Regenerate.
52643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52644         Regenerate.
52645         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
52646         halfs of GPRs for high_gprs contexts.
52647         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
52648         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
52649         field.
52650         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
52651         uc_flags field.
52652         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
52653         64 bit versions:
52654         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
52655         for high GPRs (uc_high_gprs) and for future extensions
52656         (__reserved).
52657         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
52658         for future extensions (__reserved).
52659         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
52660         64 bit versions:
52661         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
52662         SC_HIGHGPRS offset definition.
52663         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
52664         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
52666         * Versions.def: Add GLIBC_2.19 for libpthread.
52667         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
52668         siglongjmp for libpthread with GLIBC_2.19 symver.
52669         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
52670         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
52671         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
52672         * sysdeps/s390/__longjmp.c: New file.
52673         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
52674         * sysdeps/s390/longjmp.c: New file.
52675         * sysdeps/s390/setjmp.S: New file.
52676         * sysdeps/s390/sigjmp.S: New file.
52677         * sysdeps/s390/v1-longjmp.c: New file.
52678         * sysdeps/s390/v1-setjmp.h: New file.
52679         * sysdeps/s390/v1-sigjmp.c: New file.
52680         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
52681         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
52682         GLIBC_2.19 version.
52683         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
52684         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
52685         versioned symbols for ____longjmp_chk.
52686         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
52687         Likewise.
52688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
52689         Regenerate.
52690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
52691         Regenerate.
52692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
52693         Regenerate.
52694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
52695         Regenerate.
52696         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
52697         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
52698         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
52699         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
52700         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
52701         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
52702         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
52703         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
52704         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
52705         * sysdeps/s390/rtld-__longjmp.c: New file.
52706         * sysdeps/s390/rtld-setjmp.S: New file.
52708 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
52710         [BZ #16400]
52711         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52712         Return -__logl (x) for small positive arguments without evaluating
52713         a polynomial.
52715 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
52717         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
52718         Rename to ...
52719         (__ptrace_peeksiginfo_args): ... this.
52720         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52721         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52722         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52724 2014-01-06  Allan McRae  <allan@archlinux.org>
52726         * inet/netinet/in.h: Fix typo in comment.
52728 2014-01-05  Andreas Jaeger  <aj@suse.de>
52730         * sysdeps/i386/fpu/libm-test-ulps: Update.
52732 2014-01-05  Allan McRae  <allan@archlinux.org>
52734         * po/libc.pot: Regenerated.
52736         * malloc/memusagestat.c: Fix gettext call formatting.
52738 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
52740         * nscd/nscd.c: Improve usage() output.
52742 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
52744         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
52745         * sysdeps/unix/sysv/linux/configure: Regenerated.
52746         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
52747         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
52749 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52751         [BZ #16390]
52752         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52753         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
52755 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52757         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
52758         extra tokens at end of #undef directive.
52759         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
52760         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
52761         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
52763 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
52765         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
52767         * math/auto-libm-test-in: Mark various tests with
52768         xfail-rounding:ldbl-128ibm.
52769         * math/auto-libm-test-out: Regenerated.
52771 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
52773         [BZ #16386]
52774         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
52775         numbers with subnormal high part when calculating exponent.
52777         [BZ #16385]
52778         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
52779         fabs.
52781         [BZ #16384]
52782         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
52783         M_LN2l.
52784         (__ieee754_acoshl): Use __log1pl not __log1p.
52786 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
52788         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
52789         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
52790         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
52791         (grow_heap, heap_trim, _int_new_arena, get_free_list)
52792         (reused_arena, arena_get2): Convert to GNU style.
52793         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
52794         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
52795         (memalign_check, __malloc_set_state): Likewise.
52796         * malloc/mallocbug.c (main): Likewise.
52797         * malloc/malloc.c (__malloc_assert, malloc_init_state)
52798         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
52799         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
52800         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
52801         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
52802         (__posix_memalign, malloc_info): Likewise.
52803         * malloc/malloc.h: Likewise.
52804         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
52805         (mallochook, memalignhook, reallochook, mabort): Likewise.
52806         * malloc/mcheck.h: Likewise.
52807         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
52808         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
52809         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
52810         * malloc/morecore.c (__default_morecore): Likewise.
52811         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
52812         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
52813         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
52814         (print_and_abort): Likewise.
52815         * malloc/obstack.h: Likewise.
52816         * malloc/set-freeres.c (__libc_freeres): Likewise.
52817         * malloc/tst-mallocstate.c (main): Likewise.
52818         * malloc/tst-mtrace.c (main): Likewise.
52819         * malloc/tst-realloc.c (do_test): Likewise.
52821 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52823         [BZ #16366]
52824         * nscd/netgroupcache.c (do_notfound): New function.
52825         (addgetnetgrentX): Use it.
52827         [BZ # 16365]
52828         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
52829         NSS_STATUS_NOTFOUND.
52831 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
52833         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
52834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52836 2014-01-01  Allan McRae  <allan@archlinux.org>
52838         * scripts/update-copyrights: Update configure input file suffix.
52840         * NEWS: Update copyright year.
52841         * catgets/gencat.c: Likewise.
52842         * csu/version.c: Likewise.
52843         * debug/catchsegv.sh: Likewise.
52844         * debug/pcprofiledump.c: Likewise.
52845         * debug/xtrace.sh: Likewise.
52846         * elf/ldconfig.c: Likewise.
52847         * elf/ldd.bash.in: Likewise.
52848         * elf/pldd.c: Likewise.
52849         * elf/sotruss.ksh: Likewise.
52850         * elf/sprof.c: Likewise.
52851         * iconv/iconv_prog.c: Likewise.
52852         * iconv/iconvconfig.c: Likewise.
52853         * locale/programs/locale.c: Likewise.
52854         * locale/programs/localedef.c: Likewise.
52855         * login/programs/pt_chown.c: Likewise.
52856         * malloc/memusage.sh: Likewise.
52857         * malloc/memusagestat.c: Likewise.
52858         * malloc/mtrace.pl: Likewise.
52859         * manual/libc.texinfo: Likewise.
52860         * nscd/nscd.c: Likewise.
52861         * nss/getent.c: Likewise.
52862         * nss/makedb.c: Likewise.
52863         * posix/getconf.c: Likewise.
52864         * scripts/test-installation.pl: Likewise.
52866         * All files with FSF copyright notices: Update copyright dates
52867         using scripts/update-copyrights.
52868         * intl/plural.c: Regenerated.
52869         * locale/programs/charmap-kw.h: Likewise.
52870         * locale/programs/locfile-kw.h: Likewise.
52872 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
52874         * sysdeps/unix/sysv/linux/configure: Regenerated.
52875         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
52876         the linux/fanotify.h header.
52877         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
52878         HAVE_LINUX_FANOTIFY_H is defined.
52880 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52882         * benchtests/cos-inputs: New inputs.
52883         * benchtests/sin-inputs: Likewise.
52885         * benchtests/atan-inputs: New inputs. Fix name of multiple
52886         precision fallback inputs.
52888         * benchtests/atanh-inputs: New inputs.
52889         * benchtests/tanh-inputs: Likewise.
52891         * benchtests/acosh-inputs: New inputs.
52892         * benchtests/asinh-inputs: Likewise.
52894         * benchtests/cosh-inputs: New inputs.
52895         * benchtests/sinh-inputs: Likewise.
52897         * benchtests/acos-inputs: Add more inputs.
52898         * benchtests/asin-inputs: Likewise.
52900 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
52902         [BZ #16375]
52903         * manual/arith.texi: Fix spelling.
52904         * manual/charset.texi: Likewise.
52905         * manual/errno.texi: Likewise.
52906         * manual/filesys.texi: Likewise.
52907         * manual/lang.texi: Likewise.
52908         * manual/llio.texi: Likewise.
52909         * manual/locale.texi: Likewise.
52910         * manual/message.texi: Likewise.
52911         * manual/resource.texi: Likewise.
52912         * manual/search.texi: Likewise.
52913         * manual/setjmp.texi: Likewise.
52914         * manual/stdio.texi: Likewise.
52915         * manual/string.texi: Likewise.
52916         * manual/sysinfo.texi: Likewise.
52917         * manual/time.texi: Likewise.
52919 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
52921         * po/sl.po: New file.
52923 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
52925         * .gitignore: Add core/.gdbinit/.gdb_history.
52927 2013-12-27  Allan McRae  <allan@archlinux.org>
52929         [BZ #16369]
52930         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
52931         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
52933 2013-12-24  Brooks Moses  <bmoses@google.com>
52935         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
52936         all compilers that claim C++98 compliance, not just GCC.
52937         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
52938         Likewise.
52940 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52942         * NEWS: Restore accidentally deleted bug-fix entries.
52944 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
52945             Ondřej Bílka  <neleai@seznam.cz>
52947         [BZ #15073]
52948         * malloc/malloc.c (_int_free): Perform sanity check only if we
52949         have_lock.
52951 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
52953         [BZ #12986]
52954         * manual/stdio.texi (String Input Conversions): Clarify that character
52955         classes are not supported.
52957 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52961 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
52963         [BZ #16337]
52964         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
52965         Calculate results for small negative arguments directly rather
52966         than using reflection formula with special underflow handling.
52968         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
52969         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
52970         sysdeps/unix/bsd/bsd4.4/syscalls.list.
52971         (fchflags): Likewise.
52972         (revoke): Likewise.
52973         (setlogin): Likewise.
52974         (sigaltstack): Likewise.
52975         (wait4): Likewise.
52976         (sigblock): Remove.
52977         (sigsetmask): Likewise.
52978         (wait3): Likewise.
52979         (waitpid): Likewise.
52980         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
52981         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
52982         file.
52983         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
52984         * sysdeps/unix/bsd/Makefile: ... here.
52985         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
52986         * sysdeps/unix/bsd/Versions: ... here.
52987         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
52988         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
52989         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
52990         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
52991         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
52992         * sysdeps/unix/bsd/sigblock.c: ... here.
52993         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
52994         * sysdeps/unix/bsd/sigsetmask.c: ... here.
52995         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
52996         * sysdeps/unix/bsd/sigvec.c: ... here.
52997         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
52998         * sysdeps/unix/bsd/tcdrain.c: ... here.
52999         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
53000         * sysdeps/unix/bsd/tcgetattr.c: ... here.
53001         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
53002         * sysdeps/unix/bsd/tcsetattr.c: ... here.
53003         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
53004         * sysdeps/unix/bsd/wait.c: ... here.
53005         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
53006         * sysdeps/unix/bsd/wait3.c: ... here.
53007         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
53008         * sysdeps/unix/bsd/waitpid.c: ... here.
53010 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
53012         [BZ #16356]
53013         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
53014         round-to-nearest for [!USE_AS_EXPM1L].
53015         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
53016         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
53017         more tests of exp and exp10.  Expect some exp10 tests to miss
53018         exceptions or fail in directed rounding modes.
53019         * math/auto-libm-test-out: Regenerated.
53020         * math/libm-test.inc (exp10_tonearest_test_data): New array.
53021         (exp10_test_tonearest): New function.
53022         (exp10_towardzero_test_data): New array.
53023         (exp10_test_towardzero): New function.
53024         (exp10_downward_test_data): New array.
53025         (exp10_test_downward): New function.
53026         (exp10_upward_test_data): New array.
53027         (exp10_test_upward): New function.
53028         (main): Call the new functions.
53029         * sysdeps/i386/fpu/libm-test-ulps: Update.
53030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53032 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
53034         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
53035         asinh, atan, atan2, atanh, cbrt, cos and cosh.
53036         * math/auto-libm-test-out: Regenerated.
53037         * math/libm-test.inc (acosh_test_data): Add more tests.
53038         (atanh_test_data): Likewise.
53039         (ceil_test_data): Likewise.
53040         (copysign_test_data): Likewise.
53041         * sysdeps/i386/fpu/libm-test-ulps: Update.
53042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53044         * timezone/checktab.awk: Update from tzcode 2013i.
53045         * timezone/private.h: Likewise.
53046         * timezone/scheck.c: Likewise.
53047         * timezone/tzfile.h: Likewise.
53048         * timezone/tzselect.ksh: Likewise.
53049         * timezone/zdump.c: Likewise.
53050         * timezone/zic.c: Likewise.
53052         * math/auto-libm-test-in: Add tests of cpow.
53053         * math/auto-libm-test-out: Regenerated.
53054         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
53055         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53056         mpc_cc_c.
53057         (func_calc_desc): Add mpc_cc_c union field.
53058         (test_functions): Add cpow.
53059         (special_fill_2pi): New function.
53060         (special_real_inputs): Add 2pi.
53061         (calc_generic_results): Handle mpc_cc_c.
53062         * sysdeps/i386/fpu/libm-test-ulps: Update.
53063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53065         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
53066         csqrt, ctan and ctanh.
53067         * math/auto-libm-test-out: Regenerated.
53068         * math/libm-test.inc (TEST_COND_x86_64): New macro.
53069         (TEST_COND_x86): Likewise.
53070         (ccos_test_data): Use AUTO_TESTS_c_c.
53071         (ccosh_test_data): Likewise.
53072         (cexp_test_data): Likewise.
53073         (clog_test_data): Likewise.
53074         (csqrt_test_data): Likewise.
53075         (ctan_test_data): Likewise.
53076         (ctan_tonearest_test_data): Likewise.
53077         (ctan_towardzero_test_data): Likewise.
53078         (ctan_downward_test_data): Likewise.
53079         (ctan_upward_test_data): Likewise.
53080         (ctanh_test_data): Likewise.
53081         (ctanh_tonearest_test_data): Likewise.
53082         (ctanh_towardzero_test_data): Likewise.
53083         (ctanh_downward_test_data): Likewise.
53084         (ctanh_upward_test_data): Likewise.
53085         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53086         mpc_c_c.
53087         (func_calc_desc): Add mpc_c_c union field.
53088         (FUNC_mpc_c_c): New macro.
53089         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
53090         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
53091         ctanh.
53092         (special_fill_min_subnorm_p120): New function.
53093         (special_real_inputs): Add min_subnorm_p120.
53094         (calc_generic_results): Handle mpc_c_c.
53095         * sysdeps/i386/fpu/libm-test-ulps: Update.
53096         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53098 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53100         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
53101         (do_sin_slow): New functions.
53102         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
53103         (cslow2, csloww1, csloww2): Use the new functions.
53105         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
53106         Use M to change sign of result instead of X.  Assume X is
53107         positive.
53108         (csloww1): Likewise.
53109         (__sin): Adjust.
53110         (__cos): Adjust.
53112         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
53113         arguments A and DA.
53114         (__sin): Adjust.
53115         (__cos): Likewise.
53117         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
53118         (__cos): Likewise.
53119         (sloww1): Don't adjust sign of DX.
53120         (csloww1): Likewise.
53121         (sloww2): Use X directly and don't adjust sign of DX.
53122         (csloww2): Likewise.
53124 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53126         * math/auto-libm-test-in: Add tests of cabs and carg.
53127         * math/auto-libm-test-out: Regenerated.
53128         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
53129         (carg_test_data): Likewise.
53130         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53131         mpc_c_f.
53132         (func_calc_desc): Add mpc_c_f union field.
53133         (test_functions): Add cabs and carg.
53134         (calc_generic_results): Handle mpc_c_f.
53136         * sysdeps/powerpc/powerpc32/libgcc-compat.S
53137         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
53138         as a macro and a compat symbol.
53139         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
53140         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
53141         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
53142         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
53143         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
53144         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
53145         not use .hidden.
53146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
53147         Likewise.
53148         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
53149         Likewise.
53150         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
53151         Likewise.
53152         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
53153         Likewise.
53154         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
53155         Likewise.
53156         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
53157         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
53158         from GLIBC_2.3.2.
53160 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53164 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53166         * manual/texinfo.tex: Update to version 2013-11-26.10 with
53167         trailing whitespace removed.
53168         * scripts/config.guess: Update to version 2013-11-29.
53169         * scripts/config.sub: Update to version 2013-10-01.
53171         * math/auto-libm-test-in: Add tests of sincos.
53172         * math/auto-libm-test-out: Regenerated.
53173         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
53174         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53175         mpfr_f_11.
53176         (func_calc_desc): Add mpfr_f_11 union field.
53177         (test_functions): Add sincos.
53178         (calc_generic_results): Handle mpfr_f_11.
53179         * sysdeps/i386/fpu/libm-test-ulps: Update.
53180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53182 2013-12-19  Andreas Schwab  <schwab@suse.de>
53184         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
53185         CALL_MCOUNT.
53186         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
53187         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
53188         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
53190 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
53192         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
53193         * sysdeps/i386/fpu/libm-test-ulps: Update.
53194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53196         [BZ #16293]
53197         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
53198         round-to-nearest mode when using frndint.
53199         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
53200         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
53201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
53202         Likewise.
53203         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
53204         sinh test to fail.
53205         * math/auto-libm-test-out: Regenerated.
53206         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
53207         (TEST_COND_x86): Likewise.
53208         (expm1_tonearest_test_data): New array.
53209         (expm1_test_tonearest): New function.
53210         (expm1_towardzero_test_data): New array.
53211         (expm1_test_towardzero): New function.
53212         (expm1_downward_test_data): New array.
53213         (expm1_test_downward): New function.
53214         (expm1_upward_test_data): New array.
53215         (expm1_test_upward): New function.
53216         (main): Run the new test functions.
53217         * sysdeps/i386/fpu/libm-test-ulps: Update.
53218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53220         * include/features.h: Update comment documenting feature test
53221         macros.  Mention _DEFAULT_SOURCE in comment.
53222         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
53223         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
53224         _BSD_SOURCE and _SVID_SOURCE.
53225         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
53226         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
53227         !_SVID_SOURCE]: Likewise.
53228         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53229         (__USE_POSIX_IMPLICITLY): Define.
53230         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53231         (_POSIX_SOURCE): Undefine and redefine.
53232         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
53233         (_POSIX_C_SOURCE): Likewise.
53234         * manual/creature.texi (_DEFAULT_SOURCE): Document.
53235         (Feature Test Macros): Update documentation of default features.
53237 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53239         * benchtests/Makefile: Add bench-strtok.
53240         * benchtests/bench-strtok.c: New file: strtok benchtest.
53242 2013-12-19  Allan McRae  <allan@archlinux.org>
53244         * manual/install.texi: Suppress menu for plain text output.
53245         * INSTALL: Regenerated.
53247 2013-12-18  Brooks Moses  <bmoses@google.com>
53249         [BZ #15846]
53250         * misc/getauxval.c: Include errno.h.
53251         (__getauxval): Set errno to ENOENT if the requested type is not
53252         found.
53253         * misc/sys/auxv.h (getauxval): Document that it may set errno;
53254         don't declare with __attribute_const__.
53255         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
53256         * manual/startup.texi: Document that getauxval sets errno.
53258 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53260         * math/auto-libm-test-in: Add tests of jn and yn.
53261         * math/auto-libm-test-out: Regenerated.
53262         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
53263         (yn_test_data): Likewise.
53264         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53265         mpfr_if_f.
53266         (func_calc_desc): Add mpfr_if_f union field.
53267         (FUNC_mpfr_if_f): New macro.
53268         (test_functions): Add jn and yn.
53269         (calc_generic_results): Assert type of second input for
53270         mpfr_ff_f.  Handle mpfr_if_f.
53271         (output_for_one_input_case): Disable all checking for arguments
53272         fitting floating-point types in case of an integer argument.
53273         * sysdeps/i386/fpu/libm-test-ulps: Update.
53274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
53277         Don't expect fegetround reference in libm.so.
53279 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53281         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
53282         $(config-cflags-nofma).
53284 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
53286         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
53287         * math/auto-libm-test-out: Regenerated.
53289         [BZ #16338]
53290         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
53291         to determine exponent and adjust argument to have exponent of -1.
53292         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
53293         log2.
53294         * math/auto-libm-test-out: Regenerated.
53295         * sysdeps/i386/fpu/libm-test-ulps: Update.
53296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53298 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
53300         * manual/probes.texi: Remove cases when per-thread arenas are
53301         disabled.
53303 2013-12-18  Andreas Schwab  <schwab@suse.de>
53305         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
53306         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
53307         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
53308         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
53309         * sysdeps/i386/i686/multiarch/Makefile: Update.
53310         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
53312 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53314         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
53315         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
53317 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
53319         [BZ #15968]
53320         Support TZ transition times < 00:00:00.
53321         This is needed for version-3 tz-format files; it supports time
53322         stamps past 2037 for America/Godthab (the only entry in the tz
53323         database for which this change is relevant).
53324         * manual/time.texi (TZ Variable): Document transition times
53325         from -167:59:59 through -00:00:01.
53326         * time/tzset.c (tz_rule): Time of day is now signed.
53327         (__tzset_parse_tz): Parse negative time of day.
53329         Document TZ transition times >= 25:00:00.
53330         * manual/time.texi (TZ Variable): Document transition times from
53331         25:00:00 through 167:59:59.  These are already supported, and this
53332         support will help with version-3 tz-format files.
53334         * manual/time.texi (TZ Variable): Modernize North America example
53335         to reflect current (i.e., 2007-and-later) daylight saving rules.
53337         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
53339 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53341         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
53342         * sysdeps/unix/bsd/bits/stat.h: Likewise.
53343         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
53344         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
53345         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
53346         * sysdeps/unix/bsd/bsdstat.h: Likewise.
53347         * sysdeps/unix/bsd/clock.c: Likewise.
53348         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
53349         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
53350         * sysdeps/unix/bsd/init-posix.c: Likewise.
53351         * sysdeps/unix/bsd/poll.c: Likewise.
53352         * sysdeps/unix/bsd/ptsname.c: Likewise.
53353         * sysdeps/unix/bsd/seekdir.c: Likewise.
53354         * sysdeps/unix/bsd/setegid.c: Likewise.
53355         * sysdeps/unix/bsd/seteuid.c: Likewise.
53356         * sysdeps/unix/bsd/setgid.c: Likewise.
53357         * sysdeps/unix/bsd/setrgid.c: Likewise.
53358         * sysdeps/unix/bsd/setruid.c: Likewise.
53359         * sysdeps/unix/bsd/setsid.c: Likewise.
53360         * sysdeps/unix/bsd/setuid.c: Likewise.
53361         * sysdeps/unix/bsd/sigaction.c: Likewise.
53362         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
53363         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
53364         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
53365         * sysdeps/unix/bsd/telldir.c: Likewise.
53366         * sysdeps/unix/bsd/times.c: Likewise.
53367         * sysdeps/unix/bsd/usleep.c: Likewise.
53369         * misc/Makefile (install-lib): Remove libbsd-compat.a.
53370         ($(objpfx)libbsd-compat.a): Remove rule.
53372         * include/features.h (__FAVOR_BSD): Do not define.
53373         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
53374         features conflicting with POSIX.
53375         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
53376         (_BSD_SOURCE): Remove description of not being a subset of other
53377         feature test macros.
53378         * manual/job.texi (getpgrp): Do not document BSD version.
53379         (getpgid): Do not document by reference to BSD getpgrp.
53380         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
53381         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
53382         * signal/signal.h [__FAVOR_BSD]: Likewise.
53383         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
53384         instead of making contents conditional on [__FAVOR_BSD].
53385         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
53387 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53391 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
53393         [BZ #16314]
53394         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
53395         values below 2**-450, not 2**-500.
53396         * math/auto-libm-test-in: Don't allow spurious underflow from
53397         hypot.
53398         * math/auto-libm-test-out: Regenerated.
53400         [BZ #16316]
53401         [BZ #16330]
53402         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
53403         values of ha and hb and sort them after adjusting subnormal
53404         arguments.
53405         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
53406         Likewise.
53407         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
53408         values of ea and eb and sort them after adjusting subnormal
53409         arguments.
53410         * math/auto-libm-test-in: Do not expect some hypot tests of
53411         subnormals to fail.  Add more hypot tests.
53412         * math/auto-libm-test-out: Regenerated.
53414 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53416         [BZ #13304]
53417         * sysdeps/sh/s_fma.c: New file.
53418         * sysdeps/sh/s_fmaf.c: New file.
53419         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
53420         version.
53421         * sysdeps/sh/Implies: Add sh/soft-fp.
53423 2013-12-16  Roland McGrath  <roland@hack.frob.com>
53425         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
53426         level of indirection to members `objname', `errstring', `malloced'.
53427         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
53428         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
53429         it as the __longjmp argument (just pass 1 instead).
53430         (_dl_catch_error): Initialize C with argument pointers and address of
53431         volatile local ERRCODE rather than copying values out of C at return.
53433 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
53435         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
53436         * math/auto-libm-test-out: Regenerated.
53437         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
53438         (hypot_test_data): Likewise.
53439         (pow_test_data): Likewise.
53440         (pow_tonearest_test_data): Likewise.
53441         * math/gen-auto-libm-tests.c (func_calc_method): Add value
53442         mpfr_ff_f.
53443         (func_calc_desc): Add mpfr_ff_f union field.
53444         (FUNC_mpfr_ff_f): New macro.
53445         (test_functions): Add atan2, hypot and pow.
53446         (special_fill_min): New function.
53447         (special_fill_minus_min): Likewise.
53448         (special_fill_min_subnorm): Likewise.
53449         (special_fill_minus_min_subnorm): Likewise.
53450         (special_real_inputs): Add min, -min, min_subnorm and
53451         -min_subnorm.
53452         (calc_generic_results): Handle mpfr_ff_f.
53453         * sysdeps/i386/fpu/libm-test-ulps: Update.
53454         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53456 2013-12-16  Will Newton  <will.newton@linaro.org>
53458         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
53459         (Aligned Memory Blocks): Add documentation for aligned_alloc
53460         and suggest it as an alternative to posix_memalign.
53461         (Hooks for Malloc): Document __memalign_hook is also called
53462         for aligned_alloc.  (Summary of Malloc): Add summary for
53463         aligned alloc.  Document __memalign_hook is also called
53464         for aligned_alloc.
53466 2013-12-16  Will Newton  <will.newton@linaro.org>
53468         * manual/memory.texi (Malloc Examples): Clarify default
53469         alignment documentation.  Suggest posix_memalign rather
53470         than memalign or valloc.
53471         (Aligned Memory Blocks): Remove suggestion to use memalign
53472         or valloc.  Remove obsolete comment about BSD.
53473         Document memalign errno values and mark the function obsolete.
53474         Document posix_memalign returned error codes.  Mark valloc
53475         as obsolete.  (Hooks for Malloc): __memalign_hook is also
53476         called for posix_memalign and valloc.
53477         (Summary of Malloc): Add posix_memalign to function summary.
53478         __memalign_hook is also called for posix_memalign and valloc.
53480 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53482         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
53483         TAYLOR_SIN.
53484         (__sin): Adjust.
53485         (__cos): Likewise.
53486         (sloww): Use mynumber union.  Expand ternary operator into
53487         if-else statements.
53488         (cslow): use mynumber union.
53490 2013-12-16  Allan McRae  <allan@archlinux.org>
53492         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
53493         * configure: Regenerated.
53495         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
53497         [BZ #14120]
53498         * configure.ac: Added --enable-maintainer-mode. Check for
53499         autoconf when enabled.
53500         * configure: Regenerated.
53502         * nscd/nscd.service: New file.
53503         * nscd/nscd.tmpfiles: New file.
53505 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
53507         [BZ #12100]
53508         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
53509         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
53510         * sysdeps/x86_64/multiarch/strstr.c: ... here.
53511         (strstr): Add __strstr_sse2_unaligned ifunc.
53512         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
53513         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
53514         (strcasestr): Remove __strcasestr_sse42 ifunc.
53515         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
53516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
53517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53519 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53521         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
53522         * sysdeps/sh/bits/fenv.h: ... here.
53523         * sysdeps/sh/sh4/fpu/bits: Remove directory.
53525 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53527         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
53529         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
53530         hypotf multiarch implementations.
53531         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
53532         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
53533         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
53534         multiarch hypot for PPC64.
53535         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
53536         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
53537         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
53538         multiarch hypotf for PPC64.
53540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
53541         modff multiarch implementations.
53542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
53543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
53544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
53545         multiarch modf for PPC64.
53546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
53547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
53548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
53549         multiarch modff for PPC64.
53551         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
53552         and logl multiarch implementations.
53553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
53554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
53555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
53556         multiarch logb for PPC64.
53557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
53558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
53559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
53560         multiarch logb for PPC64.
53561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
53562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
53563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
53564         multiarch logb for PPC64.
53566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
53567         isinff multiarch implementation.
53568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
53569         file.
53570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
53571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
53572         multiarch isinf for PPC64.
53573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
53574         file.
53575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
53576         multiarch isinff for PPC64.
53578         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
53579         finitef multiarch implementation.
53580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
53581         file.
53582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
53583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
53584         multiarch finite for PPC64.
53585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
53586         file.
53587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
53588         multiarch finitef for PPC64.
53590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
53591         lrint multiarch implementation.
53592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
53593         file.
53594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
53595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
53596         multiarch llrint for PPC64.
53597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
53598         multiarch lrint for PPC64.
53600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
53601         copysignf multiarch implementation.
53602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
53603         file.
53604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
53605         file.
53606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
53607         multiarch copysign for PPC64.
53608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
53609         multiarch copysignf for PPC64.
53611         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
53612         multiarch implementation.
53613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
53614         file.
53615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
53616         file.
53617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
53618         file.
53619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
53620         file.
53621         multiarch llround for PPC64.
53622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
53623         multiarch trunc for PPC64.
53624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
53625         multiarch truncf for PPC64.
53627         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
53628         multiarch implementation.
53629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
53630         file.
53631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
53632         file.
53633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
53634         file.
53635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
53636         file.
53637         multiarch llround for PPC64.
53638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
53639         multiarch round for PPC64.
53640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
53641         multiarch roundf for PPC64.
53643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
53644         multiarch implementation.
53645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
53646         file.
53647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
53648         file.
53649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
53650         file.
53651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
53652         file.
53653         multiarch llround for PPC64.
53654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
53655         multiarch floor for PPC64.
53656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
53657         multiarch floorf for PPC64.
53659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
53660         multiarch implementation.
53661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
53662         file.
53663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
53664         file.
53665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
53666         file.
53667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
53668         file.
53669         multiarch llround for PPC64.
53670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
53671         multiarch ceil for PPC64.
53672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
53673         multiarch ceilf for PPC64.
53675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53676         multiarch implementation.
53677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
53678         file.
53679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
53680         file.
53681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
53682         file.
53683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
53684         multiarch llround for PPC64.
53685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
53686         multiarch lround for PPC64.
53688         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53689         multiarch implementation.
53690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
53691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
53692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
53693         file.
53694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
53695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
53696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
53697         multiarch isnan for PPC64.
53698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
53699         multiarch isnanf for PPC64.
53701         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
53702         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
53703         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
53704         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
53705         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
53706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
53708         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
53709         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53710         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53711         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53713         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
53714         multiarch implementations.
53715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53716         (__libc_ifunc_impl_list): Likewise.
53717         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
53718         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
53719         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
53720         multiarch stpcpy for PPC64.
53722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
53723         multiarch implementations.
53724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53725         (__libc_ifunc_impl_list): Likewise.
53726         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
53727         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
53728         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
53729         multiarch strcpy for PPC64.
53731         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
53732         redefine function name.
53733         (_wordcopy_fwd_dest_aligned): Likewise.
53734         (_wordcopy_bwd_aligned): Likewise.
53735         (_wordcopy_bwd_dest_aligned): Likewise.
53736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
53737         multiarch implementations.
53738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53739         (__libc_ifunc_impl_list): Likewise.
53740         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
53741         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
53742         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
53743         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
53744         multiarch wcscpy for PPC64.
53746         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
53747         multiarch implementations.
53748         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53749         (__libc_ifunc_impl_list): Likewise.
53750         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
53751         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
53752         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
53753         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
53754         multiarch wcscpy for PPC64.
53756         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
53757         multiarch implementations.
53758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53759         (__libc_ifunc_impl_list): Likewise.
53760         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
53761         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
53762         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
53763         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
53764         multiarch wcsrchr for PPC64.
53766         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
53767         multiarch implementations.
53768         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53769         (__libc_ifunc_impl_list): Likewise.
53770         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
53771         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
53772         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
53773         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
53774         multiarch wcschr for PPC64.
53776         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
53777         multiarch implementations.
53778         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53779         (__libc_ifunc_impl_list): Likewise.
53780         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
53781         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
53782         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
53783         multiarch strchrnul for PPC64.
53785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
53786         implementations.
53787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53788         (__libc_ifunc_impl_list): Likewise.
53789         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
53790         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
53791         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
53792         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
53793         strchr for PPC64.
53795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
53796         implementations.
53797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53798         (__libc_ifunc_impl_list): Likewise.
53799         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
53800         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
53801         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
53802         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
53803         strncmp for PPC64.
53805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
53806         multiarch implementations.
53807         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53808         (__libc_ifunc_impl_list): Likewise.
53809         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
53810         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
53811         strncasecmp for PPC64.
53812         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
53813         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
53814         multiarch strncasecmp_l for PPC64.
53816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
53817         multiarch implementations.
53818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53819         (__libc_ifunc_impl_list): Likewise.
53820         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
53821         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
53822         multiarch strcasecmp for PPC64.
53823         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
53824         file.
53825         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
53826         multiarch strcasecmp_l for PPC64.
53828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
53829         implementations.
53830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53831         (__libc_ifunc_impl_list): Likewise.
53832         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
53833         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
53834         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
53835         strnlen for PPC64.
53837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
53838         implementations.
53839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53840         (__libc_ifunc_impl_list): Likewise.
53841         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
53842         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
53843         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
53844         strlen for PPC64.
53846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
53847         implementations.
53848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53849         (__libc_ifunc_impl_list): Likewise.
53850         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
53851         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
53852         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
53853         rawmemrchr for PPC64.
53855         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
53856         implementation.
53857         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53858         (__libc_ifunc_impl_list): Likewise.
53859         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
53860         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
53861         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
53862         memrchr for PPC64.
53864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
53865         implementation.
53866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53867         (__libc_ifunc_impl_list): Likewise.
53868         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
53869         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
53870         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
53871         memchr for PPC64.
53873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
53874         implementation.
53875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53876         (__libc_ifunc_impl_list): Likewise.
53877         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
53878         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
53879         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
53880         mempcpy for PPC64.
53882         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
53883         avoid cretion of __bzero symbol.
53884         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
53885         Likewise.
53886         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
53887         Likewise.
53888         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
53889         Likewise.
53890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
53891         multiarch implementations.
53892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53893         (__libc_ifunc_impl_list): Likewise.
53894         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
53895         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
53896         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
53897         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
53898         bzero for PPC32.
53899         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
53900         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
53901         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
53902         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
53903         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
53904         memset for PPC64.
53905         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
53907         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
53908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
53909         implementations.
53910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53911         (__libc_ifunc_impl_list): Likewise.
53912         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
53913         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
53914         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
53915         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
53916         memcmp for PPC64.
53918         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
53919         multiarch for POWER/PPC64.
53920         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
53921         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
53922         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
53923         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
53924         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
53925         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
53926         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
53927         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53928         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
53929         memcpy for PPC64.
53931         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
53932         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
53933         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
53934         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
53935         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
53936         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
53937         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
53938         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
53939         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
53940         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
53941         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
53942         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
53943         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
53944         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
53945         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
53946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
53947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
53948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
53949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
53950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
53951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
53952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
53954 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53956         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
53958 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53960         * benchtests/Makefile (bench): Add exp2 and log2.
53961         (LDLIBS-bench-exp2): Add -lm.
53962         (LDLIBS-bench-log2): Likewise.
53963         * benchtests/exp2-inputs: New inputs file.
53964         * benchtests/log2-inputs: New inputs file.
53965         * benchtests/log-inputs: Add new inputs.
53966         * benchtests/tan-inputs: Likewise.
53968 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53970         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
53971         definition...
53972         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
53973         (csloww2): ... from here.
53975         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
53976         instead of structures.
53977         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
53978         (POLYNOMIAL): Likewise.
53979         (TAYLOR_SLOW): Likewise.
53980         (__sin): Likewise.
53981         (__cos): Likewise.
53982         (slow1): Likewise.
53983         (slow2): Likewise.
53984         (sloww): Likewise.
53985         (sloww1); Likewise.
53986         (sloww2): Likewise.
53987         (bsloww1): Likewise.
53988         (bsloww2): Likewise.
53989         (cslow2): Likewise.
53990         (csloww): Likewise.
53991         (csloww1): Likewise.
53992         (csloww2): Likewise.
53994 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
53996         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
53997         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
53998         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
53999         * malloc/hooks.c (realloc_check): Likewise.
54001         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
54002         * malloc/arena.c: Remove PER_THREAD conditional.
54003         [!PER_THREAD]: Remove code.
54004         (ptmalloc_unlock_all2): Likewise.
54005         (ptmalloc_init): Likewise.
54006         (_int_new_arena): Likewise.
54007         (arena_get2): Likewise.
54008         * malloc/hooks.c (__malloc_get_state): Likewise.
54009         (__malloc_set_state): Likewise.
54010         * malloc/malloc.c: Likewise.
54011         (struct malloc_state): Likewise.
54012         (struct malloc_par): Likewise.
54013         (__libc_realloc): Likewise.
54014         (__libc_mallopt): Likewise.
54016 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54018         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
54020 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
54022         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
54023         macro to a function.  Check for zero perturb_byte.
54024         (_int_malloc, _int_free): Remove zero perturb_byte checks.
54026         * malloc/malloc.c: (force_reg): Remove.
54027         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
54028         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
54029         force_reg by atomic_forced_read.
54030         * malloc/arena.c (ptmalloc_init): Likewise.
54031         * malloc/hooks.c (top_check): Likewise.
54033 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54037 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
54039         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54041 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
54043         * math/auto-libm-test-in: Add tests of lgamma.
54044         * math/auto-libm-test-out: Regenerated.
54045         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
54046         (M_LOG_2_SQRT_PIl): Likewise.
54047         (lgamma_test_data): Use AUTO_TESTS_f_f1.
54048         * math/gen-auto-libm-tests.c (func_calc_method): Add value
54049         mpfr_f_f1.
54050         (func_calc_desc): Add mpfr_f_f1 union field.
54051         (ARGS1): New macro.
54052         (ARGS2): Likewise.
54053         (ARGS3): Likewise.
54054         (ARGS4): Likewise.
54055         (RET1): Likewise.
54056         (RET2): Likewise.
54057         (CALC): Likewise.
54058         (FUNC): Likewise.
54059         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
54060         (test_functions): Add lgamma.
54061         (calc_generic_results): Handle mpfr_f_f1.
54062         * sysdeps/i386/fpu/libm-test-ulps: Update.
54063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54065 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54067         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
54068         __mpn_add_n for PowerPC64/POWER7.
54069         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
54070         __mpn_sub_n for PowerPC64/POWER7.
54072         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
54073         __mpn_addmul_1 for PowerPC64.
54074         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
54075         __mpn_submul_1 for PowerPC64.
54076         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
54077         for PowerPC64.
54078         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
54079         for PowerPC64.
54081 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
54083         [BZ #15089]
54084         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
54086 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54088         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
54090         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
54091         add multiarch folders.
54092         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
54093         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
54094         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
54095         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
54096         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
54097         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
54098         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
54099         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
54100         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
54101         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
54102         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
54103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
54104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
54105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
54106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
54107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
54108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
54110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54111         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
54112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
54113         New file.
54114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
54115         New file.
54116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
54117         multiarch __ieee754_hypot for PowerPC32.
54118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
54119         New file.
54120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
54121         New file.
54122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
54123         multiarch __ieee754_hypotf for PowerPC32.
54125         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
54126         long_double_symbol only if __logbl is defined.
54127         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
54128         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
54129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
54130         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
54131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
54132         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
54133         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
54134         path for implementation.
54135         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
54136         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
54137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
54138         logb, and logbl multiarch implementations for PowerPC32.
54139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
54140         file.
54141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
54142         file.
54143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
54144         multiarch logb for PowerPC32.
54145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
54146         file.
54147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
54148         file.
54149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
54150         multiarch logbf for PowerPC32.
54151         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
54152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
54153         file.
54154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
54155         multiarch logbl implementation for PowerPC32.
54157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
54158         and modff multiarch implementations.
54159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
54160         New file.
54161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
54162         New file.
54163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
54164         multiarch modf for PowerPC32.
54165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
54166         New file.
54167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
54168         New file.
54169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
54170         multiarch modff for PowerPC32.
54172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
54173         and lrintf multiarch implementations.
54174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
54175         New file.
54176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
54177         New file.
54178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
54179         multiarch lrint for PowerPC32.
54180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
54181         file: multiarch lrintf for PowerPC32.
54183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
54184         and lroundf multiarch implementations.
54185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
54186         New file.
54187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
54188         New file.
54189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
54190         New file.
54191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
54192         multiarch lround for PowerPC32.
54193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
54194         file: multiarch lroundf for PowerPC32.
54196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
54197         copysign and copysignf multiarch implementations.
54198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
54199         New file.
54200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
54201         New file.
54202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
54203         file: multiarch copysign for PowerPC32.
54204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
54205         file: multiarch copysignf for PowerPC32.
54207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
54208         and truncf multiarch implementations.
54209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
54210         New file.
54211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
54212         file.
54213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
54214         multiarch trunc for PowerPC32.
54215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
54216         New file.
54217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
54218         New file.
54219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
54220         multiarch truncf for PowerPC32.
54222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
54223         and roundf multiarch implementations.
54224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
54225         New file.
54226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
54227         file.
54228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
54229         multiarch round for PowerPC32.
54230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
54231         New file.
54232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
54233         New file.
54234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
54235         multiarch roundf for PowerPC32.
54237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
54238         and floorf multiarch implementations.
54239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
54240         New file.
54241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
54242         file.
54243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
54244         multiarch floor for PowerPC32.
54245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
54246         New file.
54247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
54248         New file.
54249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
54250         multiarch floorf for PowerPC32.
54252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
54253         and ceilf multiarch implementations.
54254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
54255         New file.
54256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
54257         file.
54258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
54259         multiarch ceil for PowerPC32.
54260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
54261         New file.
54262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
54263         file.
54264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
54265         multiarch ceilf for PowerPC32.
54267         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
54268         is defined.
54269         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
54270         FINITEF is defined.
54271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
54272         and finitef multiarch implementations.
54273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
54274         New file.
54275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
54276         file.
54277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
54278         multiarch finite for PowerPC32.
54279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
54280         New file.
54281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
54282         file: multiarch finitef for PowerPC32.
54284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
54285         and isinff multiarch implementations.
54286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
54287         file.
54288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
54289         file.
54290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
54291         multiarch isinf for PowerPC32.
54292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
54293         New file.
54294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
54295         multiarch isinff for PowerPC32.
54297         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
54298         alias when __isnan is defined.
54299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
54300         and isnanf multiarch implementations.
54301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
54302         file.
54303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
54304         file.
54305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
54306         file.
54307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
54308         file.
54309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
54310         multiarch isnan for PowerPC32.
54311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
54312         New file.
54313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
54314         New file.
54315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
54316         multiarch isnanf for PowerPC32.
54318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
54319         and sqrtf multiarch implementations.
54320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
54321         file.
54322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
54323         file.
54324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
54325         multiarch sqrt for PowerPC32.
54326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
54327         file.
54328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
54329         file.
54330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
54331         multiarch sqrtf for PowerPC32.
54333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
54334         and llroundf multiarch implementations.
54335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
54336         New file.
54337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
54338         New file.
54339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
54340         New file.
54341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
54342         file: multiarch llround for PowerPC32.
54343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
54344         file: multiarch llroundf for PowerPC32.
54346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
54347         multiarch PowerPC32 fpu implementations.
54348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
54349         New file.
54350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
54351         New file.
54352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
54353         multiarch llrint for PowerPC32.
54354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
54355         New file.
54356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
54357         New file.
54358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
54359         file.
54361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
54363         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
54364         file.
54365         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
54366         file.
54367         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
54368         file.
54369         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
54370         multiarch wordcopy for PPC32.
54371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54372         wordcopy objects.
54373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54374         (__libc_ifunc_impl_list): Likewise.
54375         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
54376         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
54377         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
54378         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
54379         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
54380         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
54382         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
54383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
54384         file.
54385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
54386         file.
54387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
54388         file.
54389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
54390         multiarch wcscpy for PPC32.
54391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
54392         multiarch objects.
54393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54394         (__libc_ifunc_impl_list): Likewise.
54395         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54396         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54397         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
54398         sysdeps/powerpc/power6/wcscpy.c.
54400         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
54401         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
54402         file.
54403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
54404         file.
54405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
54406         file.
54407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
54408         multiarch wcsrchr for PPC32.
54409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54410         multiarch objects.
54411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54412         (__libc_ifunc_impl_list): Likewise.
54413         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
54414         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
54415         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
54416         sysdeps/powerpc/power6/wcsrchr.c.
54418         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
54419         file.
54420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
54421         file.
54422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
54423         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
54424         multiarch wcschr for PPc32.
54425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
54426         multiarch objects.
54427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54428         (__libc_ifunc_impl_list): Likewise.
54429         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
54430         * sysdeps/powerpc/power6/wcschr.c: ... to here.
54431         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
54432         sysdeps/powerpc/power6/wcschr.c.
54434         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
54435         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
54436         file.
54437         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
54438         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
54439         file: multiarch strchr for PPC32.
54440         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
54441         multiarch objects.
54442         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54443         (__libc_ifunc_impl_list): Likewise.
54445         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
54446         name.
54447         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
54448         file.
54449         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
54450         file.
54451         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
54452         multiarch strchrnul for PPC32.
54453         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
54454         multiarch objects.
54455         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54456         (__libc_ifunc_impl_list): Likewise.
54458         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
54459         file.
54460         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
54461         multiarch strncasecmp for PPC32.
54462         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
54463         file.
54464         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
54465         multiarch strncasecmp_l for PPC32.
54466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
54467         strncasecmp multiarch objects.
54468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54469         (__libc_ifunc_impl_list): Likewise.
54471         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
54472         file.
54473         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
54474         multiarch strncasecmp for PPC32.
54475         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
54476         New file.
54477         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
54478         multiarch strcasecmp_l for PPC32.
54479         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
54480         multiarch objects.
54481         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54482         (__libc_ifunc_impl_list): Likewise.
54484         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
54485         file.
54486         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
54487         file.
54488         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
54489         multiarch strncmp for PPC32.
54490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
54491         multiarch objects.
54492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54493         (__libc_ifunc_impl_list): Likewise.
54495         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
54496         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
54497         file.
54498         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
54499         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
54500         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
54501         multiarch objects.
54502         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54503         (__libc_ifunc_impl_list): Likewise.
54505         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
54506         file.
54507         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
54508         file.
54509         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
54510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
54511         multiarch objects.
54512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54513         (__libc_ifunc_impl_list): Likewise.
54515         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
54516         file.
54517         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
54518         file.
54519         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
54520         multiarch rawmemchr for PPC32.
54521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
54522         multiarch objects.
54523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54524         (__libc_ifunc_impl_list): Likewise.
54526         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54527         file.
54528         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
54529         file.
54530         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
54531         file: memrchr multiarch for PPC32.
54532         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
54533         multiarch objects.
54534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
54535         (__libc_ifunc_impl_list): Likewise.
54537         * string/memchr.c (__memchr): Using macro to redefine symbol name.
54538         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
54539         file.
54540         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
54541         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
54542         multiarch memchr for PPC32.
54543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
54544         multiarch objects.
54545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54546         (__libc_ifunc_impl_list): Likewise.
54548         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
54549         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
54550         file.
54551         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
54552         file.
54553         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
54554         file: multiarch mempcpy for PPC32.
54555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
54556         multiarch objects.
54557         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54558         (__libc_ifunc_impl_list): Likewise.
54560         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
54561         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
54562         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
54563         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
54564         multiarch bzero for PPC32.
54565         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
54566         file.
54567         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
54568         file.
54569         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
54570         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
54571         file: multiarch memset for PPC32.
54572         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
54573         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
54574         memset multiarch objects.
54575         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54576         (__libc_ifunc_impl_list): Likewise.
54578         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
54579         file.
54580         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
54581         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54582         memcmp for PPC32.
54583         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
54584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
54585         multiarch objects.
54586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54587         (__libc_ifunc_impl_list): Likewise.
54589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
54590         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
54591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
54592         file.
54593         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
54594         file.
54595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
54596         file.
54597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
54598         multiarch memcpy for PPC32.
54599         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
54600         multiarch objects.
54601         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
54602         (__libc_ifunc_impl_list): Likewise.
54604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
54605         support multiarch for POWER/PPC32.
54606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
54607         Likewise.
54608         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
54609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
54610         Implies file to make multiarch folder appers before the fpu and
54611         default folder for power4 configuration.
54613 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54615         * scripts/bench.pl: Append volatile keyword to type.
54617 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54619         * sysdeps/sh/sotruss-lib.c: New file.
54620         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
54622 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54626 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
54628         [BZ #6810]
54629         * math/w_tgamma.c: Include <errno.h>.
54630         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
54631         * math/w_tgammaf.c: Include <errno.h>.
54632         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
54633         * math/w_tgammal.c: Include <errno.h>.
54634         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
54635         * math/auto-libm-test-in: Do not allow missing errno on tgamma
54636         underflow.  Add more tgamma tests.
54637         * math/auto-libm-test-out: Regenerated.
54638         * sysdeps/i386/fpu/libm-test-ulps: Update.
54639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54641         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
54642         sin, sinh, tan, tanh, tgamma, y0 and y1.
54643         * math/auto-libm-test-out: Regenerated.
54644         * math/libm-test.inc (TEST_COND_x86_64): New macro.
54645         (TEST_COND_x86): Likewise.
54646         (M_E2l): Remove macro.
54647         (M_E3l): Likewise.
54648         (M_2_SQRT_PIl): Likewise.
54649         (M_SQRT_PIl): Likewise.
54650         (M_1_DIV_El): Likewise.
54651         (log_test_data): Use AUTO_TESTS_f_f.
54652         (log10_test_data): Likewise.
54653         (log1p_test_data): Likewise.
54654         (log2_test_data): Likewise.
54655         (sin_test_data): Likewise.
54656         (sin_tonearest_test_data): Likewise.
54657         (sin_towardzero_test_data): Likewise.
54658         (sin_downward_test_data): Likewise.
54659         (sin_upward_test_data): Likewise.
54660         (sinh_test_data): Likewise.
54661         (sinh_tonearest_test_data): Likewise.
54662         (sinh_towardzero_test_data): Likewise.
54663         (sinh_downward_test_data): Likewise.
54664         (sinh_upward_test_data): Likewise.
54665         (tan_test_data): Likewise.
54666         (tan_tonearest_test_data): Likewise.
54667         (tan_towardzero_test_data): Likewise.
54668         (tan_downward_test_data): Likewise.
54669         (tan_upward_test_data): Likewise.
54670         (tanh_test_data): Likewise.
54671         (tgamma_test_data): Likewise.
54672         (y0_test_data): Likewise.
54673         (y1_test_data): Likewise.
54674         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
54675         (special_real_inputs): Add pi/4.
54676         * sysdeps/i386/fpu/libm-test-ulps: Update.
54677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54679 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54681         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
54682         "longjmp_target" static probes.
54683         (__longjmp): Rename to __longjmp_symbol.
54684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54685         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
54686         on which longjmp to generate.
54687         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
54688         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
54689         probe.
54690         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54691         (__sigjmp_save): Rename to __sigjmp_save_symbol.
54692         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
54693         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
54694         and __sigjmp_save_symbol based on which sigsetjmp to generated.
54695         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
54697         __longjmp_symbol based on which __longjmp to generate.
54698         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
54699         probe.
54700         (setjmp): Rename to setjmp_symbol.
54701         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54702         (_setjmp): Rename to _setjmp_symbol.
54703         (__sigsetjmp): Rename to __sigsetjmp_symbol.
54704         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
54705         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
54706         which setjmp to generate.
54707         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
54708         "longjmp_target" static probes.
54710 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54712         * benchtests/README: Add note about output arguments.
54713         * benchtests/bench-sincos.c: Remove file.
54714         * benchtests/sincos-inputs: New file.
54715         * scripts/bench.pl: Identify output arguments and define
54716         static variables for them.
54718         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
54720         [BZ #15941]
54721         * Makefile (INSTALL): Add install-plain.texi as the primary
54722         dependency.
54723         * manual/install-plain.texi: New file.
54724         * manual/install.texi: Include node directive only for
54725         non-plaintext output.
54727 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
54729         * stdlib/longlong.h: Update from GCC.
54731         [BZ #6807]
54732         [BZ #15901]
54733         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
54734         * math/w_j0f.c (y0f): Likewise.
54735         * math/w_j0l.c (__y0l): Likewise.
54736         * math/w_j1.c (y1): Likewise.
54737         * math/w_j1f.c (y1f): Likewise.
54738         * math/w_j1l.c (__y1l): Likewise.
54739         * math/w_jn.c (yn): Likewise.
54740         * math/w_jnf.c (ynf): Likewise.
54741         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
54742         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
54743         value for Bessel function domain errors outside _SVID_ mode.
54744         Adjust sign of return value for yn (negative integer, 0).
54745         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
54746         by zero in return for negative x and set sign appropriately for
54747         negative n.
54748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
54749         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
54750         * math/libm-test.inc (y0_test_data): Add more tests and adjust
54751         expectations in error cases.
54752         (y1_test_data): Likewise.
54753         (yn_test_data): Likewise.
54754         * sysdeps/i386/fpu/libm-test-ulps: Update.
54755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54757 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54759         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
54760         "64" to "64-v1".  Add "64-v2".
54761         (abi-64-options): Rename to ...
54762         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
54763         (abi-64-condition): Rename to ...
54764         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
54765         (abi-64-ld-soname): Rename to ...
54766         (abi-64-v1-ld-soname): ... this.
54767         (abi-64-v2-options): Define.
54768         (abi-64-v2-condition): Likewise.
54769         (abi-64-v2-ld-soname): Likewise.
54770         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
54771         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
54772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
54773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
54774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
54776 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54777             Alan Modra  <amodra@gmail.com>
54779         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
54780         New versions for use with the ELFv2 ABI.
54781         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
54782         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
54783         declaration.
54784         (struct La_ppc64v2_retval): Likewise.
54785         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
54786         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
54787         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
54788         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
54789         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
54790         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54791         Do not save or restore CR.
54792         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
54793         (_dl_profile_resolve): Do no save or restore CR.  Support extended
54794         return values for ELFv2 ABI.  Fix location of FPR return registers.
54795         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
54796         updated values for _CALL_ELF == 2.
54797         (La_regs, La_retval, int_retval): Likewise.
54799 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54801         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
54802         (FRAME_MIN_SIZE_PARM): Likewise.
54803         (FRAME_BACKCHAIN): Likewise.
54804         (FRAME_CR_SAVE): Likewise.
54805         (FRAME_LR_SAVE): Likewise.
54806         (FRAME_TOC_SAVE): Likewise.
54807         (FRAME_PARM_SAVE): Likewise.
54808         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
54809         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
54810         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54811         (call_mcount_parm_offset): New macro.
54812         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
54813         (PROF): Use symbolic stack frame offsets.
54814         (TAIL_CALL_SYSCALL_ERROR): Likewise.
54815         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
54816         Redefine in terms of FRAME_MIN_SIZE.
54817         (_dl_runtime_resolve): Use symbolic stack frame offsets.
54818         (_dl_profile_resolve): Likewise.  Update comment.
54819         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
54820         symbols stack frame offsets.
54821         (__sigsetjmp): Likewise.
54822         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
54823         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
54824         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
54825         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
54827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
54828         (FRAME_BACKCHAIN): Remove.
54829         (FRAME_CR_SAVE): Likewise.
54830         (FRAME_LR_SAVE): Likewise.
54831         (FRAME_COMPILER_DW): Likewise.
54832         (FRAME_LINKER_DW): Likewise.
54833         (FRAME_TOC_SAVE): Likewise.
54834         (FRAME_PARM_SAVE): Likewise.
54835         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
54836         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
54837         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
54838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
54839         (CHECK_SP): Use symbolic stack frame offsets.
54840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
54841         zone" instead of caller's parameter save area for temp storage.
54842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54843         Likewise.  Also, use symbolic stack frame offsets.
54844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
54845         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
54846         our own stack frame instead of the caller's.
54847         (__socket): Use symbolic stack frame offsets.
54849 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54850             Alan Modra  <amodra@gmail.com>
54852         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
54853         Define.
54854         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
54855         (PPC64_LOCAL_ENTRY_OFFSET): Define.
54856         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
54857         New function.
54858         (elf_machine_fixup_plt): Call it.
54859         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
54860         reloc arguments.
54861         (elf_machine_rela): Update call to elf_machine_plt_conflict.
54862         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54863         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
54864         r2 before calling target.
54866 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54867             Alan Modra  <amodra@gmail.com>
54869         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
54870         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
54871         versions of macros to support ELFv2 ABI.
54872         (LOCALENTRY): New macro.
54873         (ENTRY, EALIGN): Use it.
54874         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
54875         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
54876         fall through into ENTRY entry point.
54877         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
54878         Only define if _CALL_ELF != 2.
54880         (elf_machine_matches_host): Verify ABI version matches.
54881         (RTLD_START): Use LOCALENTRY.
54882         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
54883         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
54884         (PLT_ENTRY_WORDS): New macro.
54885         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
54886         (elf_machine_runtime_setup): Support ELFv2 ABI.
54887         (elf_machine_fixup_plt): Likewise.
54888         (elf_machine_plt_conflict): Likewise.
54889         (resolve_ifunc): Likewise.
54890         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54891         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
54892         Likewise.
54893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
54894         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
54895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54896         (makecontext): Support ELFv2 ABI.
54897         * elf/elf.h (EF_PPC64_ABI): Define.
54899 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54901         * sysdeps/powerpc/powerpc64/sysdep.h
54902         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
54903         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
54904         (ENTRY) [ASSEMBLER]: ... but instead here ...
54905         (EALIGN) [ASSEMBLER]: ... and here.
54906         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
54907         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
54908         (ENTRY_2) [!ASSEMBLER]: Use it.
54909         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
54910         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
54911         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
54912         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
54913         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
54914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
54915         Use PPC64_LOAD_FUNCPTR.
54917         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
54919 2013-12-04  Alan Modra  <amodra@gmail.com>
54921         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
54922         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
54923         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
54924         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
54926         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
54927         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
54928         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
54929         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
54930         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
54931         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
54933 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
54935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54936         (__makecontext): Fix incorrect CFI when backtracing out of
54937         context created via makecontext.
54938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
54939         (__setcontext): Fix incorrect CFI during switch to new context.
54940         (__novec_setcontext): Likewise.
54942 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54944         [BZ #4772]
54945         * time/strptime_l.c (__strptime_internal): Allow modifiers
54946         in strptime.
54947         * time/tst-strptime.c (day_tests): Add testcase.
54949 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54951         * scripts/bench.pl: Skip over blank lines.
54953 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
54955         [BZ #926]
54956         * manual/time.texi (Calendar Time): Clarify what timezone functions
54957         use.
54959 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54963 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
54965         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
54966         implementation.
54967         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
54968         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
54969         * debug/memset_chk.c (__memset_chk): Likewise.
54970         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
54971         * debug/strncpy_chk.c: Likewise.
54973 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
54975         [BZ #15268]
54976         [BZ #15425]
54977         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
54978         (__ieee754_exp): For possibly underflowing results, check size of
54979         result and force underflow exception if required.
54980         * math/auto-libm-test-in: Add more tests of exp.
54981         * math/auto-libm-test-out: Regenerated.
54982         * sysdeps/i386/fpu/libm-test-ulps: Update.
54983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54985         [BZ #16283]
54986         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
54987         * math/w_exp2f.c (__exp2f): Likewise.
54988         * math/w_exp2l.c (__exp2l): Likewise.
54989         * math/auto-libm-test-in: Do not allow missing errno on exp2
54990         underflow.
54991         * math/auto-libm-test-out: Regenerated.
54993 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
54995         [BZ #16274]
54996         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
54997         handle filename validation.
54998         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
54999         (do_open): Delete.
55001 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
55003         [BZ #6786]
55004         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
55005         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
55006         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
55007         <float.h>.
55008         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
55009         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
55010         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
55012         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55013         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
55014         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
55015         * math/auto-libm-test-in: Don't allow missing errno from erfc.
55016         Add more erfc tests.
55017         * math/auto-libm-test-out: Regenerated.
55018         * sysdeps/i386/fpu/libm-test-ulps: Update.
55019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55021         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
55022         exp2, expm1, j0 and j1.
55023         * math/auto-libm-test-out: Regenerated.
55024         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
55025         (erfc_test_data): Likewise.
55026         (exp_test_data): Likewise.
55027         (exp_tonearest_test_data): Likewise.
55028         (exp_towardzero_test_data): Likewise.
55029         (exp_downward_test_data): Likewise.
55030         (exp_upward_test_data): Likewise.
55031         (exp10_test_data): Likewise.
55032         (exp2_test_data): Likewise.
55033         (expm1_test_data): Likewise.
55034         (j0_test_data): Likewise.
55035         (j1_test_data): Likewise.
55036         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
55037         (input_flag_type): Add flag_xfail_rounding.
55038         (input_flags): Add xfail-rounding.
55039         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
55040         (output_for_one_input_case): Handle flag_xfail_rounding.
55041         * sysdeps/i386/fpu/libm-test-ulps: Update.
55042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55044 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
55046         [BZ #16289]
55047         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
55048         division by 0.
55050 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55052         [BZ #16195]
55053         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
55054         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
55055         (STAP_PROBE0): New macro.
55056         (STAP_PROBE1): Likewise.
55057         (STAP_PROBE2): Likewise.
55058         (STAP_PROBE3): Likewise.
55059         (STAP_PROBE4): Likewise.
55061 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
55063         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
55065 2013-12-02  Steve Ellcey  <sellcey@mips.com>
55067         * benchtests/Makefile (bench): Add sqrt.
55068         (LDLIBS-bench-sqrt): New.
55069         * benchtests/sqrt-input: New.
55071 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
55073         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
55074         (GAIH_EAI): Likewise.
55075         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
55076         (gaih_inet): Likewise.
55077         (getaddrinfo): Don't use GAIH_EAI.
55079         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
55080         (struct gaih): Remove definition.
55082 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55084         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
55085         Use HERRNOP directly.
55087 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55089         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55091 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
55093         * math/gen-auto-libm-tests.c (test_functions): Add more
55094         single-argument functions.
55095         (special_fill_pi_2): New function.
55096         (special_fill_minus_pi_2): Likewise.
55097         (special_fill_pi_6): Likewise.
55098         (special_fill_minus_pi_6): Likewise.
55099         (special_fill_pi_3): Likewise.
55100         (special_fill_2pi_3): Likewise.
55101         (special_fill_e): Likewise.
55102         (special_fill_1_e): Likewise.
55103         (special_fill_e_minus_1): Likewise.
55104         (special_real_inputs): Add more special inputs.
55105         (output_for_one_input_case): Do not require ERANGE on underflow to
55106         zero if round-to-nearest result does not underflow to zero, unless
55107         exact results required.
55108         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
55109         atan, atanh, cbrt, cos and cosh.
55110         * math/auto-libm-test-out: Regenerated.
55111         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
55112         (acos_tonearest_test_data): Likewise.
55113         (acos_towardzero_test_data): Likewise.
55114         (acos_downward_test_data): Likewise.
55115         (acos_upward_test_data): Likewise.
55116         (acosh_test_data): Likewise.
55117         (asin_test_data): Likewise.
55118         (asin_tonearest_test_data): Likewise.
55119         (asin_towardzero_test_data): Likewise.
55120         (asin_upward_test_data): Likewise.
55121         (asinh_test_data): Likewise.
55122         (atan_test_data): Likewise.
55123         (atanh_test_data): Likewise.
55124         (cbrt_test_data): Likewise.
55125         (cos_test_data): Likewise.
55126         (cos_tonearest_test_data): Likewise.
55127         (cos_towardzero_test_data): Likewise.
55128         (cos_downward_test_data): Likewise.
55129         (cos_upward_test_data): Likewise.
55130         (cosh_test_data): Likewise.
55131         (cosh_tonearest_test_data): Likewise.
55132         (cosh_towardzero_test_data): Likewise.
55133         (cosh_downward_test_data): Likewise.
55134         (cosh_upward_test_data): Likewise.
55135         * sysdeps/i386/fpu/libm-test-ulps: Update.
55136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55138 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
55140         [BZ #6787]
55141         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
55142         * math/w_exp10f.c (__exp10f): Likewise.
55143         * math/w_exp10l.c (__exp10l): Likewise.
55144         * math/libm-test.inc (exp10_test_data): Add more tests and expect
55145         errno settings in existing tests.
55147         [BZ #14032]
55148         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
55149         precision control set to double precision.
55150         * sysdeps/i386/fpu/w_sqrt.c: New file.
55151         * math/auto-libm-test-in: Add more tests.
55152         * math/auto-libm-test-out: Update.
55154         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
55155         (sqrt_test_tonearest): New function.
55156         (sqrt_towardzero_test_data): New variable.
55157         (sqrt_test_towardzero): New function.
55158         (sqrt_downward_test_data): New variable.
55159         (sqrt_test_downward): New function.
55160         (sqrt_upward_test_data): New variable.
55161         (sqrt_test_upward): New function.
55162         (main): Call the new functions.
55164         * math/gen-auto-libm-tests.c: New file.
55165         * math/auto-libm-test-in: Likewise.
55166         * math/auto-libm-test-out: New generated file.
55167         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
55168         variables.
55169         (%beautify): Add generated representations of zero.
55170         (top level): Set $auto_input and call parse_auto_input.
55171         (beautify): Remove trailing "f" from hex float constants.
55172         (parse_args): Handle XFAIL_TEST.
55173         (convert_condition): New function.
55174         (or_value): Likewise.
55175         (or_cond_value): Likewise.
55176         (generate_testfile): Handle AUTO_TESTS_* lines.
55177         (parse_auto_input): New function.
55178         * math/libm-test.inc (XFAIL_TEST): New macro.
55179         (ERRNO_UNCHANGED): Update value.
55180         (ERRNO_EDOM): Likewise.
55181         (ERRNO_ERANGE): Likewise.
55182         (IGNORE_RESULT): Likewise.
55183         (TEST_COND_flt_32): New macro.
55184         (TEST_COND_dbl_64): Likewise.
55185         (TEST_COND_ldbl_96_intel): Likewise.
55186         (TEST_COND_ldbl_96_m68k): Likewise.
55187         (TEST_COND_ldbl_128): Likewise.
55188         (TEST_COND_ldbl_128ibm): Likewise.
55189         (TEST_COND_long32): Likewise.
55190         (TEST_COND_long64): Likewise.
55191         (TEST_COND_before_rounding): Likewise.
55192         (TEST_COND_after_rounding): Likewise.
55193         (enable_test): Handle XFAIL_TEST flag.
55194         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
55195         with finite results.
55196         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
55197         auto-libm-test-out.
55199 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55200             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55202         [BZ #16214]
55203         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
55204         __tls_get_addr_internal instead of __tls_get_offset in order to
55205         avoid GOT pointer dependency.  Make rtld export
55206         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
55207         __tls_get_addr since we are a __tls_get_offset platform.
55208         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
55209         GOT pointer being set up before.
55210         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
55212 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
55214         * manual/math.texi (Errors in Math Functions): Document accuracy
55215         goals.
55217         [BZ #15004]
55218         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
55219         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
55220         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55221         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55222         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55223         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55224         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55225         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55226         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55227         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55228         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55229         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55230         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55231         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55232         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55233         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55235         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
55236         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
55237         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
55238         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
55239         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
55240         Likewise.
55241         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
55242         Likewise.
55243         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
55244         Likewise.
55245         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
55246         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
55247         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
55248         atomic-feupdateenv and flt-rounds.
55249         * sysdeps/powerpc/nofpu/Versions (libc): Add
55250         __atomic_feholdexcept, __atomic_feclearexcept,
55251         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
55252         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
55253         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
55254         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
55255         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
55256         here.
55257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
55258         Update.
55260         * manual/arith.texi (FP Exceptions): Document that exceptions may
55261         not be raised when matherr is used.
55262         (Math Error Reporting): Document overflow in directed rounding
55263         modes.  Document that errno may not be set when finite values are
55264         returned on overflow.  Document intent to set errno on underflow
55265         only for underflow to zero.
55267         [BZ #16271]
55268         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
55269         round-to-nearest then adjust result for other rounding modes.
55270         * include/fenv.h (fegetround): Use libm_hidden_proto.
55271         * math/fegetround.c (fegetround): Use libm_hidden_def.
55272         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
55273         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
55274         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55275         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
55276         Likewise.
55277         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
55278         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
55279         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
55280         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
55282 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55284         [BZ #16077]
55285         * nss/Versions (libnss_files): Add
55286         _nss_files_gethostbyname3_r.
55287         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
55288         New function.
55289         (HOST_DB_LOOKUP): Remove macro.
55290         (_nss_files_gethostbyname_r): Implement function without the
55291         HOST_DB_LOOKUP macro.
55292         (_nss_files_gethostbyname2_r): Likewise.
55294 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
55296         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
55298 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
55300         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
55301         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
55302         warning.
55304 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55306         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
55307         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
55308         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
55309         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
55310         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
55311         __fe_nomask_env_priv and attribute_hidden.
55312         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
55313         (libc_feupdateenv_test_ppc): Likewise.
55314         (libc_feresetround_ppc): Likewise.
55315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55316         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
55317         compat_symbol macro.
55318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55319         (__fe_nomask_env): Likewise.
55320         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
55322 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55324         * string/Makefile: Remove ifunc tests.
55325         * string/test-string.h: Define TEST_IFUNC.
55326         * string/test-bcopy-ifunc.c: Remove.
55327         * string/test-bzero-ifunc.c: Likewise.
55328         * string/test-memccpy-ifunc.c: Likewise.
55329         * string/test-memchr-ifunc.c: Likewise.
55330         * string/test-memcmp-ifunc.c: Likewise.
55331         * string/test-memcpy-ifunc.c: Likewise.
55332         * string/test-memmem-ifunc.c: Likewise.
55333         * string/test-memmove-ifunc.c: Likewise.
55334         * string/test-mempcpy-ifunc.c: Likewise.
55335         * string/test-memrchr-ifunc.c: Likewise.
55336         * string/test-memset-ifunc.c: Likewise.
55337         * string/test-rawmemchr-ifunc.c: Likewise.
55338         * string/test-stpcpy-ifunc.c: Likewise.
55339         * string/test-stpncpy-ifunc.c: Likewise.
55340         * string/test-strcasecmp-ifunc.c: Likewise.
55341         * string/test-strcasestr-ifunc.c: Likewise.
55342         * string/test-strcat-ifunc.c: Likewise.
55343         * string/test-strchr-ifunc.c: Likewise.
55344         * string/test-strchrnul-ifunc.c: Likewise.
55345         * string/test-strcmp-ifunc.c: Likewise.
55346         * string/test-strcpy-ifunc.c: Likewise.
55347         * string/test-strcspn-ifunc.c: Likewise.
55348         * string/test-strlen-ifunc.c: Likewise.
55349         * string/test-strncasecmp-ifunc.c: Likewise.
55350         * string/test-strncat-ifunc.c: Likewise.
55351         * string/test-strncmp-ifunc.c: Likewise.
55352         * string/test-strncpy-ifunc.c: Likewise.
55353         * string/test-strnlen-ifunc.c: Likewise.
55354         * string/test-strpbrk-ifunc.c: Likewise.
55355         * string/test-strrchr-ifunc.c: Likewise.
55356         * string/test-strspn-ifunc.c: Likewise.
55357         * string/test-strstr-ifunc.c: Likewise.
55359 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55361         * benchtests/Makefile: Remove ifunc tests.
55362         * benchtests/bench-string.h: Define TEST_IFUNC.
55363         * benchtests/bench-bcopy-ifunc.c: Remove.
55364         * benchtests/bench-bzero-ifunc.c: Likewise.
55365         * benchtests/bench-memccpy-ifunc.c: Likewise.
55366         * benchtests/bench-memchr-ifunc.c: Likewise.
55367         * benchtests/bench-memcmp-ifunc.c: Likewise.
55368         * benchtests/bench-memcpy-ifunc.c: Likewise.
55369         * benchtests/bench-memmem-ifunc.c: Likewise.
55370         * benchtests/bench-memmove-ifunc.c: Likewise.
55371         * benchtests/bench-mempcpy-ifunc.c: Likewise.
55372         * benchtests/bench-memrchr-ifunc.c: Likewise.
55373         * benchtests/bench-memset-ifunc.c: Likewise.
55374         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
55375         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
55376         * benchtests/bench-stpcpy-ifunc.c: Likewise.
55377         * benchtests/bench-stpncpy-ifunc.c: Likewise.
55378         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
55379         * benchtests/bench-strcasestr-ifunc.c: Likewise.
55380         * benchtests/bench-strcat-ifunc.c: Likewise.
55381         * benchtests/bench-strchr-ifunc.c: Likewise.
55382         * benchtests/bench-strchrnul-ifunc.c: Likewise.
55383         * benchtests/bench-strcmp-ifunc.c: Likewise.
55384         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
55385         * benchtests/bench-strcpy-ifunc.c: Likewise.
55386         * benchtests/bench-strcspn-ifunc.c: Likewise.
55387         * benchtests/bench-strlen-ifunc.c: Likewise.
55388         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
55389         * benchtests/bench-strncat-ifunc.c: Likewise.
55390         * benchtests/bench-strncmp-ifunc.c: Likewise.
55391         * benchtests/bench-strncpy-ifunc.c: Likewise.
55392         * benchtests/bench-strnlen-ifunc.c: Likewise.
55393         * benchtests/bench-strpbrk-ifunc.c: Likewise.
55394         * benchtests/bench-strrchr-ifunc.c: Likewise.
55395         * benchtests/bench-strsep-ifunc.c: Likewise.
55396         * benchtests/bench-strspn-ifunc.c: Likewise.
55397         * benchtests/bench-strstr-ifunc.c: Likewise.
55399 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55401         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
55403 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
55405         * resolv/netdb.h: Use __glibc_reserved instead __unused.
55406         * rt/aio.h: Likewise.
55407         * sysdeps/gnu/bits/utmp.h: Likewise.
55408         * sysdeps/gnu/bits/utmpx.h: Likewise.
55409         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55410         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
55411         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
55412         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
55413         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
55414         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
55415         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
55416         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
55417         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
55418         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
55419         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
55420         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
55421         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
55422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
55423         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55424         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
55425         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
55426         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
55427         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
55428         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
55429         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
55430         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
55431         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
55432         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
55433         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
55434         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55435         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
55436         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
55437         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
55438         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
55439         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
55440         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
55441         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
55442         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
55443         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
55444         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
55445         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
55446         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
55447         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
55448         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
55449         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
55450         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
55452 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
55454         [BZ #16245]
55455         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
55456         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
55458 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
55460         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
55461         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
55462         Likewise.
55464 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55466         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
55467         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
55468         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
55469         (__fesetround): Remove define.
55470         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
55471         rounding and exceptions handling.
55472         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
55473         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
55474         (__fe_nomask_env): Likewise.
55475         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
55476         __fegetround instead of fegetround.
55477         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
55478         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
55480 2013-11-21  Roland McGrath  <roland@hack.frob.com>
55482         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
55483         it's there.
55485         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
55487 2013-11-21  Meador Inge  <meadori@codesourcery.com>
55489         [BZ #11157]
55490         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
55491         (encrypt_r): Likewise.
55492         * malloc/obstack.h (obstack_free): Likewise.
55493         * posix/unistd.h (encrypt): Likewise.
55495 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
55497         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
55498         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
55499         DL_CALL_DT_FINI() that call the functions directly.
55500         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
55501         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
55502         * elf/dl-fini.c: Likewise.
55504 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
55506         * malloc/hooks.c (memalign_check): Add alignment rounding.
55507         * malloc/malloc.c (_mid_memalign): New function.
55508         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
55509         Implement by calling _mid_memalign.
55510         * manual/probes.texi (Memory Allocation Probes): Remove
55511         memory_valloc_retry and memory_pvalloc_retry.
55513 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55515         * locale/programs/locarchive.c (open_archive): Add const
55516         qualifier to ARCHIVEFNAME and copy default fname to
55517         DEFAULT_FNAME.
55519         [BZ #15601]
55520         * libio/tst-widetext.input: Rename Oriya to Odia.
55521         * locale/iso-639.def: Likewise.
55523         * manual/probes.texi (Mathematical Function Probes): Add
55524         documentation for sin, cos, asin and acos probes.
55525         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
55526         (__sin32): Add slowasin probe.
55527         (__cos32): Add slowacos probe.
55528         (__mpsin): Add slowsin probe.
55529         (__mpcos): Add slowcos probe.
55531 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
55533         [BZ #15483]
55534         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
55535         thread-local __sim_exceptions_thread and global
55536         __sim_exceptions_global.
55537         (__sim_disabled_exceptions): Change to thread-local
55538         __sim_disabled_exceptions_thread and global
55539         __sim_disabled_exceptions_global.
55540         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55541         and global __sim_round_mode_global.
55542         (__simulate_exceptions): Use thread-local floating-point state and
55543         set global state from it as needed.
55544         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
55545         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
55546         __sim_round_mode_thread.
55547         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
55548         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
55549         and global __sim_exceptions_global.
55550         (__sim_disabled_exceptions): Change to thread-local
55551         __sim_disabled_exceptions_thread and global
55552         __sim_disabled_exceptions_global.
55553         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
55554         and global __sim_round_mode_global.
55555         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
55556         (SIM_SET_GLOBAL): Likewise.
55557         * sysdeps/powerpc/soft-fp/sfp-machine.h
55558         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
55559         __sim_round_mode_thread.
55560         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
55561         __sim_disabled_exceptions_thread.
55562         (__sim_exceptions): Change to __sim_exceptions_thread.
55563         (__sim_disabled_exceptions): Change to
55564         __sim_disabled_exceptions_thread.
55565         (__sim_round_mode): Change to __sim_round_mode_thread.
55566         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
55567         thread-local floating-point state and set global state from it as
55568         needed.
55569         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
55570         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
55571         (__sim_disabled_exceptions): Remove extern declaration.
55572         (feenableexcept): Use thread-local floating-point state and set
55573         global state from it as needed.
55574         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
55575         extern declaration.
55576         (__sim_disabled_exceptions): Likewise.
55577         (__sim_round_mode): Likewise.
55578         (__fegetenv): Use thread-local floating-point state.
55579         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
55580         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
55581         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
55582         floating-point state and set global state from it as needed.
55583         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
55584         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
55585         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
55586         Likewise.
55587         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
55588         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
55589         Likewise.
55590         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
55591         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
55592         Use __sim_round_mode_thread.
55593         * math/test-fenv-tls.c: New file.
55594         * math/Makefile (tests): Add test-fenv-tls.
55595         ($(objpfx)test-fenv-tls): Depend on
55596         $(common-objpfx)nptl/libpthread.so.
55598 2013-11-19  Andreas Schwab  <schwab@suse.de>
55600         * locale/programs/locale.c (show_info): Decode wordarray elements.
55601         * locale/categories.def (LC_MONETARY): Add element for
55602         _NL_MONETARY_CRNCYSTR.
55603         * locale/C-monetary.c (conversion_rate): New variable.
55604         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
55605         element.
55607 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
55609         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
55610         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
55612 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
55614         * elf/Makefile (tst-auxv): New test.
55615         * elf/tst-auxv.c: New
55616         * elf/rtld.c (dl_main): Adjust AT_EXECFN
55618 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
55620         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
55621         (hidden_proto): Caller changed.
55622         (hidden_tls_proto): New macro.
55623         (libc_hidden_tls_proto): Likewise.
55624         (rtld_hidden_tls_proto): Likewise.
55625         (libm_hidden_tls_proto): Likewise.
55626         (libresolv_hidden_tls_proto): Likewise.
55627         (librt_hidden_tls_proto): Likewise.
55628         (libdl_hidden_tls_proto): Likewise.
55629         (libnss_files_hidden_tls_proto): Likewise.
55630         (libnsl_hidden_tls_proto): Likewise.
55631         (libnss_nisplus_hidden_tls_proto): Likewise.
55632         (libutil_hidden_tls_proto): Likewise.
55634 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
55636         [BZ #10253]
55637         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
55638         (decompose_rpath): Defer expansion to fillin_rpath.
55639         (_dl_init_paths): Pass linkmap to fillin_rpath.
55641 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55643         * benchtests/Makefile: Add strsep.
55644         * benchtests/bench-strsep.c: New file: strsep benchtest.
55645         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
55647 2013-11-18  Andreas Schwab  <schwab@suse.de>
55649         * locale/programs/locale.c (show_info) [case byte]: Check for
55650         '\377' instead of '\177'.
55651         * locale/C-monetary.c (not_available): Always use "\377".
55652         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
55653         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
55654         detect unavailable sign_posn locale elements.
55655         * locale/localeconv.c (__localeconv): For grouping and
55656         mon_grouping handle "\177" and "\377" like no grouping.
55657         (INT_ELEM): New macro.  Use it to set all numeric members.
55658         * locale/programs/ld-monetary.c (monetary_read)
55659         <tok_mon_grouping>: Normalize single -1 to the empty string.
55660         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
55661         Likewise.
55663 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55665         [BZ #16055]
55666         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
55667         when we match (nil).
55668         * stdio-common/tst-sscanf.c (struct test): Add testcase.
55670 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
55672         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
55673         (NO_TEST_INLINE): Update value.
55674         (ERRNO_UNCHANGED): Likewise.
55675         (ERRNO_EDOM): Likewise.
55676         (ERRNO_ERANGE): Likewise.
55677         (IGNORE_RESULT): Likewise.
55678         (check_float_internal): Check signs of NaN results if
55679         TEST_NAN_SIGN used.
55680         (check_complex): Pass TEST_NAN_SIGN flag through to second
55681         check_float_internal call.
55682         (copysign_test_data): Add tests with quiet NaNs as second
55683         argument.  Use TEST_NAN_SIGN.
55684         (fabs_test_data): Add test of negative quiet NaN argument.  Use
55685         TEST_NAN_SIGN.
55686         (signbit_test_data): Add tests of quiet NaN argument.
55687         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
55689         * math/gen-libm-test.pl (show_exceptions): Take extra argument
55690         $ignore_result.
55691         (parse_args): Handle function results specified as IGNORE.
55692         * math/libm-test.inc (IGNORE_RESULT): New macro.
55693         (check_float_internal): Do not check numerical result if flag
55694         IGNORE_RESULT set.
55695         (check_complex): Pass through IGNORE_RESULT to second
55696         check_float_internal call.
55697         (check_int): Do not check numerical result if flag IGNORE_RESULT
55698         set.
55699         (check_long): Likewise.
55700         (check_bool): Likewise.
55701         (check_longlong): Likewise.
55702         (lrint_test_data): Add tests of infinite and NaN arguments.
55703         (lrint_tonearest_test_data): Likewise.
55704         (lrint_towardzero_test_data): Likewise.
55705         (lrint_downward_test_data): Likewise.
55706         (lrint_upward_test_data): Likewise.
55707         (llrint_test_data): Likewise.
55708         (llrint_tonearest_test_data): Likewise.
55709         (llrint_towardzero_test_data): Likewise.
55710         (llrint_downward_test_data): Likewise.
55711         (llrint_upward_test_data): Likewise.
55712         (lround_test_data): Likewise.
55713         (llround_test_data): Likewise.
55715         * math/libm-test.inc (NO_TEST_INLINE): New macro.
55716         (ERRNO_UNCHANGED): Update value.
55717         (ERRNO_EDOM): Likewise.
55718         (ERRNO_ERANGE): Likewise.
55719         (NO_TEST_INLINE_FLOAT): New macro.
55720         (NO_TEST_INLINE_DOUBLE): Likewise.
55721         (enable_test): New function.
55722         (RUN_TEST_f_f): Check enable_test before running test.
55723         (RUN_TEST_2_f): Likewise.
55724         (RUN_TEST_fff_f): Likewise.
55725         (RUN_TEST_c_f): Likewise.
55726         (RUN_TEST_f_f1): Likewise.
55727         (RUN_TEST_fF_f1): Likewise.
55728         (RUN_TEST_fI_f1): Likewise.
55729         (RUN_TEST_ffI_f1): Likewise.
55730         (RUN_TEST_c_c): Likewise.
55731         (RUN_TEST_cc_c): Likewise.
55732         (RUN_TEST_f_i): Likewise.
55733         (RUN_TEST_f_i_tg): Likewise.
55734         (RUN_TEST_ff_i_tg): Likewise.
55735         (RUN_TEST_f_b): Likewise.
55736         (RUN_TEST_f_b_tg): Likewise.
55737         (RUN_TEST_f_l): Likewise.
55738         (RUN_TEST_f_L): Likewise.
55739         (RUN_TEST_fFF_11): Likewise.
55740         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
55741         conditionals.
55742         (cosh_test_data): Likewise.
55743         (exp_test_data): Likewise.
55744         (expm1_test_data): Likewise.
55745         (hypot_test_data): Likewise.
55746         (pow_test_data): Likewise.
55747         (sinh_test_data): Likewise.
55748         (tanh_test_data): Likewise.
55749         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
55750         flags argument.
55752         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
55753         tests with quiet NaN input and output.
55754         (acosh_test_data): Likewise.
55755         (asin_test_data): Likewise.
55756         (asinh_test_data): Likewise.
55757         (atan_test_data): Likewise.
55758         (atanh_test_data): Likewise.
55759         (atan2_test_data): Likewise.
55760         (cbrt_test_data): Likewise.
55761         (cos_test_data): Likewise.
55762         (cosh_test_data): Likewise.
55763         (erf_test_data): Likewise.
55764         (erfc_test_data): Likewise.
55765         (exp_test_data): Likewise.
55766         (exp10_test_data): Likewise.
55767         (exp2_test_data): Likewise.
55768         (expm1_test_data): Likewise.
55769         (hypot_test_data): Likewise.
55770         (j0_test_data): Likewise.
55771         (j1_test_data): Likewise.
55772         (jn_test_data): Likewise.
55773         (lgamma_test_data): Likewise.
55774         (log_test_data): Likewise.
55775         (log10_test_data): Likewise.
55776         (log1p_test_data): Likewise.
55777         (log2_test_data): Likewise.
55778         (pow_test_data): Likewise.
55779         (scalb_test_data): Likewise.
55780         (sin_test_data): Likewise.
55781         (sincos_test_data): Likewise.
55782         (sinh_test_data): Likewise.
55783         (tan_test_data): Likewise.
55784         (tanh_test_data): Likewise.
55785         (tgamma_test_data): Likewise.
55786         (y0_test_data): Likewise.
55787         (y1_test_data): Likewise.
55788         (yn_test_data): Likewise.
55790         [BZ #16167]
55791         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
55792         argument being NaN and avoid computations with second argument in
55793         that case.
55794         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55795         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
55796         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55798 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
55800         * locale/iso-639.def: Add Chitwani Tharu (the).
55802 2013-11-14  Andreas Schwab  <schwab@suse.de>
55804         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
55805         word instead of empty string.
55807 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55810         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
55811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55812         (__fe_nomask_env): Likewise.
55814 2013-11-13  Steve Ellcey  <sellcey@mips.com>
55816         * benchtests/bench-timing.h: Include time.h.
55818 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
55820         [BZ #15997]
55821         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
55822         to 3.4.0 for x32.
55823         * sysdeps/unix/sysv/linux/configure: Regenerated.
55825 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
55827         [BZ #16151]
55828         * stdlib/strtod_l.c (round_and_return): Do not consider
55829         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
55830         exponent one less than half the least subnormal exponent.
55831         * stdlib/test-strtod-round-data: Add more tests.
55832         * stdlib/tst-strtod-round.c (tests): Regenerated.
55834 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55836         [BZ #14143]
55837         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
55838         (__fe_mask_env): Likewise.
55839         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
55840         libm_hidden_proto and add function prototype.
55841         (__fe_mask_env): Add function prototype.
55842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55843         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
55844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55845         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
55846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55847         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
55849 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55851         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
55852         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
55854 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55856         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
55857         of htab_find_slot().
55859 2013-11-11  David S. Miller  <davem@davemloft.net>
55861         [BZ #16150]
55862         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
55863         symbol in the non-vis3 case in static builds.
55864         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
55865         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
55866         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
55867         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
55869 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
55871         [BZ #387]
55872         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
55873         it is empty.
55875 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55877         * benchtests/Makefile: Add bench-strtod.
55878         * benchtests/bench-strtod.c: New file: strtod benchtest
55880 2013-11-11  Andreas Schwab  <schwab@suse.de>
55882         [BZ #16153]
55883         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
55884         terminating NUL in key length.
55886 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55888         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
55889         Add artificial ODP entry for vDSO symbol for PPC64.
55890         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
55891         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
55893 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
55895         [BZ #15374]
55896         * nss/getent.c (services_keys): Recognize services starting with digit.
55898 2013-11-06  David S. Miller  <davem@davemloft.net>
55900         [BZ #15985]
55901         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
55902         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
55904 2013-11-06  Will Newton  <will.newton@linaro.org>
55906         * manual/memory.texi (Malloc Examples): Remove register
55907         keyword from examples.
55909 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
55911         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
55913 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
55915         [BZ #6981]
55916         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
55917         depending on [__GCC_IEC_559 > 0].
55918         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
55919         depending on [__GCC_IEC_559_COMPLEX > 0].
55921 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
55923         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
55924         to iso-639.def.
55926 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
55928         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
55930 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
55932         [BZ #16112]
55933         * malloc/malloc (malloc_info): Do not handle first bin as
55934         special case.
55936 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
55938         * locale/iso-639.def: Add Central Nahuatl (nhn).
55940 2013-11-01  Bruno Haible  <bruno@clisp.org>
55942         [BZ #7003]
55943         * manual/math.texi (BSD Random): Specify range upper bound as
55944         in POSIX.
55946 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
55948         * locale/iso-639.def: Add Meadow Mari (mhr).
55950 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
55952         [BZ #14752], [BZ #15763]
55953         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
55954         Validate name.
55955         * rt/tst_shm.c: Add test for escaping directory.
55957 2013-10-31  Andreas Schwab  <schwab@suse.de>
55959         [BZ #15917]
55960         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
55961         followed by 'x' as part of digit sequence.
55962         * stdio-common/tst-sscanf.c (double_tests2): New tests.
55964 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
55966         [BZ #16037]
55967         * configure.ac: allow GNU Make 4.0 and greater.
55968         * configure: Regenerated.
55970 2013-10-30  Will Newton  <will.newton@linaro.org>
55972         [BZ #16038]
55973         * malloc/hooks.c (memalign_check): Limit alignment to the
55974         maximum representable power of two.
55975         * malloc/malloc.c (__libc_memalign): Likewise.
55976         * malloc/tst-memalign.c (do_test): Add test for very
55977         large alignment values.
55978         * malloc/tst-posix_memalign.c (do_test): Likewise.
55980 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55982         [BZ #11087]
55983         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
55984         (munmap_chunk): Likewise.
55985         (mremap_chunk): Likewise.
55987 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
55989         [BZ #15799]
55990         * stdlib/div.c (div): Remove obsolete code.
55991         * stdlib/ldiv.c (ldiv): Likewise.
55992         * stdlib/lldiv.c (lldiv): Likewise.
55994 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55996         [BZ #16071]
55997         * nss/nss_files/files-XXX.c (get_contents_ret): New
55998         enumerator.
55999         (get_contents): New function.
56000         (internal_getent): Use it.  Expand size of LINEBUFLEN.
56002 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
56004         * configure.in: Moved to ...
56005         * configure.ac: ... here. Change reference to configure.in
56006         to configure.ac.
56007         * sysdeps/arm/preconfigure.ac: ... here.
56008         configure.in to configure.ac.
56009         * sysdeps/gnu/configure.in: Moved to ...
56010         * sysdeps/gnu/configure.ac: ... here.
56011         * sysdeps/i386/configure.in: Moved to ...
56012         * sysdeps/i386/configure.ac: ... here.
56013         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
56014         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
56015         * sysdeps/mach/configure.in: Moved to ...
56016         * sysdeps/mach/configure.ac: ... here.
56017         * sysdeps/mach/hurd/configure.in: Moved to ...
56018         * sysdeps/mach/hurd/configure.ac: ... here.
56019         * sysdeps/powerpc/configure.in: Moved to ...
56020         * sysdeps/powerpc/configure.ac: ... here.
56021         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
56022         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
56023         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
56024         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
56025         * sysdeps/s390/s390-32/configure.in: Moved to ...
56026         * sysdeps/s390/s390-32/configure.ac: ... here.
56027         * sysdeps/s390/s390-64/configure.in: Moved to ...
56028         * sysdeps/s390/s390-64/configure.ac: ... here.
56029         * sysdeps/sh/configure.in: Moved to ...
56030         * sysdeps/sh/configure.ac: ... here.
56031         * sysdeps/sparc/configure.in: Moved to ...
56032         * sysdeps/sparc/configure.ac: ... here.
56033         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
56034         * sysdeps/unix/sysv/linux/configure.ac: ... here.
56035         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
56036         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
56037         * sysdeps/x86_64/configure.in: Moved to ...
56038         * sysdeps/x86_64/configure.ac: ... here.
56039         * sysdeps/x86_64/preconfigure.in: Moved to ...
56040         * sysdeps/x86_64/preconfigure.ac: ... here.
56041         * aclocal.m4: Change reference to configure.in to configure.ac.
56042         * config.h.in: Likewise.
56043         * manual/install.texi: Likewise.
56044         * manual/maint.texi: Likewise.
56045         * Makefile: Likewise.
56046         * malloc/Makefile: Likewise.
56047         * nscd/Makefile: Likewise.
56048         * Makeconfig: Change reference to configure.in and
56049         preconfigure.in to configure.ac and preconfigure.ac
56050         respectively.
56051         * INSTALL: Regenerated.
56052         * configure: Likewise.
56053         * sysdeps/gnu/configure: Likewise.
56054         * sysdeps/i386/configure: Likewise.
56055         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
56056         * sysdeps/mach/configure: Likewise.
56057         * sysdeps/mach/hurd/configure: Likewise.
56058         * sysdeps/powerpc/configure: Likewise.
56059         * sysdeps/powerpc/powerpc32/configure: Likewise.
56060         * sysdeps/powerpc/powerpc64/configure: Likewise.
56061         * sysdeps/s390/s390-32/configure: Likewise.
56062         * sysdeps/s390/s390-64/configure: Likewise.
56063         * sysdeps/sh/configure: Likewise.
56064         * sysdeps/sparc/configure: Likewise.
56065         * sysdeps/unix/sysv/linux/configure: Likewise.
56066         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
56067         * sysdeps/x86_64/configure: Likewise.
56068         * sysdeps/x86_64/preconfigure: Likewise.
56070 2013-10-29  Andreas Schwab  <schwab@suse.de>
56072         * stdio-common/Makefile (tst-swscanf-ENV): Define.
56074 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56076         * benchtests/pow-inputs: Add new inputs.
56078         * benchtests/exp-inputs: Add new inputs.
56080         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
56081         conditional check for return value.
56082         (__cos32): Likewise.
56084 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56086         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
56087         to provide a boost for large inputs with word alignment.
56088         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
56089         implementation based on optimized PPC64 strcpy.
56090         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
56091         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
56092         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
56093         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
56095 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56097         [BZ #2801]
56098         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
56100 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56102         [BZ #14876]
56103         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
56104         * time/tst-strptime.c (day_tests): Add testcase.
56106 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
56108         [BZ #14029]
56109         * manual/pattern.texi: Acknowledge that fnmatch can fail.
56111 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
56113         [BZ #16074]
56114         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
56115         MAP_FAILED on error.
56117 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56119         [BZ #16072]
56120         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
56121         heap for large requests.
56123 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
56125         [BZ #9954]
56126         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
56127         result if the result has no associated interface.
56128         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56129         interface for all 127.X.Y.Z addresses.
56131 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
56133         * locale/iso-639.def: Add Ligurian (lij)
56135 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
56137         [BZ #15825]
56138         * sunrpc/rpc_main.c: Document rpcgen -5.
56140 2013-10-19  Michael Stahl  <mstahl@redhat.com>
56142         * elf/rtld.c (do_preload): Print the reason why preloading failed.
56144 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56146         [BZ #10278]
56147         * posix/glob.c: Match only directories when trailing slash is present.
56148         * posix/tst-gnuglob.c (my_opendir): Do not open files.
56149         (main): Add testcase.
56151 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
56153         [BZ #15670]
56154         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
56156 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
56158         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
56159         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
56160         AUTH_DES and cindex for FIPS 140-2.
56161         (DES Encryption): Add cindex FIPS 46-3.
56163         * locale/locarchive.h (struct locarhandle): Add fname.
56164         * locale/programs/localedef.c (main): Pass ARGV[remaining]
56165         if an optional argument was specified to --list-archive,
56166         otherwise NULL.
56167         * locale/programs/locarchive.c (show_archive_content): Take new
56168         argument fname and pass it via ah.fname to open_archive.
56169         * locale/programs/localedef.h: Update decl.
56170         (open_archive): If AH->fname is non-null, open that file
56171         rather than the default file name, and don't ignore ENOENT.
56172         (create_archive): Set AH.fname to NULL.
56173         (delete_locales_from_archive): Likewise.
56174         (add_locales_to_archive): Likewise.
56175         * locale/programs/locfile.c (write_all_categories): Likewise.
56177 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
56178             Aldy Hernandez  <aldyh@redhat.com>
56180         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
56181         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
56182         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
56183         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
56184         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
56185         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
56186         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
56187         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
56188         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
56189         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
56190         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
56191         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
56192         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
56193         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
56194         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
56195         Likewise.
56196         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
56197         Likewise.
56198         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
56199         Likewise.
56200         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
56201         Likewise.
56202         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
56203         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
56204         Likewise.
56205         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
56206         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
56207         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
56208         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
56209         Likewise.
56210         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
56211         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
56212         * sysdeps/powerpc/preconfigure: Likewise.
56213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
56214         Likewise.
56215         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
56216         Replace contents of file by #include of <fenv_libc.h>.
56217         * sysdeps/powerpc/soft-fp/sfp-machine.h
56218         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
56219         and <sys/prctl.h>.
56220         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
56221         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
56222         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
56223         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
56224         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
56225         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
56226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
56227         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
56228         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
56229         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
56230         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
56231         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
56232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
56233         Allow copysignl PLT reference to be missing.
56235 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
56236             Joseph Myers  <joseph@codesourcery.com
56238         [BZ #15948]
56239         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
56240         single character.
56241         (add_to_tablewc): Assert sequence of wide characters is nonempty.
56243 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56245         * elf/tst-tls-dlinfo.c: Don't include tls.h.
56246         * elf/tst-tls1.c: Likewise.
56247         * elf/tst-tls10.h: Likewise.
56248         * elf/tst-tls14.c: Likewise.
56249         * elf/tst-tls2.c: Likewise.
56250         * elf/tst-tls3.c: Likewise.
56251         * elf/tst-tls4.c: Likewise.
56252         * elf/tst-tls5.c: Likewise.
56253         * elf/tst-tls6.c: Likewise.
56254         * elf/tst-tls7.c: Likewise.
56255         * elf/tst-tls8.c: Likewise.
56256         * elf/tst-tls9.c: Likewise.
56257         * elf/tst-tlsmod1.c: Likewise.
56258         * elf/tst-tlsmod13.c: Likewise.
56259         * elf/tst-tlsmod13a.c: Likewise.
56260         * elf/tst-tlsmod14a.c: Likewise.
56261         * elf/tst-tlsmod16a.c: Likewise.
56262         * elf/tst-tlsmod16b.c: Likewise.
56263         * elf/tst-tlsmod2.c: Likewise.
56264         * elf/tst-tlsmod3.c: Likewise.
56265         * elf/tst-tlsmod4.c: Likewise.
56266         * elf/tst-tlsmod5.c: Likewise.
56267         * elf/tst-tlsmod6.c: Likewise.
56269 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
56271         [BZ #12486]
56272         * malloc/malloc.c: remove checks for statistics.
56274 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56276         [BZ #15277]
56277         * inet/inet_net.c (inet_network): Detect additional invalid strings.
56278         * inet/tst-network.c: Add testcase.
56280 2013-10-17  Andreas Schwab  <schwab@suse.de>
56282         [BZ #15218]
56283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
56284         to determine canonical name.
56286 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
56288         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
56289         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
56290         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56291         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
56292         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56293         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
56294         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
56295         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
56296         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
56297         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
56298         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
56299         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
56300         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
56301         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
56302         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
56303         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
56304         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56305         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56306         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
56307         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
56308         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56309         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56310         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
56311         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
56312         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
56313         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56314         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56315         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
56316         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56317         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
56318         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
56319         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56320         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
56321         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
56322         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
56323         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
56324         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
56325         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
56326         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
56327         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
56328         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
56329         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
56330         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
56331         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
56332         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
56333         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
56334         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
56335         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
56336         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
56337         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
56338         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
56339         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
56340         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
56341         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
56342         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56343         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
56344         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56345         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
56347 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
56349         [BZ #16041]
56350         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
56351         make result into a quiet NaN.
56353 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
56355         * soft-fp/adddf3.c: Fix horizontal whitespace.
56356         * soft-fp/addsf3.c: Likewise.
56357         * soft-fp/addtf3.c: Likewise.
56358         * soft-fp/divdf3.c: Likewise.
56359         * soft-fp/divsf3.c: Likewise.
56360         * soft-fp/divtf3.c: Likewise.
56361         * soft-fp/double.h: Likewise.
56362         * soft-fp/eqdf2.c: Likewise.
56363         * soft-fp/eqsf2.c: Likewise.
56364         * soft-fp/eqtf2.c: Likewise.
56365         * soft-fp/extenddftf2.c: Likewise.
56366         * soft-fp/extended.h: Likewise.
56367         * soft-fp/extendsfdf2.c: Likewise.
56368         * soft-fp/extendsftf2.c: Likewise.
56369         * soft-fp/extendxftf2.c: Likewise.
56370         * soft-fp/fixdfdi.c: Likewise.
56371         * soft-fp/fixdfsi.c: Likewise.
56372         * soft-fp/fixdfti.c: Likewise.
56373         * soft-fp/fixsfdi.c: Likewise.
56374         * soft-fp/fixsfsi.c: Likewise.
56375         * soft-fp/fixsfti.c: Likewise.
56376         * soft-fp/fixtfdi.c: Likewise.
56377         * soft-fp/fixtfsi.c: Likewise.
56378         * soft-fp/fixtfti.c: Likewise.
56379         * soft-fp/fixunsdfdi.c: Likewise.
56380         * soft-fp/fixunsdfsi.c: Likewise.
56381         * soft-fp/fixunsdfti.c: Likewise.
56382         * soft-fp/fixunssfdi.c: Likewise.
56383         * soft-fp/fixunssfsi.c: Likewise.
56384         * soft-fp/fixunssfti.c: Likewise.
56385         * soft-fp/fixunstfdi.c: Likewise.
56386         * soft-fp/fixunstfsi.c: Likewise.
56387         * soft-fp/fixunstfti.c: Likewise.
56388         * soft-fp/floatdidf.c: Likewise.
56389         * soft-fp/floatdisf.c: Likewise.
56390         * soft-fp/floatditf.c: Likewise.
56391         * soft-fp/floatsidf.c: Likewise.
56392         * soft-fp/floatsisf.c: Likewise.
56393         * soft-fp/floatsitf.c: Likewise.
56394         * soft-fp/floattidf.c: Likewise.
56395         * soft-fp/floattisf.c: Likewise.
56396         * soft-fp/floattitf.c: Likewise.
56397         * soft-fp/floatundidf.c: Likewise.
56398         * soft-fp/floatundisf.c: Likewise.
56399         * soft-fp/floatunditf.c: Likewise.
56400         * soft-fp/floatunsidf.c: Likewise.
56401         * soft-fp/floatunsisf.c: Likewise.
56402         * soft-fp/floatunsitf.c: Likewise.
56403         * soft-fp/floatuntidf.c: Likewise.
56404         * soft-fp/floatuntisf.c: Likewise.
56405         * soft-fp/floatuntitf.c: Likewise.
56406         * soft-fp/fmadf4.c: Likewise.
56407         * soft-fp/fmasf4.c: Likewise.
56408         * soft-fp/fmatf4.c: Likewise.
56409         * soft-fp/gedf2.c: Likewise.
56410         * soft-fp/gesf2.c: Likewise.
56411         * soft-fp/getf2.c: Likewise.
56412         * soft-fp/ledf2.c: Likewise.
56413         * soft-fp/lesf2.c: Likewise.
56414         * soft-fp/letf2.c: Likewise.
56415         * soft-fp/muldf3.c: Likewise.
56416         * soft-fp/mulsf3.c: Likewise.
56417         * soft-fp/multf3.c: Likewise.
56418         * soft-fp/negdf2.c: Likewise.
56419         * soft-fp/negsf2.c: Likewise.
56420         * soft-fp/negtf2.c: Likewise.
56421         * soft-fp/op-1.h: Likewise.
56422         * soft-fp/op-2.h: Likewise.
56423         * soft-fp/op-4.h: Likewise.
56424         * soft-fp/op-8.h: Likewise.
56425         * soft-fp/op-common.h: Likewise.
56426         * soft-fp/quad.h: Likewise.
56427         * soft-fp/single.h: Likewise.
56428         * soft-fp/soft-fp.h: Likewise.
56429         * soft-fp/sqrtdf2.c: Likewise.
56430         * soft-fp/sqrtsf2.c: Likewise.
56431         * soft-fp/sqrttf2.c: Likewise.
56432         * soft-fp/subdf3.c: Likewise.
56433         * soft-fp/subsf3.c: Likewise.
56434         * soft-fp/subtf3.c: Likewise.
56435         * soft-fp/truncdfsf2.c: Likewise.
56436         * soft-fp/trunctfdf2.c: Likewise.
56437         * soft-fp/trunctfsf2.c: Likewise.
56438         * soft-fp/trunctfxf2.c: Likewise.
56439         * soft-fp/unorddf2.c: Likewise.
56440         * soft-fp/unordsf2.c: Likewise.
56441         * soft-fp/unordtf2.c: Likewise.
56443 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
56445         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
56446         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
56448 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
56450         * elf/dl-libc.c: Clear initfini list after freeing.
56452 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
56454         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
56455         * soft-fp/addsf3.c: Likewise.
56456         * soft-fp/addtf3.c: Likewise.
56457         * soft-fp/divdf3.c: Likewise.
56458         * soft-fp/divsf3.c: Likewise.
56459         * soft-fp/divtf3.c: Likewise.
56460         * soft-fp/double.h: Likewise.
56461         * soft-fp/eqdf2.c: Likewise.
56462         * soft-fp/eqsf2.c: Likewise.
56463         * soft-fp/eqtf2.c: Likewise.
56464         * soft-fp/extenddftf2.c: Likewise.
56465         * soft-fp/extended.h: Likewise.
56466         * soft-fp/extendsfdf2.c: Likewise.
56467         * soft-fp/extendsftf2.c: Likewise.
56468         * soft-fp/extendxftf2.c: Likewise.
56469         * soft-fp/fixdfdi.c: Likewise.
56470         * soft-fp/fixdfsi.c: Likewise.
56471         * soft-fp/fixdfti.c: Likewise.
56472         * soft-fp/fixsfdi.c: Likewise.
56473         * soft-fp/fixsfsi.c: Likewise.
56474         * soft-fp/fixsfti.c: Likewise.
56475         * soft-fp/fixtfdi.c: Likewise.
56476         * soft-fp/fixtfsi.c: Likewise.
56477         * soft-fp/fixtfti.c: Likewise.
56478         * soft-fp/fixunsdfdi.c: Likewise.
56479         * soft-fp/fixunsdfsi.c: Likewise.
56480         * soft-fp/fixunsdfti.c: Likewise.
56481         * soft-fp/fixunssfdi.c: Likewise.
56482         * soft-fp/fixunssfsi.c: Likewise.
56483         * soft-fp/fixunssfti.c: Likewise.
56484         * soft-fp/fixunstfdi.c: Likewise.
56485         * soft-fp/fixunstfsi.c: Likewise.
56486         * soft-fp/fixunstfti.c: Likewise.
56487         * soft-fp/floatdidf.c: Likewise.
56488         * soft-fp/floatdisf.c: Likewise.
56489         * soft-fp/floatditf.c: Likewise.
56490         * soft-fp/floatsidf.c: Likewise.
56491         * soft-fp/floatsisf.c: Likewise.
56492         * soft-fp/floatsitf.c: Likewise.
56493         * soft-fp/floattidf.c: Likewise.
56494         * soft-fp/floattisf.c: Likewise.
56495         * soft-fp/floattitf.c: Likewise.
56496         * soft-fp/floatundidf.c: Likewise.
56497         * soft-fp/floatundisf.c: Likewise.
56498         * soft-fp/floatunsidf.c: Likewise.
56499         * soft-fp/floatunsisf.c: Likewise.
56500         * soft-fp/floatuntidf.c: Likewise.
56501         * soft-fp/floatuntisf.c: Likewise.
56502         * soft-fp/floatuntitf.c: Likewise.
56503         * soft-fp/fmadf4.c: Likewise.
56504         * soft-fp/fmasf4.c: Likewise.
56505         * soft-fp/fmatf4.c: Likewise.
56506         * soft-fp/gedf2.c: Likewise.
56507         * soft-fp/gesf2.c: Likewise.
56508         * soft-fp/getf2.c: Likewise.
56509         * soft-fp/ledf2.c: Likewise.
56510         * soft-fp/lesf2.c: Likewise.
56511         * soft-fp/letf2.c: Likewise.
56512         * soft-fp/muldf3.c: Likewise.
56513         * soft-fp/mulsf3.c: Likewise.
56514         * soft-fp/multf3.c: Likewise.
56515         * soft-fp/negdf2.c: Likewise.
56516         * soft-fp/negsf2.c: Likewise.
56517         * soft-fp/negtf2.c: Likewise.
56518         * soft-fp/op-1.h: Likewise.
56519         * soft-fp/op-2.h: Likewise.
56520         * soft-fp/op-4.h: Likewise.
56521         * soft-fp/op-8.h: Likewise.
56522         * soft-fp/op-common.h: Likewise.
56523         * soft-fp/quad.h: Likewise.
56524         * soft-fp/single.h: Likewise.
56525         * soft-fp/soft-fp.h: Likewise.
56526         * soft-fp/sqrtdf2.c: Likewise.
56527         * soft-fp/sqrtsf2.c: Likewise.
56528         * soft-fp/sqrttf2.c: Likewise.
56529         * soft-fp/subdf3.c: Likewise.
56530         * soft-fp/subsf3.c: Likewise.
56531         * soft-fp/subtf3.c: Likewise.
56532         * soft-fp/truncdfsf2.c: Likewise.
56533         * soft-fp/trunctfdf2.c: Likewise.
56534         * soft-fp/trunctfsf2.c: Likewise.
56535         * soft-fp/trunctfxf2.c: Likewise.
56536         * soft-fp/unorddf2.c: Likewise.
56537         * soft-fp/unordsf2.c: Likewise.
56538         * soft-fp/unordtf2.c: Likewise.
56540 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
56542         [BZ #15672]
56543         * misc/error.c (error_tail): Fix possible buffer overflow.
56545 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
56547         [BZ #13028]
56548         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
56549         address.
56551 2013-10-14  P. J. McDermott  <pj@pehjota.net>
56553         [BZ #832]
56554         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
56555         testing pipefail option.
56557 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56559         * soft-fp/double.h: Indent preprocessor directives inside #if.
56560         * soft-fp/extended.h: Likewise.
56561         * soft-fp/op-2.h: Likewise.
56562         * soft-fp/op-4.h: Likewise.
56563         * soft-fp/op-common.h: Likewise.
56564         * soft-fp/quad.h: Likewise.
56565         * soft-fp/single.h: Likewise.
56566         * soft-fp/soft-fp.h: Likewise.
56568 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
56570         * iconv/iconv_prog.c: Fix typos.
56571         * stdio-common/psiginfo-data.h: Likewise.
56573 2013-10-12   Reuben Thomas <rrt@sc3d.org>
56575         [BZ #15764]
56576         * locale/setlocale.c: Fix typo.
56578 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
56580         [BZ #16036]
56581         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
56582         signaling NaN arguments.
56583         * soft-fp/unordsf2.c (__unordsf2): Likewise.
56584         * soft-fp/unordtf2.c (__unordtf2): Likewise.
56586         [BZ #14910]
56587         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
56588         unordered operands.
56589         * soft-fp/gesf2.c (__gesf2): Likewise.
56590         * soft-fp/getf2.c (__getf2): Likewise.
56591         * soft-fp/ledf2.c (__ledf2): Likewise.
56592         * soft-fp/lesf2.c (__lesf2): Likewise.
56593         * soft-fp/letf2.c (__letf2): Likewise.
56595         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
56596         * soft-fp/eqsf2.c (__eqsf2): Likewise.
56597         * soft-fp/eqtf2.c (__eqtf2): Likewise.
56598         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
56599         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
56600         * soft-fp/fixdfti.c (__fixdfti): Likewise.
56601         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
56602         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
56603         * soft-fp/fixsfti.c (__fixsfti): Likewise.
56604         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
56605         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
56606         * soft-fp/fixtfti.c (__fixtfti): Likewise.
56607         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
56608         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
56609         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
56610         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
56611         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
56612         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
56613         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
56614         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
56615         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
56616         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
56617         * soft-fp/floatdisf.c (__floatdisf): Likewise.
56618         * soft-fp/floatsisf.c (__floatsisf): Likewise.
56619         * soft-fp/floattidf.c (__floattidf): Likewise.
56620         * soft-fp/floattisf.c (__floattisf): Likewise.
56621         * soft-fp/floattitf.c (__floattitf): Likewise.
56622         * soft-fp/floatundidf.c (__floatundidf): Likewise.
56623         * soft-fp/floatundisf.c (__floatundisf): Likewise.
56624         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
56625         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
56626         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
56627         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
56628         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
56629         * soft-fp/gesf2.c (__gesf2): Likewise.
56630         * soft-fp/getf2.c (__getf2): Likewise.
56631         * soft-fp/ledf2.c (__ledf2): Likewise.
56632         * soft-fp/lesf2.c (__lesf2): Likewise.
56633         * soft-fp/letf2.c (__letf2): Likewise.
56635         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
56636         Undefine and redefine.
56637         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
56638         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
56639         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
56640         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
56641         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56642         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
56643         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56644         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
56645         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56646         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
56647         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56648         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
56649         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56650         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
56651         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
56653         [BZ #16032]
56654         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
56655         without decrementing exponent if mantissa >= that for the
56656         denominator, not >.
56657         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
56658         denominator, not >.  Decrement exponent in < case instead of
56659         incrementing in >= case.
56660         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
56661         without decrementing exponent if mantissa >= that for the
56662         denominator, not >.
56664         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
56665         computing saturated result for unsigned overflow.
56667 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56668             Jeff Law  <law@redhat.com>
56670         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
56671         (atan2Mp): Add systemtap probe marker.
56672         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
56673         (__ieee754_log): Add systemtap probe marker.
56674         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
56675         (atanMp): Add systemtap probe marker.
56676         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
56677         (tanMp): Add systemtap probe marker.
56678         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
56679         (__slowexp): Add systemtap probe marker.
56680         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
56681         (__slowpow): Add systemtap probe marker.
56682         * manual/probes.texi: Document probes.
56684 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
56686         [BZ #15362]
56687         * libio/fileops.c (_IO_new_file_write): Return count of bytes
56688         written.
56689         (_IO_new_file_xsputn): Don't return EOF if nothing has been
56690         written.
56691         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
56692         written to buffer but not flushed.
56693         * libio/iofwrite_u.c:  Likewise.
56694         * libio/iopadn.c:  Return bytes returned even if EOF was
56695         encountered.
56696         * libio/iowpadn.c:  Likewise.
56697         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
56698         if _IO_padn does not write the whole buffer.
56699         [!COMPILE_WPRINTF] (PAD): Likewise.
56701 2013-10-10  David S. Miller  <davem@davemloft.net>
56703         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
56704         directory block.
56706 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56708         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
56709         instead of FSF address.
56710         * soft-fp/fixdfti.c: Likewise.
56711         * soft-fp/fixsfti.c: Likewise.
56712         * soft-fp/fixtfti.c: Likewise.
56713         * soft-fp/fixunsdfti.c: Likewise.
56714         * soft-fp/fixunssfti.c: Likewise.
56715         * soft-fp/fixunstfti.c: Likewise.
56716         * soft-fp/floattidf.c: Likewise.
56717         * soft-fp/floattisf.c: Likewise.
56718         * soft-fp/floattitf.c: Likewise.
56719         * soft-fp/floatuntidf.c: Likewise.
56720         * soft-fp/floatuntisf.c: Likewise.
56721         * soft-fp/floatuntitf.c: Likewise.
56722         * soft-fp/trunctfxf2.c: Likewise.
56724         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
56725         * soft-fp/fixdfti.c: Likewise.
56726         * soft-fp/fixsfti.c: Likewise.
56727         * soft-fp/fixtfti.c: Likewise.
56728         * soft-fp/fixunsdfti.c: Likewise.
56729         * soft-fp/fixunssfti.c: Likewise.
56730         * soft-fp/fixunstfti.c: Likewise.
56731         * soft-fp/floattidf.c: Likewise.
56732         * soft-fp/floattisf.c: Likewise.
56733         * soft-fp/floattitf.c: Likewise.
56734         * soft-fp/floatuntidf.c: Likewise.
56735         * soft-fp/floatuntisf.c: Likewise.
56736         * soft-fp/floatuntitf.c: Likewise.
56737         * soft-fp/trunctfxf2.c: Likewise.
56739 2013-10-10  David S. Miller  <davem@davemloft.net>
56741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56743 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
56745         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
56746         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
56747         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
56748         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
56749         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
56750         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
56751         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
56753         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
56754         for NaNs before doing comparisons on argument.
56755         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
56756         Likewise.
56758 2013-10-10  Will Newton  <will.newton@linaro.org>
56760         * malloc/hooks.c (memalign_check): Ensure the value of bytes
56761         passed to _int_memalign does not overflow.
56763 2013-10-10  Torvald Riegel  <triegel@redhat.com>
56765         * scripts/bench.pl: Add include-sources directive.
56766         * benchtests/README: Update documentation.
56768 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
56770         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
56771         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
56772         instead of FP_INIT_ROUNDMODE.
56773         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
56774         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
56776         [BZ #16034]
56777         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
56778         copy class of input value.
56779         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
56780         not handle exceptions.
56781         * soft-fp/negsf2.c (__negsf2): Likewise.
56782         * soft-fp/negtf2.c (__negtf2): Likewise.
56783         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
56785 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
56787         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
56788         semicolon.  From Linux kernel.
56790 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
56792         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
56794 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
56796         [BZ #156]
56797         * manual/socket.texi: Added statement about buffer
56798         for gethostbyname2_r.
56800 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
56802         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
56803         Use .p2align directive instead, throughout.
56804         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
56805         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
56806         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
56807         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56808         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56809         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
56810         * sysdeps/x86_64/strchr.S: Likewise.
56811         * sysdeps/x86_64/strrchr.S: Likewise.
56813 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56815         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
56817         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
56819         * sysdeps/generic/math_private.h (__mpsin1): Remove
56820         declaration.
56821         (__mpcos1): Likewise.
56822         (__mpsin): New argument __range_reduce.
56823         (__mpcos): Likewise.
56824         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56825         (slow): Use __mpsin and __mpcos.
56826         (slow1): Likewise.
56827         (slow2): Likewise.
56828         (sloww): Likewise.
56829         (sloww1): Likewise.
56830         (sloww2): Likewise.
56831         (bsloww): Likewise.
56832         (bsloww1): Likewise.
56833         (bsloww2): Likewise.
56834         (cslow2): Likewise.
56835         (csloww): Likewise.
56836         (csloww1): Likewise.
56837         (csloww2): Likewise.
56838         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
56839         range_reduce.  Merge in __mpsin1.
56840         (__mpcos): Likewise.
56841         (__mpsin1): Remove.
56842         (__mpcos1): Likewise.
56844 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
56846         * locale/loadlocale.c (_nl_intern_locale_data): Use
56847         LOCFILE_ALIGNED_P.
56848         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
56849         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
56850         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
56851         obstack data is appropriately aligned.
56852         (obstack_int32_grow_fast): Likewise.
56853         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
56854         * locale/programs/locfile.c (add_locale_uint32): Likewise.
56855         (add_locale_uint32_array): Likewise.
56857 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56859         * benchtests/Makefile: Remove ARGLIST and RET variables.
56860         ($(objpfx)bench-%.c): Pass only function name to the script.
56861         * benchtests/README: Update documentation.
56862         * benchtests/acos-inputs: Add new directives.
56863         * benchtests/acosh-inputs: Likewise.
56864         * benchtests/asin-inputs: Likewise.
56865         * benchtests/asinh-inputs: Likewise.
56866         * benchtests/atan-inputs: Likewise.
56867         * benchtests/atanh-inputs: Likewise.
56868         * benchtests/cos-inputs: Likewise.
56869         * benchtests/cosh-inputs: Likewise.
56870         * benchtests/exp-inputs: Likewise.
56871         * benchtests/log-inputs: Likewise.
56872         * benchtests/pow-inputs: Likewise.
56873         * benchtests/rint-inputs: Likewise.
56874         * benchtests/sin-inputs: Likewise.
56875         * benchtests/sinh-inputs: Likewise.
56876         * benchtests/tan-inputs: Likewise.
56877         * benchtests/tanh-inputs: Likewise.
56878         * scripts/bench.pl: Add support for new directives.
56880 2013-10-07  Alan Modra  <amodra@gmail.com>
56882         * README: Fix careless merge.
56884 2013-10-05  Alan Modra  <amodra@gmail.com>
56886         * NEWS: Mention powerpc64le support and bugs fixed.
56887         * README: Both big-endian and little-endian powerpc64 supported.
56889 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56891         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
56892         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
56893         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
56894         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
56896 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
56898         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
56899         match prototype.
56901 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
56903         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
56904         Move -mhard-float appending from
56905         ports/sysdeps/powerpc/powerpc32/Makefile.
56906         [$(with-fp) = yes] (ASFLAGS): Likewise.
56907         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
56908         * sysdeps/powerpc/nofpu: Move directory from
56909         ports/sysdeps/powerpc/nofpu.
56910         * sysdeps/powerpc/soft-fp: Move directory from
56911         ports/sysdeps/powerpc/soft-fp.
56912         * sysdeps/powerpc/powerpc32/405: Move directory from
56913         ports/sysdeps/powerpc/powerpc32/405.
56914         * sysdeps/powerpc/powerpc32/440: Move directory from
56915         ports/sysdeps/powerpc/powerpc32/440.
56916         * sysdeps/powerpc/powerpc32/464: Move directory from
56917         ports/sysdeps/powerpc/powerpc32/464.
56918         * sysdeps/powerpc/powerpc32/476: Move directory from
56919         ports/sysdeps/powerpc/powerpc32/476.
56920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
56921         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
56922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
56923         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
56924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
56925         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
56926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
56927         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
56928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
56929         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
56930         * README: Update for powerpc-*-linux-gnu software floating point
56931         support in libc.
56933         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
56934         case to powerpc/powerpc32*.
56935         * sysdeps/unix/sysv/linux/configure: Regenerated.
56937         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
56938         (_FPU_MASK_OM): Define as 0x04.
56939         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
56940         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
56941         0x00c10080.
56942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
56943         0x0000003c.
56944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
56946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
56947         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56948         getcontext_e500.
56949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
56950         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
56951         setcontext_e500.
56952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
56953         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
56954         and setcontext_e500.
56956 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
56958         * locale/iso-3166.def: Update iso-1366.def and related occurrences
56960 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56962         * manual/threads.texi (Default Thread Attributes): Fix typo.
56964 2013-10-04  Will Newton  <will.newton@linaro.org>
56966         * malloc/Makefile: Add tst-memalign.
56967         * malloc/tst-memalign.c: New file.
56969         * malloc/tst-posix_memalign.c: Add comments.
56970         (do_test): Add comments and call free on all potentially
56971         allocated pointers. Add space after cast.
56973         * malloc/tst-pvalloc.c: Add comments.
56974         (do_test): Add comments and call free on all potentially
56975         allocated pointers. Remove duplicate check for NULL pointer.
56976         Add space after cast.
56978         * malloc/tst-valloc.c: Add comments.
56979         (do_test): Add comments and call free on all potentially
56980         allocated pointers. Remove duplicate check for NULL pointer.
56981         Add space after cast.
56983 2013-10-04  Alan Modra  <amodra@gmail.com>
56985         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56986         Use stdint types in rather than __attribute__((mode())).
56987         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56989 2013-10-04  Alan Modra  <amodra@gmail.com>
56991         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
56992         Correct handling of unaligned relocs for little-endian.
56993         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
56995 2013-10-04  Alan Modra  <amodra@gmail.com>
56997         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
56998         * configure: Regenerate.
56999         * nptl/shlib-versions: Powerpc*le starts at 2.18.
57000         * shlib-versions: Likewise.
57002 2013-10-04  Alan Modra  <amodra@gmail.com>
57004         * string/tester.c (test_memrchr): Increment reported test cycle.
57006 2013-10-04  Alan Modra  <amodra@gmail.com>
57008         * string/test-memcpy.c (do_one_test): When reporting errors, print
57009         string address and don't overrun end of string.
57011 2013-10-04  Alan Modra  <amodra@gmail.com>
57013         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
57014         insrdi.  Make better use of reg selection to speed exit slightly.
57015         Schedule entry path a little better.  Remove useless "are we done"
57016         checks on entry to main loop.  Handle wrapping around zero address.
57017         Correct main loop count.  Handle single left-over word from main
57018         loop inline rather than by using loop_small.  Remove extra word
57019         case in loop_small caused by wrong loop count.  Add little-endian
57020         support.
57021         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57022         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
57023         cache hint.
57024         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57025         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
57026         support.  Avoid rlwimi.
57027         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
57029 2013-10-04  Alan Modra  <amodra@gmail.com>
57031         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
57032         insrdi.  Formatting.
57033         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
57034         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
57035         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
57036         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
57037         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
57038         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
57040 2013-10-04  Alan Modra  <amodra@gmail.com>
57042         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
57043         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57044         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
57045         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
57046         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57047         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57048         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57049         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
57050         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
57051         use of regs.  Use power7 mtocrf.  Tidy function tails.
57053 2013-10-04  Alan Modra  <amodra@gmail.com>
57055         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
57056         Formatting.  Consistently use rXXX register defines or rN defines.
57057         Use early exit labels that avoid restoring unused non-volatile regs.
57058         Make cr field use more consistent with rWORDn compares.  Rename
57059         regs used as shift registers for unaligned loop, using rN defines
57060         for short lifetime/multiple use regs.
57061         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57062         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
57063         addi 1,1,64 to pop stack frame.  Simplify return value code.
57064         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57066 2013-10-04  Alan Modra  <amodra@gmail.com>
57068         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
57069         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
57070         rather than rlwimi.
57071         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
57072         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
57073         little-endian support.  Correct typos.
57074         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
57075         rather than rlwimi.
57076         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
57077         in loop and entry code to keep "and." results.
57078         (strchr): Add little-endian support.  Comment.  Move cntlzd
57079         earlier in tail.
57080         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
57082 2013-10-04  Alan Modra  <amodra@gmail.com>
57084         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
57085         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
57086         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
57087         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
57089 2013-10-04  Alan Modra  <amodra@gmail.com>
57091         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
57092         (rTMP): Define as r11.
57093         (strcmp): Add little-endian support.  Optimise tail.
57094         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
57095         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57096         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57097         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57098         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57099         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57100         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57102 2013-10-04  Alan Modra  <amodra@gmail.com>
57104         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
57105         little-endian support.  Remove unnecessary "are we done" tests.
57106         Handle "s" wrapping around zero and extremely large "size".
57107         Correct main loop count.  Handle single left-over word from main
57108         loop inline rather than by using small_loop.  Correct comments.
57109         Delete "zero" tail, use "end_max" instead.
57110         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
57112 2013-10-04  Alan Modra  <amodra@gmail.com>
57114         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
57115         support.  Don't branch over align.
57116         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
57117         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
57118         support.  Rearrange tmp reg use to suit.  Comment.
57119         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
57121 2013-10-04  Alan Modra  <amodra@gmail.com>
57123         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
57125 2013-10-04  Alan Modra  <amodra@gmail.com>
57127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
57128         conditional form of branch and link when obtaining pc.
57129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
57131 2013-10-04  Alan Modra  <amodra@gmail.com>
57133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
57134         HIWORD/LOWORD.
57135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
57136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
57138 2013-10-04  Alan Modra  <amodra@gmail.com>
57140         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
57141         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
57142         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
57143         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
57144         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57145         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
57146         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
57147         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57148         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
57149         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
57151 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57152             Alistair Popple <alistair@ozlabs.au.ibm.com>
57153             Alan Modra <amodra@gmail.com>
57155         [BZ #15723]
57156         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
57157         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
57158         _dl_hwcap access for little-endian.
57159         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
57160         destroy vmx regs when saving unaligned.
57161         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
57162         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
57163         destroy vmx regs when saving unaligned.
57165 2013-10-04  Alan Modra  <amodra@gmail.com>
57167         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
57168         Don't use a union to pack hi/low value.
57170 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57172         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
57173         for little-endian.
57174         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
57175         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
57176         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
57177         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
57178         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
57180 2013-10-04  Alan Modra  <amodra@gmail.com>
57182         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
57183         constants to usual value for .cst8 section, and remove redundant
57184         high address load.
57185         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
57186         constant for 0x1p52.  Load little-endian words of double from
57187         correct stack offsets.
57189 2013-10-04  Alan Modra  <amodra@gmail.com>
57191         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
57192         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
57193         words of double from correct stack offsets.
57194         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
57195         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
57196         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
57197         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
57198         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
57199         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
57200         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
57201         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
57202         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
57203         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
57204         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
57205         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
57206         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
57207         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
57208         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
57209         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
57210         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
57212 2013-10-04  Alan Modra  <amodra@gmail.com>
57214         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
57215         64-bit int/double union.
57216         (_FPU_SETCW): Likewise.
57217         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
57218         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
57220 2013-10-04  Alan Modra  <amodra@gmail.com>
57222         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
57223         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
57225 2013-10-04  Alan Modra  <amodra@gmail.com>
57227         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
57228         use vector int constants.
57229         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
57231 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57233         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
57234         array with long long.
57235         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
57236         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
57237         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
57238         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
57239         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
57240         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
57241         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
57242         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
57243         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
57244         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
57245         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
57246         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
57247         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
57249 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
57251         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
57252         (__signbit): Likewise.  Correct for little-endian.
57253         (__signbitl): Call __signbit.
57254         (lrint): Correct for little-endian.
57255         (lrintf): Call lrint.
57257 2013-10-04  Alan Modra  <amodra@gmail.com>
57259         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
57260         union 32-bit int array member with 64-bit int array.
57261         (t515, tm256): Double rather than long double.
57262         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
57264 2013-10-04  Alan Modra  <amodra@gmail.com>
57266         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
57267         Delete.
57268         (IEEE854_LONG_DOUBLE_BIAS): Delete.
57269         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
57270         version of math_ldbl.h.
57272 2013-10-04  Alan Modra  <amodra@gmail.com>
57274         [BZ #15734], [BZ #15735]
57275         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
57276         all uses of ieee875 long double macros and unions.  Simplify test
57277         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
57278         ldbl_extract_mantissa value for ix,iy exponents.  Properly
57279         normalize after ldbl_extract_mantissa, and don't add hidden bit
57280         already handled.  Don't treat low word of ieee854 mantissa like
57281         low word of IBM long double and mask off bit when testing for
57282         zero.
57283         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
57284         all uses of ieee875 long double macros and unions.  Simplify tests
57285         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
57286         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
57287         two1022, instead use their values.  Recognise that tests for large
57288         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
57289         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
57290         Rewrite all uses of ieee875 long double macros and unions.  Simplify
57291         test for 0.0L and nan.  Correct negation.
57292         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
57293         ieee875 long double macros and unions.  Correct output for large
57294         magnitude x.  Correct absolute value calculation.
57295         (__erfcl): Likewise.
57296         * math/libm-test.inc: Add tests for errors discovered in IBM long
57297         double versions of fmodl, remainderl, erfl and erfcl.
57299 2013-10-04  Alan Modra  <amodra@gmail.com>
57301         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
57302         all uses of ieee854 long double macros and unions.  Simplify tests
57303         for long doubles that are fully specified by the high double.
57304         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
57305         Likewise.
57306         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
57307         Remove dead code too.
57308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
57309         (__ieee754_ynl): Likewise.
57310         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
57311         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
57312         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
57313         Remove dead code too.
57314         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
57315         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
57316         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
57317         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
57318         Simplify.
57319         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
57320         Simplify.
57321         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
57322         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
57323         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
57324         Comment on variable precision.
57325         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
57326         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
57327         Likewise.
57328         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
57329         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
57330         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
57331         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
57332         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
57334 2013-10-04  Alan Modra  <amodra@gmail.com>
57336         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
57337         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
57338         all uses of ieee854 long double macros and unions.
57339         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
57340         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
57341         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
57342         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
57343         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
57344         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
57345         Likewise.
57346         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
57347         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
57348         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
57349         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
57350         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
57351         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
57352         Simplify sign and nan test too.
57353         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
57354         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
57355         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
57356         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
57357         Likewise.
57358         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
57359         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
57360         Likewise.
57361         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57362         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
57363         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
57364         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
57365         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
57366         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
57368 2013-10-04  Alan Modra  <amodra@gmail.com>
57370         * stdio-common/printf_size.c (__printf_size): Don't use
57371         union ieee854_long_double in fpnum union.
57372         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
57373         signbit macro to retrieve sign from long double.
57374         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
57375         retrieve sign from long double.
57376         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
57377         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
57378         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
57379         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57380         * math/test-misc.c (main): Don't use union ieee854_long_double.
57382 2013-10-04  Alan Modra  <amodra@gmail.com>
57384         [BZ #15680]
57385         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
57386         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
57387         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
57388         calculation.  Remove unnecessary test for denormal exponent.
57389         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
57390         Correct handling of denormals.  Avoid undefined shift behaviour.
57391         Correct normalisation of low mantissa when low double is denormal.
57392         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
57393         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
57394         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
57395         Correct normalisation of low mantissa.  Test for overflow of high
57396         mantissa and normalise.
57397         (ldbl_nearbyint): Use more readable constant for two52.
57398         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
57399         (__mpn_construct_long_double): Fix test for overflow of high
57400         mantissa and correct normalisation.  Avoid undefined shift.
57402 2013-10-04  Alan Modra  <amodra@gmail.com>
57404         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
57405         (union ibm_extended_long_double): Define as an array of ieee754_double.
57406         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
57407         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
57408         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
57409         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
57410         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
57411         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
57412         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57413         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
57414         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57415         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
57416         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
57418 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
57420         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
57421         page size instead of calling getpagesize.
57423         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
57424         (LOCFILE_ALIGN_MASK): Likewise.
57425         (LOCFILE_ALIGN_UP): Likewise.
57426         (LOCFILE_ALIGNED_P): Likewise.
57427         * locale/programs/ld-collate.c (collate_output): Use the new
57428         macros instead of __alignof__ (int32_t).
57429         * locale/weight.h (findidx): Likewise.
57431 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
57433         [BZ #431]
57434         * manual/string.texi: Fix strncat and wcsncat.
57436 2013-10-03  Brooks Moses  <bmoses@google.com>
57438         [BZ #15915]
57439         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
57440         * Makerules: ...here, and adjust associated comments.
57442 2013-10-02  Will Newton  <will.newton@linaro.org>
57444         * malloc/Makefile: Add tst-pvalloc.
57445         * malloc/tst-pvalloc.c: New file.
57447 2013-10-02  Will Newton  <will.newton@linaro.org>
57449         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
57450         improve test coverage.
57452 2013-10-02  Will Newton  <will.newton@linaro.org>
57454         * malloc/Makefile: Add tst-posix_memalign.
57455         * malloc/tst-posix_memalign.c: New file.
57457 2013-10-01  Eric Blake  <eblake@redhat.com>
57459         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
57460         Use __THROWNL rather than __THROW on static functions.
57462 2013-09-30  Petr Machata  <pmachata@redhat.com>
57464         * elf/elf.h (R_AARCH64_ABS16): New macro.
57465         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
57466         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
57467         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
57468         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
57469         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
57470         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
57471         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
57472         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
57473         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
57474         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
57475         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
57476         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
57477         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
57478         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
57479         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
57480         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
57481         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
57482         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
57483         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
57484         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
57485         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
57486         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
57487         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
57488         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
57489         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
57490         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
57491         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
57492         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
57493         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
57494         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
57495         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
57496         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
57497         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
57498         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
57499         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
57500         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
57501         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
57502         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
57503         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
57504         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
57505         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
57506         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
57507         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
57508         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
57509         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
57510         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
57511         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
57512         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
57513         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
57514         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
57515         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
57516         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
57517         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
57518         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
57519         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
57520         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
57521         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
57522         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
57523         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
57524         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
57525         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
57526         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
57527         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
57528         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
57529         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
57530         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
57531         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
57532         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
57533         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
57534         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
57535         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
57536         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
57537         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
57538         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
57539         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
57540         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
57541         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
57542         (R_AARCH64_TLSDESC_LDR): Likewise.
57543         (R_AARCH64_TLSDESC_ADD): Likewise.
57544         (R_AARCH64_TLSDESC_CALL): Likewise.
57546 2013-09-30  Andreas Schwab  <schwab@suse.de>
57548         [BZ #15048]
57549         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
57550         the nss database lookup.
57551         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57554 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
57556         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
57558 2013-09-28  P. J. McDermott  <pj@pehjota.net>
57560         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
57561         ${Bash-specific parameter/pattern/string} parameter expansion.
57562         * sysdeps/unix/make-syscalls.sh: Likewise.
57564 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57566         * sysdeps/sh/stackguard-macros.h: New file.
57568 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
57570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
57571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
57572         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
57573         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
57574         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
57575         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
57577 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57579         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
57580         Fix thread ID register.
57582 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
57584         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
57585         [POSIX || UNIX98]: Require rather than permitting all symbols from
57586         <time.h>.
57587         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
57588         element of struct sched_param.
57589         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
57590         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
57591         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
57592         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
57593         constant.
57595 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
57597         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
57598         argument calculation.
57600 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57602         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
57603         Expect macro.
57604         [POSIX] (pthread_attr_t): Do not require type.
57605         [POSIX] (pthread_cond_t): Likewise.
57606         [POSIX] (pthread_condattr_t): Likewise.
57607         [POSIX] (pthread_key_t): Likewise.
57608         [POSIX] (pthread_mutex_t): Likewise.
57609         [POSIX] (pthread_mutexattr_t): Likewise.
57610         [POSIX] (pthread_once_t): Likewise.
57611         [POSIX] (pthread_t): Likewise.
57612         [POSIX-based standards] (pthread_atfork): Expect function.
57614 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
57615             Richard Sandiford  <richard@codesourcery.com>
57617         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
57618         (swap_endianness_p): New extern variable.
57619         (set_big_endian): New inline function.
57620         (maybe_swap_uint32): Likewise.
57621         (maybe_swap_uint32_array): Likewise.
57622         (maybe_swap_uint32_obstack): Likewise.
57623         * locale/programs/locfile.c: Include <stdbool.h>.
57624         (swap_endianness_p): New variable.
57625         (add_locale_uint32): Call maybe_swap_uint32.
57626         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
57627         (write_locale_data): Call maybe_swap_uint32_array.
57628         * locale/programs/ld-collate.c (obstack_int32_grow): Call
57629         maybe_swap_uint32.
57630         (obstack_int32_grow_fast): Likewise.
57631         (output_weightwc): Call maybe_swap_uint32_obstack.
57632         (collate_output): Likewise.
57633         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
57634         (OPT_LITTLE_ENDIAN): Likewise.
57635         (options): Add --little-endian and --big-endian options.
57636         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
57637         * locale/programs/locarchive.c: Include "locfile.h".
57638         (GET): New macro.
57639         (SET): Likewise.
57640         (INC): Likewise.
57641         (create_archive): Use the new macros to access fields of
57642         structures directly mapped from or written to locale archives.
57643         (oldlocrecentcmp): Likewise.
57644         (enlarge_archive): Likewise.
57645         (insert_name): Likewise.
57646         (add_alias): Likewise.
57647         (add_locale): Likewise.
57648         (delete_locales_from_archive): Likewise.
57649         (show_archive_content): Likewise.
57650         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
57651         locale data.
57653 2013-09-24  Roland McGrath  <roland@hack.frob.com>
57655         * manual/freemanuals.texi: Updated from (newly) canonical copy at
57656         http://www.gnu.org/doc/freemanuals.texi.
57657         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
57659 2013-09-24  Will Newton  <will.newton@linaro.org>
57661         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
57662         macro.
57664 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
57666         * locale/hashval.h (compute_hashval): Interpret bytes of key as
57667         unsigned char.
57669 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
57671         * manual/threads.texi (POSIX Threads): Fix a typo.
57673 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
57675         [BZ #14547]
57676         * string/tst-strcoll-overflow.c: New test case.
57677         * string/Makefile (xtests): Add tst-strcoll-overflow.
57678         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
57679         cache if string sizes may cause integer overflow.
57681         [BZ #14547]
57682         * string/strcoll_l.c (coll_seq): New members rule, idx,
57683         save_idx and back_us.
57684         (get_next_seq_nocache): New function.
57685         (do_compare_nocache): New function.
57686         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
57687         when malloc fails.
57689 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
57691         [BZ #15754]
57692         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
57693         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
57694         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
57696         [BZ #15754]
57697         * elf/Makefile (tests): Add tst-ptrguard1.
57698         (tests-static): Add tst-ptrguard1-static.
57699         (tst-ptrguard1-ARGS): Define.
57700         (tst-ptrguard1-static-ARGS): Define.
57701         * elf/tst-ptrguard1.c: New file.
57702         * elf/tst-ptrguard1-static.c: New file.
57703         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
57704         * sysdeps/i386/stackguard-macros.h: Likewise.
57705         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
57706         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
57707         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
57708         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
57709         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
57710         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
57712 2013-09-23  Hector Marco  <hecmargi@upv.es>
57713             Ismael Ripoll  <iripoll@disca.upv.es>
57714             Carlos O'Donell  <carlos@redhat.com>
57716         [BZ #15754]
57717         * sysdeps/generic/stackguard-macros.h: Define
57718         __pointer_chk_guard_local and POINTER_CHK_GUARD.
57719         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
57720         Define __pointer_chk_guard_local.
57721         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
57722         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
57724 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
57726         [BZ #15859]
57727         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
57729 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
57731         * include/string.h (__ffs): Declare as hidden.
57732         * string/ffs.c (__ffs): Define as hidden.
57733         * sysdeps/i386/ffs.c (__ffs): Likewise.
57734         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
57735         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
57736         * sysdeps/s390/ffs.c (__ffs): Likewise.
57737         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
57739 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
57741         * NEWS: Mention malloc probes.
57743         * malloc/arena.c (new_heap): New memory_heap_new probe.
57744         (grow_heap): New memory_heap_more probe.
57745         (shrink_heap): New memory_heap_less probe.
57746         (heap_trim): New memory_heap_free probe.
57747         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
57748         (systrim): New memory_sbrk_less probe.
57749         * manual/probes.texi: Document them.
57751         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
57752         * manual/probes.texi: Document it.
57754         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
57755         (__libc_realloc): Add memory_realloc_retry probe.
57756         (__libc_memalign): Add memory_memalign_retry probe.
57757         (__libc_valloc): Add memory_valloc_retry probe.
57758         (__libc_pvalloc): Add memory_pvalloc_retry probe.
57759         (__libc_calloc): Add memory_calloc_retry probe.
57760         * manual/probes.texi: Document them.
57762         * malloc/arena.c (get_free_list): Add probe
57763         memory_arena_reuse_free_list.
57764         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
57765         and memory_arena_reuse.
57766         (arena_get2) [!PER_THREAD]: Likewise.
57767         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
57768         memory_arena_reuse_realloc.
57769         * manual/probes.texi: Document them.
57771         * malloc/malloc.c (__libc_free): Add
57772         memory_mallopt_free_dyn_thresholds probe.
57773         (__libc_mallopt): Add multiple memory_mallopt probes.
57774         * manual/probes.texi: Document them.
57776         * malloc/malloc.c: Include stap-probe.h.
57777         (__libc_mallopt): Add memory_mallopt probe.
57778         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
57779         * manual/probes.texi: New.
57780         * manual/Makefile (chapters): Add probes.
57781         * manual/threads.texi: Set next node.
57783 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
57785         [BZ #15963, #13985]
57786         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
57787         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
57788         Add `Chinese' to `nan' entry name.
57790 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57792         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
57793         (POLYNOMIAL): Likewise.
57794         (TAYLOR_SINCOS): Likewise.
57795         (TAYLOR_SLOW): Likewise.
57796         (__sin): Use TAYLOR_SINCOS.
57797         (__cos): Likewise.
57798         (slow): Use TAYLOR_SLOW.
57799         (sloww): Likewise.
57800         (bsloww): Likewise.
57801         (csloww): Likewise.
57803 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57805         * stdlib/strtod_l.c: Fix buffer overrun.
57807 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57809         * benchtests/Makefile (bench): Add sincos.
57810         * benchtests/bench-sincos.c: New file.
57812         * math/libm-test.inc (cos_test_data): New test inputs.
57813         (sin_test_data): Likewise.
57815         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
57816         macro.
57817         (__sin): Use it.
57818         (__cos): Likewise.
57819         (slow1): Likewise.
57820         (slow2): Likewise.
57821         (sloww1): Likewise.
57822         (sloww2): Likewise.
57823         (bsloww1): Likewise.
57824         (bsloww2): Likewise.
57825         (cslow2): Likewise.
57826         (csloww1): Likewise.
57827         (csloww2): Likewise.
57829         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
57830         function.
57831         (__sin): Use it.
57832         (__cos): Likewise.
57834         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
57835         gotos.
57836         (__cos): Likewise.
57838 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
57840         * config.h.in (HAVE_MIPS_NAN2008): New macro.
57841         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
57842         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
57843         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
57844         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
57845         * elf/cache.c (print_entry): Handle the new cache flags.
57847 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57848             Aldy Hernandez  <aldyh@redhat.com>
57850         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
57851         Change condition to [_SOFT_FLOAT].
57852         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
57853         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
57854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
57855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
57856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
57857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
57858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
57859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
57860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
57861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
57862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
57863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
57864         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
57865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
57866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
57867         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
57868         declaration.
57870 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
57872         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
57873         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57874         (__longjmp): Use LOAD_GP to load saved GPRs.
57875         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
57876         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
57877         (__sigsetjmp): Use SAVE_GP to save GPRs.
57879         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
57880         Do not append -msoft-float.
57881         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
57883 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57885         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
57887 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
57889         [BZ #15966]
57890         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
57891         (_FPU_GETCW): Use initial "__" on variable and field names but not
57892         on macro parameter name.
57893         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
57894         parentheses around reference to macro parameter.
57896 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
57898         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
57899         prototype.
57900         (ctype_startup): Use uint32_t in cast and sizeof for
57901         ctype->charnames.
57903 2013-09-11  Jia Liu  <proljc@gmail.com>
57905         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
57906         __daddr_t_defined.
57907         [__FreeBSD__]: Likewise.
57909 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
57911         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
57912         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
57913         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
57914         (strchr): Remove __strchr_sse42 ifunc selection.
57915         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
57916         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
57918 2013-09-11  Will Newton  <will.newton@linaro.org>
57920         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
57921         parameter to RES. Remove hardcoded 1000 value.
57922         * benchtests/bench-skeleton.c (main): Pass RES parameter
57923         to TIMING_INIT and multiply result by 1000.
57925 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57929 2013-09-11  Andreas Schwab  <schwab@suse.de>
57931         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
57932         if not defined.
57933         (O_TMPFILE) [__USE_GNU]: Define.
57934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
57935         Define.
57937 2013-09-11  Will Newton  <will.newton@linaro.org>
57939         [BZ #15857]
57940         * malloc/malloc.c (__libc_memalign): Check the value of bytes
57941         does not overflow.
57943 2013-09-11  Will Newton  <will.newton@linaro.org>
57945         [BZ #15856]
57946         * malloc/malloc.c (__libc_valloc): Check the value of bytes
57947         does not overflow.
57949 2013-09-11  Will Newton  <will.newton@linaro.org>
57951         [BZ #15855]
57952         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
57953         does not overflow.
57955 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
57957         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
57958         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57959         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57960         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57961         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57963 2013-09-10  Allan McRae  <allan@archlinux.org>
57965         [BZ #15748]
57966         * manual/arith.texi (Parsing of Floats): Clarify
57967         cross-reference.
57969         [BZ #15849]
57970         * manual/install.texi (Running make install): Mention
57971         --enable-pt-chown.
57972         * INSTALL: Regenerated.
57974 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
57976         * csu/init-first.c (_init): Remove the !SHARED condition around
57977         FPU control word initialization.
57978         * elf/dl-support.c (_dl_fpu_control): New variable.
57979         (_dl_aux_init) <AT_FPUCW>: Initialize it.
57980         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
57981         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
57982         * math/test-fpucw-static.c: New file.
57983         * math/test-fpucw-ieee.c: New file.
57984         * math/test-fpucw-ieee-static.c: New file.
57985         * math/Makefile (tests): Add `test-fpucw-ieee' and
57986         `$(tests-static)'.
57987         (tests-static): New variable.
57988         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
57989         dependency to...
57990         [($(build-shared),yes)]
57991         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
57992         ... this.
57993         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
57994         New dependency.
57996 2013-09-09  Allan McRae  <allan@archlinux.org>
57998         [BZ #15939]
57999         * manual/string.texi (Collation Functions): Fix typo in
58000         strcoll example.
58001         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
58003         [BZ #15893]
58004         * stdlib/isomac.c (get_null_defines): Fix memory leak.
58006         [BZ #15892]
58007         * libio/memstream.c (open_memstream): Fix memory leak.
58008         * libio/wmemstream.c (open_wmemstream): Likewise.
58010         [BZ #15895]
58011         * nscd/netgroupcache.c: Fix nesting of ifdefs.
58013 2013-09-09  Will Newton  <will.newton@linaro.org>
58015         * malloc/Makefile: Add tst-realloc to tests.
58016         * malloc/tst-realloc.c: New file.
58018 2013-09-09  Allan McRae  <allan@archlinux.org>
58020         [BZ #15844]
58021         * COPYING: Update from GNU website to fix FSF address.
58022         * COPYING.LIB: Likewise.
58024 2013-09-06  David S. Miller  <davem@davemloft.net>
58026         * po/zh_TW.po: Update Chinese (traditional) translation from
58027         translation project.
58029 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
58030             Joseph Myers  <joseph@codesourcery.com>
58032         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
58033         "localeinfo.h".
58034         (obstack_chunk_alloc): New macro.
58035         (obstack_chunk_free): Likewise.
58036         (record_offset): New function.
58037         (init_locale_data): Likewise.
58038         (align_locale_data): Likewise.
58039         (add_locale_empty): Likewise.
58040         (add_locale_raw_data): Likewise.
58041         (add_locale_raw_obstack): Likewise.
58042         (add_locale_string): Likewise.
58043         (add_locale_wstring): Likewise.
58044         (add_locale_uint32): Likewise.
58045         (add_locale_uint32_array): Likewise.
58046         (add_locale_char): Likewise.
58047         (start_locale_structure): Likewise.
58048         (end_locale_structure): Likewise.
58049         (start_locale_prelude): Likewise.
58050         (end_locale_prelude): Likewise.
58051         (write_locale_data): Take locale_file structure rather than an
58052         iovec.
58053         * locale/programs/locfile.h: Include "obstack.h".
58054         (struct locale_file): Change to store locale file contents instead
58055         of header.
58056         (init_locale_data): New prototype.
58057         (align_locale_data): Likewise.
58058         (add_locale_empty): Likewise.
58059         (add_locale_raw_data): Likewise.
58060         (add_locale_raw_obstack): Likewise.
58061         (add_locale_string): Likewise.
58062         (add_locale_wstring): Likewise.
58063         (add_locale_uint32): Likewise.
58064         (add_locale_uint32_array): Likewise.
58065         (add_locale_char): Likewise.
58066         (start_locale_structure): Likewise.
58067         (end_locale_structure): Likewise.
58068         (start_locale_prelude): Likewise.
58069         (end_locale_prelude): Likewise.
58070         (write_locale_data): Update prototype.
58071         * locale/programs/3level.h (struct TABLE): Remove result field.
58072         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
58073         Use new locale_file interface.
58074         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
58075         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
58076         * locale/programs/ld-address.c (address_output): Use new
58077         locale_file interface.
58078         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
58079         NO_ADD_LOCALE.
58080         (collate_finish): Don't call collseq_table_finalize.
58081         (collate_output): Use new locale_file interface.
58082         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
58083         in file.
58084         (NO_FINALIZE): Change to NO_ADD_LOCALE.
58085         (TABLE): Move defines earlier in file.
58086         (ELEMENT): Likewise.
58087         (DEFAULT): Likewise.
58088         (wctrans_table_add): Move macro and inline function earlier in
58089         file.
58090         (struct wctype_table): Move type earlier in file.
58091         (add_locale_wctype_table): New static prototype.
58092         (struct locale_ctype_t): Use logical types instead of struct iovec
58093         pointers for members.
58094         (ctype_output): Use new locale_file interface.
58095         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
58096         new locale_file interface.
58097         (allocate_arrays): Update for use of new locale_file interface.
58098         * locale/programs/ld-identification.c (identification_output): Use
58099         new locale_file interface.
58100         * locale/programs/ld-measurement.c (measurement_output): Likewise.
58101         * locale/programs/ld-messages.c (messages_output): Likewise.
58102         * locale/programs/ld-monetary.c (monetary_output): Likewise.
58103         * locale/programs/ld-name.c (name_output): Likewise.
58104         * locale/programs/ld-numeric.c (numeric_output): Likewise.
58105         * locale/programs/ld-paper.c (paper_output): Likewise.
58106         * locale/programs/ld-telephone.c (telephone_output): Likewise.
58107         * locale/programs/ld-time.c (time_output): Likewise.
58109 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58111         * benchtests/Makefile: Add memrchr benchmark.
58112         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
58113         benchmark as memrchr.
58114         * benchtests/bench-memrchr-ifunc.c: New file.
58115         * benchtests/bench-memrchr.c: New file.
58117 2013-09-06   Will Newton  <will.newton@linaro.org>
58119         * benchtests/Makefile (string-bench): Add memcpy.
58121 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
58122             Cong Wang  <amwang@redhat.com>
58124         [BZ #15850]
58125         * sysdeps/unix/sysv/linux/bits/in.h
58126         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
58127         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
58128         before __USE_KERNEL_IPV6_DEFS uses.
58129         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
58130         IPPROTO_BEETPH.
58131         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
58132         sockaddr_in6, or ipv6_mreq.
58134 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58136         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
58137         memory access for final bytes in some large inputs.
58138         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
58140 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58142         * string/test-memrchr.c: New file.
58143         * string/test-memrchr-ifunc.c: New file.
58144         * string/Makefile: Add new memrchr testcase.
58146 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
58148         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
58149         fanotify_init returns EPERM.
58151 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58153         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
58154         errors.
58155         (top level): Treat second token from macro or constant entries for
58156         allowed headers as allowed.
58157         * include/complex.h: Condition internal declarations on
58158         [!_ISOMAC].
58159         * include/fenv.h: Condition include of <stdbool.h> and internal
58160         declarations on [!_ISOMAC].
58162 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
58164         [BZ #15923]
58165         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
58167 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
58169         * configure.in (--enable-versioning): Remove configure option.
58170         (libc_cv_asm_symver_directive): Remove configure test.
58171         (libc_cv_ld_version_script_option): Likewise.
58172         (VERSIONING): Remove variable and AC_SUBST.
58173         (DO_VERSIONING): Remove AC_DEFINE.
58174         * configure: Regenerated.
58175         * config.h.in (DO_VERSIONING): Remove macro.
58176         * Makerules [$(versioning) = yes]: Change conditionals to
58177         [$(build-shared) = yes].
58178         * config.make.in (versioning): Remove variable.
58179         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
58180         [$(build-shared) = yes].
58181         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
58182         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
58183         * elf/Makefile [$(versioning) = yes]: Change conditionals to
58184         [$(build-shared) = yes].
58185         * extra-lib.mk [$(versioning) = yes]: Likewise.
58186         * hurd/Makefile [$(versioning) = yes]: Likewise.
58187         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
58188         [SHARED].
58189         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
58190         [SHARED].
58191         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58192         [SHARED && !NO_HIDDEN].
58193         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
58194         [SHARED].
58195         [SHARED && DO_VERSIONING]: Likewise..
58196         * libio/Makefile [$(versioning) = yes]: Change conditionals to
58197         [$(build-shared) = yes].
58198         * manual/install.texi (--disable-versioning): Remove
58199         documentation.
58200         * INSTALL: Regenerated.
58201         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
58202         to [SHARED].
58203         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
58204         [$(build-shared) = yes].
58205         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
58206         * sysdeps/i386/i686/multiarch/strstr-c.c
58207         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
58208         [SHARED && !NO_HIDDEN].
58209         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
58210         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
58211         * sysdeps/powerpc/powerpc32/dl-machine.c
58212         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
58213         * sysdeps/powerpc/powerpc32/sysdep.h
58214         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
58215         to [SHARED && PIC && !NO_HIDDEN].
58216         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
58217         conditional to [SHARED].
58219 2013-09-04   Will Newton  <will.newton@linaro.org>
58221         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
58222         * benchtests/bench-string.h: Include bench-timing.h instead
58223         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
58224         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
58225         call to HP_TIMING_DIFF_INIT.
58226         * benchtests/bench-memccpy.c: Use bench-timing.h macros
58227         instead of hp-timing.h macros.
58228         * benchtests/bench-memchr.c: Likewise.
58229         * benchtests/bench-memcmp.c: Likewise.
58230         * benchtests/bench-memcpy.c: Likewise.
58231         * benchtests/bench-memmem.c: Likewise.
58232         * benchtests/bench-memmove.c: Likewise.
58233         * benchtests/bench-memset.c: Likewise.
58234         * benchtests/bench-rawmemchr.c: Likewise.
58235         * benchtests/bench-strcasecmp.c: Likewise.
58236         * benchtests/bench-strcasestr.c: Likewise.
58237         * benchtests/bench-strcat.c: Likewise.
58238         * benchtests/bench-strchr.c: Likewise.
58239         * benchtests/bench-strcmp.c: Likewise.
58240         * benchtests/bench-strcpy.c: Likewise.
58241         * benchtests/bench-strcpy_chk.c: Likewise.
58242         * benchtests/bench-strlen.c: Likewise.
58243         * benchtests/bench-strncasecmp.c: Likewise.
58244         * benchtests/bench-strncat.c: Likewise.
58245         * benchtests/bench-strncmp.c: Likewise.
58246         * benchtests/bench-strncpy.c: Likewise.
58247         * benchtests/bench-strnlen.c: Likewise.
58248         * benchtests/bench-strpbrk.c: Likewise.
58249         * benchtests/bench-strrchr.c: Likewise.
58250         * benchtests/bench-strspn.c: Likewise.
58251         * benchtests/bench-strstr.c: Likewise.
58253 2013-09-04  Will Newton  <will.newton@linaro.org>
58255         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
58257 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
58259         [BZ #15427]
58260         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
58261         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
58262         * math/libm-test.inc (lgamma_test_data): Add more tests.
58263         * sysdeps/i386/fpu/libm-test-ulps: Update.
58264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58266 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
58268         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
58269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
58270         Add ifunc.
58271         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58272         Add strcmp-sse2-unaligned
58273         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
58275 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58277         * Versions.def (libc): Add GLIBC_2.19.
58279 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
58281         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
58282         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
58284 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
58286         [BZ #14155]
58287         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
58288         intermediate calculations in recurrence.
58289         (__ieee754_ynf): Likewise.
58290         * math/libm-test.inc (jn_test_data): Do not allow spurious
58291         underflow exception.  Add more tests.
58292         (yn_test_data): Add more tests.
58293         * sysdeps/i386/fpu/libm-test-ulps: Update.
58294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58296 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
58298         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
58300 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58302         * csu/init-first.c: Fix then/than typos.
58303         * locale/programs/ld-collate.c: Likewise.
58304         * locale/programs/linereader.h: Likewise.
58305         * manual/charset.texi: Likewise.
58306         * manual/filesys.texi: Likewise.
58307         * manual/stdio.texi: Likewise.
58308         * manual/string.texi: Likewise.
58309         * stdlib/fmtmsg.c: Likewise.
58310         * sysdeps/i386/stpncpy.S: Likewise.
58311         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
58312         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
58313         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
58314         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
58316 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
58318         * elf/dl-open.c: Fix typos.
58319         * iconvdata/gbbig5.c: Likewise.
58320         * iconvdata/iso-2022-jp.c: Likewise.
58321         * iconv/gconv_int.h: Likewise.
58322         * iconv/loop.c: Likewise.
58323         * nis/rpcsvc/nis.h: Likewise.
58324         * resolv/ns_name.c: Likewise.
58325         * stdio-common/vfscanf.c: Likewise.
58326         * streams/stropts.h: Likewise.
58327         * sunrpc/rpc_thread.c: Likewise.
58328         * sysdeps/i386/strpbrk.S: Likewise.
58329         * sysdeps/ieee754/k_standard.c: Likewise.
58330         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
58331         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
58332         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
58333         * sysdeps/mach/hurd/profil.c: Likewise.
58334         * sysdeps/s390/dl-procinfo.h: Likewise.
58335         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
58336         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
58337         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
58338         * sysdeps/x86_64/dl-trampoline.S: Likewise.
58339         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
58341 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
58343         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
58344         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
58346 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
58348         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
58349         aix specific files.
58350         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
58351         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
58352         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
58353         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
58354         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
58355         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
58356         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
58357         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
58359 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58360             Roland McGrath  <roland@hack.frob.com>
58362         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
58363         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
58365 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
58367         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
58368         __executable_start symbol instead of _start.
58370 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
58372         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
58373         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
58374         Move macros to...
58375         * sysdeps/gnu/ldsodefs.h: ... this new file.
58377         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
58378         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
58379         instead of ELFOSABI_LINUX.
58381         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
58382         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
58383         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
58384         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
58385         Likewise.
58386         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
58387         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
58388         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
58389         Likewise.
58390         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
58391         (ibm_extended_long_double): Add ieee_nan member.
58392         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
58393         (do_test): New function.
58395         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
58396         TEST_TRUNC.
58397         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
58398         functions, renamed from truncdfsf_test, trunctfsf_test,
58399         trunctfdf_test.
58400         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
58401         functions.
58402         (do_test): Run all these.
58404 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
58406         * argp/argp-help.c: Fix typos.
58407         * argp/argp-parse.c: Likewise.
58408         * debug/backtracesyms.c: Likewise.
58409         * elf/elf.h: Likewise.
58410         * malloc/malloc.c: Likewise.
58411         * nis/nis_print.c: Likewise.
58412         * resolv/res_comp.c: Likewise.
58413         * stdlib/stdlib.h: Likewise.
58414         * sunrpc/clnt_tcp.c: Likewise.
58415         * sunrpc/clnt_udp.c: Likewise.
58416         * sunrpc/clnt_unix.c: Likewise.
58417         * sysdeps/unix/bsd/ptsname.c: Likewise.
58418         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
58419         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
58420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
58421         Likewise.
58422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
58423         Likewise.
58424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
58425         Likewise.
58426         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
58428 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58430         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
58431         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58433 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
58435         [BZ #15897]
58436         * dlfcn/Makefile (tests): Add bug-dl-leaf.
58437         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
58438         ($(objpfx)bug-dl-leaf): New rule.
58439         ($(objpfx)bug-dl-leaf.so): Likewise.
58440         ($(objpfx)bug-dl-leaf.out): Likewise.
58441         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
58442         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
58443         * dlfcn/bug-dl-leaf.c: New test.
58444         * dlfcn/bug-dl-leaf-lib.c: Likewise.
58445         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
58446         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
58447         (dlclose): Likewise.
58448         (dlmopen): Likewise.
58450 2013-08-27  Roland McGrath  <roland@hack.frob.com>
58452         * include/netdb.h [!_ISOMAC]:
58453         Don't include <tls.h>.
58454         (h_errno, __libc_h_errno): Move declaration and macros out of
58455         [_LIBC_REENTRANT].
58457         * include/resolv.h [_RESOLV_H_]:
58458         Don't include <tls.h>.
58459         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
58460         * resolv/res_libc.c: Don't include <tls.h>.
58461         (_res): Use __attribute__ ((nocommon)) in place of
58462         __attribute__ ((section (".bss"))).
58464         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
58465         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
58467         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
58469         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
58470         only under [SIOCGIFCONF && SIOCGIFNETMASK].
58472         * resolv/res_mkquery.c: Include <sys/time.h>.
58474         * inet/ifreq.c: Moved to ...
58475         * sysdeps/unix/ifreq.c: ... here.
58476         * inet/ifreq.c: New file, true stub version.
58478         * socket/sa_len.c: New file.
58479         * socket/Makefile (aux): Add it.
58480         * sysdeps/unix/sysv/linux/Makefile
58481         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
58482         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
58483         and #include <socket/sa_len.c>.
58484         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
58485         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
58487         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
58488         * bits/socket.h: ... here.
58490         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
58491         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
58492         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
58494 2013-08-27  Andreas Schwab  <schwab@suse.de>
58496         [BZ #15736]
58497         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
58498         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
58499         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
58500         * string/test-strcasecmp.c (test_main): Run tests in several
58501         locales.
58502         * string/test-strncasecmp.c (test_main): Likewise.
58504         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
58505         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
58506         to __strcasecmp_nonascii and __strncasecmp_nonascii.
58507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
58508         (__strncasecmp_ssse3) [PIC]: Likewise.
58510 2013-08-26  Roland McGrath  <roland@hack.frob.com>
58512         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
58514         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
58515         instead of explicitly declaring xdecrypt.
58516         * nis/nss_nis/nis-publickey.c: Likewise.
58518 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58520         [BZ #15890]
58521         * nscd/aicache.c: Include res_hconf.h.
58522         (addhstaiX): Initialize res_hconf.
58524 2013-08-26  Andreas Schwab  <schwab@suse.de>
58526         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
58527         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
58529 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58531         * nscd/aicache.c (addhstaiX): Fix indentation.
58533 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
58535         * configure.ac: Quote $build_pt_chown test.
58536         * configure: Regenerated.
58538 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
58540         [BZ #15532]
58541         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
58542         * math/s_cexpf.c (__cexpf): Likewise.
58543         * math/s_cexpl.c (__cexpl): Likewise.
58544         * math/libm-test.inc (cexp_test_data): Correct expected return
58545         value for NaN + i0.  Add another test.
58547 2013-08-22  David S. Miller  <davem@davemloft.net>
58549         * po/ca.po: Update Catalan translation from translation project.
58550         * po/uk.po: Add Ukrainian translations from translation project.
58552 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
58554         [BZ #15797]
58555         * math/s_fdim.c (__fdim): Check for infinite arguments if result
58556         is infinite, not alongside NaN test.
58557         * math/s_fdimf.c (__fdimf): Likewise.
58558         * math/s_fdiml.c (__fdiml): Likewise.
58559         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
58560         errno is unchanged.
58562 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
58564         * argp/argp-help.c: Fix typos.
58565         * crypt/speeds.c: Likewise.
58566         * csu/check_fds.c: Likewise.
58567         * elf/dl-load.c: Likewise.
58568         * elf/dl-open.c: Likewise.
58569         * elf/reldep3.c: Likewise.
58570         * elf/reldep.c: Likewise.
58571         * elf/sprof.c: Likewise.
58572         * iconv/iconv_charmap.c: Likewise.
58573         * iconv/skeleton.c: Likewise.
58574         * iconv/strtab.c: Likewise.
58575         * io/lockf64.c: Likewise.
58576         * libio/libioP.h: Likewise.
58577         * resolv/gai_notify.c: Likewise.
58578         * resolv/ns_name.c: Likewise.
58579         * resolv/ns_samedomain.c: Likewise.
58580         * resolv/res_send.c: Likewise.
58581         * stdlib/random.c: Likewise.
58582         * sunrpc/rpc/xdr.h: Likewise.
58583         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
58584         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
58585         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
58586         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
58587         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
58588         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
58589         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
58590         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
58591         * sysdeps/mach/hurd/check_fds.c: Likewise.
58592         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
58593         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
58594         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
58595         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
58596         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
58597         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
58598         * sysdeps/pthread/aio_notify.c: Likewise.
58599         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
58600         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
58601         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
58602         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
58603         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58605 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58607         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
58608         version if bit_Slow_SSE4_2 is set.
58609         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58610         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58612 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58614         [BZ #15867]
58615         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
58616         trampoline stack frame information.
58617         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
58618         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
58619         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
58620         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
58621         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
58622         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58623         (_libc_vdso_platform_setup): Initialize the signal trampolines.
58624         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
58625         sa_flags value.
58626         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
58627         interrupting a syscall and set with option SA_SIGINFO.
58629 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58631         [BZ #15531]
58632         * math/s_cproj.c (__cproj): Only return an infinity if one part of
58633         argument is infinite.
58634         * math/s_cprojf.c (__cprojf): Likewise.
58635         * math/s_cprojl.c (__cprojl): Likewise.
58636         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
58637         * math/libm-test.inc (cproj_test_data): Add more tests.
58639         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
58641         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
58642         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
58643         size.  Use __ffs to determine corresponding shift.
58645 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
58646             Roland McGrath  <roland@hack.frob.com>
58648         * Makefile (INSTALL): Remove trailing blank lines from output of
58649         makeinfo.
58651 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58653         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
58654         Align 32 bit compat elf_greg to 8 bytes.
58656 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
58658         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
58660 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58662         * string/strcoll_l.c (coll_seq): New structure.
58663         (get_next_seq_cached): New function.
58664         (get_next_seq): New function.
58665         (do_compare): New function.
58666         (STRCOLL): Use GNU style definition.  Simplify implementation
58667         by using get_next_seq, get_next_seq_cached and do_compare.
58669 2013-08-16  Florian Weimer  <fweimer@redhat.com>
58671         [BZ #14699]
58672         CVE-2013-4237
58673         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
58674         member.
58675         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
58676         member.
58677         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
58678         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
58679         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
58680         conditional.
58681         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
58682         GETDENTS_64BIT_ALIGNED.
58683         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
58684         * manual/filesys.texi (Reading/Closing Directory): Document
58685         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
58686         strongly.
58687         * manual/conf.texi (Limits for Files): Add portability note to
58688         NAME_MAX, PATH_MAX.
58689         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
58691 2013-08-13  Andreas Schwab  <schwab@suse.de>
58693         [BZ #15749]
58694         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
58695         of fabs.
58696         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
58697         LDBL_MAX_EXP >= 16384]: Add tests for it.
58699 2013-08-12  David S. Miller  <davem@davemloft.net>
58701         * version.h (RELEASE): Set to "development".
58702         (VERSION): Set to "2.18.90".
58703         * NEWS: Add 2.19 section.
58705 2013-08-03  David S. Miller  <davem@davemloft.net>
58707         * po/ko.po: Update Korean translation from translation project.
58709 2013-08-01  David S. Miller  <davem@davemloft.net>
58711         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
58712         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58713         Bilka.
58715 2013-07-30  David S. Miller  <davem@davemloft.net>
58717         * po/fr.po: Update French translation from translation project.
58719 2013-07-28  David S. Miller  <davem@davemloft.net>
58721         * po/cs.po: Update Czech translation from translation project.
58723         * po/sv.po: Update Swedish translation from translation project.
58725 2013-07-27  David S. Miller  <davem@davemloft.net>
58727         * po/eo.po: Update Esperanto translation from translation project.
58729         * po/vi.po: Update Vietnamese translation from translation project.
58731         * po/de.po: Update German translation from translation project.
58733 2013-07-26  David S. Miller  <davem@davemloft.net>
58735         * po/bg.po: Update Bulgarian translation from translation project.
58737         * po/nl.po: Update Dutch translation from translation project.
58738         * po/pl.po: Update Polish translation from translation project.
58739         * po/ru.po: Update Russian translation from translation project.
58741 2013-07-24  David S. Miller  <davem@davemloft.net>
58743         * po/libc.pot: Update.
58745 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58747         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
58748         variable page size.
58749         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
58750         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
58751         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
58753 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58755         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
58757 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58758             Andreas Schwab  <schwab@suse.de>
58759             Roland McGrath  <roland@hack.frob.com>
58760             Joseph Myers  <joseph@codesourcery.com>
58761             Carlos O'Donell  <carlos@redhat.com>
58763         [BZ #15755]
58764         * config.h.in: Define HAVE_PT_CHOWN.
58765         * config.make.in (build-pt-chown): New variable.
58766         * configure.in (--enable-pt_chown): New configure option.
58767         * configure: Regenerate.
58768         * login/Makefile: Include Makeconfig.  Build pt_chown only if
58769         build-pt-chown is enabled.
58770         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
58771         pt_chown to fix pty ownership.
58772         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
58773         CLOSE_ALL_FDS.
58774         * manual/install.texi (Configuring and compiling): Mention
58775         --enable-pt_chown. Add @findex for grantpt.
58776         * INSTALL: Regenerate.
58778 2013-07-20  David S. Miller  <davem@davemloft.net>
58780         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
58781         difference between 32-bit and 64-bit.
58783 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
58785         [BZ #15711]
58786         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
58787         Avoid system header dependency with -ffreestanding.
58788         ($(objpfx)bits/syscall%d): Likewise.
58790 2013-07-13  David S. Miller  <davem@davemloft.net>
58792         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
58793         underflows from atanl/atan2l due to bug 15319.
58794         (casinh_test_data): Likewise.
58796 2013-07-07  David S. Miller  <davem@davemloft.net>
58798         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
58800 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
58802         * sysdeps/i386/fpu/libm-test-ulps: Update.
58803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58805 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58807         * configure.in (--enable-lock-elision): Fix message text.
58808         * INSTALL: Regenerate.
58809         * configure: Regenerate.
58811 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58815 2013-07-03  Andreas Jaeger  <aj@suse.de>
58817         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
58818         define.
58819         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
58820         (ptrace_peeksiginfo_args): Add.
58821         (__ptrace_peeksiginfo_flags): Add.
58822         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58823         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58824         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58826 2013-07-03  Allan McRae  <allan@archlinux.org>
58828         * sysdeps/i386/fpu/libm-test-ulps: Update.
58830 2013-07-02  David S. Miller  <davem@davemloft.net>
58832         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58834 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
58836         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58838 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58840         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58843 2013-07-02  Andi Kleen <ak@linux.intel.com>
58845         * config.h.in (ENABLE_LOCK_ELISION): Add.
58846         * configure.in (--enable-lock-elision): Add option.
58847         * manual/install.texi: Document --enable lock elision.
58848         * configure: Regenerate
58849         * INSTALL: Regenerate.
58851 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
58853         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
58854         SSE4.2 strcasecmp for libc.a.
58855         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
58857 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
58859         [BZ #13304]
58860         * soft-fp/op-common.h (_FP_FMA): New macro.
58861         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
58862         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
58863         (_FP_MUL_MEAT_1_imm): ... here.
58864         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
58865         (_FP_MUL_MEAT_1_wide): ... here.
58866         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
58867         (_FP_MUL_MEAT_1_hard): ... here.
58868         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
58869         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
58870         (_FP_MUL_MEAT_2_wide): ... here.
58871         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
58872         (_FP_MUL_MEAT_2_wide_3mul): ... here.
58873         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
58874         (_FP_MUL_MEAT_2_gmp): ... here.
58875         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
58876         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
58877         (_FP_MUL_MEAT_4_wide): ... here.
58878         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
58879         (_FP_MUL_MEAT_4_gmp): ... here.
58880         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
58881         (_FP_WFRACBITS_DW_S): Likewise.
58882         (_FP_WFRACXBITS_DW_S): Likewise.
58883         (_FP_HIGHBIT_DW_S): Likewise.
58884         (FP_FMA_S): Likewise.
58885         (_FP_FRAC_HIGH_DW_S): Likewise.
58886         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
58887         (_FP_WFRACBITS_DW_D): Likewise.
58888         (_FP_WFRACXBITS_DW_D): Likewise.
58889         (_FP_HIGHBIT_DW_D): Likewise.
58890         (FP_FMA_D): Likewise.
58891         (_FP_FRAC_HIGH_DW_D): Likewise.
58892         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
58893         (_FP_WFRACBITS_DW_E): Likewise.
58894         (_FP_WFRACXBITS_DW_E): Likewise.
58895         (_FP_HIGHBIT_DW_E): Likewise.
58896         (FP_FMA_E): Likewise.
58897         (_FP_FRAC_HIGH_DW_E): Likewise.
58898         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
58899         (_FP_WFRACBITS_DW_Q): Likewise.
58900         (_FP_WFRACXBITS_DW_Q): Likewise.
58901         (_FP_HIGHBIT_DW_Q): Likewise.
58902         (FP_FMA_Q): Likewise.
58903         (_FP_FRAC_HIGH_DW_Q): Likewise.
58904         * soft-fp/fmasf4.c: New file.
58905         * soft-fp/fmadf4.c: Likewise.
58906         * soft-fp/fmatf4.c: Likewise.
58908 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
58910         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
58911         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
58912         Silvermont.
58913         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
58914         macro.
58915         (index_Slow_SSE4_2): Likewise.
58916         (index_Prefer_PMINUB_for_stringop): Likewise.
58917         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
58918         bit_Slow_SSE4_2 is set.
58919         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58920         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58922 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58924         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
58925         rtld_global._dl_hwcap2.
58926         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
58927         POWER8.
58928         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
58929         POWER8 feature descriptions defined in _dl_hwcap2.
58930         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
58931         string handling for POWER8 feature bits.
58932         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
58933         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
58934         _dl_powerpc_cap_flags.
58935         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
58936         * sysdeps/powerpc/rtld-global-offsets.sym
58937         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
58938         _dl_hwcap2 in the rtld_global_ro structure.
58940 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58942         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
58943         hardware capabilities in support of AT_HWCAP2.
58944         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
58945         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
58946         GLRO(dl_hwcap2).
58947         (_dl_show_auxv): Add support for calling _dl_procinfo to display
58948         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
58949         explicitly the unknown a_type display mechanism is used.
58950         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
58951         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
58952         struct member.
58953         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
58954         to macro prototype for AT_HWCAP2 support.
58955         * sysdeps/i386/dl-procinfo.h: Likewise.
58956         * sysdeps/s390/dl-procinfo.h: Likewise.
58957         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
58958         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
58959         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
58960         return -1 for unknown a_type display fallback.
58961         * sysdeps/sparc/dl-procinfo.h: Likewise.
58962         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
58963         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
58965 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
58967         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
58968         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
58970 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
58972         [BZ #12492]
58973         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
58974         mprotect making __stack_prot writable.
58976 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
58977             Joseph Myers  <joseph@codesourcery.com>
58979         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
58980         as being properly aligned.
58982 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
58984         * dlfcn/modstatic5.c: New file.
58985         * dlfcn/tststatic5.c: New file.
58986         * dlfcn/Makefile (tests): Add tststatic5.
58987         (tests-static): Likewise.
58988         (modules-names): Add modstatic5.
58989         (tststatic5-ENV): New variable.
58990         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
58992         [BZ #15022]
58993         * elf/dl-support.c (_dl_main_map): New variable.
58994         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
58995         (_dl_nns, _dl_load_adds): Set to 1.
58996         (_dl_initial_searchlist): Refer to _dl_main_map.
58997         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
58998         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
58999         call to _dl_get_origin.
59000         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
59001         around call_map.
59002         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
59003         * dlfcn/modstatic3.c: New file.
59004         * dlfcn/tststatic3.c: New file.
59005         * dlfcn/tststatic4.c: New file.
59006         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
59007         (tests-static): Likewise.
59008         (modules-names): Add modstatic3.
59009         (tststatic3-ENV, tststatic4-ENV): New variables.
59010         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
59011         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
59013 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
59015         * configure.in (CC): Require GCC version 4.4 or later.
59016         * configure: Regenerated.
59017         * manual/install.texi (Tools for Compilation): Update GCC version
59018         requirement.
59019         * INSTALL: Regenerated.
59021 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59023         [BZ #15674]
59024         * string/test-memcmp.c (check2): New.
59025         (main): Call check2.
59027         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
59029 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
59031         [BZ #15022]
59032         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
59033         over to...
59034         (dl_open_worker) [!SHARED]: ... here.
59036 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59038         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
59040 2013-06-25  Richard Henderson  <rth@redhat.com>
59042         * locale/programs/locarchive.c: Include <libc-internal.h>
59044 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
59046         * manual/texinfo.tex: Update to version 2013-06-21.17, with
59047         trailing whitespace removed.
59049 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59051         [BZ #10283]
59052         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
59053         * locale/programs/locarchive.c: Include libc-mmap.h.
59054         (prepare_address_space): Take two new outputs (the mmap base and len).
59055         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
59056         values.
59057         (create_archive): Declare new mmap base and len values for
59058         prepare_address_space, and store the result in ah.
59059         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
59060         (enlarge_archive): If ah->mmap_base is not NULL, use that and
59061         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59062         Declare new mmap base and len values for
59063         prepare_address_space, and store the result in new_ah.
59064         (open_archive): Declare new mmap base and len values for
59065         prepare_address_space, and store the result in ah.
59066         (close_archive): If ah->mmap_base is not NULL, use that and
59067         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
59068         * sysdeps/generic/libc-mmap.h: New file.
59070 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
59072         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
59073         (ALIGN_UP): Likewise.
59074         (PTR_ALIGN_DOWN): Likewise.
59075         (PTR_ALIGN_UP): Likewise.
59077 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59079         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
59080         entry mapped to PPC_PLATFORM_POWER8.
59081         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
59082         POWER8.
59083         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
59084         (_dl_string_platform): Add case for exporting platform position for
59085         POWER8.
59086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
59087         search path to sysdeps/powerpc/powerpc32/power8 directory.
59088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
59089         search path to sysdeps/powerpc/powerpc64/power8 directory.
59090         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
59091         power7 directories.
59092         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
59093         power7 directories.
59095 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
59097         * INSTALL: Regenerate.
59099         * nscd/connections.c (nscd_init): Fix comment.
59101 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
59103         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
59105         [BZ #15667]
59106         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
59107         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
59109 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59111         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
59112         DL_DST_REQ_STATIC.
59113         (DL_DST_REQ_STATIC): Remove macro.
59115 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
59117         [BZ #7006]
59118         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
59119         with a shift of 0 bits.
59121 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
59123         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
59124         $(tststatic-ENV).
59126 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59128         [BZ #15655]
59129         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
59131 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59133         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
59134         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
59135         accepts -fno-tree-loop-distribute-patterns.
59136         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
59137         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
59138         recursive call.
59139         * string/memset.c (memset): Likewise.
59140         * string/test-memmove.c (simple_memmove): Disable loop transformation
59141         to library calls.
59142         * string/test-memset.c (simple_memset): Likewise.
59143         * benchtests/bench-memmove.c (simple_memmove): Likewise.
59144         * benchtests/bench-memset.c (simple_memset): Likewise.
59145         * configure: Regenerated.
59147 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
59149         * math/test-misc.c (main): Ignore fesetround failure when failures
59150         of subsequent rounding tests would be ignored.
59152         [BZ #15654]
59153         * math/fedisblxcpt.c (fedisableexcept): Return 0.
59154         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
59155         * math/fegetenv.c (__fegetenv): Return 0.
59156         * math/fegetexcept.c (fegetexcept): Return 0.
59157         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
59158         FE_TONEAREST.
59159         * math/feholdexcpt.c (feholdexcept): Return 0.
59160         * math/fesetenv.c (__fesetenv): Return 0.
59161         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
59162         argument FE_TONEAREST.
59163         * math/feupdateenv.c (__feupdateenv): Return 0.
59164         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
59166 2013-06-18  Roland McGrath  <roland@hack.frob.com>
59168         * elf/rtld-Rules (rtld-compile-command.S): New variable.
59169         (rtld-compile-command.s, rtld-compile-command.c): New variables.
59170         ($(objpfx)rtld-%.os rules): Use them.
59172 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59174         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
59175         fields.
59177 2013-06-17  Roland McGrath  <roland@hack.frob.com>
59179         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
59180         length of target pattern, then descending length of dependency pattern.
59181         * configure.in (AWK): Require gawk 3.1.2 or newer.
59182         * manual/install.texi (Tools for Compilation): Say that we do.
59183         * configure: Regenerated.
59185         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
59186         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
59187         * scripts/sysd-rules.awk: ... this new script.
59188         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
59189         than a glob-style pattern.
59191 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
59193         * math/test-misc.c (main): Do not treat incorrectly rounded
59194         conversions as failure unless ROUNDING_TESTS passes.
59196 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
59198         [BZ #15631]
59199         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
59200         restore exception state around main square root computation, then
59201         check for inexactness explicitly.
59203         * math/libm-test.inc (fma_test_data): Add another test.
59205 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59207         * manual/threads.texi (Non-POSIX Extensions): New document
59208         node.  Document pthread_getattr_default_np and
59209         pthread_setattr_default_np.
59211         * Versions.def (libpthread): Add GLIBC_2.18.
59212         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
59213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
59214         Likewise.
59215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
59216         Likewise.
59217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59218         Likewise.
59219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59220         Likewise.
59221         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
59222         Likewise.
59223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59224         Likewise.
59225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
59226         Likewise.
59227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
59228         Likewise.
59229         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
59230         Likewise.
59232 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
59234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59235         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
59237 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59238             H.J. Lu  <hjl.tools@gmail.com>
59240         [BZ #15627]
59241         * sysdeps/x86_64/rtld-memset.c: Remove file.
59242         * sysdeps/x86_64/rtld-memset.S: New file.
59244 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
59246         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
59247         (test_in_one_mode): Take arguments for whether the rounding mode
59248         is supported for each floating-point type.
59249         (do_test): Pass new arguments to test_in_one_mode using
59250         ROUNDING_TESTS.
59252 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59254         * posix/tst-waitid.c (do_test): Distinguish different instances of
59255         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
59256         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
59257         before entering the kernel for waitpid.
59259 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59261         * NEWS: Fix note on clock function precision.  Text by Roland
59262         McGrath.
59264 2013-06-13  Roland McGrath  <roland@hack.frob.com>
59266         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
59267         it into place only when and if the sanity check passes.
59269 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
59271         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
59272         output for whether conversion result is exact.  Take argument
59273         indicating whether type is IBM long double.
59274         (round_for_all): Change need_exact field to ibm_ld.
59275         * stdlib/tst-strtod-round.c (struct exactness): New type.
59276         (struct test): Change bool ld_ok field to struct exactness exact.
59277         (TEST): Update all definitions for change to field.
59278         (tests): Regenerate array contents.
59279         (test_in_one_mode): Take pointer to new field instead of old ld_ok
59280         field value.  Check for IBM long double here.
59281         (do_test): Update calls to test_in_one_mode.
59283 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
59285         [BZ #12515]
59286         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
59287         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
59289 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59291         [BZ #15605]
59292         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
59293         generated by the compiler on loop optimizations.
59294         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
59295         general definitions.
59297 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
59299         * math/bug-nextafter.c: Include <math-tests.h>.
59300         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59301         the relevant type.
59302         * math/bug-nexttoward.c: Include <math-tests.h>.
59303         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59304         the relevant type.
59305         * math/test-misc.c: Include <math-tests.h>.
59306         (main): Only test for exceptions if EXCEPTION_TESTS is true for
59307         the relevant type.
59309 2013-06-12  Andreas Jaeger  <aj@suse.de>
59311         * po/ia.po: Update Interlingua translation from translation
59312         project.
59314 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59316         * include/fenv.h: Include stdbool.h.
59317         (struct rm_ctx): New structure.
59318         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
59319         Define macro.
59320         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
59321         (SET_RESTORE_ROUNDF): Likewise.
59322         (SET_RESTORE_ROUNDL): Likewise.
59323         (SET_RESTORE_ROUND_NOEX): Likewise.
59324         (SET_RESTORE_ROUND_NOEXF): Likewise.
59325         (SET_RESTORE_ROUND_NOEXL): Likewise.
59326         (SET_RESTORE_ROUND_53BIT): Likewise.
59327         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
59328         (libc_feresetround_noexf_ctx): Likewise.
59329         (libc_feresetround_noexl_ctx): Likewise.
59330         (libc_feholdsetround_53bit_ctx): Likewise.
59331         (libc_feresetround_53bit_ctx): Likewise.
59332         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
59333         (libc_feholdexcept_setround_sse_ctx): New function.
59334         (libc_fesetenv_sse_ctx): Likewise.
59335         (libc_feupdateenv_sse_ctx): Likewise.
59336         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
59337         (libc_feholdexcept_setround_387_ctx): Likewise.
59338         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
59339         (libc_feholdsetround_387_prec_ctx): Likewise.
59340         (libc_feholdsetround_387_ctx): Likewise.
59341         (libc_feholdsetround_387_53bit_ctx): Likewise.
59342         (libc_feholdsetround_sse_ctx): Likewise.
59343         (libc_feresetround_sse_ctx): Likewise.
59344         (libc_feresetround_387_ctx): Likewise.
59345         (libc_feupdateenv_387_ctx): Likewise.
59346         (libc_feholdexcept_setroundf_ctx): Define macro.
59347         (libc_fesetenvf_ctx): Likewise.
59348         (libc_feupdateenvf_ctx): Likewise.
59349         (libc_feholdsetroundf_ctx): Likewise.
59350         (libc_feresetroundf_ctx): Likewise.
59351         (libc_feholdexcept_setround_ctx): Likewise.
59352         (libc_fesetenv_ctx): Likewise.
59353         (libc_feupdateenv_ctx): Likewise.
59354         (libc_feholdsetround_ctx): Likewise.
59355         (libc_feresetround_ctx): Likewise.
59356         (libc_feholdexcept_setroundl_ctx): Likewise.
59357         (libc_feupdateenvl_ctx): Likewise.
59358         (libc_feholdsetroundl_ctx): Likewise.
59359         (libc_feresetroundl_ctx): Likewise.
59360         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
59361         (libc_feresetround_53bit_ctx): Likewise.
59363 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59365         * locale/iso-639.def: Convert to UTF-8.
59367 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
59369         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
59370         (EXCEPTION_TESTS_double): Likewise.
59371         (EXCEPTION_TESTS_long_double): Likewise.
59372         (EXCEPTION_TESTS): Likewise.
59373         * math/libm-test.inc (test_exceptions): Only test exceptions if
59374         EXCEPTION_TESTS (FLOAT).
59376 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59378         * benchtests/Makefile (string-bench): Add strcpy_chk and
59379         stpcpy_chk.
59380         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
59381         * benchtests/bench-stpcpy_chk.c: New file.
59382         * benchtests/bench-strcpy_chk-ifunc.c: New file.
59383         * benchtests/bench-strcpy_chk.c: New file.
59384         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
59385         code.
59386         (do_test): Likewise.
59388 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
59390         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
59391         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
59392         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
59393         with tabs where appropriate.
59394         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
59395         dl-procinfo.h.
59396         [PPC_PLATFORM_PPC440]: Likewise.
59397         [PPC_PLATFORM_PPC464]: Likewise.
59398         [PPC_PLATFORM_PPC476]: Likewise.
59399         (_dl_string_platform): Add support for detecting ppc405, ppc440,
59400         ppc464, and ppc476 platform strings merging from ports/
59401         dl-procinfo.h.
59403 2013-06-11  Andreas Schwab  <schwab@suse.de>
59405         [BZ #14991]
59406         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
59407         (from_ucs4_idx): Regenerate.
59408         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
59409         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
59410         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
59411         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
59412         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
59413         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
59414         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
59415         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
59416         from FROM_LOOP and TO_LOOP specific macros.
59417         (BODY): Handle combining characters.
59418         * iconvdata/BIG5HKSCS.irreversible: Update.
59419         * iconvdata/BIG5HKSCS.precomposed: New file.
59420         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
59421         characters.
59422         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
59424 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59426         * include/sys/time.h: Fix indentation and add copyright header.
59428         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
59429         (do_test): Likewise.
59430         * string/test-memchr.c (do_one_test): Likewise.
59431         (do_test): Likewise.
59432         * string/test-memcmp.c (do_one_test): Likewise.
59433         (do_test): Likewise.
59434         * string/test-memcpy.c (do_one_test): Likewise.
59435         (do_test): Likewise.
59436         * string/test-memmem.c (do_one_test): Likewise.
59437         (do_test): Likewise.
59438         (do_random_tests): Likewise.
59439         * string/test-memmove.c (do_one_test): Likewise.
59440         (do_test): Likewise.
59441         * string/test-memset.c (do_one_test): Likewise.
59442         (do_test): Likewise.
59443         * string/test-rawmemchr.c (do_one_test): Likewise.
59444         (do_test): Likewise.
59445         * string/test-strcasecmp.c (do_one_test): Likewise.
59446         (do_test): Likewise.
59447         * string/test-strcasestr.c (do_one_test): Likewise.
59448         (do_test): Likewise.
59449         * string/test-strcat.c (do_one_test): Likewise.
59450         (do_test): Likewise.
59451         * string/test-strchr.c (do_one_test): Likewise.
59452         (do_test): Likewise.
59453         * string/test-strcmp.c (do_one_test): Likewise.
59454         (do_test): Likewise.
59455         * string/test-strcpy.c (do_one_test): Likewise.
59456         (do_test): Likewise.
59457         * string/test-string.h: Likewise.
59458         (test_init): Likewise.
59459         * string/test-strlen.c (do_one_test): Likewise.
59460         (do_test): Likewise.
59461         * string/test-strncasecmp.c (do_one_test): Likewise.
59462         (do_test): Likewise.
59463         * string/test-strncat.c (do_one_test): Likewise.
59464         (do_test): Likewise.
59465         * string/test-strncmp.c (do_one_test): Likewise.
59466         (do_test_limit): Likewise.
59467         (do_test): Likewise.
59468         * string/test-strncpy.c (do_one_test): Likewise.
59469         (do_test): Likewise.
59470         * string/test-strnlen.c (do_one_test): Likewise.
59471         (do_test): Likewise.
59472         * string/test-strpbrk.c (do_one_test): Likewise.
59473         (do_test): Likewise.
59474         * string/test-strrchr.c (do_one_test): Likewise.
59475         (do_test): Likewise.
59476         * string/test-strspn.c (do_one_test): Likewise.
59477         (do_test): Likewise.
59478         * string/test-strstr.c (do_one_test): Likewise.
59479         (do_test): Likewise.
59481         * benchtests/Makefile (string-bench): Add string benchmarks.
59482         * benchtests/bench-bcopy-ifunc.c: New file.
59483         * benchtests/bench-bcopy.c: New file.
59484         * benchtests/bench-bzero-ifunc.c: New file.
59485         * benchtests/bench-bzero.c: New file.
59486         * benchtests/bench-memccpy-ifunc.c: New file.
59487         * benchtests/bench-memccpy.c: New file.
59488         * benchtests/bench-memchr-ifunc.c: New file.
59489         * benchtests/bench-memchr.c: New file.
59490         * benchtests/bench-memcmp-ifunc.c: New file.
59491         * benchtests/bench-memcmp.c: New file.
59492         * benchtests/bench-memmem-ifunc.c: New file.
59493         * benchtests/bench-memmem.c: New file.
59494         * benchtests/bench-memmove-ifunc.c: New file.
59495         * benchtests/bench-memmove.c: New file.
59496         * benchtests/bench-mempcpy-ifunc.c: New file.
59497         * benchtests/bench-mempcpy.c: New file.
59498         * benchtests/bench-memset-ifunc.c: New file.
59499         * benchtests/bench-memset.c: New file.
59500         * benchtests/bench-rawmemchr-ifunc.c: New file.
59501         * benchtests/bench-rawmemchr.c: New file.
59502         * benchtests/bench-stpcpy-ifunc.c: New file.
59503         * benchtests/bench-stpcpy.c: New file.
59504         * benchtests/bench-stpncpy-ifunc.c: New file.
59505         * benchtests/bench-stpncpy.c: New file.
59506         * benchtests/bench-strcasecmp-ifunc.c: New file.
59507         * benchtests/bench-strcasecmp.c: New file.
59508         * benchtests/bench-strcasestr-ifunc.c: New file.
59509         * benchtests/bench-strcasestr.c: New file.
59510         * benchtests/bench-strcat-ifunc.c: New file.
59511         * benchtests/bench-strcat.c: New file.
59512         * benchtests/bench-strchr-ifunc.c: New file.
59513         * benchtests/bench-strchr.c: New file.
59514         * benchtests/bench-strchrnul-ifunc.c: New file.
59515         * benchtests/bench-strchrnul.c: New file.
59516         * benchtests/bench-strcmp-ifunc.c: New file.
59517         * benchtests/bench-strcmp.c: New file.
59518         * benchtests/bench-strcpy-ifunc.c: New file.
59519         * benchtests/bench-strcpy.c: New file.
59520         * benchtests/bench-strcspn-ifunc.c: New file.
59521         * benchtests/bench-strcspn.c: New file.
59522         * benchtests/bench-strlen-ifunc.c: New file.
59523         * benchtests/bench-strlen.c: New file.
59524         * benchtests/bench-strncasecmp-ifunc.c: New file.
59525         * benchtests/bench-strncasecmp.c: New file.
59526         * benchtests/bench-strncat-ifunc.c: New file.
59527         * benchtests/bench-strncat.c: New file.
59528         * benchtests/bench-strncmp-ifunc.c: New file.
59529         * benchtests/bench-strncmp.c: New file.
59530         * benchtests/bench-strncpy-ifunc.c: New file.
59531         * benchtests/bench-strncpy.c: New file.
59532         * benchtests/bench-strnlen-ifunc.c: New file.
59533         * benchtests/bench-strnlen.c: New file.
59534         * benchtests/bench-strpbrk-ifunc.c: New file.
59535         * benchtests/bench-strpbrk.c: New file.
59536         * benchtests/bench-strrchr-ifunc.c: New file.
59537         * benchtests/bench-strrchr.c: New file.
59538         * benchtests/bench-strspn-ifunc.c: New file.
59539         * benchtests/bench-strspn.c: New file.
59540         * benchtests/bench-strstr-ifunc.c: New file.
59541         * benchtests/bench-strstr.c: New file.
59543         * benchtests/Makefile: Disable parallel execution of targets.
59544         (string-bench): Add memcpy.
59545         (benchset): New variable to store a list of benchmark sets.
59546         (bench-func): Renamed from bench.
59547         (bench-set): New target.
59548         (bench): Depend on bench-func and bench-set.
59549         * benchtests/README: Add section on benchmark sets.
59550         * benchtests/bench-memcpy-ifunc.c: New file.
59551         * benchtests/bench-memcpy.c: New file.
59552         * benchtests/bench-string.h: New file.
59554 2013-06-11  Andreas Schwab  <schwab@suse.de>
59556         [BZ #15577]
59557         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
59558         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
59559         values in the triple.
59560         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
59561         terminator in the group key.
59563 2013-06-11  Andreas Jaeger  <aj@suse.de>
59565         * po/zh_TW.po: Update Chinese (traditional) translation from
59566         translation project.
59568 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59570         * include/time.h (__clock_gettime): Add libc_hidden_proto.
59571         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
59572         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
59573         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59574         (clock_getcpuclockid): Likewise.
59575         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
59576         Add weak_alias and libc_hidden_def.
59577         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
59578         * rt/clock_gettime.c (clock_gettime): Rename to
59579         __clock_gettime.  Add weak_alias and libc_hidden_def.
59580         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
59581         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
59582         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
59583         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
59584         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
59585         Likewise.
59586         * rt/clock_settime.c (clock_settime): Rename to
59587         __clock_settime.  Add weak_alias and libc_hidden_def.
59588         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
59590 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
59592         * mach/err_boot.sub: Remove trailing whitespace.
59593         * mach/err_ipc.sub: Likewise.
59594         * mach/err_mach.sub: Likewise.
59596         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
59597         (ROUNDING_TESTS_double): Likewise.
59598         (ROUNDING_TESTS_long_double): Likewise.
59599         (ROUNDING_TESTS): Likewise.
59600         * math/libm-test.inc: Include <math-tests.h>.
59601         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
59602         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
59603         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
59604         (IF_ROUND_INIT_FE_UPWARD): Likewise.
59606 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59608         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
59609         of assigning.
59611 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
59613         * sysdeps/gnu/errlist.awk: Do not generate space at end of
59614         otherwise empty TRANS lines.
59615         * sysdeps/gnu/errlist.c: Regenerated.
59617         * catgets/gencat.c (error_print): Use (void) in function
59618         definition.
59619         * crypt/crypt_util.c (__init_des): Likewise.
59620         * crypt/speeds.c (Stop): Likewise.
59621         (main): Likewise.
59622         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
59623         * inet/ruserpass.c (token): Likewise.
59624         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
59625         * intl/localealias.c (extend_alias_table): Likewise.
59626         * intl/plural-exp.c (init_germanic_plural): Likewise.
59627         * libio/fcloseall.c (__fcloseall): Likewise.
59628         * libio/genops.c (_IO_flush_all): Likewise.
59629         (_IO_flush_all_linebuffered): Likewise.
59630         (_IO_cleanup): Likewise.
59631         (_IO_iter_begin): Likewise.
59632         (_IO_iter_end): Likewise.
59633         (_IO_list_lock): Likewise.
59634         (_IO_list_unlock): Likewise.
59635         (_IO_list_resetlock): Likewise.
59636         * libio/getchar.c (getchar): Likewise.
59637         * libio/getchar_u.c (getchar_unlocked): Likewise.
59638         * libio/getwchar.c (getwchar): Likewise.
59639         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
59640         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
59641         * login/getpt.c (__getpt): Likewise.
59642         * login/tst-utmp.c (main): Likewise.
59643         * malloc/hooks.c (__malloc_check_init): Likewise.
59644         * malloc/malloc.c (__malloc_stats): Likewise.
59645         * malloc/mtrace.c (tr_break): Likewise.
59646         (mtrace): Likewise.
59647         (muntrace): Likewise.
59648         * misc/fstab.c (endfsent): Likewise.
59649         * misc/getclktck.c (__getclktck): Likewise.
59650         * misc/getdtsz.c (__getdtablesize): Likewise.
59651         * misc/gethostid.c (gethostid): Likewise.
59652         * misc/getpagesize.c (__getpagesize): Likewise.
59653         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
59654         (__get_nprocs): Likewise.
59655         (__get_phys_pages): Likewise.
59656         (__get_avphys_pages): Likewise.
59657         * misc/getttyent.c (getttyent): Likewise.
59658         (setttyent): Likewise.
59659         (endttyent): Likewise.
59660         * misc/getusershell.c (getusershell): Likewise.
59661         (endusershell): Likewise.
59662         (setusershell): Likewise.
59663         (initshells): Likewise.
59664         * misc/hsearch.c (__hdestroy): Likewise.
59665         * misc/sync.c (sync): Likewise.
59666         * misc/syslog.c (closelog_internal): Likewise.
59667         (closelog): Likewise.
59668         * misc/ttyslot.c (ttyslot): Likewise.
59669         * misc/vhangup.c (vhangup): Likewise.
59670         * posix/fork.c (__fork): Likewise.
59671         * posix/getegid.c (__getegid): Likewise.
59672         * posix/geteuid.c (__geteuid): Likewise.
59673         * posix/getgid.c (__getgid): Likewise.
59674         * posix/getpid.c (__getpid): Likewise.
59675         * posix/getppid.c (__getppid): Likewise.
59676         * posix/getuid.c (__getuid): Likewise.
59677         * posix/pause.c (pause): Likewise.
59678         * posix/setpgrp.c (setpgrp): Likewise.
59679         * posix/setsid.c (__setsid): Likewise.
59680         * posix/test-vfork.c (noop): Likewise.
59681         * resolv/gethnamaddr.c (_endhtent): Likewise.
59682         (_gethtent): Likewise.
59683         (ht_endhostent): Likewise.
59684         (gethostent): Likewise.
59685         (dns_service): Likewise.
59686         * stdlib/drand48.c (drand48): Likewise.
59687         * stdlib/lrand48.c (lrand48): Likewise.
59688         * stdlib/mrand48.c (mrand48): Likewise.
59689         * stdlib/rand.c (rand): Likewise.
59690         * stdlib/random.c (__random): Likewise.
59691         * stdlib/setenv.c (clearenv): Likewise.
59692         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
59693         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
59694         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
59695         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
59696         (__get_nprocs): Likewise.
59697         (__get_phys_pages): Likewise.
59698         (__get_avphys_pages): Likewise.
59699         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
59700         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
59701         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
59702         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
59703         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
59704         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
59705         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
59706         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
59707         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
59708         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
59709         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
59710         * sysdeps/mach/hurd/sync.c (sync): Likewise.
59711         * sysdeps/posix/clock.c (clock): Likewise.
59712         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
59713         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
59714         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
59715         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
59716         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
59717         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
59718         (__get_nprocs_conf): Likewise.
59719         (__get_phys_pages): Likewise.
59720         (__get_avphys_pages): Likewise.
59721         * time/clock.c (clock): Likewise.
59722         * time/tzset.c (__tzname_max): Likewise.
59724 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
59726         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
59727         (__bswap_32): Do not use "register".
59728         * crypt/crypt.c (_ufc_doit_r): Likewise.
59729         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
59730         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
59731         * gmon/gmon.c (__monstartup): Likewise.
59732         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
59733         * hurd/hurdmalloc.c (more_memory): Likewise.
59734         (malloc): Likewise.
59735         (free): Likewise.
59736         (realloc): Likewise.
59737         (malloc_fork_prepare): Likewise.
59738         (malloc_fork_parent): Likewise.
59739         (malloc_fork_child): Likewise.
59740         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
59741         (_svcauth_des): Likewise.
59742         * inet/inet_lnaof.c (inet_lnaof): Likewise.
59743         * inet/inet_net.c (inet_network): Likewise.
59744         * inet/inet_netof.c (inet_netof): Likewise.
59745         * inet/rcmd.c (__validuser2_sa): Likewise.
59746         * io/fts.c (fts_open): Likewise.
59747         (fts_load): Likewise.
59748         (fts_close): Likewise.
59749         (fts_read): Likewise.
59750         (fts_children): Likewise.
59751         (fts_build): Likewise.
59752         (fts_stat): Likewise.
59753         (fts_sort): Likewise.
59754         (fts_alloc): Likewise.
59755         (fts_lfree): Likewise.
59756         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
59757         (_IO_file_xsgetn): Likewise.
59758         (_IO_file_xsgetn_mmap): Likewise.
59759         * libio/iofopncook.c (_IO_cookie_read): Likewise.
59760         (_IO_cookie_write): Likewise.
59761         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
59762         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
59763         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
59764         * malloc/obstack.c (_obstack_begin): Likewise.
59765         (_obstack_begin_1): Likewise.
59766         (_obstack_newchunk): Likewise.
59767         (_obstack_allocated_p): Likewise.
59768         (obstack_free): Likewise.
59769         (_obstack_memory_used): Likewise.
59770         * misc/getttyent.c (getttynam): Likewise.
59771         (getttyent): Likewise.
59772         (skip): Likewise.
59773         (value): Likewise.
59774         * misc/getusershell.c (initshells): Likewise.
59775         * misc/syslog.c (__vsyslog_chk): Likewise.
59776         * misc/ttyslot.c (ttyslot): Likewise.
59777         * nis/nis_hash.c (__nis_hash): Likewise.
59778         * posix/fnmatch_loop.c (FCT): Likewise.
59779         * posix/getconf.c (print_all): Likewise.
59780         (main): Likewise.
59781         * posix/getopt.c (exchange): Likewise.
59782         * posix/glob.c (globfree): Likewise.
59783         (prefix_array): Likewise.
59784         (__glob_pattern_type): Likewise.
59785         * resolv/arpa/nameser.h (NS_GET16): Likewise.
59786         (NS_GET32): Likewise.
59787         (NS_PUT16): Likewise.
59788         (NS_PUT32): Likewise.
59789         * resolv/gethnamaddr.c (getanswer): Likewise.
59790         (gethostbyname2): Likewise.
59791         (gethostbyaddr): Likewise.
59792         (_gethtent): Likewise.
59793         (_gethtbyname2): Likewise.
59794         (_gethtbyaddr): Likewise.
59795         * resolv/ns_print.c (dst_s_get_int16): Likewise.
59796         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
59797         * resolv/res_init.c (__res_vinit): Likewise.
59798         (net_mask): Likewise.
59799         * resolv/res_mkquery.c (outchar): Likewise.
59800         (PRINT): Likewise.
59801         * stdio-common/printf_fp.c (outchar): Likewise.
59802         (PRINT): Likewise.
59803         * stdio-common/printf_fphex.c (outchar): Likewise.
59804         (PRINT): Likewise.
59805         * stdio-common/printf_size.c (outchar): Likewise.
59806         (PRINT): Likewise.
59807         * stdio-common/test_rdwr.c (main): Likewise.
59808         * stdio-common/tfformat.c (matches): Likewise.
59809         * stdio-common/vfprintf.c (outchar): Likewise.
59810         (printf_unknown): Likewise.
59811         (buffered_vfprintf): Likewise.
59812         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
59813         * stdio-common/xbug.c (AppendToBuffer): Likewise.
59814         (ReadFile): Likewise.
59815         * stdlib/qsort.c (SWAP): Likewise.
59816         (_quicksort): Likewise.
59817         * stdlib/setenv.c (__add_to_environ): Likewise.
59818         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
59819         * stdlib/strtol_l.c (__strtol_l): Likewise.
59820         * stdlib/tst-strtod.c (main): Likewise.
59821         * stdlib/tst-strtol.c (main): Likewise.
59822         * stdlib/tst-strtoll.c (main): Likewise.
59823         * string/bits/string2.h (__strcmp_cc): Likewise.
59824         (__strcmp_cg): Likewise.
59825         (__strcspn_c1): Likewise.
59826         (__strcspn_c2): Likewise.
59827         (__strcspn_c3): Likewise.
59828         (__strspn_c1): Likewise.
59829         (__strspn_c2): Likewise.
59830         (__strspn_c3): Likewise.
59831         (__strsep_1c): Likewise.
59832         (__strsep_2c): Likewise.
59833         (__strsep_3c): Likewise.
59834         * string/memccpy.c (__memccpy): Likewise.
59835         * string/stpcpy.c (__stpcpy): Likewise.
59836         * string/strcmp.c (strcmp): Likewise.
59837         * string/strrchr.c (strrchr): Likewise.
59838         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
59839         Likewise.
59840         * sysdeps/mach/hurd/getcwd.c
59841         (_hurd_canonicalize_directory_name_internal): Likewise.
59842         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
59843         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
59844         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
59845         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
59846         Likewise, in both definitions.
59847         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
59848         definitions.
59849         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
59850         64] (__bswap_64): Likewise.
59851         * time/test_time.c (main): Likewise.
59852         * time/tzfile.c (__tzfile_read): Likewise.
59853         (__tzfile_compute): Likewise.
59854         * time/tzset.c (__tzset_parse_tz): Likewise.
59855         (tzset_internal): Likewise.
59856         (compute_change): Likewise.
59857         * wcsmbs/wcscat.c (__wcscat): Likewise.
59858         * wcsmbs/wcschr.c (wcschr): Likewise.
59859         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
59860         * wcsmbs/wcscspn.c (wcscspn): Likewise.
59861         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
59862         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
59863         * wcsmbs/wcsspn.c (wcsspn): Likewise.
59864         * wcsmbs/wcsstr.c (wcsstr): Likewise.
59865         * wcsmbs/wmemchr.c (wmemchr): Likewise.
59866         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59867         * wcsmbs/wmemset.c (wmemset): Likewise.
59869 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
59871         * scripts/config.guess: Update to version 2013-05-16.
59872         * scripts/config.sub: Update to version 2013-04-24.
59873         * scripts/install-sh: Update to version 2011-11-20.07.
59874         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
59875         * scripts/move-if-change: Update to version 2012-01-06 07:23.
59877 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
59879         * debug/fgetws_u_chk.c: Fix leading whitespaces.
59880         * elf/sln.c: Likewise.
59881         * hurd/hurd/ioctl.h: Likewise.
59882         * hurd/hurdmalloc.c: Likewise.
59883         * hurd/xattr.c: Likewise.
59884         * include/shlib-compat.h: Likewise.
59885         * inet/ruserpass.c: Likewise.
59886         * libio/iofgets_u.c: Likewise.
59887         * libio/iofgetws_u.c: Likewise.
59888         * locale/programs/ld-identification.c: Likewise.
59889         * locale/programs/ld-time.c: Likewise.
59890         * mach/msg-destroy.c: Likewise.
59891         * nss/nss_files/files-netgrp.c: Likewise.
59892         * resolv/res_data.c: Likewise.
59893         * soft-fp/op-1.h: Likewise.
59894         * soft-fp/op-2.h: Likewise.
59895         * soft-fp/op-4.h: Likewise.
59896         * soft-fp/op-common.h: Likewise.
59897         * stdio-common/printf_fphex.c: Likewise.
59898         * stdlib/strtod_l.c: Likewise.
59899         * sunrpc/rpc/clnt.h: Likewise.
59900         * sysdeps/generic/framestate.c: Likewise.
59901         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59902         * sysdeps/i386/bsd-setjmp.S: Likewise.
59903         * sysdeps/i386/__longjmp.S: Likewise.
59904         * sysdeps/i386/setjmp.S: Likewise.
59905         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59906         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59907         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59908         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59909         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59910         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
59911         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59912         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59913         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59914         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59915         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
59916         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
59917         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
59918         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
59919         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
59920         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59921         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
59922         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
59923         * sysdeps/ieee754/support.c: Likewise.
59924         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59925         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
59926         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
59927         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
59928         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
59929         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
59930         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
59931         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
59932         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
59933         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
59934         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
59935         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
59936         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
59937         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
59938         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
59939         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
59940         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
59941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
59943 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
59945         * posix/transbug.c: Remove executable mode.
59947 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
59949         * crypt/speeds.c: Remove trailing whitespace.
59950         * dlfcn/default.c: Likewise.
59951         * elf/ifuncdep2.c: Likewise.
59952         * elf/ifuncmain1.c: Likewise.
59953         * elf/ifuncmain1vis.c: Likewise.
59954         * elf/testobj.h: Likewise.
59955         * elf/tst-stackguard1.c: Likewise.
59956         * gmon/sys/gmon.h: Likewise.
59957         * hurd/hurdmsg.c: Likewise.
59958         * hurd/new-fd.c: Likewise.
59959         * hurd/ports-get.c: Likewise.
59960         * iconvdata/ibm1008_420.c: Likewise.
59961         * inet/tst-getni1.c: Likewise.
59962         * inet/tst-getni2.c: Likewise.
59963         * libio/ioungetc.c: Likewise.
59964         * libio/wfiledoalloc.c: Likewise.
59965         * manual/libm-err-tab.pl: Likewise.
59966         * math/w_dremf.c: Likewise.
59967         * misc/ftruncate.c: Likewise.
59968         * posix/bug-glob2.c: Likewise.
59969         * posix/tst-pcre.c: Likewise.
59970         * posix/wait4.c: Likewise.
59971         * resolv/README: Likewise.
59972         * resolv/res_debug.h: Likewise.
59973         * resolv/tst-inet_ntop.c: Likewise.
59974         * setjmp/bug269-setjmp.c: Likewise.
59975         * soft-fp/extended.h: Likewise.
59976         * soft-fp/op-1.h: Likewise.
59977         * soft-fp/op-2.h: Likewise.
59978         * soft-fp/op-4.h: Likewise.
59979         * soft-fp/op-8.h: Likewise.
59980         * soft-fp/testit.c: Likewise.
59981         * stdio-common/bug16.c: Likewise.
59982         * stdlib/random.c: Likewise.
59983         * sunrpc/rpcsvc/rquota.x: Likewise.
59984         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
59985         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59986         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59987         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59988         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59989         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59990         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59991         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59992         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59993         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59994         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59995         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
59996         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59997         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
59998         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59999         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
60000         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
60001         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
60002         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
60003         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
60004         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
60005         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
60006         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
60007         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
60008         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
60009         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
60010         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60011         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
60012         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
60013         * sysdeps/ieee754/s_lib_version.c: Likewise.
60014         * sysdeps/mach/hurd/check_fds.c: Likewise.
60015         * sysdeps/mach/hurd/getsockname.c: Likewise.
60016         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
60017         * sysdeps/mach/hurd/recvfrom.c: Likewise.
60018         * sysdeps/powerpc/bits/link.h: Likewise.
60019         * sysdeps/powerpc/dl-procinfo.c: Likewise.
60020         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
60021         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
60022         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
60023         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
60024         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
60025         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
60026         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
60027         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
60028         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60029         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
60030         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
60031         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
60032         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60033         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60034         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60035         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
60036         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
60037         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60038         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60039         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60040         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
60041         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
60042         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
60043         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
60044         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
60045         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
60046         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60047         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60048         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
60049         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
60050         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
60051         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60052         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
60053         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
60054         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
60055         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
60056         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
60057         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
60058         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
60059         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
60060         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
60061         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
60062         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
60063         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
60064         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
60065         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
60066         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
60067         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
60068         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
60069         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
60070         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
60071         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
60072         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
60073         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
60074         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
60075         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
60076         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60077         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
60078         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
60079         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
60080         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
60081         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
60082         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
60083         * sysdeps/powerpc/sysdep.h: Likewise.
60084         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60085         * sysdeps/s390/s390-64/sub_n.S: Likewise.
60086         * sysdeps/sh/dl-trampoline.S: Likewise.
60087         * sysdeps/sh/memset.S: Likewise.
60088         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
60089         * sysdeps/sh/strlen.S: Likewise.
60090         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
60091         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
60092         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
60093         * sysdeps/sparc/sparc32/rem.S: Likewise.
60094         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
60095         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
60096         * sysdeps/sparc/sparc32/strchr.S: Likewise.
60097         * sysdeps/sparc/sparc32/udiv.S: Likewise.
60098         * sysdeps/sparc/sparc32/urem.S: Likewise.
60099         * sysdeps/sparc/sparc64/add_n.S: Likewise.
60100         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
60101         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
60102         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
60103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
60104         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
60105         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
60106         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
60107         * sysdeps/unix/bsd/times.c: Likewise.
60108         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
60109         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
60110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
60111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
60112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
60113         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
60114         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60115         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
60116         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
60117         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
60118         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
60119         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
60120         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
60121         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
60122         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
60123         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
60124         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
60125         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
60126         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
60127         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
60128         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
60129         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
60130         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
60131         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
60132         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
60133         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
60134         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
60135         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
60136         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
60137         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
60138         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
60139         * sysdeps/x86_64/strcspn.S: Likewise.
60141 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
60143         * locale/C-translit.h: Revert #include <stdint.h> because this is a
60144         generated file.  Regenerate properly from gen-translit.pl.
60145         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
60146         locale/C-translit.h.
60148 2013-06-05  Andreas Schwab  <schwab@suse.de>
60150         [BZ #15100]
60151         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
60152         week as 6 instead of -1.
60153         * time/tst-strptime.c (day_tests): Add test case.
60155 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60157         * sysdeps/generic/math_private.h
60158         (libc_feholdexcept_setround_53bit): Replace with
60159         libc_feholdsetround_53bit.
60160         (libc_feupdateenv_53bit): Replace with
60161         libc_feresetround_53bit.
60162         (SET_RESTORE_ROUND_53BIT): Adjust.
60164 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60166         * string/test-strchrnul.c: Add copyright header.
60168         * posix/tst-getaddrinfo4.c: Increase test timeout.
60170 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
60172         [BZ #15536]
60173         * math/libm-test.inc (MAX_EXP): Remove
60174         (MIN_EXP): Define.
60175         (ulp): Use MIN_EXP - MANT_DIG.
60176         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
60178 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
60180         * po/be.po: Revert last change.
60181         * po/zh_CN.po: Likewise.
60182         * po/header.pot: Likewise.
60184 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
60186         * Makefile ($(common-objpfx)linkobj/libc.so): Define
60187         link-libc-deps to empty as target-specific variable.
60188         * Makerules (link-libc-args): New variable.
60189         (libc-for-link): Likewise.
60190         (link-libc-deps): Likewise.
60191         (lib%.so): Depend on $(link-libc-deps).  Link with
60192         $(link-libc-args).
60193         (build-module): Link with $(link-libc-args).
60194         (build-module-asneeded): Likewise.
60195         (build-module-helper-objlist): Filter out $(link-libc-deps) from
60196         list of objects.
60197         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
60198         target-specific variable.
60199         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
60200         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
60201         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
60202         libc.
60203         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
60204         libc and ld.so.
60205         ($(objpfx)libpcprofile.so): Likewise.
60206         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
60207         libc_nonshared.a.
60208         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
60209         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
60210         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
60211         $(link-libc-deps).
60212         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
60213         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
60214         * login/Makefile ($(objpfx)libutil.so): Likewise.
60215         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
60216         * math/Makefile ($(objpfx)libm.so): Likewise.
60217         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
60218         $(objpfx)libnsl.so): Define libc-for-link as target-specific
60219         variable instead of depending directly on libc.
60220         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
60221         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
60222         $(link-libc-deps).
60223         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
60224         libc.
60225         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
60226         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
60227         ($(objpfx)libanl.so): Likewise.
60228         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
60229         ld.so.
60230         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
60231         $(link-libc-deps).
60232         * sysdeps/i386/fpu/Makefile: Remove file.
60233         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
60234         ($(objpfx)libm.so): Remove dependency on ld.so.
60236 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
60238         [BZ # 15553]
60239         * nis/yp_xdr.c (XDRMAXNAME): Define.
60240         (XDRMAXRECORD): Define.
60241         (xdr_domainname): Use XDRMAXNAME.
60242         (xdr_mapname): Likewise.
60243         (xdr_peername): Likewise.
60244         (xdr_keydat): Use XDRMAXRECORD.
60245         (xdr_valdat): Likewise.
60247 2013-05-30  Jeff Law  <law@redhat.com>
60249         [BZ #14256]
60250         * manual/errno.texi (ESTALE): Update to account for more than
60251         just NFS file systems.
60252         * sysdeps/gnu/errlist.c: Regenerated.
60254 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60256         [BZ #15465]
60257         * elf/Makefile (tests): Add tst-null-argv.
60258         (modules-names):  Add tst-null-argv-lib.
60259         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
60260         (tst-null-argv-ENV): Set environment for tst-null-argv.
60261         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
60262         (RTLD_PROGNAME): New macro.
60263         * elf/tst-null-argv.c: New test case.
60264         * elf/tst-null-argv-lib.c: Library for test case.
60265         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
60266         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
60267         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
60268         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
60269         * elf/dl-init.c (call_init): Likewise.
60270         (_dl_init): Likewise.
60271         * elf/dl-load.c (print_search_path): Likewise.
60272         (_dl_map_object): Likewise.
60273         * elf/dl-lookup.c (do_lookup_x): Likewise.
60274         (add_dependency): Likewise.
60275         (_dl_lookup_symbol_x): Likewise.
60276         (_dl_debug_bindings): Likewise.
60277         * elf/dl-open.c (_dl_show_scope): Likewise.
60278         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
60279         * elf/dl-version.c (match_symbol): Likewise.
60280         (_dl_check_map_versions): Likewise.
60281         * elf/rtld.c (dl_main): Likewise.
60282         (print_unresolved): Use RTLD_PROGNAME.
60283         (print_missing_version): Likewise.
60284         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
60285         (elf_machine_rela): Likewise.
60286         * sysdeps/powerpc/powerpc32/dl-machine.c
60287         (__process_machine_rela): Likewise.
60288         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60289         Likewise.
60290         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
60291         Likewise.
60292         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
60293         Likewise.
60294         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60295         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
60296         Likewise.
60297         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
60298         Likewise.
60299         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60301 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
60303         * po/be.po: Add descriptive title.
60304         * po/zh_CN.po: Likewise.
60305         * po/header.pot: Likewise.
60307 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
60309         * locale/programs/locarchive.c (create_archive): Inlucde fname in
60310         error message.
60311         (enlarge_archive): Likewise.
60313 2013-05-28  Ben North  <ben@redfrontdoor.org>
60315         * manual/arith.texi (frexp): It is the magnitude of the return
60316         value which lies in [0.5, 1), not the return value itself.
60318 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60320         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60322 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
60324         * stdio-common/bug26.c (main): Correct fscanf template.
60326         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
60327         declare _dl_skip_args.
60329         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
60330         Don't declare.
60332         * manual/platform.texi: Add missing @end deftypefun.
60334 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60336         [BZ #15529]
60337         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
60338         bit of mantissa of 2^16382.
60339         * math/libm-test.inc (hypot_test_data): Add more tests.
60341         * math/libm-test.inc: Add drem and pow10 to list of tested
60342         functions.
60343         (pow10_test): New function.
60344         (drem_test): Likewise.
60345         (drem_test_tonearest): Likewise.
60346         (drem_test_towardzero): Likewise.
60347         (drem_test_downward): Likewise.
60348         (drem_test_upward): Likewise.
60349         (main): Call the new functions.
60351         * math/libm-test.inc (finite_test_data): Remove.
60352         (finite_test): Run tests from isfinite_test_data.
60353         (gamma_test_data): Remove.
60354         (gamma_test): Run tests from lgamma_test_data.
60355         * sysdeps/i386/fpu/libm-test-ulps: Update.
60356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60358 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60360         * manual/platform.texi: Add PowerPC PPR function set documentation.
60361         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
60362         implementation.
60364 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
60366         * math/libm-test.inc (MAX_EXP): Define.
60367         (ULPDIFF): Define.
60368         (ulp): New function.
60369         (check_float_internal): Use ULPDIFF.
60370         (cpow_test): Disable failing test.
60371         (check_ulp): Test ulp() implementation.
60372         (main): Call check_ulp before starting tests.
60374 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
60376         * math/gen-libm-test.pl (generate_testfile): Do not handle
60377         START_DATA and END_DATA.
60378         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
60379         END_DATA.
60380         (acos_tonearest_test_data): Likewise.
60381         (acos_towardzero_test_data): Likewise.
60382         (acos_downward_test_data): Likewise.
60383         (acos_upward_test_data): Likewise.
60384         (acosh_test_data): Likewise.
60385         (asin_test_data): Likewise.
60386         (asin_tonearest_test_data): Likewise.
60387         (asin_towardzero_test_data): Likewise.
60388         (asin_downward_test_data): Likewise.
60389         (asin_upward_test_data): Likewise.
60390         (asinh_test_data): Likewise.
60391         (atan_test_data): Likewise.
60392         (atanh_test_data): Likewise.
60393         (atan2_test_data): Likewise.
60394         (cabs_test_data): Likewise.
60395         (cacos_test_data): Likewise.
60396         (cacosh_test_data): Likewise.
60397         (carg_test_data): Likewise.
60398         (casin_test_data): Likewise.
60399         (casinh_test_data): Likewise.
60400         (catan_test_data): Likewise.
60401         (catanh_test_data): Likewise.
60402         (cbrt_test_data): Likewise.
60403         (ccos_test_data): Likewise.
60404         (ccosh_test_data): Likewise.
60405         (ceil_test_data): Likewise.
60406         (cexp_test_data): Likewise.
60407         (cimag_test_data): Likewise.
60408         (clog_test_data): Likewise.
60409         (clog10_test_data): Likewise.
60410         (conj_test_data): Likewise.
60411         (copysign_test_data): Likewise.
60412         (cos_test_data): Likewise.
60413         (cos_tonearest_test_data): Likewise.
60414         (cos_towardzero_test_data): Likewise.
60415         (cos_downward_test_data): Likewise.
60416         (cos_upward_test_data): Likewise.
60417         (cosh_test_data): Likewise.
60418         (cosh_tonearest_test_data): Likewise.
60419         (cosh_towardzero_test_data): Likewise.
60420         (cosh_downward_test_data): Likewise.
60421         (cosh_upward_test_data): Likewise.
60422         (cpow_test_data): Likewise.
60423         (cproj_test_data): Likewise.
60424         (creal_test_data): Likewise.
60425         (csin_test_data): Likewise.
60426         (csinh_test_data): Likewise.
60427         (csqrt_test_data): Likewise.
60428         (ctan_test_data): Likewise.
60429         (ctan_tonearest_test_data): Likewise.
60430         (ctan_towardzero_test_data): Likewise.
60431         (ctan_downward_test_data): Likewise.
60432         (ctan_upward_test_data): Likewise.
60433         (ctanh_test_data): Likewise.
60434         (ctanh_tonearest_test_data): Likewise.
60435         (ctanh_towardzero_test_data): Likewise.
60436         (ctanh_downward_test_data): Likewise.
60437         (ctanh_upward_test_data): Likewise.
60438         (erf_test_data): Likewise.
60439         (erfc_test_data): Likewise.
60440         (exp_test_data): Likewise.
60441         (exp_tonearest_test_data): Likewise.
60442         (exp_towardzero_test_data): Likewise.
60443         (exp_downward_test_data): Likewise.
60444         (exp_upward_test_data): Likewise.
60445         (exp10_test_data): Likewise.
60446         (exp2_test_data): Likewise.
60447         (expm1_test_data): Likewise.
60448         (fabs_test_data): Likewise.
60449         (fdim_test_data): Likewise.
60450         (finite_test_data): Likewise.
60451         (floor_test_data): Likewise.
60452         (fma_test_data): Likewise.
60453         (fma_towardzero_test_data): Likewise.
60454         (fma_downward_test_data): Likewise.
60455         (fma_upward_test_data): Likewise.
60456         (fmax_test_data): Likewise.
60457         (fmin_test_data): Likewise.
60458         (fmod_test_data): Likewise.
60459         (fpclassify_test_data): Likewise.
60460         (frexp_test_data): Likewise.
60461         (gamma_test_data): Likewise.
60462         (hypot_test_data): Likewise.
60463         (ilogb_test_data): Likewise.
60464         (isfinite_test_data): Likewise.
60465         (isgreater_test_data): Likewise.
60466         (isgreaterequal_test_data): Likewise.
60467         (isinf_test_data): Likewise.
60468         (isless_test_data): Likewise.
60469         (islessequal_test_data): Likewise.
60470         (islessgreater_test_data): Likewise.
60471         (isnan_test_data): Likewise.
60472         (isnormal_test_data): Likewise.
60473         (issignaling_test_data): Likewise.
60474         (isunordered_test_data): Likewise.
60475         (j0_test_data): Likewise.
60476         (j1_test_data): Likewise.
60477         (jn_test_data): Likewise.
60478         (ldexp_test_data): Likewise.
60479         (lgamma_test_data): Likewise.
60480         (lrint_test_data): Likewise.
60481         (lrint_tonearest_test_data): Likewise.
60482         (lrint_towardzero_test_data): Likewise.
60483         (lrint_downward_test_data): Likewise.
60484         (lrint_upward_test_data): Likewise.
60485         (llrint_test_data): Likewise.
60486         (llrint_tonearest_test_data): Likewise.
60487         (llrint_towardzero_test_data): Likewise.
60488         (llrint_downward_test_data): Likewise.
60489         (llrint_upward_test_data): Likewise.
60490         (log_test_data): Likewise.
60491         (log10_test_data): Likewise.
60492         (log1p_test_data): Likewise.
60493         (log2_test_data): Likewise.
60494         (logb_test_data): Likewise.
60495         (logb_downward_test_data): Likewise.
60496         (lround_test_data): Likewise.
60497         (llround_test_data): Likewise.
60498         (modf_test_data): Likewise.
60499         (nearbyint_test_data): Likewise.
60500         (nextafter_test_data): Likewise.
60501         (nexttoward_test_data): Likewise.
60502         (pow_test_data): Likewise.
60503         (pow_tonearest_test_data): Likewise.
60504         (pow_towardzero_test_data): Likewise.
60505         (pow_downward_test_data): Likewise.
60506         (pow_upward_test_data): Likewise.
60507         (remainder_test_data): Likewise.
60508         (remainder_tonearest_test_data): Likewise.
60509         (remainder_towardzero_test_data): Likewise.
60510         (remainder_downward_test_data): Likewise.
60511         (remainder_upward_test_data): Likewise.
60512         (remquo_test_data): Likewise.
60513         (rint_test_data): Likewise.
60514         (rint_tonearest_test_data): Likewise.
60515         (rint_towardzero_test_data): Likewise.
60516         (rint_downward_test_data): Likewise.
60517         (rint_upward_test_data): Likewise.
60518         (round_test_data): Likewise.
60519         (scalb_test_data): Likewise.
60520         (scalbn_test_data): Likewise.
60521         (scalbln_test_data): Likewise.
60522         (signbit_test_data): Likewise.
60523         (sin_test_data): Likewise.
60524         (sin_tonearest_test_data): Likewise.
60525         (sin_towardzero_test_data): Likewise.
60526         (sin_downward_test_data): Likewise.
60527         (sin_upward_test_data): Likewise.
60528         (sincos_test_data): Likewise.
60529         (sinh_test_data): Likewise.
60530         (sinh_tonearest_test_data): Likewise.
60531         (sinh_towardzero_test_data): Likewise.
60532         (sinh_downward_test_data): Likewise.
60533         (sinh_upward_test_data): Likewise.
60534         (sqrt_test_data): Likewise.
60535         (tan_test_data): Likewise.
60536         (tan_tonearest_test_data): Likewise.
60537         (tan_towardzero_test_data): Likewise.
60538         (tan_downward_test_data): Likewise.
60539         (tan_upward_test_data): Likewise.
60540         (tanh_test_data): Likewise.
60541         (tgamma_test_data): Likewise.
60542         (trunc_test_data): Likewise.
60543         (y0_test_data): Likewise.
60544         (y1_test_data): Likewise.
60545         (yn_test_data): Likewise.
60546         (significand_test_data): Likewise.
60548         * math/gen-libm-test.pl (@functions): Remove variable.
60549         (generate_testfile): Don't handle START and END lines.
60550         * math/libm-test.inc (START): New macro.
60551         (END): Likewise.
60552         (END_COMPLEX): Likewise.
60553         (acos_test): Use END macro without arguments.
60554         (acos_test_tonearest): Likewise.
60555         (acos_test_towardzero): Likewise.
60556         (acos_test_downward): Likewise.
60557         (acos_test_upward): Likewise.
60558         (acosh_test): Likewise.
60559         (asin_test): Likewise.
60560         (asin_test_tonearest): Likewise.
60561         (asin_test_towardzero): Likewise.
60562         (asin_test_downward): Likewise.
60563         (asin_test_upward): Likewise.
60564         (asinh_test): Likewise.
60565         (atan_test): Likewise.
60566         (atanh_test): Likewise.
60567         (atan2_test): Likewise.
60568         (cabs_test): Likewise.
60569         (cacos_test): Use END_COMPLEX macro without arguments.
60570         (cacosh_test): Likewise.
60571         (carg_test): Use END macro without arguments.
60572         (casin_test): Use END_COMPLEX macro without arguments.
60573         (casinh_test): Likewise.
60574         (catan_test): Likewise.
60575         (catanh_test): Likewise.
60576         (cbrt_test): Use END macro without arguments.
60577         (ccos_test): Use END_COMPLEX macro without arguments.
60578         (ccosh_test): Likewise.
60579         (ceil_test): Use END macro without arguments.
60580         (cexp_test): Use END_COMPLEX macro without arguments.
60581         (cimag_test): Use END macro without arguments.
60582         (clog_test): Use END_COMPLEX macro without arguments.
60583         (clog10_test): Likewise.
60584         (conj_test): Likewise.
60585         (copysign_test): Use END macro without arguments.
60586         (cos_test): Likewise.
60587         (cos_test_tonearest): Likewise.
60588         (cos_test_towardzero): Likewise.
60589         (cos_test_downward): Likewise.
60590         (cos_test_upward): Likewise.
60591         (cosh_test): Likewise.
60592         (cosh_test_tonearest): Likewise.
60593         (cosh_test_towardzero): Likewise.
60594         (cosh_test_downward): Likewise.
60595         (cosh_test_upward): Likewise.
60596         (cpow_test): Use END_COMPLEX macro without arguments.
60597         (cproj_test): Likewise.
60598         (creal_test): Use END macro without arguments.
60599         (csin_test): Use END_COMPLEX macro without arguments.
60600         (csinh_test): Likewise.
60601         (csqrt_test): Likewise.
60602         (ctan_test): Likewise.
60603         (ctan_test_tonearest): Likewise.
60604         (ctan_test_towardzero): Likewise.
60605         (ctan_test_downward): Likewise.
60606         (ctan_test_upward): Likewise.
60607         (ctanh_test): Likewise.
60608         (ctanh_test_tonearest): Likewise.
60609         (ctanh_test_towardzero): Likewise.
60610         (ctanh_test_downward): Likewise.
60611         (ctanh_test_upward): Likewise.
60612         (erf_test): Use END macro without arguments.
60613         (erfc_test): Likewise.
60614         (exp_test): Likewise.
60615         (exp_test_tonearest): Likewise.
60616         (exp_test_towardzero): Likewise.
60617         (exp_test_downward): Likewise.
60618         (exp_test_upward): Likewise.
60619         (exp10_test): Likewise.
60620         (exp2_test): Likewise.
60621         (expm1_test): Likewise.
60622         (fabs_test): Likewise.
60623         (fdim_test): Likewise.
60624         (finite_test): Likewise.
60625         (floor_test): Likewise.
60626         (fma_test): Likewise.
60627         (fma_test_towardzero): Likewise.
60628         (fma_test_downward): Likewise.
60629         (fma_test_upward): Likewise.
60630         (fmax_test): Likewise.
60631         (fmin_test): Likewise.
60632         (fmod_test): Likewise.
60633         (fpclassify_test): Likewise.
60634         (frexp_test): Likewise.
60635         (gamma_test): Likewise.
60636         (hypot_test): Likewise.
60637         (ilogb_test): Likewise.
60638         (isfinite_test): Likewise.
60639         (isgreater_test): Likewise.
60640         (isgreaterequal_test): Likewise.
60641         (isinf_test): Likewise.
60642         (isless_test): Likewise.
60643         (islessequal_test): Likewise.
60644         (islessgreater_test): Likewise.
60645         (isnan_test): Likewise.
60646         (isnormal_test): Likewise.
60647         (issignaling_test): Likewise.
60648         (isunordered_test): Likewise.
60649         (j0_test): Likewise.
60650         (j1_test): Likewise.
60651         (jn_test): Likewise.
60652         (ldexp_test): Likewise.
60653         (lgamma_test): Likewise.
60654         (lrint_test): Likewise.
60655         (lrint_test_tonearest): Likewise.
60656         (lrint_test_towardzero): Likewise.
60657         (lrint_test_downward): Likewise.
60658         (lrint_test_upward): Likewise.
60659         (llrint_test): Likewise.
60660         (llrint_test_tonearest): Likewise.
60661         (llrint_test_towardzero): Likewise.
60662         (llrint_test_downward): Likewise.
60663         (llrint_test_upward): Likewise.
60664         (log_test): Likewise.
60665         (log10_test): Likewise.
60666         (log1p_test): Likewise.
60667         (log2_test): Likewise.
60668         (logb_test): Likewise.
60669         (logb_test_downward): Likewise.
60670         (lround_test): Likewise.
60671         (llround_test): Likewise.
60672         (modf_test): Likewise.
60673         (nearbyint_test): Likewise.
60674         (nextafter_test): Likewise.
60675         (nexttoward_test): Likewise.
60676         (pow_test): Likewise.
60677         (pow_test_tonearest): Likewise.
60678         (pow_test_towardzero): Likewise.
60679         (pow_test_downward): Likewise.
60680         (pow_test_upward): Likewise.
60681         (remainder_test): Likewise.
60682         (remainder_test_tonearest): Likewise.
60683         (remainder_test_towardzero): Likewise.
60684         (remainder_test_downward): Likewise.
60685         (remainder_test_upward): Likewise.
60686         (remquo_test): Likewise.
60687         (rint_test): Likewise.
60688         (rint_test_tonearest): Likewise.
60689         (rint_test_towardzero): Likewise.
60690         (rint_test_downward): Likewise.
60691         (rint_test_upward): Likewise.
60692         (round_test): Likewise.
60693         (scalb_test): Likewise.
60694         (scalbn_test): Likewise.
60695         (scalbln_test): Likewise.
60696         (signbit_test): Likewise.
60697         (sin_test): Likewise.
60698         (sin_test_tonearest): Likewise.
60699         (sin_test_towardzero): Likewise.
60700         (sin_test_downward): Likewise.
60701         (sin_test_upward): Likewise.
60702         (sincos_test): Likewise.
60703         (sinh_test): Likewise.
60704         (sinh_test_tonearest): Likewise.
60705         (sinh_test_towardzero): Likewise.
60706         (sinh_test_downward): Likewise.
60707         (sinh_test_upward): Likewise.
60708         (sqrt_test): Likewise.
60709         (tan_test): Likewise.
60710         (tan_test_tonearest): Likewise.
60711         (tan_test_towardzero): Likewise.
60712         (tan_test_downward): Likewise.
60713         (tan_test_upward): Likewise.
60714         (tanh_test): Likewise.
60715         (tgamma_test): Likewise.
60716         (trunc_test): Likewise.
60717         (y0_test): Likewise.
60718         (y1_test): Likewise.
60719         (yn_test): Likewise.
60720         (significand_test): Likewise.
60722 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
60724         [BZ #15381]
60725         * libio/genops.c (_IO_no_init): Initialize wide struct info.
60727 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
60729         [BZ #14894]
60730         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
60731         __ppc_mdoio and __ppc_mdoom.
60732         * manual/platform.texi: Document new functions __ppc_yield,
60733         __ppc_mdoio and __ppc_mdoom.
60735 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
60737         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
60738         (main): Mention "tls" pseudo-hwcap is legacy.
60739         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
60741 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60743         * math/gen-libm-test.pl (parse_args): Output only string of
60744         arguments as text for test name, not full call or descriptions of
60745         tests for extra outputs.
60746         (generate_testfile): Do not pass function name to parse_args.
60747         Generate this_func variable from START.
60748         * math/libm-test.inc (struct test_f_f_data): Rename test_name
60749         field to arg_str.
60750         (struct test_ff_f_data): Likewise.
60751         (test_ff_f_data_nexttoward): Likewise.
60752         (struct test_fi_f_data): Likewise.
60753         (struct test_fl_f_data): Likewise.
60754         (struct test_if_f_data): Likewise.
60755         (struct test_fff_f_data): Likewise.
60756         (struct test_c_f_data): Likewise.
60757         (struct test_f_f1_data): Likewise.  Remove field extra_name.
60758         (struct test_fF_f1_data): Likewise.
60759         (struct test_ffI_f1_data): Likewise.
60760         (struct test_c_c_data): Rename test_name field to arg_str.
60761         (struct test_cc_c_data): Likewise.
60762         (struct test_f_i_data): Likewise.
60763         (struct test_ff_i_data): Likewise.
60764         (struct test_f_l_data): Likewise.
60765         (struct test_f_L_data): Likewise.
60766         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
60767         and extra2_name.
60768         (COMMON_TEST_SETUP): New macro.
60769         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
60770         (COMMON_TEST_CLEANUP): Likewise.
60771         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
60772         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
60773         macros.
60774         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
60775         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
60776         macros.
60777         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
60778         (RUN_TEST_fff_f): Take argument string.  Call new setup and
60779         cleanup macros.
60780         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
60781         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
60782         macros.
60783         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
60784         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
60785         macros.
60786         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
60787         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
60788         cleanup macros.
60789         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
60790         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
60791         cleanup macros.
60792         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
60793         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
60794         cleanup macros.
60795         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
60796         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
60797         macros.
60798         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
60799         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
60800         macros.
60801         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
60802         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
60803         macros.
60804         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
60805         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
60806         cleanup macros.
60807         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
60808         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
60809         cleanup macros.
60810         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
60811         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
60812         macros.
60813         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
60814         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
60815         cleanup macros.
60816         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
60817         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
60818         macros.
60819         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
60820         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
60821         macros.
60822         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
60823         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
60824         cleanup macros.
60825         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
60827 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
60829         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
60830         to _sifields.sigfault.
60831         (si_addr_lsb): Define new macro.
60832         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
60833         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
60834         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
60836 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
60838         [BZ #15441]
60839         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
60840         returns -1.
60841         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
60842         null return -1.
60843         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
60844         loading the domain.
60846 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
60848         * math/gen-libm-test.pl (parse_args): Do not include expected
60849         result in test name.
60850         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
60851         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60852         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60853         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60854         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60857 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
60859         * benchtests/Makefile: Sort function entries.
60861         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
60862         tanh, asinh, acosh, atanh.
60863         * benchtests/acos-inputs: New file.
60864         * benchtests/acosh-inputs: New file.
60865         * benchtests/asin-inputs: New file.
60866         * benchtests/asinh-inputs: New file.
60867         * benchtests/atanh-inputs: New file.
60868         * benchtests/cosh-inputs: New file.
60869         * benchtests/log-inputs: New file.
60870         * benchtests/sinh-inputs: New file.
60871         * benchtests/tanh-inputs: New file.
60873 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
60875         [BZ #15339]
60876         * posix/tst-getaddrinfo4.c: New test.
60877         * posix/Makefile (tests): Add it.
60879 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60881         [BZ #15339]
60882         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
60883         when no services were used.
60884         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
60885         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
60887 2013-05-21  Andreas Schwab  <schwab@suse.de>
60889         [BZ #15014]
60890         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
60891         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
60892         successful.
60893         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
60894         redundant variable declarations and reallocation of buffer when
60895         parsing as IPv6 address.  Always set NSS status when called from
60896         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
60897         buffer too small.  Correct computation of needed size.
60898         * nss/Makefile (tests): Add test-digits-dots.
60899         * nss/test-digits-dots.c: New test.
60901 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60903         * benchtests/Makefile: Remove instructions for adding
60904         benchmark tests.
60905         * benchtests/README: New file to explain how to execute and
60906         enhance the benchmark tests.
60908 2013-05-21  Andreas Schwab  <schwab@suse.de>
60910         [BZ #15493]
60911         * setjmp/Makefile (tests): Add tst-sigsetjmp.
60912         * setjmp/tst-sigsetjmp.c: New test.
60914 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60916         * sysdeps/x86_64/memset.S (memset): New implementation.
60917         (__bzero): Likewise.
60918         (__memset_tail): New function.
60920 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
60922         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
60923         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
60924         __memcpy_sse2_unaligned ifunc selection.
60925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60926         Add memcpy-sse2-unaligned.S.
60927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60928         Add: __memcpy_sse2_unaligned.
60930 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
60932         [BZ #15490]
60933         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
60934         math_force_eval before restoring floating-point envrionment.
60935         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
60936         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
60937         Likewise.
60938         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
60939         <math_private.h>.
60940         (__nearbyintl): Use math_force_eval before restoring
60941         floating-point environment.
60942         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
60944         * math/gen-libm-test.pl (special_functions): Remove.
60945         (parse_args): Don't handle TEST_extra.  Handle functions with no
60946         return value.
60947         * math/libm-test.inc (struct test_sincos_data): Replace with
60948         struct test_fFF_11_data.
60949         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
60950         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
60951         (sincos_test_data): Change element type to struct
60952         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
60953         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
60954         RUN_TEST_LOOP_sincos.
60955         * math/README.libm-test: Don't mention special handling of
60956         individual functions.
60957         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
60958         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60959         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60960         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
60961         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60964         * math/gen-libm-test.pl (get_variable): Remove function.
60965         (parse_args): Don't show pointer parameters to call in test
60966         names.  Use "extra output N" in test names for extra outputs
60967         rather than naming variables.
60969 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
60971         [BZ #15488]
60972         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
60973         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
60974         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
60975         double tests.
60976         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
60977         disable.
60978         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
60979         check_long_double.
60981         * math/gen-libm-test.pl (@tests): Remove variable.
60982         ($count): Likewise.
60983         (new_test): Remove function.
60984         (show_exceptions): New function.
60985         (special_functions): Use show_exceptions instead of new_test.
60986         (parse_args): Likewise.
60987         (generate_testfile): Pass only function name in generated call to
60988         print_max_error or print_complex_max_error.
60989         (get_ulps): Do not handle complex tests specially.
60990         (output_test): Rename to ...
60991         (get_all_ulps_for_test): ... this.  Return a string rather than
60992         printing to a file.  Require ulps to be present.
60993         (output_ulps): Generate arrays rather than #defines.
60994         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
60995         (struct ulp_data): New type.
60996         (BUILD_COMPLEX_ULP): Remove macro.
60997         (compare_ulp_data): New function.
60998         (find_ulps): Likewise.
60999         (find_test_ulps): Likewise.
61000         (find_function_ulps): Likewise.
61001         (find_complex_function_ulps): Likewise.
61002         (print_max_error): Determine allowed ulps using
61003         find_function_ulps.
61004         (print_complex_max_error): Determine allowed ulps using
61005         find_complex_function_ulps.
61006         (check_float_internal): Determine max ulps using find_test_ulps.
61007         (check_float): Do not take max_ulp parameter.  Update call to
61008         check_float_internal.
61009         (check_complex): Likewise.
61010         (check_int): Do not take max_ulp parameter.
61011         (check_long): Likewise.
61012         (check_bool): Likewise.
61013         (check_longlong): Likewise.
61014         (struct test_f_f_data): Remove max_ulp field.
61015         (struct test_ff_f_data): Likewise.
61016         (struct test_ff_f_data_nexttoward): Likewise.
61017         (struct test_fi_f_data): Likewise.
61018         (struct test_fl_f_data): Likewise.
61019         (struct test_if_f_data): Likewise.
61020         (struct test_fff_f_data): Likewise.
61021         (struct test_c_f_data): Likewise.
61022         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
61023         (struct test_fF_f1_data): Likewise.
61024         (struct test_ffI_f1_data): Likewise.
61025         (struct test_c_c_data): Remove max_ulp field.
61026         (struct test_cc_c_data): Likewise.
61027         (struct test_f_i_data): Likewise.
61028         (struct test_ff_i_data): Likewise.
61029         (struct test_f_l_data): Likewise.
61030         (struct test_f_L_data): Likewise.
61031         (struct test_sincos_data): Likewise.
61032         (RUN_TEST_f_f): Do not handle ulps.
61033         (RUN_TEST_LOOP_f_f): Likewise.
61034         (RUN_TEST_2_f): Likewise.
61035         (RUN_TEST_LOOP_2_f): Likewise.
61036         (RUN_TEST_fff_f): Likewise.
61037         (RUN_TEST_LOOP_fff_f): Likewise.
61038         (RUN_TEST_c_f): Likewise.
61039         (RUN_TEST_LOOP_c_f): Likewise.
61040         (RUN_TEST_f_f1): Likewise.
61041         (RUN_TEST_LOOP_f_f1): Likewise.
61042         (RUN_TEST_fF_f1): Likewise.
61043         (RUN_TEST_LOOP_fF_f1): Likewise.
61044         (RUN_TEST_fI_f1): Likewise.
61045         (RUN_TEST_LOOP_fI_f1): Likewise.
61046         (RUN_TEST_ffI_f1): Likewise.
61047         (RUN_TEST_LOOP_ffI_f1): Likewise.
61048         (RUN_TEST_c_c): Likewise.
61049         (RUN_TEST_LOOP_c_c): Likewise.
61050         (RUN_TEST_cc_c): Likewise.
61051         (RUN_TEST_LOOP_cc_c): Likewise.
61052         (RUN_TEST_f_i): Likewise.
61053         (RUN_TEST_LOOP_f_i): Likewise.
61054         (RUN_TEST_f_i_tg): Likewise.
61055         (RUN_TEST_LOOP_f_i_tg): Likewise.
61056         (RUN_TEST_ff_i_tg): Likewise.
61057         (RUN_TEST_LOOP_ff_i_tg): Likewise.
61058         (RUN_TEST_f_b): Likewise.
61059         (RUN_TEST_LOOP_f_b): Likewise.
61060         (RUN_TEST_f_b_tg): Likewise.
61061         (RUN_TEST_LOOP_f_b_tg): Likewise.
61062         (RUN_TEST_f_l): Likewise.
61063         (RUN_TEST_LOOP_f_l): Likewise.
61064         (RUN_TEST_f_L): Likewise.
61065         (RUN_TEST_LOOP_f_L): Likewise.
61066         (RUN_TEST_sincos): Likewise.
61067         (RUN_TEST_LOOP_sincos): Likewise.
61069 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
61071         [BZ #15480]
61072         [BZ #15485]
61073         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
61074         main case of finite arguments, set rounding mode to FE_TONEAREST
61075         and discard exceptions.
61076         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
61077         exceptions.
61078         (remainder_tonearest_test_data): New variable.
61079         (remainder_test_tonearest): New function.
61080         (remainder_towardzero_test_data): New variable.
61081         (remainder_test_towardzero): New function.
61082         (remainder_downward_test_data): New variable.
61083         (remainder_test_downward): New function.
61084         (remainder_upward_test_data): New variable.
61085         (remainder_test_upward): New function.
61086         (main): Call the new test functions.
61088         * math/libm-test.inc (struct test_f_f1_data): Remove field
61089         extra_init.
61090         (struct test_fF_f1_data): Likewise.
61091         (struct test_ffI_f1_data): Likewise.
61092         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
61093         based on value of EXTRA_EXPECTED.
61094         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
61095         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
61096         EXTRA_VAR based on value of EXTRA_EXPECTED.
61097         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
61098         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
61099         EXTRA_VAR based on value of EXTRA_EXPECTED.
61100         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
61101         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
61102         EXTRA_VAR based on value of EXTRA_EXPECTED.
61103         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
61104         * math/gen-libm-test.pl (parse_args): Don't output initializers
61105         for extra output values.
61107         * math/libm-test.inc (check_int): Expect result to be exactly
61108         equal to expected value and do not handle ulps.
61109         (check_long): Likewise.
61110         (check_longlong): Likewise.
61112         * math/libm-test.inc (ceil_test_data): Test for "inexact"
61113         exceptions.
61114         (cimag_test_data): Likewise.
61115         (conj_test_data): Likewise.
61116         (copysign_test_data): Likewise.
61117         (cproj_test_data): Likewise.
61118         (creal_test_data): Likewise.
61119         (fabs_test_data): Likewise.
61120         (fdim_test_data): Likewise.
61121         (finite_test_data): Likewise.
61122         (floor_test_data): Likewise.
61123         (fmax_test_data): Likewise.
61124         (fmin_test_data): Likewise.
61125         (fmod_test_data): Likewise.
61126         (fpclassify_test_data): Likewise.
61127         (frexp_test_data): Likewise.
61128         (ilogb_test_data): Likewise.
61129         (isfinite_test_data): Likewise.
61130         (isgreater_test_data): Likewise.
61131         (isgreaterequal_test_data): Likewise.
61132         (isinf_test_data): Likewise.
61133         (isless_test_data): Likewise.
61134         (islessequal_test_data): Likewise.
61135         (islessgreater_test_data): Likewise.
61136         (isnan_test_data): Likewise.
61137         (isnormal_test_data): Likewise.
61138         (issignaling_test_data): Likewise.
61139         (isunordered_test_data): Likewise.
61140         (ldexp_test_data): Likewise.
61141         (lrint_test_data): Likewise.
61142         (lrint_test_data) [TEST_FLOAT]: Disable one test.
61143         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
61144         (lrint_tonearest_test_data): Test for "inexact" exceptions.
61145         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61146         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
61147         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61148         test input.
61149         (lrint_towardzero_test_data): Test for "inexact" exceptions.
61150         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61151         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
61152         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
61153         that test input.
61154         (lrint_downward_test_data): Test for "inexact" exceptions.
61155         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61156         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
61157         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
61158         test input.
61159         (lrint_upward_test_data): Test for "inexact" exceptions.
61160         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
61161         test input.
61162         (llrint_test_data): Test for "inexact" exceptions.
61163         (llrint_test_data) [TEST_FLOAT]: Disable one test.
61164         (llrint_tonearest_test_data): Test for "inexact" exceptions.
61165         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
61166         (llrint_towardzero_test_data): Test for "inexact" exceptions.
61167         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
61168         (llrint_downward_test_data): Test for "inexact" exceptions.
61169         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
61170         (llrint_upward_test_data): Test for "inexact" exceptions.
61171         (logb_test_data): Likewise.
61172         (logb_downward_test_data): Likewise.
61173         (nextafter_test_data): Likewise.
61174         (nexttoward_test_data): Likewise.
61175         (remainder_test_data): Likewise.
61176         (remquo_test_data): Likewise.
61177         (scalbn_test_data): Likewise.
61178         (scalbln_test_data): Likewise.
61179         (signbit_test_data): Likewise.
61180         (sqrt_test_data): Likewise.
61181         (significand_test_data): Likewise.
61183 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61185         [BZ #15424]
61186         * benchtests/bench-modf.c (struct args): Mark arg0 as
61187         volatile.
61188         * scripts/bench.pl: Mark members of struct args as volatile.
61190 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61192         [BZ # 15497]
61193         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
61194         negative infinity on POWER6 or lower.
61195         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
61197 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
61199         [BZ #15442]
61200         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
61201         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
61202         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
61203         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
61204         (_FP_SETQNAN): New macro.
61205         (_FP_SETQNAN_SEMIRAW): Likewise.
61206         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
61207         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
61208         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
61209         (FP_EXTEND): Use _FP_FRAC_SNANP.
61210         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
61211         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
61212         into account.
61213         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61214         New macro.
61215         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
61216         Likewise.
61218 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61220         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
61221         with DIVIDE_BY_ZERO_EXCEPTION.
61222         (gamma_test_data): Likewise.
61223         (lgamma_test_data): Likewise.
61224         (log_test_data): Likewise.
61225         (log10_test_data): Likewise.
61226         (log2_test_data): Likewise.
61227         (tgamma_test_data): Likewise.
61229         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
61230         (acos_test_tonearest): Likewise.
61231         (acos_test_towardzero): Likewise.
61232         (acos_test_downward): Likewise.
61233         (acos_test_upward): Likewise.
61234         (acosh_test): Likewise.
61235         (asin_test): Likewise.
61236         (asin_test_tonearest): Likewise.
61237         (asin_test_towardzero): Likewise.
61238         (asin_test_downward): Likewise.
61239         (asin_test_upward): Likewise.
61240         (asinh_test): Likewise.
61241         (atan_test): Likewise.
61242         (atanh_test): Likewise.
61243         (atan2_test): Likewise.
61244         (cabs_test): Likewise.
61245         (cacos_test): Likewise.
61246         (cacosh_test): Likewise.
61247         (casin_test): Likewise.
61248         (casinh_test): Likewise.
61249         (catan_test): Likewise.
61250         (catanh_test): Likewise.
61251         (cbrt_test): Likewise.
61252         (ccos_test): Likewise.
61253         (ccosh_test): Likewise.
61254         (cexp_test): Likewise.
61255         (clog_test): Likewise.
61256         (clog10_test): Likewise.
61257         (cos_test): Likewise.
61258         (cos_test_tonearest): Likewise.
61259         (cos_test_towardzero): Likewise.
61260         (cos_test_downward): Likewise.
61261         (cos_test_upward): Likewise.
61262         (cosh_test): Likewise.
61263         (cosh_test_tonearest): Likewise.
61264         (cosh_test_towardzero): Likewise.
61265         (cosh_test_downward): Likewise.
61266         (cosh_test_upward): Likewise.
61267         (cpow_test): Likewise.
61268         (csin_test): Likewise.
61269         (csinh_test): Likewise.
61270         (csqrt_test): Likewise.
61271         (ctan_test): Likewise.
61272         (ctan_test_tonearest): Likewise.
61273         (ctan_test_towardzero): Likewise.
61274         (ctan_test_downward): Likewise.
61275         (ctan_test_upward): Likewise.
61276         (ctanh_test): Likewise.
61277         (ctanh_test_tonearest): Likewise.
61278         (ctanh_test_towardzero): Likewise.
61279         (ctanh_test_downward): Likewise.
61280         (ctanh_test_upward): Likewise.
61281         (erf_test): Likewise.
61282         (erfc_test): Likewise.
61283         (exp_test): Likewise.
61284         (exp_test_tonearest): Likewise.
61285         (exp_test_towardzero): Likewise.
61286         (exp_test_downward): Likewise.
61287         (exp_test_upward): Likewise.
61288         (exp10_test): Likewise.
61289         (exp2_test): Likewise.
61290         (expm1_test): Likewise.
61291         (fmod_test): Likewise.
61292         (gamma_test): Likewise.
61293         (hypot_test): Likewise.
61294         (j0_test): Likewise.
61295         (j1_test): Likewise.
61296         (jn_test): Likewise.
61297         (lgamma_test): Likewise.
61298         (log_test): Likewise.
61299         (log10_test): Likewise.
61300         (log1p_test): Likewise.
61301         (log2_test): Likewise.
61302         (logb_test_downward): Likewise.
61303         (pow_test): Likewise.
61304         (pow_test_tonearest): Likewise.
61305         (pow_test_towardzero): Likewise.
61306         (pow_test_downward): Likewise.
61307         (pow_test_upward): Likewise.
61308         (remainder_test): Likewise.
61309         (remquo_test): Likewise.
61310         (sin_test): Likewise.
61311         (sin_test_tonearest): Likewise.
61312         (sin_test_towardzero): Likewise.
61313         (sin_test_downward): Likewise.
61314         (sin_test_upward): Likewise.
61315         (sincos_test): Likewise.
61316         (sinh_test): Likewise.
61317         (sinh_test_tonearest): Likewise.
61318         (sinh_test_towardzero): Likewise.
61319         (sinh_test_downward): Likewise.
61320         (sinh_test_upward): Likewise.
61321         (sqrt_test): Likewise.
61322         (tan_test): Likewise.
61323         (tan_test_tonearest): Likewise.
61324         (tan_test_towardzero): Likewise.
61325         (tan_test_downward): Likewise.
61326         (tan_test_upward): Likewise.
61327         (tanh_test): Likewise.
61328         (tgamma_test): Likewise.
61329         (y0_test): Likewise.
61330         (y1_test): Likewise.
61331         (yn_test): Likewise.
61333         * math/gen-libm-test.pl (adjust_arg): Remove function.
61334         (special_function): Remove argument $in_func.  Only handle
61335         generating output for tables of tests, not inside functions.
61336         (parse_args): Likewise.
61337         (generate_testfile): Remove variable $in_func.  Update call to
61338         parse_args.
61339         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
61340         (MINUS_ZERO_INIT): Rename macro to minus_zero.
61341         (PLUS_INFTY_INIT): Rename macro to plus_infty.
61342         (MINUS_INFTY_INIT): Rename macro to minus_infty.
61343         (QNAN_VALUE_INIT): Rename macro to qnan_value.
61344         (MAX_VALUE_INIT): Rename macro to max_value.
61345         (MIN_VALUE_INIT): Rename macro to min_value.
61346         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
61347         (plus_zero): Remove variable.
61348         (minus_zero): Likewise.
61349         (plus_infty): Likewise.
61350         (minus_infty): Likewise.
61351         (qnan_value): Likewise.
61352         (max_value): Likewise.
61353         (min_value): Likewise.
61354         (min_subnorm_value): Likewise.
61356 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61358         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
61359         uint64_t or uint32_t usage.
61360         * crypt/sha256-block.c: Likewise.
61361         * crypt/sha256-crypt.c: Likewise.
61362         * crypt/sha256.c: Likewise.
61363         * crypt/sha512-block.c: Likewise.
61364         * crypt/sha512-crypt.c: Likewise.
61365         * crypt/sha512.c: Likewise.
61366         * debug/backtrace-tst.c: Likewise.
61367         * debug/pcprofiledump.c: Likewise.
61368         * elf/cache.c: Likewise.
61369         * elf/dl-cache.c: Likewise.
61370         * elf/dl-misc.c: Likewise.
61371         * elf/dl-profile.c: Likewise.
61372         * elf/dl-support.c: Likewise.
61373         * elf/ldconfig.c: Likewise.
61374         * elf/sprof.c: Likewise.
61375         * iconv/dummy-repertoire.c: Likewise.
61376         * iconv/iconv_charmap.c: Likewise.
61377         * iconv/skeleton.c: Likewise.
61378         * iconvdata/8bit-generic.c: Likewise.
61379         * iconvdata/cp737.h: Likewise.
61380         * iconvdata/cp775.h: Likewise.
61381         * iconvdata/ibm1008.h: Likewise.
61382         * iconvdata/ibm1025.h: Likewise.
61383         * iconvdata/ibm1046.h: Likewise.
61384         * iconvdata/ibm1097.h: Likewise.
61385         * iconvdata/ibm1112.h: Likewise.
61386         * iconvdata/ibm1122.h: Likewise.
61387         * iconvdata/ibm1123.h: Likewise.
61388         * iconvdata/ibm1124.h: Likewise.
61389         * iconvdata/ibm1129.h: Likewise.
61390         * iconvdata/ibm1130.h: Likewise.
61391         * iconvdata/ibm1132.h: Likewise.
61392         * iconvdata/ibm1133.h: Likewise.
61393         * iconvdata/ibm1137.h: Likewise.
61394         * iconvdata/ibm1140.h: Likewise.
61395         * iconvdata/ibm1141.h: Likewise.
61396         * iconvdata/ibm1142.h: Likewise.
61397         * iconvdata/ibm1143.h: Likewise.
61398         * iconvdata/ibm1144.h: Likewise.
61399         * iconvdata/ibm1145.h: Likewise.
61400         * iconvdata/ibm1146.h: Likewise.
61401         * iconvdata/ibm1147.h: Likewise.
61402         * iconvdata/ibm1148.h: Likewise.
61403         * iconvdata/ibm1149.h: Likewise.
61404         * iconvdata/ibm1153.h: Likewise.
61405         * iconvdata/ibm1154.h: Likewise.
61406         * iconvdata/ibm1155.h: Likewise.
61407         * iconvdata/ibm1156.h: Likewise.
61408         * iconvdata/ibm1157.h: Likewise.
61409         * iconvdata/ibm1158.h: Likewise.
61410         * iconvdata/ibm1160.h: Likewise.
61411         * iconvdata/ibm1161.h: Likewise.
61412         * iconvdata/ibm1162.h: Likewise.
61413         * iconvdata/ibm1163.h: Likewise.
61414         * iconvdata/ibm1164.h: Likewise.
61415         * iconvdata/ibm1166.h: Likewise.
61416         * iconvdata/ibm1167.h: Likewise.
61417         * iconvdata/ibm12712.h: Likewise.
61418         * iconvdata/ibm1390.h: Likewise.
61419         * iconvdata/ibm1399.h: Likewise.
61420         * iconvdata/ibm16804.h: Likewise.
61421         * iconvdata/ibm4517.h: Likewise.
61422         * iconvdata/ibm4899.h: Likewise.
61423         * iconvdata/ibm4909.h: Likewise.
61424         * iconvdata/ibm4971.h: Likewise.
61425         * iconvdata/ibm5347.h: Likewise.
61426         * iconvdata/ibm803.h: Likewise.
61427         * iconvdata/ibm856.h: Likewise.
61428         * iconvdata/ibm901.h: Likewise.
61429         * iconvdata/ibm902.h: Likewise.
61430         * iconvdata/ibm9030.h: Likewise.
61431         * iconvdata/ibm9066.h: Likewise.
61432         * iconvdata/ibm921.h: Likewise.
61433         * iconvdata/ibm922.h: Likewise.
61434         * iconvdata/ibm9448.h: Likewise.
61435         * iconvdata/isiri-3342.h: Likewise.
61436         * iconvdata/jis0201.h: Likewise.
61437         * include/link.h: Likewise.
61438         * include/netdb.h: Likewise.
61439         * inet/check_native.c: Likewise.
61440         * inet/check_pf.c: Likewise.
61441         * inet/getipv4sourcefilter.c: Likewise.
61442         * inet/getnameinfo.c: Likewise.
61443         * inet/getsourcefilter.c: Likewise.
61444         * inet/htonl.c: Likewise.
61445         * inet/setipv4sourcefilter.c: Likewise.
61446         * inet/setsourcefilter.c: Likewise.
61447         * inet/test-inet6_opt.c: Likewise.
61448         * inet/tst-network.c: Likewise.
61449         * locale/C-collate.c: Likewise.
61450         * locale/C-ctype.c: Likewise.
61451         * locale/C-time.c: Likewise.
61452         * locale/C-translit.h: Likewise.
61453         * locale/loadarchive.c: Likewise.
61454         * locale/programs/3level.h: Likewise.
61455         * locale/programs/charmap.c: Likewise.
61456         * locale/programs/charmap.h: Likewise.
61457         * locale/programs/ld-address.c: Likewise.
61458         * locale/programs/ld-collate.c: Likewise.
61459         * locale/programs/ld-ctype.c: Likewise.
61460         * locale/programs/ld-identification.c: Likewise.
61461         * locale/programs/ld-measurement.c: Likewise.
61462         * locale/programs/ld-messages.c: Likewise.
61463         * locale/programs/ld-monetary.c: Likewise.
61464         * locale/programs/ld-name.c: Likewise.
61465         * locale/programs/ld-numeric.c: Likewise.
61466         * locale/programs/ld-paper.c: Likewise.
61467         * locale/programs/ld-telephone.c: Likewise.
61468         * locale/programs/ld-time.c: Likewise.
61469         * locale/programs/linereader.c: Likewise.
61470         * locale/programs/locale.c: Likewise.
61471         * locale/programs/locarchive.c: Likewise.
61472         * locale/programs/locfile.h: Likewise.
61473         * locale/programs/repertoire.c: Likewise.
61474         * locale/programs/simple-hash.c: Likewise.
61475         * locale/programs/simple-hash.h: Likewise.
61476         * malloc/memusage.c: Likewise.
61477         * malloc/memusagestat.c: Likewise.
61478         * nis/nis_defaults.c: Likewise.
61479         * nis/nis_hash.c: Likewise.
61480         * nis/nis_print.c: Likewise.
61481         * nis/nis_xdr.c: Likewise.
61482         * nscd/connections.c: Likewise.
61483         * nscd/hstcache.c: Likewise.
61484         * nscd/nscd_gethst_r.c: Likewise.
61485         * nscd/nscd_getserv_r.c: Likewise.
61486         * nscd/nscd_helper.c: Likewise.
61487         * nscd/servicescache.c: Likewise.
61488         * nss/makedb.c: Likewise.
61489         * nss/nss_db/db-XXX.c: Likewise.
61490         * nss/nss_db/db-initgroups.c: Likewise.
61491         * nss/nss_db/db-netgrp.c: Likewise.
61492         * nss/nss_files/files-network.c: Likewise.
61493         * nss/nss_files/files-parse.c: Likewise.
61494         * posix/bug-regex5.c: Likewise.
61495         * posix/fnmatch_loop.c: Likewise.
61496         * posix/regcomp.c: Likewise.
61497         * posix/regexec.c: Likewise.
61498         * posix/tst-rfc3484-2.c: Likewise.
61499         * posix/tst-rfc3484-3.c: Likewise.
61500         * posix/tst-rfc3484.c: Likewise.
61501         * resolv/nss_dns/dns-canon.c: Likewise.
61502         * resolv/nss_dns/dns-network.c: Likewise.
61503         * resolv/res_init.c: Likewise.
61504         * resolv/res_mkquery.c: Likewise.
61505         * resolv/tst-aton.c: Likewise.
61506         * stdlib/cxa_atexit.c: Likewise.
61507         * stdlib/cxa_finalize.c: Likewise.
61508         * stdlib/gen-fpioconst.c: Likewise.
61509         * stdlib/strtol_l.c: Likewise.
61510         * string/tst-endian.c: Likewise.
61511         * sunrpc/auth_des.c: Likewise.
61512         * sunrpc/clnt_udp.c: Likewise.
61513         * sunrpc/rtime.c: Likewise.
61514         * sunrpc/svcauth_des.c: Likewise.
61515         * sunrpc/xdr.c: Likewise.
61516         * sunrpc/xdr_intXX_t.c: Likewise.
61517         * sunrpc/xdr_rec.c: Likewise.
61518         * sysdeps/generic/ldconfig.h: Likewise.
61519         * sysdeps/generic/ldsodefs.h: Likewise.
61520         * sysdeps/generic/memusage.h: Likewise.
61521         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
61522         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
61523         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
61524         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
61525         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61526         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
61527         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
61528         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
61529         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61530         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
61531         * sysdeps/posix/getaddrinfo.c: Likewise.
61532         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
61533         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
61534         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
61535         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
61536         * sysdeps/powerpc/test-gettimebase.c: Likewise.
61537         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
61538         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
61539         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
61540         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
61541         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
61542         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
61543         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
61544         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
61545         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
61546         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
61547         * sysdeps/x86_64/dl-tls.h: Likewise.
61548         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
61549         * time/alt_digit.c: Likewise.
61550         * time/era.c: Likewise.
61551         * wcsmbs/tst-c16c32-1.c: Likewise.
61553 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61555         * math/libm-test.inc (struct test_sincos_data): New type.
61556         (RUN_TEST_LOOP_sincos): New macro.
61557         (sincos_test_data): New variable.
61558         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
61560 2013-05-16  Richard Henderson  <rth@redhat.com>
61562         * math/atest-exp2.c (LIMB64): New macro.
61563         (CONSTSZ): New macro.
61564         (mp_exp1, mp_exp_m1, mp_log2): New variables.
61565         (hexdig): Move ...
61566         (print_mpn_fp): ... to function scope.
61567         (read_mpn_hex): Remove.
61568         (get_log2): Remove.
61569         (exp2_mpn): Use mp_log2.
61570         (main): Use mp_exp1.
61572 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
61574         * math/libm-test.inc: Remove comment about not testing "inexact"
61575         exceptions.
61576         (INEXACT_EXCEPTION): New macro.
61577         (NO_INEXACT_EXCEPTION): Likewise.
61578         (INVALID_EXCEPTION_OK): Update value.
61579         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
61580         (OVERFLOW_EXCEPTION_OK): Likewise.
61581         (UNDERFLOW_EXCEPTION_OK): Likewise.
61582         (IGNORE_ZERO_INF_SIGN): Likewise.
61583         (ERRNO_UNCHANGED): Likewise.
61584         (ERRNO_EDOM): Likewise.
61585         (ERRNO_ERANGE): Likewise.
61586         (test_exceptions): Handle testing "inexact" exceptions.
61587         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
61588         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
61589         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
61590         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
61591         INEXACT_EXCEPTION.
61592         (rint_towardzero_test_data): Likewise.
61593         (rint_downward_test_data): Likewise.
61594         (rint_upward_test_data): Likewise.
61596         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
61597         with OVERFLOW_EXCEPTION.
61598         (exp10_test_data): Likewise.
61599         (exp2_test_data): Likewise.
61600         (expm1_test_data): Likewise.
61601         (lgamma_test_data): Likewise.
61602         (pow_test_data): Likewise.
61603         (tgamma_test_data): Likewise.
61604         (yn_test_data): Remove duplicate test of overflow.
61606         * math/libm-test.inc (struct test_cc_c_data): New type.
61607         (RUN_TEST_LOOP_cc_c): New macro.
61608         (cpow_test_data): New variable.
61609         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
61611         * math/libm-test.inc (struct test_f_L_data): New type.
61612         (RUN_TEST_LOOP_f_L): New macro.
61613         (llrint_test_data): New variable.
61614         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
61615         (llrint_tonearest_test_data): New variable.
61616         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
61617         (llrint_towardzero_test_data): New variable.
61618         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
61619         (llrint_downward_test_data): New variable.
61620         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
61621         (llrint_upward_test_data): New variable.
61622         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
61623         (llround_test_data): New variable.
61624         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
61626 2013-05-13  Peter Collingbourne  <pcc@google.com>
61628         * math/atest-exp2.c (get_log2): Remove const attribute.
61630 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61632         * math/libm-test.inc (struct test_f_l_data): New type.
61633         (RUN_TEST_LOOP_f_l): New macro.
61634         (lrint_test_data): New variable.
61635         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
61636         (lrint_tonearest_test_data): New variable.
61637         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
61638         (lrint_towardzero_test_data): New variable.
61639         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
61640         (lrint_downward_test_data): New variable.
61641         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
61642         (lrint_upward_test_data): New variable.
61643         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
61644         (lround_test_data): New variable.
61645         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
61647 2013-05-15  Peter Collingbourne  <pcc@google.com>
61649         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
61650         (EXTRACT_WORDS64) Use where appropriate.
61651         (INSERT_WORDS64) Likewise.
61653         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
61654         constraints with x constraints.
61655         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
61657         * malloc/obstack.c (_obstack_compat): Add initializer.
61659 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
61661         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
61662         si_trapno and add si_addr_lsb to _sifields.sigfault.
61663         (si_trapno): Remove macro.
61664         (si_addr_lsb): Define new macro.
61665         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
61667 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
61669         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
61670         instead of TEST_f_l.
61671         (llrint_test_tonearest): Likewise.
61672         (llrint_test_towardzero): Likewise.
61673         (llrint_test_downward): Likewise.
61674         (llrint_test_upward): Likewise.
61675         (llround_test): Likewise.
61677         * math/libm-test.inc (struct test_f_i_data): Add comment.
61678         (RUN_TEST_LOOP_f_b): New macro.
61679         (RUN_TEST_LOOP_f_b_tg): Likewise.
61680         (finite_test_data): New variable.
61681         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
61682         (isfinite_test_data): New variable.
61683         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61684         (isinf_test_data): New variable.
61685         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61686         (isnan_test_data): New variable.
61687         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61688         (isnormal_test_data): New variable.
61689         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61690         (issignaling_test_data): New variable.
61691         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61692         (signbit_test_data): New variable.
61693         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
61695         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
61696         with INVALID_EXCEPTION.
61697         (acosh_test_data): Likewise.
61698         (asin_test_data): Likewise.
61699         (atanh_test_data): Likewise.
61700         (fmod_test_data): Likewise.
61701         (log_test_data): Likewise.
61702         (log10_test_data): Likewise.
61703         (log2_test_data): Likewise.
61704         (pow_test_data): Likewise.
61705         (sqrt_test_data): Likewise.
61706         (y0_test_data): Likewise.
61707         (y1_test_data): Likewise.
61708         (yn_test_data): Likewise.
61710         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
61711         function contents.
61713         * math/libm-test.inc (struct test_ff_i_data): New type.
61714         (RUN_TEST_LOOP_ff_i_tg): New macro.
61715         (isgreater_test_data): New variable.
61716         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61717         (isgreaterequal_test_data): New variable.
61718         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61719         (isless_test_data): New variable.
61720         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61721         (islessequal_test_data): New variable.
61722         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61723         (islessgreater_test_data): New variable.
61724         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61725         (isunordered_test_data): New variable.
61726         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
61728 2013-05-14  David S. Miller  <davem@davemloft.net>
61730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61732 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
61734         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
61736         * math/libm-test.inc (struct test_fF_f1_data): Change type of
61737         extra_test to int.
61738         (struct test_f_i_data): Change type of max_ulp to int.
61740         * math/libm-test.inc (test_ffI_f1_data): New type.
61741         (RUN_TEST_LOOP_ffI_f1): New macro.
61742         (remquo_test_data): New variable.
61743         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
61745         * setjmp/tst-setjmp-fp.c: New file.
61746         * setjmp/Makefile (tests): Add tst-setjmp-fp.
61747         (link-libm): New variable.
61748         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
61750         * math/libm-test.inc (struct test_f_i_data): New type.
61751         (RUN_TEST_LOOP_f_i): New macro.
61752         (RUN_TEST_LOOP_f_i_tg): Likewise.
61753         (fpclassify_test_data): New variable.
61754         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
61755         (ilogb_test_data): New variable.
61756         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
61758         * math/libm-test.inc (scalbln_test): Correct function name in END
61759         call.
61761         * math/libm-test.inc (struct test_f_f1_data): Add comment.
61762         (RUN_TEST_LOOP_fI_f1): New macro.
61763         (frexp_test_data): New variable.
61764         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
61766         * math/libm-test.inc (struct test_fF_f1_data): New type.
61767         (RUN_TEST_LOOP_fF_f1): New macro.
61768         (modf_test_data): New variable.
61769         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
61771         * math/libm-test.inc (struct test_f_f1_data): New type.
61772         (RUN_TEST_LOOP_f_f1): New macro.
61773         (gamma_test_data): New variable.
61774         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61775         (lgamma_test_data): New variable.
61776         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
61778 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
61780         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
61781         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
61782         (main): Comment "tls" pseudo-hwcap.
61784 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
61786         * math/libm-test.inc (struct test_fl_f_data): New type.
61787         (RUN_TEST_LOOP_fl_f): New variable.
61788         (scalbln_test_data): New variable.
61789         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
61791         * math/libm-test.inc (struct test_fi_f_data): New type.
61792         (RUN_TEST_LOOP_fi_f): New macro.
61793         (ldexp_test_data): New variable.
61794         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
61795         (scalbn_test_data): New variable.
61796         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
61798         * math/libm-test.inc (struct test_c_f_data): New type.
61799         (RUN_TEST_LOOP_c_f): New macro.
61800         (cabs_test_data): New variable.
61801         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
61802         (carg_test_data): New variable.
61803         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
61804         (cimag_test_data): New variable.
61805         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
61806         (creal_test_data): New variable.
61807         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
61809         * math/libm-test.inc (struct test_if_f_data): New type.
61810         (RUN_TEST_LOOP_if_f): New macro.
61811         (jn_test_data): New variable.
61812         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
61813         (yn_test_data): New variable.
61814         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
61816         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
61818 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61820         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
61821         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
61823 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61825         * benchtests/Makefile (CPPFLAGS-nonlib): Add
61826         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
61827         (bench-deps): Add bench-timing.h.
61828         * benchtests-bench-skeleton.c: Include bench-timing.h.
61829         (main): Use TIMING_* macros instead of clock_gettime.
61830         * benchtests/bench-timing.h: New file.
61832         [BZ #14582]
61833         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
61834         Renamed from _LIB_VERSION.
61835         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
61837 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
61839         * math/libm-test.inc (struct test_fff_f_data): New type.
61840         (RUN_TEST_LOOP_fff_f): New macro.
61841         (fma_test_data): New variable.
61842         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
61843         (fma_towardzero_test_data): New variable.
61844         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
61845         (fma_downward_test_data): New variable.
61846         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
61847         (fma_upward_test_data): New variable.
61848         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
61850         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
61851         (struct test_c_c_data): New type.
61852         (RUN_TEST_LOOP_c_c): New macro.
61853         (cacos_test_data): New variable.
61854         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
61855         (cacosh_test_data): New variable.
61856         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
61857         (casin_test_data): New variable.
61858         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
61859         (casinh_test_data): New variable.
61860         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
61861         (catan_test_data): New variable.
61862         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
61863         (catanh_test_data): New variable.
61864         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
61865         (ccos_test_data): New variable.
61866         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
61867         (ccosh_test_data): New variable.
61868         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
61869         (cexp_test_data): New variable.
61870         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
61871         (clog_test_data): New variable.
61872         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
61873         (clog10_test_data): New variable.
61874         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
61875         (conj_test_data): New variable.
61876         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
61877         (cproj_test_data): New variable.
61878         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
61879         (csin_test_data): New variable.
61880         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
61881         (csinh_test_data): New variable.
61882         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
61883         (csqrt_test_data): New variable.
61884         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
61885         (ctan_test_data): New variable.
61886         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
61887         (ctan_tonearest_test_data): New variable.
61888         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61889         (ctan_towardzero_test_data): New variable.
61890         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61891         (ctan_downward_test_data): New variable.
61892         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61893         (ctan_upward_test_data): New variable.
61894         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61895         (ctanh_test_data): New variable.
61896         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
61897         (ctanh_tonearest_test_data): New variable.
61898         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
61899         (ctanh_towardzero_test_data): New variable.
61900         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
61901         (ctanh_downward_test_data): New variable.
61902         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
61903         (ctanh_upward_test_data): New variable.
61904         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
61905         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
61906         of BUILD_COMPLEX.
61908         * math/libm-test.inc (struct test_ff_f_data): New type.
61909         (struct test_ff_f_data_nexttoward): Likewise.
61910         (RUN_TEST_LOOP_2_f): New macro.
61911         (RUN_TEST_LOOP_ff_f): Likewise.
61912         (atan2_test_data): New variable.
61913         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
61914         (copysign_test_data): New variable.
61915         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
61916         (fdim_test_data): New variable.
61917         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
61918         (fmax_test_data): New variable.
61919         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
61920         (fmin_test_data): New variable.
61921         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
61922         (fmod_test_data): New variable.
61923         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
61924         (hypot_test_data): New variable.
61925         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
61926         (nextafter_test_data): New variable.
61927         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
61928         (nexttoward_test_data): New variable.
61929         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
61930         (pow_test_data): New variable.
61931         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
61932         (pow_tonearest_test_data): New variable.
61933         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
61934         (pow_towardzero_test_data): New variable.
61935         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
61936         (pow_downward_test_data): New variable.
61937         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
61938         (pow_upward_test_data): New variable.
61939         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
61940         (remainder_test_data): New variable.
61941         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
61942         (scalb_test_data): New variable.
61943         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
61944         * sysdeps/i386/fpu/libm-test-ulps: Update.
61946 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
61948         * math/libm-test.inc (fma_test): Use max_value instead of local
61949         variable fltmax.
61950         (nextafter_test): Likewise.
61952         * math/libm-test.inc (acos_towardzero_test_data): New variable.
61953         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61954         (acos_downward_test_data): New variable.
61955         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61956         (acos_upward_test_data): New variable.
61957         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61958         (acosh_test_data): New variable.
61959         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
61960         (asin_test_data): New variable.
61961         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
61962         (asin_tonearest_test_data): New variable.
61963         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61964         (asin_towardzero_test_data): New variable.
61965         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61966         (asin_downward_test_data): New variable.
61967         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61968         (asin_upward_test_data): New variable.
61969         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61970         (asinh_test_data): New variable.
61971         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
61972         (atan_test_data): New variable.
61973         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
61974         (atanh_test_data): New variable.
61975         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
61976         (cbrt_test_data): New variable.
61977         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
61978         (ceil_test_data): New variable.
61979         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
61980         (cos_test_data): New variable.
61981         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
61982         (cos_tonearest_test_data): New variable.
61983         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61984         (cos_towardzero_test_data): New variable.
61985         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61986         (cos_downward_test_data): New variable.
61987         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61988         (cos_upward_test_data): New variable.
61989         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
61990         (cosh_test_data): New variable.
61991         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
61992         (cosh_tonearest_test_data): New variable.
61993         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
61994         (cosh_towardzero_test_data): New variable.
61995         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
61996         (cosh_downward_test_data): New variable.
61997         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
61998         (cosh_upward_test_data): New variable.
61999         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62000         (erf_test_data): New variable.
62001         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
62002         (erfc_test_data): New variable.
62003         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
62004         (exp_test_data): New variable.
62005         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
62006         (exp_tonearest_test_data): New variable.
62007         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62008         (exp_towardzero_test_data): New variable.
62009         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62010         (exp_downward_test_data): New variable.
62011         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62012         (exp_upward_test_data): New variable.
62013         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62014         (exp10_test_data): New variable.
62015         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
62016         (exp2_test_data): New variable.
62017         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
62018         (expm1_test_data): New variable.
62019         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
62020         (fabs_test_data): New variable.
62021         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
62022         (floor_test_data): New variable.
62023         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
62024         (j0_test_data): New variable.
62025         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
62026         (j1_test_data): New variable.
62027         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
62028         (log_test_data): New variable.
62029         (log_test): Run tests with RUN_TEST_LOOP_f_f.
62030         (log10_test_data): New variable.
62031         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
62032         (log1p_test_data): New variable.
62033         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
62034         (log2_test_data): New variable.
62035         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
62036         (logb_test_data): New variable.
62037         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
62038         (logb_downward_test_data): New variable.
62039         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62040         (nearbyint_test_data): New variable.
62041         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
62042         (rint_test_data): New variable.
62043         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
62044         (rint_tonearest_test_data): New variable.
62045         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62046         (rint_towardzero_test_data): New variable.
62047         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62048         (rint_downward_test_data): New variable.
62049         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62050         (rint_upward_test_data): New variable.
62051         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62052         (round_test_data): New variable.
62053         (round_test): Run tests with RUN_TEST_LOOP_f_f.
62054         (sin_test_data): New variable.
62055         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
62056         (sin_tonearest_test_data): New variable.
62057         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62058         (sin_towardzero_test_data): New variable.
62059         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62060         (sin_downward_test_data): New variable.
62061         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62062         (sin_upward_test_data): New variable.
62063         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62064         (sinh_test_data): New variable.
62065         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
62066         (sinh_tonearest_test_data): New variable.
62067         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62068         (sinh_towardzero_test_data): New variable.
62069         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62070         (sinh_downward_test_data): New variable.
62071         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62072         (sinh_upward_test_data): New variable.
62073         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62074         (sqrt_test_data): New variable.
62075         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
62076         (tan_test_data): New variable.
62077         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
62078         (tan_tonearest_test_data): New variable.
62079         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62080         (tan_towardzero_test_data): New variable.
62081         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
62082         (tan_downward_test_data): New variable.
62083         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
62084         (tan_upward_test_data): New variable.
62085         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
62086         (tanh_test_data): New variable.
62087         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
62088         (tgamma_test_data): New variable.
62089         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
62090         (trunc_test_data): New variable.
62091         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
62092         (y0_test_data): New variable.
62093         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
62094         (y1_test_data): New variable.
62095         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
62096         (significand_test_data): New variable.
62097         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
62099 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
62101         [BZ #12387]
62102         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
62104 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
62106         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
62108 2013-05-10  Andreas Jaeger  <aj@suse.de>
62110         [BZ #15448]
62111         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
62112         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
62114 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62116         * math/gen-libm-test.pl (adjust_arg): New function.
62117         (special_functions): Handle generating output in both functions
62118         and arrays.
62119         (parse_args): Likewise.
62120         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
62121         $in_func argument to parse_args.
62122         * math/libm-test.inc (struct test_f_f_data): New type.
62123         (IF_ROUND_INIT_): New macro.
62124         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
62125         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62126         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62127         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62128         (ROUND_RESTORE_): Likewise.
62129         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
62130         (ROUND_RESTORE_FE_TONEAREST): Likewise.
62131         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
62132         (ROUND_RESTORE_FE_UPWARD): Likewise.
62133         (RUN_TEST_LOOP_f_f): New macro.
62134         (acos_test_data): New variable.
62135         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
62136         (acos_tonearest_test_data): New variable.
62137         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
62139 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62141         * benchtests/bench-skeleton.c (startup): Fix coding style.
62143 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
62145         [BZ #6809]
62146         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
62147         negative infinity argument.
62148         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
62149         negative infinity argument.
62150         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
62151         negative infinity argument.
62152         * math/libm-test.inc (tgamma_test): Expect errno to be set for
62153         domain errors.
62155 2013-05-10  Florian Weimer  <fweimer@redhat.com>
62157         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
62158         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
62159         * iconv/iconv_prog.c (main): Likewise.
62160         * locale/programs/charmap-dir.c (charmap_readdir)
62161         (fopen_uncompressed): Likewise.
62162         * locale/programs/locfile.c (siblings_uncached)
62163         (write_locale_data): Use lstat64 instead of lstat.
62164         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
62165         stat.
62167 2013-05-10  Andreas Jaeger  <aj@suse.de>
62169         [BZ #15395]
62170         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
62171         localization.
62172         Include <locale.h>.
62174 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
62176         * elf/dl-close.c (_dl_close_worker): Add comments.
62178 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
62180         [BZ #15359]
62181         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
62182         high part of pi/2.
62183         (__ieee754_rem_pio2l): Update comments.
62185         [BZ #15429]
62186         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
62187         high part of pi/2.
62188         (__ieee754_rem_pio2l): Update comments.
62190         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
62191         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
62193         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
62194         M_PI_4l.
62196         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
62197         (M_PI_34_LOG10El): Likewise.
62198         (M_PI2_LOG10El): Likewise.
62199         (M_PI4_LOG10El): Likewise.
62200         (M_PI_LOG10El): Likewise.
62202 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62206 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
62208         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
62209         (MINUS_ZERO_INIT): Likewise.
62210         (PLUS_INFTY_INIT): Likewise.
62211         (MINUS_INFTY_INIT): Likewise.
62212         (QNAN_VALUE_INIT): Likewise.
62213         (MAX_VALUE_INIT): Likewise.
62214         (MIN_VALUE_INIT): Likewise.
62215         (MIN_SUBNORM_VALUE_INIT): Likewise.
62216         (plus_zero): Initialize with PLUS_ZERO_INIT.
62217         (minus_zero): Initialize with MINUS_ZERO_INIT.
62218         (plus_infty): Initialize with PLUS_INFTY_INIT.
62219         (minus_infty): Initialize with MINUS_INFTY_INIT.
62220         (qnan_value): Initialize with QNAN_VALUE_INIT.
62221         (max_value): Initialize with MAX_VALUE_INIT.
62222         (min_value): Initialize with MIN_VALUE_INIT.
62223         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
62225         * math/libm-test.inc (RUN_TEST_if_f): New macro.
62226         (jn_test): Use TEST_if_f instead of TEST_ff_f.
62227         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
62228         (yn_test): Use TEST_if_f instead of TEST_ff_f.
62230         * math/libm-test.inc (RUN_TEST_f_f): New macro.
62231         (RUN_TEST_2_f): Likewise.
62232         (RUN_TEST_ff_f): Likewise.
62233         (RUN_TEST_fi_f): Likewise.
62234         (RUN_TEST_fl_f): Likewise.
62235         (RUN_TEST_fff_f): Likewise.
62236         (RUN_TEST_c_f): Likewise.
62237         (RUN_TEST_f_f1): Likewise.
62238         (RUN_TEST_fF_f1): Likewise.
62239         (RUN_TEST_fI_f1): Likewise.
62240         (RUN_TEST_ffI_f1): Likewise.
62241         (RUN_TEST_c_c): Likewise.
62242         (RUN_TEST_cc_c): Likewise.
62243         (RUN_TEST_f_i): Likewise.
62244         (RUN_TEST_f_i_tg): Likewise.
62245         (RUN_TEST_ff_i_tg): Likewise.
62246         (RUN_TEST_f_b): Likewise.
62247         (RUN_TEST_f_b_tg): Likewise.
62248         (RUN_TEST_f_l): Likewise.
62249         (RUN_TEST_f_L): Likewise.
62250         (RUN_TEST_sincos): Likewise.
62251         * math/gen-libm-test.pl (new_test): Take new argument to indicate
62252         whether to show exceptions.  Do not include ");\n" in return
62253         value.
62254         (special_functions): Output call to RUN_TEST_sincos instead of
62255         check_float calls.  Update calls to new_test.
62256         (parse_args): Output call to single RUN_TEST_* macro instead of
62257         check_* calls and other assignments.  Update calls to new_test.
62259         [BZ #2546]
62260         [BZ #2560]
62261         [BZ #5159]
62262         [BZ #15426]
62263         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
62264         input to result for tgamma overflow.
62265         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
62266         (gamma_coeff): New variable.
62267         (NCOEFF): New macro.
62268         (gamma_positive): New function.
62269         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
62270         underflow here.  Use gamma_positive instead of exp (lgamma) for
62271         other arguments.
62272         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
62273         (gamma_coeff): New variable.
62274         (NCOEFF): New macro.
62275         (gammaf_positive): New function.
62276         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
62277         underflow here.  Use gamma_positive instead of exp (lgamma) for
62278         other arguments.
62279         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
62280         (gamma_coeff): New variable.
62281         (NCOEFF): New macro.
62282         (gammal_positive): New function.
62283         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
62284         underflow here.  Use gamma_positive instead of exp (lgamma) for
62285         other arguments.
62286         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
62287         (gamma_coeff): New variable.
62288         (NCOEFF): New macro.
62289         (gammal_positive): New function.
62290         (__ieee754_gammal_r): Handle positive infinity, overflow and
62291         underflow here.  Handle NaN the same as positive infinity.  Remove
62292         check x < 0xffffffff for negative integers.  Use gamma_positive
62293         instead of exp (lgamma) for other arguments.
62294         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
62295         (gamma_coeff): New variable.
62296         (NCOEFF): New macro.
62297         (gammal_positive): New function.
62298         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
62299         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
62300         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
62301         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
62302         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
62303         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
62304         * sysdeps/generic/math_private.h (__gamma_productf): New
62305         prototype.
62306         (__gamma_product): Likewise.
62307         (__gamma_productl): Likewise.
62308         * math/Makefile (libm-calls): Add gamma_product.
62309         * math/libm-test.inc (tgamma_test): Add more tests.
62310         * sysdeps/i386/fpu/libm-test-ulps: Update.
62311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62313 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
62315         * benchtests/bench-skeleton.c (main): Preheat CPU.
62317 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
62319         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
62321 2013-05-07  Roland McGrath  <roland@hack.frob.com>
62323         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
62324         and _dl_skip_args_internal.
62326 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
62328         * manual/message.texi (Message Translation): Talk about users.
62329         Message to key mapping impacts design.
62331 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62333         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
62335         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
62337         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
62338         * sysdeps/wordsize-64/glob64.c: ... here.
62340         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
62341         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
62342         New macros.
62344         * debug/getlogin_r_chk.c: Moved to ...
62345         * login/getlogin_r_chk.c: ... here.
62346         * debug/Makefile (routines): Move getlogin_r_chk to ...
62347         * login/Makefile (routines): ... here.
62348         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
62349         * login/Versions (libc: GLIBC_2.4): ... here.
62351         * io/poll.c (__poll): Renamed from poll.
62352         Add libc_hidden_def.
62353         (poll): Define as weak alias.
62355         * debug/ptsname_r_chk.c: Moved to ...
62356         * login/ptsname_r_chk.c: ... here.
62357         * debug/Makefile (routines): Move ptsname_r_chk to ...
62358         * login/Makefile (routines): ... here.
62359         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
62360         * login/Versions (libc: GLIBC_2.4): ... here.
62362         * posix/getlogin.c: Moved to ...
62363         * login/getlogin.c: ... here.
62364         * posix/getlogin_r.c: Moved to ...
62365         * login/getlogin_r.c: ... here.
62366         * posix/getlogin_r.c: Moved to ...
62367         * login/getlogin_r.c: ... here.
62368         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
62369         * login/Makefile (routines): ... here.
62370         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
62371         * login/Versions (libc: GLIBC_2.0): ... here.
62373         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
62374         (setrlimit): Define as weak alias.
62376         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
62377         Call __ names for open, ftruncate, and close.
62378         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
62379         (truncate): Define as weak alias.
62381 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
62383         * math/gen-libm-test.pl (parse_args): Initialize x before each
62384         test of frexp, modf and remquo.
62386         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
62387         test signgam value.
62389 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62391         [BZ #15418]
62392         [BZ #15419]
62393         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
62394         internal tests.
62395         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62397 2013-05-06  Roland McGrath  <roland@hack.frob.com>
62399         * elf/dl-writev.h: New file.
62400         * elf/dl-misc.c: Include it.
62401         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
62402         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
62404 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
62406         * math/libm-test.inc (noXFails): Remove variable.
62407         (noXPasses): Likewise.
62408         (BUILD_COMPLEX_INT): Remove macro.
62409         (print_screen): Remove xfail argument.
62410         (print_screen_max_error): Likewise.
62411         (update_stats): Likewise.
62412         (print_max_error): Likewise.  Update calls to other affected
62413         functions.
62414         (print_complex_max_error): Likewise.
62415         (test_single_exception): Update calls to print_screen.
62416         (test_single_errno): Likewise.
62417         (check_float_internal): Remove xfail argument.  Update calls to
62418         other affected functions.
62419         (check_float): Likewise.
62420         (check_complex): Likewise.
62421         (check_int): Likewise.
62422         (check_long): Likewise.
62423         (check_bool): Likewise.
62424         (check_longlong): Likewise.
62425         (main): Don't print noXFails and noXPasses.
62426         * math/gen-libm-test.pl (top level): Don't mention expected
62427         failure handling in comment.
62428         (new_test): Don't handle expected failures.
62429         (parse_args): Don't mention expected failure handling in comment.
62430         (generate_testfile): Don't handle expected failures.
62431         (parse_ulps): Likewise.
62432         (print_ulps_file): Likewise.
62433         (get_failure): Remove function.
62434         (output_test): Don't handle expected failures.
62435         * make/README.libm-test: Don't mention expected failure handling.
62437         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
62438         (minus_zero): Likewise.
62439         (plus_infty): Likewise.
62440         (minus_infty): Likewise.
62441         (qnan_value): Likewise.
62442         (max_value): Likewise.
62443         (min_value): Likewise.
62444         (min_subnorm_value): Likewise.
62445         (initialize): Do not initialize those variables dynamically.
62447 2013-05-03  Roland McGrath  <roland@hack.frob.com>
62449         * io/open.c (__open_2): Moved to ...
62450         * io/open_2.c: ... this new file.
62451         * io/open64.c (__open64_2): Moved to ...
62452         * io/open64_2.c: ... this new file.
62453         * io/openat.c (__openat_2): Moved to ...
62454         * io/openat_2.c: ... this new file.
62455         * io/openat64.c (__openat64_2): Moved to ...
62456         * io/openat64_2.c: ... this new file.
62457         * io/Makefile (routines): Add them.
62458         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
62459         * sysdeps/unix/sysv/linux/open_2.c: File removed.
62460         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
62461         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
62462         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
62463         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
62464         (__openat64): Add hidden_ver.
62465         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
62466         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
62468         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
62469         Separately conditionalize setting of GLRO(dl_sysinfo) so
62470         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
62471         as well, but the actual setting is only under [NEED_DL_SYSINFO].
62473 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62475         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
62476         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
62477         definition.
62478         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
62479         * sysdeps/unix/sysv/linux/powerpc/init-first.c
62480         (_libc_vdso_platform_setup): Add __vdso_time initialization.
62481         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
62482         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
62484 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
62486         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
62487         test signgam value.
62489         * math/libm-test.inc (hypot_test): Do not use
62490         IGNORE_ZERO_INF_SIGN.
62492 2013-05-03  Andreas Jaeger  <aj@suse.de>
62494         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
62495         Linux 3.9.
62496         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
62497         (PF_MAX): Adjust for VSOCK change.
62499 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62503 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
62505         [BZ #15264]
62506         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
62507         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
62508         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
62510 2013-05-02  David S. Miller  <davem@davemloft.net>
62512         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62514 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
62516         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
62518 2013-05-01  Roland McGrath  <roland@hack.frob.com>
62520         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
62522 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
62524         [BZ #14952]
62525         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
62526         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62527         Use __attribute__ ((__gnu_inline__)).
62528         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
62529         Don't use __attribute__ ((__gnu_inline__)).
62531 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
62533         [BZ #15423]
62534         * math/s_catan.c (__catan): Handle small real or imaginary part of
62535         input specially to avoid spurious underflow.
62536         * math/s_catanf.c (__catanf): Likewise.
62537         * math/s_catanh.c (__catanh): Likewise.
62538         * math/s_catanhf.c (__catanhf): Likewise.
62539         * math/s_catanhl.c (__catanhl): Likewise.
62540         * math/s_catanl.c (__catanl): Likewise.
62541         * math/libm-test.inc (catan_test): Add more tests.
62542         (catanh_test): Likewise.
62543         * sysdeps/i386/fpu/libm-test-ulps: Update.
62544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62546 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62548         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62550 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
62552         [BZ #15416]
62553         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
62554         accurately for denominator in atan2.
62555         * math/s_catanf.c (__catanf): Likewise.
62556         * math/s_catanh.c (__catanh): Likewise.
62557         * math/s_catanhf.c (__catanhf): Likewise.
62558         * math/s_catanhl.c (__catanhl): Likewise.
62559         * math/s_catanl.c (__catanl): Likewise.
62560         * math/libm-test.inc (catan_test): Add more tests.
62561         (catanh_test): Likewise.
62562         * sysdeps/i386/fpu/libm-test-ulps: Update.
62563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62565 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62567         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
62569         * benchtests/Makefile (bench): Remove slow benchmarks.
62570         * benchtests/atan-inputs: Add slow benchmark inputs.
62571         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
62572         (BENCH_FUNC): Accept variant offset.
62573         (VARIANT): Define.
62574         * benchtests/bench-skeleton.c (main): Run benchmark for each
62575         variant.
62576         * benchtests/cos-inputs: Add slow benchmark inputs.
62577         * benchtests/exp-inputs: Likewise.
62578         * benchtests/pow-inputs: Likewise.
62579         * benchtests/sin-inputs: Likewise.
62580         * benchtests/slowatan-inputs: Remove.
62581         * benchtests/slowatan.c: Remove.
62582         * benchtests/slowcos-inputs: Remove.
62583         * benchtests/slowcos.c: Remove.
62584         * benchtests/slowexp-inputs: Remove.
62585         * benchtests/slowexp.c: Remove.
62586         * benchtests/slowpow-inputs: Remove.
62587         * benchtests/slowpow.c: Remove.
62588         * benchtests/slowsin-inputs: Remove.
62589         * benchtests/slowsin.c: Remove.
62590         * benchtests/slowtan-inputs: Remove.
62591         * benchtests/slowtan.c: Remove.
62592         * benchtests/tan-inputs: Add slow benchmark inputs.
62593         * scripts/bench.pl: Parse comments and directives.
62595         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
62596         in CPPFLAGS.
62597         ($(objpfx)bench-%.c): Remove *-ITER.
62598         * benchtests/bench-modf.c: Remove definition of ITER.
62599         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
62600         (main): Loop for DURATION seconds instead of fixed number of
62601         iterations.
62602         * scripts/bench.pl: Don't expect iterations in parameters.
62604 2013-04-29  Roland McGrath  <roland@hack.frob.com>
62606         * io/fchdir.c (__fchdir): Renamed from fchdir.
62607         (fchdir): Define as weak alias.
62609 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62611         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
62612         (ERRNO_EDOM): Likewise.
62613         (ERRNO_ERANGE): Likewise.
62614         (noErrnoTests): New variable.
62615         (init_max_error): Set errno to 0.
62616         (test_single_errno): New function.
62617         (test_errno): Likewise.
62618         (check_float_internal): Call test_errno.  Set errno to 0.
62619         (check_complex): Refer to errno tests in comment.
62620         (check_int): Call test_errno.  Set errno to 0.
62621         (check_long): Likewise.
62622         (check_bool): Likewise.
62623         (check_longlong): Likewise.
62624         (cos_test): Use ERRNO_* flags for errno tests instead of
62625         check_int.
62626         (expm1_test): Likewise.
62627         (fmod_test): Likewise.
62628         (ilogb_test): Likewise.
62629         (lgamma_test): Likewise.
62630         (pow_test): Likewise.
62631         (remainder_test): Likewise.
62632         (sin_test): Likewise.
62633         (tan_test): Likewise.
62634         (yn_test): Likewise.
62635         (initialize): Set errno to 0.
62636         (main): Print number of errno tests.
62637         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
62639 2013-04-29  Andreas Jaeger  <aj@suse.de>
62641         [BZ #15084]
62642         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
62643         and RES_USEVC.
62645         [BZ #15085]
62646         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
62647         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
62648         unimplemented.
62650         [BZ #15380]
62651         * stdlib/random.c (__initstate): Return NULL if
62652         __initstate fails.
62654         [BZ #15086]
62655         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
62656         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
62657         RES_SNGLKUPREOP.
62659 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62663 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
62665         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
62666         of individual tests.
62667         (casin_test): Likewise.
62668         (casinh_test): Likewise.
62670 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
62672         [BZ #15409]
62673         * math/s_catan.c (__catan): Handle arguments with large real or
62674         imaginary part separately without squaring.
62675         * math/s_catanf.c (__catanf): Likewise.
62676         * math/s_catanh.c (__catanh): Likewise.
62677         * math/s_catanhf.c (__catanhf): Likewise.
62678         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62679         and redefine.
62680         (__catanhl): Handle arguments with large real or imaginary part
62681         separately without squaring.
62682         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
62683         and redefine.
62684         (__catanl): Handle arguments with large real or imaginary part
62685         separately without squaring.
62686         * math/libm-test.inc (catan_test): Add more tests.
62687         (catanh_test): Likewise.
62688         * sysdeps/i386/fpu/libm-test-ulps: Update.
62689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62691 2013-04-27  Andreas Jaeger  <aj@suse.de>
62693         [BZ #15007]
62694         * stdlib/stdlib.h: Update guards for qecvt.
62695         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
62696         <stdlib.h>.
62698 2013-04-27  Allan McRae  <allan@archlinux.org>
62700         * sysdeps/i386/fpu/libm-test-ulps: Update.
62702 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
62704         [BZ #15406]
62705         * math/s_catan.c: Include <float.h>.
62706         (__catan): Ensure underflow exception occurs for underflowed
62707         result.
62708         * math/s_catanf.c: Include <float.h>.
62709         (__catanf): Ensure underflow exception occurs for underflowed
62710         result.
62711         * math/s_catanh.c: Include <float.h>.
62712         (__catanh): Ensure underflow exception occurs for underflowed
62713         result.
62714         * math/s_catanhf.c: Include <float.h>.
62715         (__catanhf): Ensure underflow exception occurs for underflowed
62716         result.
62717         * math/s_catanhl.c: Include <float.h>.
62718         (__catanhl): Ensure underflow exception occurs for underflowed
62719         result.
62720         * math/s_catanl.c: Include <float.h>.
62721         (__catanl): Ensure underflow exception occurs for underflowed
62722         result.
62723         * math/libm-test.inc (catan_test): Add more tests.
62724         (catanh_test): Likewise.
62726         [BZ #15405]
62727         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
62728         underflowed result.
62729         * math/s_ccoshf.c (__ccoshf): Likewise.
62730         * math/s_ccoshl.c (__ccoshl): Likewise.
62731         * math/s_csin.c (__csin): Likewise.
62732         * math/s_csinf.c (__csinf): Likewise.
62733         * math/s_csinh.c (__csinh): Likewise.
62734         * math/s_csinhf.c (__csinhf): Likewise.
62735         * math/s_csinhl.c (__csinhl): Likewise.
62736         * math/s_csinl.c (__csinl): Likewise.
62737         * math/libm-test.inc (ccos_test): Add more tests.
62738         (ccosh_test): Likewise.
62739         (csin_test): Likewise.
62740         (csinh_test): Likewise.
62742 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62744         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
62745         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
62746         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
62747         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
62748         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
62749         powerpc/power5+/fpu folders.
62750         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
62753 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62755         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62757 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
62759         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
62760         additions to variable.
62761         [$(config-machine) = x86_64] (modules-names): Likewise.
62762         ($(objpfx)tst-audit3): Remove dependency.
62763         ($(objpfx)tst-audit3.out): Likewise.
62764         ($(objpfx)tst-audit4): Likewise.
62765         ($(objpfx)tst-audit4.out): Likewise.
62766         ($(objpfx)tst-audit5): Likewise.
62767         ($(objpfx)tst-audit5.out): Likewise.
62768         ($(objpfx)tst-audit6): Likewise.
62769         ($(objpfx)tst-audit6.out): Likewise.
62770         ($(objpfx)tst-audit7): Likewise.
62771         ($(objpfx)tst-audit7.out): Likewise.
62772         (tst-audit3-ENV): Remove variable.
62773         (tst-audit4-ENV): Likewise.
62774         (tst-audit5-ENV): Likewise.
62775         (tst-audit6-ENV): Likewise.
62776         (tst-audit7-ENV): Likewise.
62777         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
62778         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
62779         addition to variable.
62780         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
62781         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
62782         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
62783         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
62784         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
62785         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
62786         tst-audit3, tst-audit4 and tst-audit5.
62787         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
62788         tst-audit6 and tst-audit7.
62789         [$(subdir) = elf] (modules-names): Add audit modules for those
62790         tests.
62791         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
62792         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
62793         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
62794         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
62795         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
62796         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
62797         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
62798         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
62799         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
62800         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
62801         [$(subdir) = elf] (tst-audit3-ENV): New variable.
62802         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
62803         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
62804         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
62805         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
62806         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
62807         Likewise.
62808         [$(subdir) = elf && $(config-cflags-avx) = yes]
62809         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
62810         [$(subdir) = elf && $(config-cflags-avx) = yes]
62811         (CFLAGS-tst-auditmod4a.c): Likewise.
62812         [$(subdir) = elf && $(config-cflags-avx) = yes]
62813         (CFLAGS-tst-auditmod4b.c): Likewise.
62814         [$(subdir) = elf && $(config-cflags-avx) = yes]
62815         (CFLAGS-tst-auditmod6b.c): Likewise.
62816         [$(subdir) = elf && $(config-cflags-avx) = yes]
62817         (CFLAGS-tst-auditmod6c.c): Likewise.
62818         [$(subdir) = elf && $(config-cflags-avx) = yes]
62819         (CFLAGS-tst-auditmod7b.c): Likewise.
62820         * elf/tst-audit3.c: Move to ...
62821         * sysdeps/x86_64/tst-audit3.c: ... here.
62822         * elf/tst-audit4.c: Move to ...
62823         * sysdeps/x86_64/tst-audit4.c: ... here.
62824         * elf/tst-audit5.c: Move to ...
62825         * sysdeps/x86_64/tst-audit5.c: ... here.
62826         * elf/tst-audit6.c: Move to ...
62827         * sysdeps/x86_64/tst-audit6.c: ... here.
62828         * elf/tst-audit7.c: Move to ...
62829         * sysdeps/x86_64/tst-audit7.c: ... here.
62830         * elf/tst-auditmod3a.c: Move to ...
62831         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
62832         * elf/tst-auditmod3b.c: Move to ...
62833         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
62834         * elf/tst-auditmod4a.c: Move to ...
62835         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
62836         * elf/tst-auditmod4b.c: Move to ...
62837         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
62838         * elf/tst-auditmod5a.c: Move to ...
62839         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
62840         * elf/tst-auditmod5b.c: Move to ...
62841         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
62842         * elf/tst-auditmod6a.c: Move to ...
62843         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
62844         * elf/tst-auditmod6b.c: Move to ...
62845         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
62846         * elf/tst-auditmod6c.c: Move to ...
62847         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
62848         * elf/tst-auditmod7a.c: Move to ...
62849         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
62850         * elf/tst-auditmod7b.c: Move to ...
62851         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
62853 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
62855         [BZ #15366]
62856         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
62857         define unconditionally.
62858         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
62859         define unconditionally.
62860         (INT8_C, INT16_C, etc.): Likewise.
62862 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
62864         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
62865         __ehdr_start with hidden visibility.
62867         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
62869 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
62871         * math/libm-test.inc (cos_test): Use accurate hex constants.
62872         (sincost_test): Likewise.
62874 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
62876         * math/libm-test.inc (catan_test): Add more tests.
62877         (catanh_test): Likewise.
62879         * math/s_catanf.c (__catanf): Use suffixed floating-point
62880         constants.
62881         * math/s_catanhf.c (__catanhf): Likewise.
62882         * math/s_catanhl.c (__catanhl): Likewise.
62883         * math/s_catanl.c (__catanl): Likewise.
62885         [BZ #15394]
62886         * math/s_catan.c (__catan): Calculate imaginary part of result
62887         with log1p not log unless computing log of number close to 0.
62888         * math/s_catanf.c (__catanf): Likewise.
62889         * math/s_catanl.c (__catanl): Likewise.
62890         * math/s_catanh.c (__catanh): Calculate real part of result with
62891         log1p not log unless computing log of number close to 0.
62892         * math/s_catanhf.c (__catanhf): Likewise.
62893         * math/s_catanhl.c (__catanhl): Likewise.
62894         * math/libm-test.inc (catan_test): Add more tests.
62895         (catanh_test): Likewise.
62896         * sysdeps/i386/fpu/libm-test-ulps: Update.
62897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62899 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
62901         * benchtests/Makefile: Mention files in which fast and slow
62902         paths of math functions are implemented.
62904 2013-04-23  Roland McGrath  <roland@hack.frob.com>
62906         * sysdeps/posix/timespec_get.c: New file.
62908 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62910         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
62911         POWER.
62912         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
62913         for POWER.
62914         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
62915         powerpc/power5/fpu folders.
62916         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
62917         * benchtests/Makefile: Add modf testcase.
62918         * benchtests/bench-modf.c: New file: Benchmark test for mo
62920 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62922         [BZ #14888]
62923         * time/Makefile (tests): Add tst-strptime-whitespace.
62924         * time/strptime_l.c (get_number): Use ISSPACE.
62925         (__strptime_internal): Likewise.
62926         * time/tst-strptime-whitespace.c: New test case.
62928 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
62930         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
62931         member.
62932         (_nss_files_init): Set it here.
62934 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
62936         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
62937         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
62938         unsigned.
62940 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
62942         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
62944 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62946         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
62947         size just once.
62949 2013-04-21  David S. Miller  <davem@davemloft.net>
62951         * po/ru.po: Update Russion translation from translation project.
62953 2013-04-17  Adam Conrad  <adconrad@0c3.net>
62955         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
62956         and setfsgid.
62958 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
62960         * configure.in: Remove i386 configure warning. Remove i386 case.
62961         * configure: Regenerate.
62962         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
62963         Add example to error message.
62964         * sysdeps/i386/configure: Regenerate.
62966 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
62968         * benchtests/Makefile (bench): Add cos, tan, slowcos and
62969         slowtan.
62970         * benchtests/cos-inputs: New file.
62971         * benchtests/slowcos-inputs: New file.
62972         * benchtests/slowcos.c: New file.
62973         * benchtests/slowtan-inputs: New file.
62974         * benchtests/slowtan.c: New file.
62975         * benchtests/tan-inputs: New file.
62977 2013-04-16  Roland McGrath  <roland@hack.frob.com>
62979         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
62980         considered kosher.
62982 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62984         * benchtests/Makefile: Include cppflags-iterator.mk to add
62985         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
62987         * Makefile.in (bench-clean): New target.
62988         * benchtests/Makefile (bench-clean): Likewise.
62990 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
62992         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
62994 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
62996         * stdio-common/tstdiomisc.c: Fix coding-style violation.
62998 2013-04-15  Andreas Schwab  <schwab@suse.de>
63000         * nscd/grpcache.c (cache_addgr): Properly check for short write.
63001         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63002         * nscd/pwdcache.c (cache_addpw): Likewise.
63003         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
63004         more than recsize.
63006 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63008         * benchtests/Makefile (bench): Write all output to
63009         bench-out.tmp together.
63011 2013-04-15  Andreas Schwab  <schwab@suse.de>
63013         * nscd/nscd.c (main): Don't fork again after closing files.
63015 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63017         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
63019         * benchtests/Rules (bench-deps): Collect dependencies into a
63020         single variable.  Add Makefile to dependencies.
63021         ($(objpfx)bench-%.c): Depend on bench-deps.
63023 2013-04-12  Roland McGrath  <roland@hack.frob.com>
63024             Xavier Roche  <roche+kml2@exalead.com>
63026         [BZ #15361]
63027         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
63028         just that it's a file descriptor.
63029         * manual/llio.texi (Synchronizing AIO Operations): Update description
63030         for EBADF error from aio_fsync.
63032 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
63034         * Rules (bench): Move target definition...
63035         * benchtests/Makefile: ... here.
63037 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
63039         * math/libm-test.inc (cos_test): Fix PI/2 test.
63040         (sincos_test): Likewise.
63041         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
63042         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
63044 2013-04-11  Andreas Schwab  <schwab@suse.de>
63046         [BZ #13988]
63047         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
63048         accept exponent character only when digits were seen.
63049         * stdio-common/Makefile (tests): Add bug26.
63050         * stdio-common/bug26.c: New file.
63052         [BZ #14293]
63053         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
63054         non-freeable.
63056 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63058         * Makeconfig (rtld-prefix): Define built linker prefix.
63059         * Rules (run-bench): Use it.
63060         * math/Makefile (run-regen-ulps): Likewise.
63062         * Rules (bench): Remove eval.
63064 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
63065             Roland McGrath  <roland@hack.frob.com>
63066             Ondrej Bilka  <neleai@seznam.cz>
63068         [BZ #15346]
63069         * time/getdate.c: Include ctype.h and alloca.h.
63070         (__getdate_r): Trim leading and trailing spaces of input.
63071         * time/tst-getdate.c (tests): Add tests with leading and
63072         trailing spaces.
63074 2013-04-08  Roland McGrath  <roland@hack.frob.com>
63076         [BZ #14280]
63077         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
63078         when computing value.
63080 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63082         * math/README.libm-test (How can I generate "libm-test-ulps"?):
63083         Use testrun.sh to run libm tests.
63085         [BZ #15309]
63086         * elf/dl-open.c (dl_open_worker): memset all of seen array.
63088 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
63090         [BZ #15264]
63091         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
63093 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63095         * Makefile.in (regen-ulps): New target.
63096         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
63097         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
63098         [ifneq (no,$(PERL)] (regen-ulps): New target.
63099         [ifeq (no,$(PERL)] (regen-ulps): New target.
63100         * math/libm-test.inc (ulps_file_name): Define.
63101         (output_dir): New variable.
63102         (options): Add "output-dir" option.
63103         (parse_opt): Handle 'o' case.
63104         (main): If output_dir is non-NULL use it as a prefix
63105         otherwise use "".
63106         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
63108 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63110         [BZ #10060, #10062]
63111         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
63112         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
63113         fail configure if __sync_val_compare_and_swap is not inlined.
63114         * sysdeps/i386/configure: Regenerate.
63115         * configure.in: Build for i686 when configured for i386.
63116         * configure: Regenerate.
63117         * README: Remove i386 reference.
63119 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
63121         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
63122         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63124 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
63126         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
63127         (lmsnanval): New variables.
63128         (F): Add conversion tests.
63129         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
63130         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
63132         * stdio-common/tstdiomisc.c (F): Properly collect individual
63133         tests' results.
63135         [BZ #14686, #15336]
63136         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
63137         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
63138         Instead, use input NaN values or generate a qNaN by arithmetic
63139         operation.  Also fix bugs to comply with the standard.
63140         * math/libm-test.inc (remainder_test): Add more tests.
63142         [BZ #15335, #15342]
63143         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
63144         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
63145         input NaN values or generate a qNaN by arithmetic operation.
63147         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
63148         unreachable code.
63150         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
63151         definitions.
63153 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
63155         [BZ #14478]
63156         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
63157         underflowed result.
63158         * math/s_cexpf.c (__cexpf): Likewise.
63159         * math/s_cexpl.c (__cexpl): Likewise.
63160         * math/libm-test.inc (cexp_test): Add more tests.
63162 2013-04-03  Andreas Schwab  <schwab@suse.de>
63164         [BZ #15330]
63165         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
63166         order arrays from heap if bigger than alloca cutoff.
63168 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
63170         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
63171         (SNAN_TESTS_double): Refer to GCC PR56831.
63172         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
63173         GCC PR56828.
63175 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
63177         * Rules (bench): Move bench.out after the run is complete.
63179         * Rules (bench): Echo currently running benchmark.
63181         * benchtests/Makefile (bench): Add atan and slowatan.
63182         * benchtests/atan-inputs: New file.
63183         * benchtests/slowatan-inputs: New file.
63184         * benchtests/slowatan.c: New file.
63186         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
63187         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
63188         its value.
63190         [BZ #15305]
63191         * sysdeps/unix/sysv/linux/kernel-features.h
63192         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
63193         __ASSUME_XFS_RESTRICTED_CHOWN.
63194         * sysdeps/unix/sysv/linux/pathconf.c
63195         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
63196         Save and restore errno.
63198 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
63200         [BZ #15327]
63201         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
63202         arguments using __kernel_casinh.
63203         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
63204         arguments using __kernel_casinhf.
63205         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
63206         arguments using __kernel_casinhl.
63207         * math/libm-test.inc (cacosh_test): Add more tests.
63208         * sysdeps/i386/fpu/libm-test-ulps: Update.
63209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63211 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
63213         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
63214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
63216         * bench/Makefile (bench): Add sin and slowsin.
63217         * benchtests/sin-inputs: New file.
63218         * benchtests/slowsin-inputs: New file.
63219         * benchtests/slowsin.c: New file.
63221         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
63222         (bench): Add slowexp and slowpow.
63223         (exp-ITER): Increase iterations.
63224         (pow-ITER): Likewise.
63225         * benchtests/exp-inputs: Change input.
63226         * benchtests/pow-inputs: Likewise.
63227         * benchtests/slowexp-inputs: New file.
63228         * benchtests/slowexp.c: New file.
63229         * benchtests/slowpow-inputs: New file.
63230         * benchtests/slowpow.c: New file.
63232 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63234         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
63235         instructions.
63236         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
63237         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
63238         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63239         * benchtests/Makefile: Add rint benchtest.
63240         * benchtests/rint-inputs: Input for rint benchtest.
63242 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
63244         * Versions.def (libm): Add GLIBC_2.18.
63245         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
63246         hidden libm prototypes.
63247         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
63248         * math/Makefile (libm-calls): Add s_issignaling.
63249         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
63250         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
63251         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
63252         declaration.
63253         * math/math.h [__USE_GNU] (issignaling): New macro.
63254         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
63255         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
63256         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
63257         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
63258         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
63259         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
63260         * manual/arith.texi (issignaling): New section.
63261         * manual/libm-err-tab.pl (@all_functions): Update comment.
63262         * math/gen-libm-test.pl (parse_args): Apply special handling for
63263         issignaling.
63264         * math/libm-test.inc (print_float, issignaling_test): New
63265         functions.
63266         (check_float_internal): Add issignaling checks.
63267         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
63268         default definition.
63269         * sysdeps/powerpc/math-tests.h: New file.
63270         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
63271         tests.
63272         * math/test-snan.c (TEST_FUNC): Likewise.
63274 2013-03-30  David S. Miller  <davem@davemloft.net>
63276         * po/de.po: Update from translation team.
63278 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
63280         [BZ #10357]
63281         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63282         imaginary part less than 1.0 and real part less than 0.5
63283         specially.
63284         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63285         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63286         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
63287         (cacos_test): Add more tests.
63288         (casin_test): Likewise.
63289         (casinh_test): Likewise.
63290         * sysdeps/i386/fpu/libm-test-ulps: Update.
63291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63293 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
63295         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
63296         ONE with its value.
63298         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
63299         (__pow_mp): Replace ONE and MONE with their values.
63300         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63301         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
63302         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63303         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
63304         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63305         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63307         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
63309         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
63310         (__pow_mp): Replace ZERO and MZERO with their values.
63311         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63312         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63313         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63314         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63315         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63316         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
63317         (__sqr): Likewise.
63319         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
63321         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
63323 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63325         * include/stdlib.h [!SHARED] (__call_tls_dtors):
63326         Declare with __attribute__ ((weak)).
63327         * stdlib/exit.c (__libc_atexit) [!SHARED]:
63328         Call __call_tls_dtors only if it's not NULL.
63330 2013-03-28  Roland McGrath  <roland@hack.frob.com>
63332         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
63333         didn't do it already, then set _dl_phdr and _dl_phnum based on the
63334         magic __ehdr_start linker symbol if it's defined.
63335         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
63336         them up here if it was already done.
63338         * elf/dl-support.c (_dl_phdr): Make pointer to const.
63339         (_dl_aux_init): Use const in cast when setting it.
63340         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
63341         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
63342         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
63344         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
63345         Declare them here.
63346         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
63347         * csu/libc-tls.c: Nor here.
63348         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
63350         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
63351         (__libc_message): Never call vsyslog.
63353 2013-03-28  Alan Modra  <amodra@gmail.com>
63355         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
63356         Define as empty.
63357         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
63358         Likewise.
63360 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63362         [BZ #15214]
63363         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
63364         underflow.
63365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63367 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63369         [BZ #15304]
63370         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
63371         Don't add gid passed as argument.
63373         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
63375 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
63377         [BZ #15307]
63378         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63379         imaginary part between 1.0 and 1.5 and real part less than 0.5
63380         specially.
63381         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63382         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63383         * math/libm-test.inc (cacos_test): Add more tests.
63384         (casin_test): Likewise.
63385         (casinh_test): Likewise.
63386         * sysdeps/i386/fpu/libm-test-ulps: Update.
63387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63389 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63391         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
63392         constants.
63393         (norm): Likewise.
63394         (denorm): Likewise.
63395         (__dbl_mp): Likewise.
63396         (add_magnitudes): Likewise.
63397         (sub_magnitudes): Likewise.
63398         (__add): Likewise.
63399         (__sub): Likewise.
63400         (__mul): Likewise.
63401         (__sqr): Likewise.
63402         (__inv): Likewise.
63403         (__dvd): Likewise.
63405         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
63406         commented code.
63407         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
63408         (__dubcos): Likewise.
63409         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63410         (__ieee754_acos): Likewise.
63411         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
63412         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
63413         (__exp1): Likewise.
63414         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
63415         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63416         (log1): Likewise.
63417         (my_log2): Likewise.
63418         (checkint): Likewise.
63419         * sysdeps/ieee754/dbl-64/e_remainder.c
63420         (__ieee754_remainder): Likewise.
63421         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
63422         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
63423         (bsloww): Likewise.
63424         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63426         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63427         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
63428         MANTISSA_STORE_T to store computations on mantissa.  Use
63429         macros for rounding and division.
63430         (denorm): Likewise.
63431         (__dbl_mp): Likewise.
63432         (add_magnitudes): Likewise.
63433         (sub_magnitudes): Likewise.
63434         (__mul): Likewise.
63435         (__sqr): Likewise.
63436         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63437         powers of two in terms of TWOPOW macro.
63438         (mp_no): Make type of mantissa as MANTISSA_T.
63439         [!RADIXI]: Define RADIXI.
63440         [!TWO52]: Define TWO52.
63441         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63443 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63445         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
63446         llroundl symbol when building for PPC32.
63448 2013-03-24  Mark H Weaver  <mhw@netris.org>
63450         * manual/arith.texi (Normalization Functions): Fix prototypes for
63451         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
63453 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63455         [BZ #13889]
63456         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
63457         high value to check if expl overflow.
63458         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
63459         to check for underflow and overflow.
63460         * math/libm-test.inc: Add exp test.
63462 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
63464         [BZ #11120]
63465         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
63466         with NOT_IN_libc.
63468 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63470         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
63471         symbol.
63473 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
63475         * math/gen-libm-test.pl (parse_args, special_functions): Properly
63476         wrap blocks consisting of several statements.
63478         * sysdeps/generic/math-tests.h: New file.
63479         * sysdeps/i386/fpu/math-tests.h: Likewise.
63480         * math/test-snan.c: Include it.
63481         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
63483 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63485         [BZ #15285]
63486         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
63487         (__ieee754_j0l): Do not improve calculations using cos of twice
63488         input for inputs above LDBL_MAX / 2.0L.
63489         (__ieee754_y0l): Likewise.
63490         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
63491         (__ieee754_j1l): Do not improve calculations using cos of twice
63492         input for inputs above LDBL_MAX / 2.0L.
63493         (__ieee754_y1l): Likewise.
63494         * math/libm-test.inc (j0_test): Add another test.
63495         (j1_test): Likewise.
63496         (y0_test): Likewise.
63497         (y1_test): Likewise.
63498         * sysdeps/i386/fpu/libm-test-ulps: Update.
63500 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63502         * Rules ($(objpfx)bench-%.c): Include code from a C source
63503         file.
63505 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
63507         [BZ #15287]
63508         * math/k_casinh.c (__kernel_casinh): Handle arguments with
63509         imaginary part 1.0 and real part less than 0.5 specially.
63510         * math/k_casinhf.c (__kernel_casinhf): Likewise.
63511         * math/k_casinhl.c (__kernel_casinhl): Likewise.
63512         * math/libm-test.inc (cacos_test): Add more tests.
63513         (casin_test): Likewise.
63514         (casinh_test): Likewise.
63515         * sysdeps/i386/fpu/libm-test-ulps: Update.
63516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63518 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63520         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
63521         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
63523 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
63525         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
63526         * config.make.in (config-cflags-sse4): Remove variable.
63527         (config-cflags-avx): Likewise.
63528         (config-cflags-sse2avx): Likewise.
63529         (config-cflags-novzeroupper): Likewise.
63530         (config-asflags-i686): Likewise.
63531         (have-mfma4): Likewise.
63532         (have-as-vis3): Likewise.
63533         (MIG): Likewise.
63534         * configure.in (MIG): Do not AC_SUBST.
63535         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
63536         (libc_cv_cc_sse4): Do not AC_SUBST.
63537         (libc_cv_cc_avx): Likewise.
63538         (libc_cv_cc_sse2avx): Likewise.
63539         (libc_cv_cc_novzeroupper): Likewise.
63540         (libc_cv_cc_fma4): Likewise.
63541         (libc_cv_as_i686): Likewise.
63542         (libc_cv_sparc_as_vis3): Likewise.
63543         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
63544         LIBC_CONFIG_VAR.
63545         (config-asflags-i686): Likewise.
63546         (config-cflags-avx): Likewise.
63547         (config-cflags-sse2avx): Likewise.
63548         (have-mfma4): Likewise.
63549         (config-cflags-novzeroupper): Likewise.
63550         * sysdeps/mach/configure.in (MIG): Likewise.
63551         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
63552         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
63553         LIBC_CONFIG_VAR.
63554         (config-cflags-avx): Likewise.
63555         (config-cflags-sse2avx): Likewise.
63556         (have-mfma4): Likewise.
63557         (config-cflags-novzeroupper): Likewise.
63558         * configure: Regenerated.
63559         * sysdeps/i386/configure: Likewise.
63560         * sysdeps/mach/configure: Likewise.
63561         * sysdeps/sparc/configure: Likewise.
63562         * sysdeps/x86_64/configure: Likewise.
63564 2013-03-20  Roland McGrath  <roland@hack.frob.com>
63566         [BZ #14812]
63567         * locale/programs/localedef.c (options): Put N_ translation marker
63568         on argument names, not just descriptions.
63570 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63572         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
63574 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
63576         [BZ #14176]
63577         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
63579 2013-03-19  Roland McGrath  <roland@hack.frob.com>
63581         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
63582         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
63583         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
63584         [!BEFORE_ABORT] (before_abort): New function.
63585         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
63586         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
63587         (writev_for_fatal): New function.
63588         (WRITEV_FOR_FATAL): New macro; call that.
63589         (backtrace_and_maps): New function.
63590         (BEFORE_ABORT): New macro; call that.
63591         (struct str_list): Type removed.
63592         (__libc_message, __libc_fatal): Functions removed.
63593         Include <sysdeps/posix/libc_fatal.c> instead.
63595 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
63597         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
63598         constants.
63599         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
63600         double constants.
63602 2013-03-19  Andreas Schwab  <schwab@suse.de>
63604         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
63605         * sysdeps/gnu/configure: Regenerate.
63607         * configure.in: Substitute libc_cv_rtlddir.
63608         * configure: Regenerate.
63609         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
63610         * Makeconfig (rtlddir, inst_rtlddir): New variables.
63611         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
63612         * elf/Makefile (install-others, CFLAGS-interp.c)
63613         (ldso_install, common-ldd-rewrite): Likewise.
63614         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
63615         $(inst_slibdir)/$(rtld-installed-name).
63616         * scripts/rellns-sh: Add -p option.
63617         * Makerules (make-shlib-link): Use rellns-sh to get relative name
63618         for source.
63620 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63622         * manual/nptl.texi: Renamed to ...
63623         * manual/threads.texi: ... this.
63624         * manual/Makefile (chapters): Update.
63626 2013-03-18  Roland McGrath  <roland@hack.frob.com>
63628         [BZ #14812]
63629         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
63630         on argument names, not just descriptions.
63631         * malloc/memusagestat.c (options): Likewise.
63632         * nss/getent.c (options): Likewise.
63634 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
63636         [BZ #14812]
63637         * iconv/iconv_prog.c (options): Put N_ translation marker
63638         on argument names, not just descriptions.
63639         * iconv/iconvconfig.c (options): Likewise.
63641 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
63643         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
63644         implementation which is faster on all x86_64 architectures.
63645         Tested on AMD, Intel Nehalem, SNB, IVB.
63646         * sysdeps/x86_64/strnlen.S: Likewise.
63648         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63649         Remove all multiarch strlen and strnlen versions.
63650         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
63651         Remove strlen and strnlen related parts.
63653         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
63654         Inline strlen part.
63655         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
63657         * sysdeps/x86_64/multiarch/strlen.S: Remove.
63658         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
63659         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
63660         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
63661         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
63662         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
63664 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
63666         * manual/memory.texi (Malloc Tunable Parameters):
63667         Sort parameters alphabetically. Add comments for missing entries.
63669 2013-03-17  David S. Miller  <davem@davemloft.net>
63671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63673 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
63675         [BZ #15283]
63676         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
63677         for arguments at most half maximum finite value.
63678         * math/libm-test.inc (j0_test): Add more tests.
63679         (j1_test): Likewise.
63680         (y0_test): Likewise.
63681         (y1_test): Likewise.
63682         * sysdeps/i386/fpu/libm-test-ulps: Update.
63683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63685         [BZ #14155]
63686         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
63687         1 / x and functions P and Q for arguments above 0x1p256L.
63688         (__ieee754_y0l): Likewise.
63689         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
63690         (__ieee754_y1l): Likewise.
63691         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
63692         (j1_test): Likewise.
63693         (y0_test): Likewise.
63694         (y1_test): Likewise.
63696 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
63698         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
63699         variable.
63701 2013-03-15  Roland McGrath  <roland@hack.frob.com>
63703         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
63704         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
63705         zero since it's initialized to EXEC_PAGESIZE.
63707         * sysdeps/unix/sysv/linux/ldsodefs.h
63708         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
63709         * sysdeps/generic/ldsodefs.h: ... here.
63711 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
63713         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
63715         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
63716         math/test-snan.c.
63717         * math/test-snan.c: Renamed from
63718         sysdeps/powerpc/fpu/test-powerpc-snan.c.
63719         * math/Makefile (tests): Add test-snan.
63720         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
63721         test-powerpc-snan.
63723         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
63724         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
63725         functions.
63726         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
63727         __builtin_nan family of functions.
63728         * math/libm-test.inc (initialize): Initialize qnan_value with
63729         __builtin_nan family of functions.
63730         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
63731         Remove variables.
63732         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
63733         Remove functions.
63734         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
63735         storage class.  Initialize qNaN_var and sNaN_var with
63736         __builtin_nan and __builtin_nans families of functions,
63737         respectively.
63739         * math/libm-test.inc (acosh_test): Also test with qNaN input.
63740         (sqrt_test): Remove duplicate test with qNaN input.
63741         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
63742         (round_test, signbit_test, significand_test): Note missing +/-Inf
63743         as well as qNaN tests.
63745         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
63746         qNaN_var.  Fix a few strings, too.
63747         * math/libm-test.inc (nan_value): Rename to qnan_value.
63748         * math/gen-libm-test.pl (%beautify): Adjust to that.
63749         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
63750         * math/test-misc.c (main): Likewise.
63751         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
63752         to __qnan_bytes, and __qnan_union, respectively.
63753         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
63754         Likewise.
63755         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
63756         and lqnanval, respectively.
63757         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
63758         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
63759         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
63760         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
63762         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
63763         * math/test-misc.c (main) [__x86_64__]: Enable test for long
63764         doubles.
63766         * math/test-misc.c (main): Fix copy'n'pastos.
63767         * misc/tst-efgcvt.c (special): Likewise.
63769         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
63770         Remove declarations.
63772 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63774         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
63775         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
63776         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
63777         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
63779 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63781         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
63782         macro to return vdso values correctly in IFUNC implementations.
63783         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
63784         Optimization by using IFUNC.
63786 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63787             Richard Henderson  <rth@redhat.com>
63788             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63790         * Makefile.in (bench): New target.
63791         * NEWS: Mention the benchmark framework.
63792         * Rules (bench): Likewise.
63793         (binaries-bench): Generate binaries for functions to
63794         benchmark.
63795         * benchtests/Makefile: New makefile for benchmark tests.
63796         * benchtests/bench-skeleton.c: New skeleton file for benchmark
63797         programs.
63798         * benchtests/exp-inputs: New input file for EXP function.
63799         * benchtests/pow-inputs: New input file for POW function.
63800         * scripts/bench.pl: New script to generate source files for
63801         benchmark programs.
63803 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
63805         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
63806         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
63807         computations on mantissa.  Use macros for rounding and
63808         division.
63809         (denorm): Likewise.
63810         (__dbl_mp): Likewise.
63811         (add_magnitudes): Likewise.
63812         (sub_magnitudes): Likewise.
63813         (__mul): Likewise.
63814         (__sqr): Likewise.
63815         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
63816         powers of two in terms of TWOPOW macro.
63817         (mp_no): Make type of mantissa as MANTISSA_T.
63818         [!RADIXI]: Define RADIXI.
63819         [!TWO52]: Define TWO52.
63820         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
63822         * manual/nptl.texi (cindex): Modify threads to pthreads.
63824 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
63826         * sysdeps/x86_64/preconfigure: Regenerated.
63828 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
63830         [BZ #14155]
63831         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
63832         0x1p28 and above.
63833         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
63834         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
63835         0x1p28 and above.
63836         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
63837         * math/libm-test.inc (j0_test): Do not allow one spurious
63838         underflow exception.
63839         (y1_test): Likewise.
63841 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
63843         * manual/Makefile (chapters): Add nptl.
63844         * manual/debug.texi (Debugging Support): Add link to Threads
63845         chapter.
63846         * manual/nptl.texi: New file.
63848         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
63850 2013-03-14  Petr Baudis  <pasky@ucw.cz>
63852         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
63853         for non-NULL pointer before the memory validity test. Pointed
63854         out by Holger Brunck <holger.brunck@keymile.com>.
63856 2013-03-13  Andreas Schwab  <schwab@suse.de>
63858         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
63859         instead of .os.
63861 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
63863         * timezone/zic.c: Update from tzcode 2013b.
63865 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
63867         * manual/install.texi (Configuring and compiling):
63868         Mention i686 and i586.
63869         * INSTALL: Regenerate.
63871 2013-03-12  Roland McGrath  <roland@hack.frob.com>
63873         * sysdeps/init_array/elf-init.c: New file.
63874         * csu/elf-init.c
63875         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
63876         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
63878         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
63879         __gmon_start__ as global, but as static with a .preinit_array pointer.
63880         * sysdeps/init_array/gmon-start.c: New file.  Use that.
63881         * sysdeps/init_array/crti.S: New file, empty except for comments.
63882         * sysdeps/init_array/crtn.S: Likewise.
63884 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
63886         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
63887         definining bcopy.
63888         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63889         Remove Prefer_SSE_for_memop.
63890         * sysdeps/x86_64/multiarch/init-arch.h: Remove
63891         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
63892         HAS_PREFER_SSE_FOR_MEMOP.
63893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
63894         memset-x86-64.
63895         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63896         Remove bzero, memset ifunc support.
63897         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
63898         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
63899         * sysdeps/x86_64/multiarch/memset.S: Likewise.
63900         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
63902 2013-03-11  Andreas Schwab  <schwab@suse.de>
63904         [BZ #15234]
63905         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
63906         by SHLIB_COMPAT.
63907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
63908         (GLIBC_2.16): Remove pthread_atfork.
63910 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
63912         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
63913         (ptestcases.h): Likewise.
63915 2013-03-08  Roland McGrath  <roland@hack.frob.com>
63917         * Makeconfig ($(common-objpfx)config.status): Depend on
63918         sysdeps/*/preconfigure{,.in} too.
63920 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
63922         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
63923         (__free_hook): Use void * instead of __malloc_ptr_t.
63924         (__malloc_hook): Likewise.
63925         (__realloc_hook): Likewise.
63926         (__memalign_hook): Likewise.
63927         (__after_morecore_hook): Likewise.
63928         * malloc/arena.c (save_malloc_hook): Likewise.
63929         (save_free_hook): Likewise.
63930         * malloc/hooks.c (malloc_hook_ini): Likewise.
63931         (realloc_hook_ini): Likewise.
63932         (memalign_hook_ini): Likewise.
63933         * malloc/malloc.c (malloc_hook_ini): Likewise.
63934         (realloc_hook_ini): Likewise.
63935         (memalign_hook_ini): Likewise.
63936         (__free_hook): Likewise.
63937         (__malloc_hook): Likewise.
63938         (__realloc_hook): Likewise.
63939         (__memalign_hook): Likewise.
63940         (__libc_malloc): Likewise.
63941         (__libc_free): Likewise.
63942         (__libc_realloc): Likewise.
63943         (__libc_memalign): Likewise.
63944         (__libc_valloc): Likewise.
63945         (__libc_pvalloc): Likewise.
63946         (__libc_calloc): Likewise.
63947         (__posix_memalign): Likewise.
63948         * malloc/morecore.c (__sbrk): Likewise.
63949         (__default_morecore): Likewise.
63951         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
63953         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
63954         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
63955         __malloc_ptrdiff_t.
63957         * malloc/malloc.h (__malloc_size_t): Remove macro.
63958         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
63959         __malloc_size_t.
63960         (old_memalign_hook): Likewise.
63961         (old_realloc_hook): Likewise.
63962         (struct hdr): Likewise.
63963         (flood): Likewise.
63964         (mallochook): Likewise.
63965         (memalignhook): Likewise.
63966         (reallochook): Likewise.
63967         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
63968         (tr_old_realloc_hook): Likewise.
63969         (tr_old_memalign_hook): Likewise.
63970         (tr_mallochook): Likewise.
63971         (tr_reallochook): Likewise.
63972         (tr_memalignhook): Likewise.
63974 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63976         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
63977         default_ldbl_pack and using as default implementation.
63978         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
63979         implementation.
63980         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
63981         redundant definition.
63982         (ldbl_insert_mantissa): Likewise.
63983         (ldbl_canonicalize): Likewise.
63984         (ldbl_nearbyint): Likewise.
63985         (ldbl_pack): Rename to ldbl_pack_ppc.
63986         (ldbl_unpack): Rename to ldbl_unpack_ppc.
63987         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
63988         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
63990 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
63993         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
63994         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
63995         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
63996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
63997         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
63998         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
63999         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
64001 2013-03-07  Andreas Jaeger  <aj@suse.de>
64003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64004         bits/mman-linux.h.
64006 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
64008         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
64009         Include mpa.h and declare __MPEXP.
64010         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
64011         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64012         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64013         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
64014         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64015         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
64016         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
64018         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
64019         (__slowpow): Use long double EXPL and LOGL functions to
64020         compute POW.
64021         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
64022         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64023         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
64024         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
64025         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
64026         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
64028         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
64029         intermediate variable to calculate exponent.
64030         (__sqr): Likewise.
64031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
64032         Likewise.
64033         (__sqr): Likewise.
64035         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
64036         [!NO__SQR]: Define __sqr.
64037         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
64038         and NO__SQR.  Remove all code except __mul and __sqr.  Include
64039         sysdeps/ieee754/dbl-64/mpa.c.
64040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
64042         [BZ #12723]
64043         * posix/Makefile (tests): Add tst-pathconf.
64044         * posix/tst-pathconf.c: New test case.
64045         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
64046         _PC_PIPE_BUF.
64047         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
64049 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
64051         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
64053 2013-03-06  Andreas Jaeger  <aj@suse.de>
64055         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
64056         definition via __MAP_ANONYMOUS.
64058         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
64059         it's not part of Linux headers.
64061         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
64062         (MAP_HUGE_MASK): Define.
64064         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64065         Define.
64066         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64067         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64068         Define.
64069         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64070         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
64071         Define.
64072         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64073         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
64074         Define.
64075         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
64077         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
64078         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
64079         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
64080         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
64081         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
64082         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
64084         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64085         Handle f2fs.
64087         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64088         Handle f2fs and efivarfs.
64090         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
64091         f2fs.
64093         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
64094         (EFIVARFS_MAGIC): Add.
64095         (F2FS_LINK_MAX): Add.
64097 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64099         * stdio-common/vfprintf.c: Replace __builtin_expect with
64100         __glibc_unlikely.
64102 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
64104         [BZ #13550]
64105         * sysdeps/generic/bp-sym.h: Remove file.
64106         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
64107         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
64108         <bp-sym.h> and <bp-asm.h>.
64109         (__longjmp): Don't use BP_SYM.
64110         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
64111         and <bp-asm.h>.
64112         (memcpy): Don't use BP_SYM.
64113         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
64114         <bp-sym.h> and <bp-asm.h>.
64115         (memcpy): Don't use BP_SYM.
64116         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
64117         <bp-asm.h>.
64118         (memcpy): Don't use BP_SYM.
64119         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
64120         <bp-asm.h>.
64121         (memset): Don't use BP_SYM.
64122         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64123         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64124         (__bzero): Don't use BP_SYM.
64125         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64126         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64127         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
64128         <bp-sym.h> and <bp-asm.h>.
64129         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64130         pointers.
64131         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
64132         <bp-sym.h> and <bp-asm.h>.
64133         (memcpy): Don't use BP_SYM.
64134         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
64135         <bp-sym.h> and <bp-asm.h>.
64136         (memset): Don't use BP_SYM.
64137         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64138         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64139         (__bzero): Don't use BP_SYM.
64140         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64141         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64142         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
64143         <bp-sym.h> and <bp-asm.h>.
64144         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64145         pointers.
64146         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
64147         <bp-sym.h> and <bp-asm.h>.
64148         (memcpy): Don't use BP_SYM.
64149         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
64150         <bp-sym.h> and <bp-asm.h>.
64151         (memset): Don't use BP_SYM.
64152         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64153         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64154         (__bzero): Don't use BP_SYM.
64155         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64156         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64157         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
64158         <bp-sym.h> and <bp-asm.h>.
64159         (__memchr): Don't use BP_SYM.
64160         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
64161         <bp-sym.h> and <bp-asm.h>.
64162         (memcmp): Don't use BP_SYM.  Remove comment about bounded
64163         pointers.
64164         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
64165         <bp-sym.h> and <bp-asm.h>.
64166         (memcpy): Don't use BP_SYM.
64167         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
64168         <bp-sym.h> and <bp-asm.h>.
64169         (__mempcpy): Don't use BP_SYM.
64170         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
64171         <bp-sym.h> and <bp-asm.h>.
64172         (__memrchr): Don't use BP_SYM.
64173         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
64174         <bp-sym.h> and <bp-asm.h>.
64175         (memset): Don't use BP_SYM.
64176         (__bzero): Likewise.
64177         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
64178         <bp-sym.h> and <bp-asm.h>.
64179         (__rawmemchr): Don't use BP_SYM.
64180         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
64181         <bp-sym.h> and <bp-asm.h>.
64182         (__STRCMP): Don't use BP_SYM.
64183         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
64184         <bp-sym.h> and <bp-asm.h>.
64185         (strchr): Don't use BP_SYM.
64186         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
64187         <bp-sym.h> and <bp-asm.h>.
64188         (__strchrnul): Don't use BP_SYM.
64189         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
64190         <bp-sym.h> and <bp-asm.h>.
64191         (strlen): Don't use BP_SYM.
64192         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
64193         <bp-sym.h> and <bp-asm.h>.
64194         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64195         pointers.
64196         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
64197         <bp-sym.h> and <bp-asm.h>.
64198         (__strnlen): Don't use BP_SYM.
64199         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
64200         <bp-sym.h> and <bp-asm.h>.
64201         (__GI__setjmp): Don't use BP_SYM.
64202         (_setjmp): Likewise.
64203         (__sigsetjmp): Likewise.
64204         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
64205         (L(start_addresses)): Don't use BP_SYM.
64206         (_start): Likewise.
64207         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
64208         <bp-asm.h>.
64209         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
64210         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
64211         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64212         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64213         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
64214         <bp-asm.h>.
64215         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
64216         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
64217         about bounded pointers.
64218         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64219         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64220         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
64221         <bp-asm.h>.
64222         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64223         about bounded pointers.  Remove GKM FIXME comments.
64224         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64225         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
64226         <bp-asm.h>.
64227         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
64228         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
64229         Remove GKM FIXME comments.
64230         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64231         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64232         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
64233         <bp-asm.h>.
64234         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
64235         about bounded pointers.  Remove GKM FIXME comment.
64236         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
64237         and <bp-asm.h>.
64238         (strncmp): Don't use BP_SYM.  Remove comment about bounded
64239         pointers.
64240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
64241         <bp-sym.h> and <bp-asm.h>.
64242         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
64244         <bp-sym.h> and <bp-asm.h>.
64245         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64246         comment.
64248 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
64250         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
64251         call free(NULL).
64253 2013-03-05  David S. Miller  <davem@davemloft.net>
64255         * po/es.po: Update from translation team.
64257 2013-03-05  Andreas Jaeger  <aj@suse.de>
64259         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
64260         <bits/mman-linux.h>.
64261         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64262         is fine.
64263         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
64264         <bits/mman-linux.h> to end of file.
64265         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64266         is fine.
64267         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
64268         <bits/mman-linux.h> to end of file.
64269         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
64270         is fine.
64271         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
64272         <bits/mman-linux.h> to end of file.
64274         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
64275         (MCL_CURRENT, MCL_FUTURE): Define here.
64277 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64279         [BZ #15232]
64280         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
64281         attribute_hidden.
64282         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64284 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64286         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
64287         fourth parameter needed for rt_sigprocmask syscall.
64288         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
64289         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
64290         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
64291         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
64292         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
64293         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
64295 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
64297         [BZ #13550]
64298         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
64299         comment about bounded pointers.
64300         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
64301         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
64303 2013-03-04  Andreas Jaeger  <aj@suse.de>
64305         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
64306         common definitions.
64308         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
64309         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
64310         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
64311         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64312         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
64313         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64315 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64317         [BZ #15055]
64318         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
64319         __ieee754_sqrl instead of __sqrl.
64321 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
64323         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
64324         * sysdeps/powerpc/fpu_control.h: ... here.
64325         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
64326         * sysdeps/powerpc/bits/fenvinline.h: ... here.
64327         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
64328         * sysdeps/powerpc/bits/mathinline.h: ... here.
64330 2013-03-01  Roland McGrath  <roland@hack.frob.com>
64332         * elf/dl-hwcaps.c (_dl_important_hwcaps):
64333         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
64334         to just [NEED_DL_SYSINFO_DSO].
64335         * elf/dl-support.c: Likewise.
64336         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
64337         * elf/rtld.c (dl_main): Likewise.
64338         * elf/setup-vdso.h (setup_vdso): Likewise.
64339         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
64340         * sysdeps/unix/sysv/linux/dl-sysdep.c
64341         (_dl_discover_osversion): Likewise.
64343 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
64345         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
64346         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64348 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
64350         * NEWS: Mention libm performance improvements and non-x86 PI
64351         futex support.
64353         * csu/libc-start.c (__pthread_initialize_minimal): Change
64354         function arguments.
64355         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
64357 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
64359         [BZ #13550]
64360         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
64361         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
64362         <bp-sym.h> and <bp-asm.h>.
64363         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64364         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
64365         and <bp-asm.h>.
64366         (memcpy): Don't use BP_SYM.
64367         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
64368         <bp-asm.h>.
64369         (__mpn_add_n): Don't use BP_SYM.
64370         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
64371         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
64372         and <bp-asm.h>.
64373         (__mpn_addmul_1): Don't use BP_SYM.
64374         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64375         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
64376         <bp-sym.h>.
64377         (_setjmp): Don't use BP_SYM.
64378         (__novmx_setjmp): Likewise.
64379         (__GI__setjmp): Likewise.
64380         (__vmx_setjmp): Likewise.
64381         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
64382         <bp-sym.h>.
64383         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
64384         (__bzero): Don't use BP_SYM.
64385         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
64386         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
64387         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
64388         <bp-sym.h> and <bp-asm.h>.
64389         (memcpy): Don't use BP_SYM.
64390         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
64391         <bp-sym.h> and <bp-asm.h>.
64392         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64393         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
64394         <bp-sym.h> and <bp-asm.h>.
64395         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
64396         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
64397         <bp-asm.h>.
64398         (__mpn_lshift): Don't use BP_SYM.
64399         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64400         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
64401         <bp-asm.h>.
64402         (memset): Don't use BP_SYM.
64403         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
64404         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
64405         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
64406         <bp-asm.h>.
64407         (__mpn_mul_1): Don't use BP_SYM.
64408         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64409         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
64410         <bp-sym.h> and <bp-asm.h>.
64411         (memcmp): Don't use BP_SYM.
64412         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
64413         <bp-sym.h> and <bp-asm.h>.
64414         (memcpy): Don't use BP_SYM.
64415         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
64416         <bp-sym.h> and <bp-asm.h>.
64417         (memset): Don't use BP_SYM.
64418         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
64419         <bp-sym.h> and <bp-asm.h>.
64420         (strncmp): Don't use BP_SYM.
64421         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
64422         <bp-sym.h> and <bp-asm.h>.
64423         (memcpy): Don't use BP_SYM.
64424         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
64425         <bp-sym.h> and <bp-asm.h>.
64426         (memset): Don't use BP_SYM.
64427         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
64428         <bp-sym.h> and <bp-asm.h>.
64429         (__memchr): Don't use BP_SYM.
64430         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
64431         <bp-sym.h> and <bp-asm.h>.
64432         (memcmp): Don't use BP_SYM.
64433         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
64434         <bp-sym.h> and <bp-asm.h>.
64435         (memcpy): Don't use BP_SYM.
64436         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
64437         <bp-sym.h> and <bp-asm.h>.
64438         (__mempcpy): Don't use BP_SYM.
64439         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
64440         <bp-sym.h> and <bp-asm.h>.
64441         (__memrchr): Don't use BP_SYM.
64442         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
64443         <bp-sym.h> and <bp-asm.h>.
64444         (memset): Don't use BP_SYM.
64445         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
64446         <bp-sym.h> and <bp-asm.h>.
64447         (__rawmemchr): Don't use BP_SYM.
64448         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
64449         <bp-sym.h> and <bp-asm.h>.
64450         (__STRCMP): Don't use BP_SYM.
64451         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
64452         <bp-sym.h> and <bp-asm.h>.
64453         (strchr): Don't use BP_SYM.
64454         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
64455         <bp-sym.h> and <bp-asm.h>.
64456         (__strchrnul): Don't use BP_SYM.
64457         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
64458         <bp-sym.h> and <bp-asm.h>.
64459         (strlen): Don't use BP_SYM.
64460         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
64461         <bp-sym.h> and <bp-asm.h>.
64462         (strncmp): Don't use BP_SYM.
64463         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
64464         <bp-sym.h> and <bp-asm.h>.
64465         (__strnlen): Don't use BP_SYM.
64466         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
64467         <bp-asm.h>.
64468         (__mpn_rshift): Don't use BP_SYM.
64469         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
64470         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
64471         <bp-sym.h> and <bp-asm.h>.
64472         (__sigsetjmp): Don't use BP_SYM.
64473         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
64474         (L(start_addresses)): Don't use BP_SYM.
64475         (_start): Likewise.
64476         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
64477         <bp-asm.h>.
64478         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
64479         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64480         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64481         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
64482         <bp-asm.h>.
64483         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
64484         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
64485         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
64486         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
64487         <bp-asm.h>.
64488         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64489         comments.
64490         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
64491         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
64492         <bp-asm.h>.
64493         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
64494         FIXME comments.
64495         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
64496         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
64497         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
64498         <bp-asm.h>.
64499         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
64500         comment.
64501         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
64502         and <bp-asm.h>.
64503         (strncmp): Don't use BP_SYM,
64504         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
64505         <bp-asm.h>.
64506         (__mpn_sub_n): Don't use BP_SYM.
64507         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
64508         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
64509         and <bp-asm.h>.
64510         (__mpn_submul_1): Don't use BP_SYM.
64511         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
64512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
64513         <bp-sym.h> and <bp-asm.h>.
64514         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
64515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
64516         <bp-sym.h> and <bp-asm.h>.
64517         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
64518         comment.
64520 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
64523         Use ZK to minimize writes to Z.
64524         (sub_magnitudes): Simplify code a bit.
64525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
64526         Use ZK to minimize writes to Z.
64527         (sub_magnitudes): Simplify code a bit.
64529 2013-02-27  Roland McGrath  <roland@hack.frob.com>
64531         * csu/gmon-start.c: Add special exception to license text.
64533 2013-02-27  Richard Henderson  <rth@redhat.com>
64535         * scripts/config.guess: Update from config.git.
64536         * scripts/config.sub: Likewise.
64538 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
64540         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
64542         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
64544         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
64546         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
64548         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
64550 2013-02-26  Roland McGrath  <roland@hack.frob.com>
64552         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
64553         [$(build-shared = yes].
64555 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64557         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
64558         (__mul): Reduce iterations for calculating mantissa.
64560         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
64561         MPTWO.
64562         (__mpranred): Likewise.
64564         [BZ #15160]
64565         * malloc/memusagestat.c (main): Draw graphs for heap and stack
64566         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
64568 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
64570         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
64571         Define __attribute__.
64573 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64575         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
64576         unused.
64577         * posix/regex_internal.h (__attribute): Remove.
64578         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
64579         (re_string_context_at): Likewise.
64580         (bitset_not): Use __attribute__ and mark function as possibly
64581         unused.
64582         (bitset_merge): Likewise.
64583         (bitset_mask): Likewise.
64584         (re_string_char_size_at): Likewise.
64585         (re_string_wchar_at): Likewise.
64586         (re_string_elem_size_at): Likewise.
64588 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
64590         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
64591         code.
64592         (cc32): Likewise.
64594         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
64595         (__acr): Likewise.
64596         (__cpy): Likewise.
64597         (norm): Likewise.
64598         (denorm): Likewise.
64599         (__dbl_mp): Likewise.
64600         (add_magnitudes): Likewise.
64601         (sub_magnitudes): Likewise.
64602         (__mul): Likewise.
64603         (__inv): Likewise.
64605         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
64606         style.
64608         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
64609         style.
64611         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
64612         code.
64614         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
64615         up changes with default code.
64616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
64617         Likewise.
64619 2013-02-24  Allan McRae  <allan@archlinux.org>
64621         * manual/socket.texi (The Internet Namespace): Order menu items
64622         to match that in the file.
64624         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
64625         node listing of the info page menu.
64627 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
64629         [BZ #13550]
64630         * sysdeps/i386/bp-asm.h: Remove file.
64631         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64632         (PARMS): Do not use macros from bp-asm.h.
64633         (S1): Likewise.
64634         (S2): Likewise.
64635         (SIZE): Likewise.
64636         (__mpn_add_n): Do not use BP_SYM
64637         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
64638         "bp-asm.h".
64639         (PARMS): Do not use macros from bp-asm.h.
64640         (S1): Likewise.
64641         (SIZE): Likewise.
64642         (__mpn_addmul_1): Do not use BP_SYM
64643         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
64644         "bp-asm.h".
64645         (PARMS): Do not use macros from bp-asm.h.
64646         (SIGMSK): Likewise.
64647         (_setjmp): Likewise.  Do not use BP_SYM.
64648         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
64649         "bp-asm.h".
64650         (PARMS): Do not use macros from bp-asm.h.
64651         (SIGMSK): Likewise.
64652         (setjmp): Likewise.  Do not use BP_SYM.
64653         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
64654         "bp-asm.h".
64655         (PARMS): Do not use macros from bp-asm.h.
64656         (__frexp): Do not use BP_SYM.
64657         (frexp): Likewise.
64658         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
64659         "bp-asm.h".
64660         (PARMS): Do not use macros from bp-asm.h.
64661         (__frexpf): Do not use BP_SYM.
64662         (frexpf): Likewise.
64663         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
64664         "bp-asm.h".
64665         (PARMS): Do not use macros from bp-asm.h.
64666         (__frexpl): Do not use BP_SYM.
64667         (frexpl): Likewise.
64668         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
64669         "bp-asm.h".
64670         (PARMS): Do not use macros from bp-asm.h.
64671         (__remquo): Do not use BP_SYM.
64672         (remquo): Likewise.
64673         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
64674         "bp-asm.h".
64675         (PARMS): Do not use macros from bp-asm.h.
64676         (__remquof): Do not use BP_SYM.
64677         (remquof): Likewise.
64678         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
64679         "bp-asm.h".
64680         (PARMS): Do not use macros from bp-asm.h.
64681         (__remquol): Do not use BP_SYM.
64682         (remquol): Likewise.
64683         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
64684         "bp-asm.h".
64685         (PARMS): Do not use macros from bp-asm.h.
64686         (DEST): Likewise.
64687         (SRC): Likewise.
64688         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
64689         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
64690         "bp-asm.h".
64691         (PARMS): Do not use macros from bp-asm.h.
64692         (strlen): Do not use BP_SYM.
64693         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
64694         "bp-asm.h".
64695         (PARMS): Do not use macros from bp-asm.h.
64696         (S1): Likewise.
64697         (S2): Likewise.
64698         (SIZE): Likewise.
64699         (__mpn_add_n): Do not use BP_SYM.
64700         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
64701         "bp-asm.h".
64702         (PARMS): Do not use macros from bp-asm.h.
64703         (S1): Likewise.
64704         (SIZE): Likewise.
64705         (__mpn_addmul_1): Do not use BP_SYM.
64706         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
64707         weak_alias.
64708         (bzero): Likewise.
64709         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
64710         "bp-asm.h".
64711         (PARMS): Do not use macros from bp-asm.h.
64712         (S): Likewise.
64713         (SIZE): Likewise.
64714         (__mpn_lshift): Do not use BP_SYM.
64715         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
64716         "bp-asm.h".
64717         (PARMS): Do not use macros from bp-asm.h.
64718         (DEST): Likewise.
64719         (SRC): Likewise.
64720         (LEN): Likewise.
64721         (memcpy): Likewise.  Do not use BP_SYM.
64722         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
64723         libc_hidden_def and weak_alias.
64724         (mempcpy): Do not use BP_SYM in weak_alias.
64725         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
64726         "bp-asm.h".
64727         (PARMS): Do not use macros from bp-asm.h.
64728         (DEST): Likewise.
64729         (LEN): Likewise.
64730         [!BZERO_P] (CHR): Likewise.
64731         (memset): Likewise.  Do not use BP_SYM.
64732         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
64733         "bp-asm.h".
64734         (PARMS): Do not use macros from bp-asm.h.
64735         (S1): Likewise.
64736         (SIZE): Likewise.
64737         (__mpn_mul_1): Do not use BP_SYM.
64738         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
64739         "bp-asm.h".
64740         (PARMS): Do not use macros from bp-asm.h.
64741         (S): Likewise.
64742         (SIZE): Likewise.
64743         (__mpn_rshift): Do not use BP_SYM.
64744         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
64745         "bp-asm.h".
64746         (PARMS): Do not use macros from bp-asm.h.
64747         (STR): Likewise.
64748         (CHR): Likewise.
64749         (strchr): Likewise.  Do not use BP_SYM.
64750         (index): Do not use BP_SYM in weak_alias.
64751         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
64752         "bp-asm.h".
64753         (PARMS): Do not use macros from bp-asm.h.
64754         (DEST): Likewise.
64755         (SRC): Likewise.
64756         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
64757         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
64758         "bp-asm.h".
64759         (PARMS): Do not use macros from bp-asm.h.
64760         (strlen): Do not use BP_SYM.
64761         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
64762         "bp-asm.h".
64763         (PARMS): Do not use macros from bp-asm.h.
64764         (S1): Likewise.
64765         (S2): Likewise.
64766         (SIZE): Likewise.
64767         (__mpn_sub_n): Do not use BP_SYM.
64768         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
64769         "bp-asm.h".
64770         (PARMS): Do not use macros from bp-asm.h.
64771         (S1): Likewise.
64772         (SIZE): Likewise.
64773         (__mpn_submul_1): Do not use BP_SYM.
64774         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
64775         "bp-asm.h".
64776         (PARMS): Do not use macros from bp-asm.h.
64777         (S1): Likewise.
64778         (S2): Likewise.
64779         (SIZE): Likewise.
64780         (__mpn_add_n): Do not use BP_SYM.
64781         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
64782         weak_alias.
64783         (bzero): Likewise.
64784         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
64785         "bp-asm.h".
64786         (PARMS): Do not use macros from bp-asm.h.
64787         (BLK2): Likewise.
64788         (LEN): Likewise.
64789         (memcmp): Do not use BP_SYM.
64790         (bcmp): Do not use BP_SYM in weak_alias.
64791         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
64792         "bp-asm.h".
64793         (PARMS): Do not use macros from bp-asm.h.
64794         (DEST): Likewise.
64795         (SRC): Likewise.
64796         (LEN): Likewise.
64797         (memcpy): Likewise.  Do not use BP_SYM.
64798         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
64799         "bp-asm.h".
64800         (PARMS): Do not use macros from bp-asm.h.
64801         (DEST): Likewise.
64802         (SRC): Likewise.
64803         (LEN): Likewise.
64804         (memmove): Likewise.  Do not use BP_SYM.
64805         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
64806         "bp-asm.h".
64807         (PARMS): Do not use macros from bp-asm.h.
64808         (DEST): Likewise.
64809         (SRC): Likewise.
64810         (LEN): Likewise.
64811         (__mempcpy): Likewise.  Do not use BP_SYM.
64812         (mempcpy): Do not use BP_SYM in weak_alias.
64813         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
64814         "bp-asm.h".
64815         (PARMS): Do not use macros from bp-asm.h.
64816         (DEST): Likewise.
64817         (LEN): Likewise.
64818         [!BZERO_P] (CHR): Likewise.
64819         (memset): Likewise.  Do not use BP_SYM.
64820         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
64821         "bp-asm.h".
64822         (PARMS): Do not use macros from bp-asm.h.
64823         (STR2): Likewise.
64824         (strcmp): Do not use BP_SYM.
64825         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
64826         "bp-asm.h".
64827         (PARMS): Do not use macros from bp-asm.h.
64828         (STR): Likewise.
64829         (DELIM): Likewise.
64830         [USE_AS_STRTOK_R] (SAVE): Likewise.
64831         (FUNCTION): Likewise.  Do not use BP_SYM.
64832         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
64833         aliases.
64834         (strtok_r): Likewise.
64835         (__GI___strtok_r): Likewise.
64836         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64837         (PARMS): Do not use macros from bp-asm.h.
64838         (S): Likewise.
64839         (SIZE): Likewise.
64840         (__mpn_lshift): Do not use BP_SYM.
64841         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64842         (PARMS): Do not use macros from bp-asm.h.
64843         (STR): Likewise.
64844         (CHR): Likewise.
64845         (__memchr): Do not use BP_SYM.
64846         (memchr): Do not use BP_SYM in weak_alias.
64847         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64848         (PARMS): Do not use macros from bp-asm.h.
64849         (BLK2): Likewise.
64850         (LEN): Likewise.
64851         (memcmp): Do not use BP_SYM.
64852         (bcmp): Do not use BP_SYM in weak_alias.
64853         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
64854         (PARMS): Do not use macros from bp-asm.h.
64855         (S1): Likewise.
64856         (SIZE): Likewise.
64857         (__mpn_mul_1): Do not use BP_SYM.
64858         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
64859         "bp-asm.h".
64860         (PARMS): Do not use macros from bp-asm.h.
64861         (STR): Likewise.
64862         (CHR): Likewise.
64863         (__rawmemchr): Do not use BP_SYM.
64864         (rawmemchr): Do not use BP_SYM in weak_alias.
64865         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
64866         (PARMS): Do not use macros from bp-asm.h.
64867         (S): Likewise.
64868         (SIZE): Likewise.
64869         (__mpn_rshift): Do not use BP_SYM.
64870         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
64871         (PARMS): Do not use macros from bp-asm.h.
64872         (SIGMSK): Likewise.
64873         (__sigsetjmp): Likewise.  Do not use BP_SYM.
64874         * sysdeps/i386/start.S: Do not include "bp-sym.h".
64875         (_start): Do not use BP_SYM.
64876         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
64877         (PARMS): Do not use macros from bp-asm.h.
64878         (DEST): Likewise.
64879         (SRC): Likewise.
64880         (__stpcpy): Likewise.  Do not use BP_SYM.
64881         (stpcpy): Do not use BP_SYM in weak_alias.
64882         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
64883         "bp-asm.h".
64884         (PARMS): Do not use macros from bp-asm.h.
64885         (DEST): Likewise.
64886         (SRC): Likewise.
64887         (LEN): Likewise.
64888         (__stpncpy): Likewise.  Do not use BP_SYM.
64889         (stpncpy): Do not use BP_SYM in weak_alias.
64890         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
64891         (PARMS): Do not use macros from bp-asm.h.
64892         (STR): Likewise.
64893         (CHR): Likewise.
64894         (strchr): Likewise.  Do not use BP_SYM.
64895         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
64896         "bp-asm.h".
64897         (PARMS): Do not use macros from bp-asm.h.
64898         (STR): Likewise.
64899         (CHR): Likewise.
64900         (__strchrnul): Likewise.  Do not use BP_SYM.
64901         (strchrnul): Do not use BP_SYM in weak_alias.
64902         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
64903         "bp-asm.h".
64904         (PARMS): Do not use macros from bp-asm.h.
64905         (STOP): Likewise.
64906         (strcspn): Do not use BP_SYM.
64907         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
64908         "bp-asm.h".
64909         (PARMS): Do not use macros from bp-asm.h.
64910         (STR): Likewise.
64911         (STOP): Likewise.
64912         (strpbrk): Likewise.  Do not use BP_SYM.
64913         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
64914         "bp-asm.h".
64915         (PARMS): Do not use macros from bp-asm.h.
64916         (STR): Likewise.
64917         (CHR): Likewise.
64918         (strrchr): Likewise.  Do not use BP_SYM.
64919         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
64920         (PARMS): Do not use macros from bp-asm.h.
64921         (SKIP): Likewise.
64922         (strspn): Do not use BP_SYM.
64923         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
64924         (PARMS): Do not use macros from bp-asm.h.
64925         (STR): Likewise.
64926         (DELIM): Likewise.
64927         (SAVE): Likewise.
64928         (FUNCTION): Likewise.  Do not use BP_SYM.
64929         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
64930         aliases.
64931         (strtok_r): Likewise.
64932         (__GI___strtok_r): Likewise.
64933         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
64934         (PARMS): Do not use macros from bp-asm.h.
64935         (S1): Likewise.
64936         (S2): Likewise.
64937         (SIZE): Likewise.
64938         (__mpn_sub_n): Do not use BP_SYM.
64939         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
64940         "bp-asm.h".
64941         (PARMS): Do not use macros from bp-asm.h.
64942         (S1): Likewise.
64943         (SIZE): Likewise.
64944         (__mpn_submul_1): Do not use BP_SYM.
64945         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
64946         <bp-sym.h>.
64947         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
64948         and <bp-asm.h>.
64949         (PARMS): Do not use macros from bp-asm.h.
64950         (FLAGS): Likewise.
64951         (PTID): Likewise.
64952         (TLS): Likewise.
64953         (CTID): Likewise.
64954         (__clone): Do not use BP_SYM.
64955         (clone): Do not use BP_SYM in weak_alias.
64956         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
64957         and <bp-asm.h>.
64958         (PARMS): Do not use macros from bp-asm.h.
64959         (LEN): Likewise.
64960         (__mmap64): Do not use BP_SYM.
64961         (mmap64): Do not use BP_SYM in weak_alias.
64962         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64963         <bp-sym.h> and <bp-asm.h>.
64964         (PARMS): Do not use macros from bp-asm.h.
64965         (__posix_fadvise64_l64): Do not use BP_SYM.
64966         * sysdeps/unix/sysv/linux/i386/semtimedop.S
64967         (PARMS): Do not use macros from bp-asm.h.
64968         (NSOPS): Likewise.
64969         (semtimedop): Do not use BP_SYM.
64970         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
64971         and <bp-asm.h>.
64973 2013-02-21  Allan McRae  <allan@archlinux.org>
64975         * manual/message.texi (Charset conversion in gettext):
64976         Move @end statement to beginning of line.
64978 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
64981         static.
64982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
64983         Likewise.
64985         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
64986         (denorm): Likewise.
64987         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
64988         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
64990 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64992         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
64993         tail-call to the resolved function if pltexit isn't needed.
64995 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
64998         or Y being zero as being unlikely.
64999         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
65000         Likewise.
65002 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
65004         * manual/nss.texi (System Databases and Name Service Switch):
65005         Remove frobnicate @pxref.
65007 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65009         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65010         __attribute__ ((unused)) to __attribute__ ((__unused__)).
65012 2013-02-20  Petr Machata  <pmachata@redhat.com>
65014         * elf/elf.h (R_ARM_TARGET1): New macro.
65015         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
65016         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
65017         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
65018         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
65019         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
65020         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
65021         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
65022         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
65023         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
65024         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
65025         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
65026         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
65027         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
65028         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
65029         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
65030         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
65031         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
65032         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
65033         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
65034         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
65035         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
65036         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
65037         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
65038         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
65039         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
65040         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
65041         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
65042         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
65043         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
65044         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
65045         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
65046         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
65047         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
65048         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
65049         (R_ARM_THM_GOT_BREL12): Likewise.
65050         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
65051         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
65052         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
65053         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
65054         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
65055         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
65056         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
65057         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
65058         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
65060 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
65062         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
65063         __attribute_used__ to __attribute__ ((unused)).
65065 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65067         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
65068         powerpc mpa.c.
65069         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
65070         comment formatting.
65071         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
65073 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
65075         [BZ #13550]
65076         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
65077         Remove macro.
65078         (ENTER): Remove both macro definitions.
65079         (LEAVE): Likewise.
65080         (CHECK_BOUNDS_LOW): Likewise.
65081         (CHECK_BOUNDS_HIGH): Likewise.
65082         (CHECK_BOUNDS_BOTH): Likewise.
65083         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
65084         (RETURN_BOUNDED_POINTER): Likewise.
65085         (RETURN_NULL_BOUNDED_POINTER): Likewise.
65086         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
65087         (POP_ERRNO_LOCATION_RETURN): Likewise.
65088         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
65089         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65090         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
65091         macros.
65092         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65093         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
65094         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
65095         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
65096         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
65097         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
65098         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
65099         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
65100         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
65101         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
65102         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
65103         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
65104         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65105         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
65106         removed macros.
65107         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65108         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
65109         macros.
65110         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65111         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
65112         * sysdeps/i386/i586/memset.S (memset): Likewise.
65113         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
65114         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65115         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
65116         macros.
65117         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65118         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
65119         Change uses of L(2) to L(out).
65120         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
65121         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
65122         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
65123         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65124         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
65125         removed macros.
65126         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65127         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
65128         macros.
65129         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65130         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
65131         (RETURN): Do not use macro LEAVE.
65132         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
65133         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
65134         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
65135         * sysdeps/i386/i686/memset.S (memset): Likewise.
65136         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
65137         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
65138         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
65139         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
65140         Likewise.
65141         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65142         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
65143         L(1_2) and L(1_3) into L(1).
65144         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65145         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
65146         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65147         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
65148         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
65149         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
65150         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
65151         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65152         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
65153         macros.
65154         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
65155         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
65156         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
65157         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
65158         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
65159         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
65160         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
65161         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
65162         * sysdeps/i386/strcspn.S (strcspn): Likewise.
65163         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
65164         * sysdeps/i386/strrchr.S (strrchr): Likewise.
65165         * sysdeps/i386/strspn.S (strspn): Likewise.
65166         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
65167         conditional code.
65168         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
65169         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
65170         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
65171         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
65172         L(1_3) into L(1_1).
65173         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
65174         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
65175         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
65176         macros.
65177         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
65179 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
65181         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
65182         macro.
65184 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
65186         * math/atest-exp.c (exp_mpn): Remove ROUND.
65187         * math/atest-exp2.c (exp_mpn): Likewise.
65188         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
65190         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
65191         * stdlib/tst-tls-atexit-lib.c: Likewise.
65192         * stdlib/tst-tls-atexit.c: Likewise.
65194 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65196         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
65197         and __attribute_alloc_size__.
65199 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65201         * include/programs/xmalloc.h: Change __attribute_alloc_size to
65202         __attribute_alloc_size__.
65203         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
65204         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
65206 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
65208         * include/programs/xmalloc.h: New file.
65209         * catgets/gencat.c: Include it.
65210         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
65211         * elf/pldd.c: Likewise.
65212         * iconv/iconv_charmap.c: Likewise.
65213         * iconv/iconvconfig.c: Likewise.
65214         * iconv/strtab.c: Likewise.
65215         * locale/programs/locale.c: Likewise.
65216         * locale/programs/localedef.h: Likewise.
65217         * locale/programs/simple-hash.c: Likewise.
65218         * nscd/nscd.h: Likewise.
65219         * nss/makedb.c: Likewise.
65220         * sysdeps/generic/ldconfig.h: Likewise.
65222 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65224         * Versions.def: Add GLIBC_2.18.
65225         * include/link.h (struct link_map): New member l_tls_dtor_count.
65226         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
65227         (__call_tls_dtors): Likewise.
65228         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
65229         __cxa_thread_atexit_impl.
65230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65231         Likewise.
65232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65233         Likewise.
65234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
65235         Likewise.
65236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
65237         Likewise.
65238         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
65240         Likewise.
65241         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
65242         Likewise.
65243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
65245         Likewise.
65246         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
65247         (tests): Add test case tst-tls-atexit.
65248         (modules-names): Add shared library for tst-tls-atexit.
65249         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
65250         (GLIBC_PRIVATE): Add __call_tls_dtors.
65251         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
65252         for libstdc++.
65253         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
65254         * stdlib/tst-tls-atexit.c: New test case.
65255         * stdlib/tst-tls-atexit-lib.c: New test case.
65257         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
65259         * elf/Versions (ld): Add _dl_find_dso_for_object.
65260         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
65261         * elf/dl-open.c (_dl_find_dso_for_object): New function.
65262         (dl_open_worker): Use _dl_find_dso_for_object.
65263         * elf/dl-sym.c (do_sym): Likewise.
65264         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
65266 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65268         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
65269         Syntactic changes only.
65270         (_dl_runtime_profile): Do a tail-call to the resolved function.
65272 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
65274         [BZ #13550]
65275         * sysdeps/x86_64/bp-asm.h: Remove file.
65276         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
65277         <bp-sym.h> and <bp-asm.h>.
65278         (__clone): Do not use BP_SYM.
65279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
65280         <bp-sym.h> and <bp-asm.h>.
65281         * sysdeps/unix/x86_64/sysdep.S: Likewise.
65282         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
65283         "bp-asm.h".
65284         (_setjmp): Do not use BP_SYM.
65285         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
65286         "bp-asm.h".
65287         (setjmp): Do not use BP_SYM.
65288         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
65289         libc_hidden_def.
65290         (mempcpy): Do not use BP_SYM in weak_alias.
65291         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
65292         "bp-asm.h".
65293         (strchr): Do not use BP_SYM.
65294         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
65295         "bp-asm.h".
65296         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
65297         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
65298         (_start): Do not use BP_SYM.
65299         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
65300         "bp-asm.h".
65301         (strcat): Do not use BP_SYM.
65302         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
65303         "bp-asm.h".
65304         (STRCMP): Do not use BP_SYM.
65305         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
65306         "bp-asm.h".
65307         (STRCPY): Do not use BP_SYM.
65308         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
65309         "bp-asm.h".
65310         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
65311         "bp-asm.h".
65312         (FUNCTION): Do not use BP_SYM.
65313         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
65314         weak_alias.
65315         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
65317 2013-02-17  Andreas Jaeger  <aj@suse.de>
65319         * time/Versions: Sort entries.
65320         * string/Versions: Likewise.
65321         * resolv/Versions: Likewise.
65322         * posix/Versions: Likewise.
65323         * iconv/Versions: Likewise.
65324         * elf/Versions: Likewise.
65325         * wcsmbs/Versions: Likewise.
65327 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65329         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
65330         loop termination condition.
65332         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
65333         variable to calculate EZ.
65334         (__sqr): Likewise.
65336         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
65337         the lower precision input.
65339 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
65341         [BZ #13550]
65342         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
65343         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
65344         (run-via-rtld-prefix): Do not handle %-bp tests.
65345         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
65346         (all-object-suffixes): Remove .ob.
65347         (bppfx): Remove variable.
65348         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
65349         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
65350         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
65351         [$(build-bounded) = yes] (libtype.ob): Likewise.
65352         * Makerules (elide-routines.ob): Remove variable.
65353         (do-tests-clean): Do not handle *-bp.out.
65354         (common-mostlyclean): Do not handle *-bp and *-bp.out.
65355         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
65356         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
65357         (tests): Do not include $(tests-bp.out).
65358         (xtests): Do not include $(xtests-bp.out).
65359         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
65360         [$(build-bounded) = yes] ($(addprefix
65361         $(objpfx),$(binaries-bounded))): Remove rule.
65362         ($(objpfx)%-bp.out): Remove rule.
65363         * config.make.in (build-bounded): Remove variable.
65364         * crypt/Makefile [$(build-bounded) = yes]
65365         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
65366         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
65367         append to variable.
65368         [$(build-bounded) = yes] (install-lib): Likewise.
65369         [$(build-bounded) = yes] (generated): Likewise.
65370         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
65371         Remove rule.
65372         * intl/Makefile [$(build-bounded) = yes]
65373         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
65374         * math/Makefile [$(build-bounded) = yes]
65375         ($(tests:%=$(objpfx)%-bp): Likewise.
65376         * misc/Makefile [$(build-bounded) = yes]
65377         ($(objpfx)tst-tsearch-bp): Likewise.
65378         * nptl/Makeconfig (bounded-thread-library): Remove variable.
65379         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
65380         Remove dependency.
65381         * string/Makefile (o-objects.ob): Remove variable.
65382         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
65383         (CFLAGS-.ob): Remove variable.
65384         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
65385         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
65386         both definitions of variable.
65387         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
65388         (ASFLAGS-.ob): Remove variable.
65390 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
65392         [BZ #13550]
65393         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
65394         Remove __BOUNDED_POINTERS__ from condition.
65395         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
65396         * string/bits/string2.h [!__NO_STRING_INLINES &&
65397         !__BOUNDED_POINTERS__]: Likewise.
65398         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
65399         Likewise.
65400         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
65401         Remove conditional code.
65402         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
65403         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
65404         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
65405         condition.
65407         [BZ #13550]
65408         * csu/libc-start.c: Do not include <bp-sym.h>.
65409         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
65410         * elf/dl-open.c: Do not include <bp-sym.h>.
65411         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
65412         * math/fegetenv.c: Do not include <bp-sym.h>.
65413         (fegetenv): Do not use BP_SYM in versioned symbols.
65414         * nptl/sysdeps/pthread/bits/libc-lockP.h
65415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
65416         <bp-sym.h>.
65417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65418         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
65419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65420         (__pthread_mutex_destroy): Likewise.
65421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65422         (__pthread_mutex_lock): Likewise.
65423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65424         (__pthread_mutex_trylock): Likewise.
65425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65426         (__pthread_mutex_unlock): Likewise.
65427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65428         (__pthread_mutexattr_init): Likewise.
65429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65430         (__pthread_mutexattr_destroy): Likewise.
65431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65432         (__pthread_mutexattr_settype): Likewise.
65433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65434         (__pthread_rwlock_init): Likewise.
65435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65436         (__pthread_rwlock_destroy): Likewise.
65437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65438         (__pthread_rwlock_rdlock): Likewise.
65439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65440         (__pthread_rwlock_tryrdlock): Likewise.
65441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65442         (__pthread_rwlock_wrlock): Likewise.
65443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65444         (__pthread_rwlock_trywrlock): Likewise.
65445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65446         (__pthread_rwlock_unlock): Likewise.
65447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65448         (__pthread_key_create): Likewise.
65449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65450         (__pthread_setspecific): Likewise.
65451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65452         (__pthread_getspecific): Likewise.
65453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
65454         Likewise.
65455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65456         (_pthread_cleanup_push_defer): Likewise.
65457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65458         (_pthread_cleanup_pop_restore): Likewise.
65459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
65460         (pthread_setcancelstate): Likewise.
65461         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
65462         <bp-sym.h>.
65463         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
65464         (memchr): Do not use BP_SYM in weak_alias.
65465         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
65466         (fegetenv): Do not use BP_SYM in versioned symbols.
65467         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
65468         (fesetenv): Do not use BP_SYM in versioned symbols.
65469         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65470         (feupdateenv): Do not use BP_SYM in versioned symbols.
65471         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65472         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65473         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
65474         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
65475         (open64): Do not use BP_SYM in weak_alias.
65476         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
65477         (fegetenv): Do not use BP_SYM in versioned symbols.
65478         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
65479         (fesetenv): Do not use BP_SYM in versioned symbols.
65480         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
65481         (feupdateenv): Do not use BP_SYM in versioned symbols.
65482         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
65483         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
65484         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
65485         (feraiseexcept): Do not use BP_SYM in versioned symbols.
65486         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
65487         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
65488         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
65489         <bp-sym.h>.
65490         (__libc_start_main): Do not use BP_SYM.
65492 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65494         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
65495         redundant return line.
65496         (norm): Likewise.
65497         (denorm): Likewise.
65498         (dbl_mp): Likewise.
65499         (sub_magnitudes): Likewise.
65500         (__add): Likewise.
65501         (__sub): Likewise.
65502         (__mul): Likewise.
65503         (__inv): Likewise.
65504         (__dvd): Likewise.
65505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
65506         (norm): Likewise.
65507         (denorm): Likewise.
65508         (dbl_mp): Likewise.
65509         (sub_magnitudes): Likewise.
65510         (__add): Likewise.
65511         (__sub): Likewise.
65512         (__mul): Likewise.
65513         (__inv): Likewise.
65514         (__dvd): Likewise.
65516         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
65517         instead of __mul.
65518         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
65519         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
65520         (cc32): Likewise.
65522         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
65523         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
65524         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
65525         of __mul for squares.
65526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
65527         function
65528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
65529         Likewise.
65530         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
65531         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
65533 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
65535         [BZ #13550]
65536         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
65537         code.
65538         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
65539         prototype or function definition.  Rename ubp_* variables and
65540         parameters.  Remove argv definitions conditional on
65541         [__BOUNDED_POINTERS__].
65542         * debug/backtrace.c (__backtrace): Do not use __unbounded.
65543         * elf/dl-runtime.c (_dl_fixup): Likewise.
65544         * include/set-hooks.h (RUN_HOOK): Likewise.
65545         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
65546         definition.
65547         * string/strcpy.c (strcpy): Do not use __unbounded.
65548         * sysdeps/generic/frame.h (struct layout): Likewise.
65549         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
65550         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
65551         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
65552         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
65553         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
65554         (__backtrace): Likewise.
65555         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
65556         use __ptrvalue.
65557         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
65558         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
65559         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
65560         Likewise.
65561         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
65562         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
65563         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
65564         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
65565         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
65566         Do not use __unbounded.
65567         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
65568         Rename __unboundedrlimits parameter to rlimits in prototype.
65569         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
65570         Do not use __unbounded.
65571         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
65572         not use __ptrvalue.
65573         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
65574         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
65575         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
65576         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
65577         __ptrvalue or __unbounded.
65578         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
65579         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
65580         use __unbounded.
65581         (__new_msgctl): Do not use __ptrvalue.
65582         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
65583         __unbounded.
65584         (__libc_msgrcv): Do not use __ptrvalue.
65585         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
65586         startup_info): Do not use __unbounded.
65587         (__libc_start_main): Likewise.  Rename ubp_* variables and
65588         parameters.  Remove argv definitions conditional on
65589         [__BOUNDED_POINTERS__].
65590         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
65591         __ptrvalue.
65592         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
65593         use __unbounded.
65594         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
65595         or __ptrvalue.
65596         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
65597         use __unbounded.
65598         (__new_shmctl): Do not use __ptrvalue.
65599         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
65600         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
65601         Likewise.
65602         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
65603         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
65604         (__libc_sigaction): Likewise.
65605         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
65606         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
65607         Likewise.
65608         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
65610 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
65612         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
65614         * string/mempcpy.c: Implement by calling memcpy.
65616 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
65620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
65621         evaluation.
65623         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
65624         values in the mantissa.
65626         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
65627         minimize writes to Z.
65628         (sub_magnitudes): Simplify code a bit.
65630 2013-02-12  Roland McGrath  <roland@hack.frob.com>
65632         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
65633         from the message.  The linker prefixes all warnings with that already.
65635 2013-02-12  Andreas Schwab  <schwab@suse.de>
65637         [BZ #15078]
65638         * posix/regexec.c (extend_buffers): Add parameter min_len.
65639         (check_matching): Pass minimum needed length.
65640         (clean_state_log_if_needed): Likewise.
65641         (get_subexp): Likewise.
65642         * posix/Makefile (tests): Add bug-regex34.
65643         (bug-regex34-ENV): Define.
65644         * posix/bug-regex34.c: New file.
65646         [BZ #11561]
65647         * posix/regcomp.c (parse_bracket_exp): When looking up collating
65648         elements compare against the byte sequence of it, not its name.
65649         * posix/Makefile (tests): Add bug-regex35.
65650         (bug-regex35-ENV): Define.
65651         * posix/bug-regex35.c: New file.
65653 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65655         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
65656         comment.
65657         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
65658         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
65659         (CHECK_EOL): Add undef.
65661 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
65663         * bits/stdlib-bsearch.h: New file.
65664         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
65665         * stdlib/stdlib.h: Likewise.
65667 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65669         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
65670         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
65671         declaration.
65672         * manual/search.texi (Array Search Function): Add missing const in
65673         lfind prototype.
65674         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
65675         declaration to use rlim_t.
65676         (Basic Scheduling Functions): Remove erroneous const from
65677         sched_getparam prototype.  Remove erroneous * from
65678         sched_get_priority_max and sched_get_priority_min prototypes.
65679         (Resource Usage): Fix summary @comment on vtimes to refer to
65680         sys/vtimes.h rather than vtimes.h.
65681         Add missing *s in vtimes prototype.
65682         (Limits on Resources): Fix ulimit prototype to return long int.
65683         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
65684         prototypes to use long int rather than double.
65685         (BSD Random): Fix initstate and setstate to use char *, not void *.
65686         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
65687         prototype to make second argument 'struct aiocb64 *const[]'.
65688         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
65689         (Status of AIO Operations): Remove erroneous const in aio_return and
65690         aio_return64 prototypes.
65691         (Synchronizing I/O): Fix sync prototype to return void.
65692         * manual/startup.texi (Suboptions): Remove an erroneous const in
65693         getsubopt prototype.
65694         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
65695         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
65696         use size_t rather than int.
65697         (Scanning All Users): Likewise for getpwent_r.
65698         (Setting Groups): Add missing const to setgroups prototype.
65699         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
65700         * manual/socket.texi (Host Names): Fix gethostbyaddr and
65701         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
65702         'const void *' rather than 'const char *'.
65703         (Host Address Functions): Likewise for inet_ntop.
65704         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
65705         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
65706         ssize_t for return value.
65707         (Sending Data): Likewise for send, sendto, sendmsg.
65708         (Socket Option Functions): Add a missing const in setsockopt prototype.
65709         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
65710         use wchar_t for the argument.
65711         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
65712         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
65713         take no arguments.
65714         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
65715         double/float/long double for second argument.
65716         Fix return types of significand, significandf, significandl.
65717         * manual/filesys.texi (Setting Permissions): Use mode_t for second
65718         argument in fchmod prototype.
65719         (File Owner): Use uid_t and gid_t in fchown prototype.
65720         (File Times): Add const to utimes, futimes, and lutimes prototypes.
65721         (Making Special Files): Use mode_t and dev_t in mknod prototype.
65722         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
65723         use 'const struct dirent **' as argument types to CMP function pointer
65724         argument.
65725         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
65726         (File Times): Fix summary magic @comment for struct utimbuf and utime
65727         to refer to utime.h, not time.h.
65728         * manual/string.texi (Argz Functions): Add missing const in
65729         argz_extract and argz_next prototypes.
65730         (Finding Tokens in a String): Likewise for basename.
65731         (String/Array Comparison): Fix typo in wcscasecmp prototype.
65732         (Copying and Concatenation): Fix typo in wmemmove prototype.
65733         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
65734         (Signal Stack): Remove erroneous const in sigstack prototype.
65735         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
65736         prototype.
65737         (Simple Calendar Time): Likewise for stime.
65738         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
65739         prototype.
65740         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
65741         say sys/sysctl.h instead.
65742         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
65743         and vsyslog prototypes.
65745 2013-02-11  Tom de Vries  <tom@codesourcery.com>
65747         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
65748         Remove.
65750 2013-02-11  Roland McGrath  <roland@hack.frob.com>
65752         * misc/sys/mman.h: Fix typo in mremap comment.
65754 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65756         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
65757         the '\0' terminator.
65759 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65761         [BZ #13550]
65762         * debug/segfault.c: Don't include <bp-checks.h>.
65763         * sysdeps/generic/bp-checks.h: Remove file.
65764         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
65765         (__GETDENTS): Don't use CHECK_N.
65766         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
65767         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
65768         (__getgroups): Don't use CHECK_N.
65769         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
65770         (setgroups): Don't use CHECK_N.
65771         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
65772         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
65773         (__libc_msgrcv): Don't use CHECK_N.
65774         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
65775         (__libc_msgsnd): Don't use CHECK_N.
65776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
65777         <bp-checks.h>.
65778         (__libc_pread): Don't use CHECK_N.
65779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
65780         include <bp-checks.h>.
65781         (__libc_pread64): Don't use CHECK_N.
65782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
65783         include <bp-checks.h>.
65784         (__libc_pwrite): Don't use CHECK_N.
65785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
65786         include <bp-checks.h>.
65787         (__libc_pwrite64): Don't use CHECK_N.
65788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
65789         <bp-checks.h>.
65790         (__libc_pread): Don't use CHECK_N.
65791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
65792         include <bp-checks.h>.
65793         (__libc_pread64): Don't use CHECK_N.
65794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
65795         include <bp-checks.h>.
65796         (__libc_pwrite): Don't use CHECK_N.
65797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
65798         include <bp-checks.h>.
65799         (__libc_pwrite64): Don't use CHECK_N.
65800         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
65801         (do_pread): Don't use CHECK_N.
65802         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
65803         (do_pread64): Don't use CHECK_N.
65804         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
65805         (do_pwrite): Don't use CHECK_N.
65806         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
65807         (do_pwrite64): Don't use CHECK_N.
65808         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
65809         (__libc_readv): Don't use CHECK_N.
65810         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
65811         (semop): Don't use CHECK_N.
65812         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
65813         <bp-checks.h>.
65814         (semtimedop): Don't use CHECK_N.
65815         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
65816         (__libc_pread): Don't use CHECK_N.
65817         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
65818         <bp-checks.h>.
65819         (__libc_pread64): Don't use CHECK_N.
65820         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
65821         <bp-checks.h>.
65822         (__libc_pwrite): Don't use CHECK_N.
65823         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
65824         <bp-checks.h>.
65825         (__libc_pwrite64): Don't use CHECK_N.
65826         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
65827         <bp-checks.h>.
65828         (__libc_msgrcv): Don't use CHECK_N.
65829         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
65830         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
65831         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
65832         (__libc_writev): Don't use CHECK_N.
65834 2013-02-08  Roland McGrath  <roland@hack.frob.com>
65836         * string/strcpy.c: Removed unused variable.
65838         * Makeconfig (+sysdep-includes): Define with := rather than =.
65839         Use an existing include/ subdir of each sysdeps dir before it.
65841 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65843         * nscd/connection.c (register_traced_file): Comment function.
65844         [HAVE_INOTIFY] (union __inev): Define.
65845         [HAVE_INOTIFY] (inotify_check_files): New function.
65846         [HAVE_INOTIFY] (clear_db_cache): Likewise.
65847         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
65848         clear_db_cache.
65849         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
65851 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65853         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
65854         loaded if not already and that a failure is permanent.
65856 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
65858         [BZ #15006]
65859         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
65860         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
65862 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
65864         [BZ #13550]
65865         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
65866         (CHECK_1_NULL_OK): Likewise.
65867         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
65868         (__fxstat): Do not use CHECK_1.
65869         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
65870         <bp-checks.h>.
65871         (___fxstat64): Do not use CHECK_1.
65872         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
65873         <bp-checks.h>.
65874         (__fxstatat): Do not use CHECK_1.
65875         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
65876         <bp-checks.h>.
65877         (__fxstatat64): Do not use CHECK_1.
65878         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
65879         <bp-checks.h>.
65880         (__fxstat): Do not use CHECK_1.
65881         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
65882         <bp-checks.h>.
65883         (__fxstatat): Do not use CHECK_1.
65884         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65885         <bp-checks.h>.
65886         (__getresgid): Do not use CHECK_1.
65887         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65888         <bp-checks.h>.
65889         (__getresuid): Do not use CHECK_1.
65890         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
65891         <bp-checks.h>.
65892         (__lxstat): Do not use CHECK_1.
65893         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65894         <bp-checks.h>.
65895         (__old_msgctl): Do not use CHECK_1.
65896         (__new_msgctl): Likewise.
65897         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
65898         <bp-checks.h>.
65899         (__new_setrlimit): Do not use CHECK_1.
65900         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
65901         <bp-checks.h>.
65902         (__old_shmctl): Do not use CHECK_1.
65903         (__new_shmctl): Likewise.
65904         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
65905         <bp-checks.h>.
65906         (__xstat): Do not use CHECK_1.
65907         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
65908         (__lxstat): Do not use CHECK_1.
65909         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
65910         <bp-checks.h>.
65911         (___lxstat64): Do not use CHECK_1.
65912         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
65913         (__old_msgctl): Do not use CHECK_1.
65914         (__new_msgctl): Likewise.
65915         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
65916         <bp-checks.h>.
65917         (__gettimeofday): Do not use CHECK_1.
65918         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
65919         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
65920         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
65921         <bp-checks.h>.
65922         (__gettimeofday): Do not use CHECK_1.
65923         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
65924         (__old_shmctl): Do not use CHECK_1_NULL_OK.
65925         (__new_shmctl): Do not use CHECK_1.
65926         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
65927         <bp-checks.h>.
65928         (do_sigtimedwait): Do not use CHECK_1.
65929         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
65930         <bp-checks.h>.
65931         (do_sigwaitinfo): Do not use CHECK_1.
65932         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
65933         <bp-checks.h>.
65934         (msgctl): Do not use CHECK_1.
65935         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
65936         <bp-checks.h>.
65937         (shmctl): Do not use CHECK_1.
65938         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
65939         (ustat): Do not use CHECK_1.
65940         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
65941         <bp-checks.h>.
65942         (__fxstat): Do not use CHECK_1.
65943         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
65944         <bp-checks.h>.
65945         (__fxstatat): Do not use CHECK_1.
65946         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
65947         <bp-checks.h>.
65948         (__lxstat): Do not use CHECK_1.
65949         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
65950         <bp-checks.h>.
65951         (__xstat): Do not use CHECK_1.
65952         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
65953         (__xstat): Do not use CHECK_1.
65954         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
65955         (___xstat64): Do not use CHECK_1.
65957         [BZ #13550]
65958         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
65959         definitions.
65960         (CHECK_BOUNDS_HIGH): Likewise.
65961         * string/strcpy.c: Do not include <bp-checks.h>.
65962         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
65964 2013-02-07  Roland McGrath  <roland@hack.frob.com>
65966         * nscd/nscd-client.h (__nscd_drop_map_ref):
65967         Add __attribute__ ((unused)).
65968         * nis/nss-nisplus.h (niserr2nss): Likewise.
65970         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
65971         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
65973         * csu/libc-tls.c (init_static_tls, init_slotinfo):
65974         Remove inline keyword.
65975         * include/rounding-mode.h (round_away): Likewise.
65976         * libio/wfileops.c (adjust_wide_data): Likewise.
65977         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
65978         (__m128i_strloadu_tolower): Likewise.
65979         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
65980         (__m128i_strloadu_tolower): Likewise.
65981         * time/mktime.c (ydhms_diff): Likewise.
65982         * locale/elem-hash.h (elem_hash): Likewise.
65983         * locale/setlocale.c (setdata): Likewise.
65984         * posix/regex_internal.h (re_string_char_size_at): Likewise.
65985         (re_string_wchar_at): Likewise.
65986         (bitset_not, bitset_merge, bitset_mask): Likewise.
65987         [!(__GNUC__ > 3)] (inline): Remove macro.
65988         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
65989         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
65990         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
65991         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
65992         * string/memcmp.c (memcmp_bytes): Likewise.
65993         * locale/programs/locarchive.c (compute_hashval): Likewise.
65994         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
65995         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
65996         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
65997         * nss/getent.c (print_rpc, print_protocols): Likewise.
65998         (print_passwd, print_group, print_aliases): Likewise.
65999         * nis/nss-nisplus.h (niserr2nss): Likewise.
66000         * nscd/connections.c (restart_p): Likewise.
66001         Change return type to bool.
66003 2013-02-05  Roland McGrath  <roland@hack.frob.com>
66005         * Makeconfig (all-Depend-files): Add existing
66006         $(sorted-subdirs:=/Depend) files.
66007         (all-subdirs): Remove nss.
66008         * sysdeps/unix/inet/Subdirs: Add it here instead.
66009         * hesiod/Depend: New file.
66011         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
66012         instead of calling alloca.
66014         * io/lseek.c (__lseek): Rename to __libc_lseek.
66015         Define __lseek as an alias.
66017         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
66019 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
66021         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
66022         else clause and remove check for non-standard endianness.
66024 2013-02-04  David S. Miller  <davem@davemloft.net>
66026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66028 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
66030         [BZ #13550]
66031         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
66032         (__ubp_memchr): Remove prototype.
66033         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
66034         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66035         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
66036         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
66037         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
66038         Remove alias.
66039         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
66040         (__ubp_memchr): Likewise.
66041         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
66042         (__ubp_memchr): Likewise.
66043         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
66044         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
66045         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
66046         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
66047         CHECK_STRING.
66048         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
66049         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
66050         (__getcwd): Do not use CHECK_STRING.
66051         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
66052         <bp-checks.h>.
66053         (__real_chown): Do not use CHECK_STRING.
66054         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
66055         <bp-checks.h>.
66056         (fchownat): Do not use CHECK_STRING.
66057         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
66058         CHECK_STRING.
66059         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
66060         <bp-checks.h>.
66061         (__lchown): Do not use CHECK_STRING.
66062         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
66063         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
66064         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
66065         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
66066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
66067         include <bp-checks.h>.
66068         (truncate64): Do not use CHECK_STRING.
66069         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66070         <bp-checks.h>.
66071         (__real_chown): Do not use CHECK_STRING.
66072         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66073         <bp-checks.h>.
66074         (__lchown): Do not use CHECK_STRING.
66075         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66076         <bp-checks.h>.
66077         (__chown): Do not use CHECK_STRING.
66078         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
66079         <bp-checks.h>.
66080         (truncate64): Do not use CHECK_STRING.
66081         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
66082         Likewise.
66083         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
66084         (__xmknod): Do not use CHECK_STRING.
66085         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
66086         <bp-checks.h>.
66087         (__xmknodat): Do not use CHECK_STRING.
66088         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
66089         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
66091 2013-02-04  Andreas Schwab  <schwab@suse.de>
66093         [BZ #14142]
66094         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
66095         * include/netdb.h: Likewise for h_errno.
66096         * elf/tst-stackguard1.c: Include <tls.h>.
66098 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
66100         * elf/link.h (struct link_map): Extend the l_addr comment.
66101         * include/link.h (struct link_map): Likewise.
66103 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
66105         [BZ #13550]
66106         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
66107         (BOUNDED_1): Remove macro.
66108         * debug/backtrace.c: Don't include <bp-checks.h>.
66109         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
66110         (__backtrace): Likewise.
66111         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
66112         <bp-checks.h>.
66113         (__backtrace): Don't use BOUNDED_1.
66114         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
66115         <bp-checks.h>.
66116         (__backtrace): Don't use BOUNDED_1.
66117         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
66118         (__backtrace): Don't use BOUNDED_1.
66119         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
66120         (shmat): Don't use BOUNDED_N.
66122 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
66124         [BZ #13550]
66125         * sysdeps/generic/bp-start.h: Remove file.
66126         * csu/libc-start.c: Don't include <bp-start.h>.
66127         (LIBC_START_MAIN): Set up __environ directly instead of using
66128         INIT_ARGV_and_ENVIRON.
66129         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
66130         <bp-start.h>.
66132         [BZ #13550]
66133         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
66134         definitions.
66135         (CHECK_FCNTL): Likewise.
66136         (CHECK_N_PAGES): Likewise.
66138         [BZ #13550]
66139         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
66140         definitions.
66141         (CHECK_SIGSET_NULL_OK): Likewise.
66142         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
66143         <bp-checks.h>.
66144         (sigpending): Don't use CHECK_SIGSET.
66145         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
66146         <bp-checks.h>.
66147         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66148         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
66149         <bp-checks.h>.
66150         (do_sigsuspend): Don't use CHECK_SIGSET.
66151         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
66152         use CHECK_SIGSET.
66153         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
66154         (do_sigwait): Don't use CHECK_SIGSET.
66155         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
66156         use CHECK_SIGSET.
66157         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
66158         include <bp-checks.h>.
66159         (sigpending): Don't use CHECK_SIGSET.
66160         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
66161         include <bp-checks.h>.
66162         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66163         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
66164         <bp-checks.h>.
66165         (sigpending): Don't use CHECK_SIGSET.
66166         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
66167         <bp-checks.h>.
66168         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
66170         [BZ #13550]
66171         * sysdeps/generic/bp-semctl.h: Remove file.
66172         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
66173         <bp-checks.h> and <bp-semctl.h>.
66174         (__old_semctl): Don't use CHECK_SEMCTL.
66175         (__new_semctl): Likewise.
66176         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
66177         and <bp-semctl.h>.
66178         (__old_semctl): Don't use CHECK_SEMCTL.
66179         (__new_semctl): Likewise.
66180         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
66181         <bp-checks.h> and <bp-semctl.h>.
66182         (__old_semctl): Don't use CHECK_SEMCTL.
66183         (__new_semctl): Likewise.
66184         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
66185         <bp-checks.h> and <bp-semctl.h>.
66186         (semctl): Don't use CHECK_SEMCTL.
66188         [BZ #13550]
66189         * Makerules (elide-bp-thunks): Remove variable.
66190         (elide-routines.oS): Don't use $(elide-bp-thunks).
66191         (elide-routines.os): Likewise.
66192         (elide-routines.o): Likewise.
66193         (elide-routines.op): Likewise.
66194         (elide-routines.og): Likewise.
66195         (objects): Don't use $(bp-thunks).
66196         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
66197         include.
66198         (common-generated): Do not add s-proto-bp.d.
66199         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
66200         (int): Likewise.
66201         (typ): Likewise.
66202         Do not generate makefile rules for bounded-pointer thunks.
66203         * sysdeps/generic/bp-thunks.h: Remove file.
66204         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
66205         * sysdeps/unix/s-proto-bp.S: Likewise.
66207         [BZ #15062]
66208         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
66209         parts of result separately when argument is not close to line from
66210         -i to i and one part of argument is small.
66211         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66212         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66213         * math/libm-test.inc (cacos_test): Add more tests.
66214         (casin_test): Likewise.
66215         (casinh_test): Likewise.
66216         * sysdeps/i386/fpu/libm-test-ulps: Update.
66217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66219 2013-01-31  David S. Miller  <davem@davemloft.net>
66221         * po/de.po: Update from translation team.
66223 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
66225         * time/tzfile.c: Include stdint.h for SIZE_MAX.
66227 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
66229         * configure.in (_AC_PROG_CC_C89): New definition.
66230         * configure: Regenerate.
66232         * configure.in (AC_PROG_CPP): New definition.
66233         * configure: Regenerate.
66235 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66237         * debug/tst-backtrace.h: New file.
66238         * debug/tst-backtrace2.c: Include tst-backtrace.h.
66239         (ret): Remove variable.
66240         (x): Likewise.
66241         (FAIL): Remove macro.
66242         (NO_INLINE): Likewise.
66243         (fn1): Use match function instead of strstr.
66244         * debug/tst-backtrace3.c: Include tst-backtrace.h.
66245         (ret): Remove variable.
66246         (x): Likewise.
66247         (FAIL): Remove macro.
66248         (NO_INLINE): Likewise.
66249         (fn): Use match function instead of strstr.
66250         * debug/tst-backtrace4.c: Include tst-backtrace.h.
66251         (ret): Remove variable.
66252         (x): Likewise.
66253         (FAIL): Remove macro.
66254         (NO_INLINE): Likewise.
66255         (handle_signal): Use match function instead of strstr.
66256         * debug/tst-backtrace5.c: Include tst-backtrace.h.
66257         (ret): Remove variable.
66258         (x): Likewise.
66259         (FAIL): Remove macro.
66260         (NO_INLINE): Likewise.
66261         (handle_signal): Use match function instead of strstr.
66263 2013-01-23  Roland McGrath  <roland@hack.frob.com>
66265         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
66267 2013-01-23  David S. Miller  <davem@davemloft.net>
66269         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
66270         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
66271         argument of CAS if possible.
66272         * sysdeps/sparc/sparc64/bits/atomic.h
66273         (__arch_compare_and_exchange_val_32_acq): Likewise.
66274         (__arch_compare_and_exchange_val_64_acq): Likewise.
66276 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
66278         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
66279         * sysdeps/posix/ulimit.c: ... this.
66280         Include <limits.h>.
66281         * sysdeps/unix/bsd/ulimit.c: Remove file.
66283 2013-01-23  Adam Conrad  <adconrad@0c3.net>
66285         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
66286         (LDFLAGS-tst-array5): Likewise.
66288 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
66290         [BZ #15036]
66291         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
66292         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
66293         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
66294         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
66296 2013-01-21  David S. Miller  <davem@davemloft.net>
66298         * sysdeps/sparc/backtrace.c: New file.
66299         * sysdeps/sparc/sparc32/backtrace.h: New file.
66300         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
66301         * sysdeps/sparc/sparc64/backtrace.h: New file.
66302         * sysdeps/sparc/sparc64/backtrace.c: Delete.
66303         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
66304         -funwind-tables.
66306 2013-01-21  Andreas Schwab  <schwab@suse.de>
66308         [BZ #15020]
66309         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
66310         closed its stdout.
66312 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
66314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
66315         "mpa2.h".
66316         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66318 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
66319             Mark Mitchell  <mark@codesourcery.com>
66320             Tom de Vries  <tom@codesourcery.com>
66321             Paul Pluzhnikov  <ppluzhnikov@google.com>
66323         * debug/tst-backtrace2.c: New file.
66324         * debug/tst-backtrace3.c: Likewise.
66325         * debug/tst-backtrace4.c: Likewise.
66326         * debug/tst-backtrace5.c: Likewise.
66327         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
66328         (CFLAGS-tst-backtrace3.c): Likewise.
66329         (CFLAGS-tst-backtrace4.c): Likewise.
66330         (CFLAGS-tst-backtrace5.c): Likewise.
66331         (LDFLAGS-tst-backtrace2): Likewise.
66332         (LDFLAGS-tst-backtrace3): Likewise.
66333         (LDFLAGS-tst-backtrace4): Likewise.
66334         (LDFLAGS-tst-backtrace5): Likewise.
66335         (tests): Add new tests tst-backtrace2, tst-backtrace3,
66336         tst-backtrace4 and tst-backtrace5.
66338 2013-01-18  Anton Blanchard  <anton@samba.org>
66339             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66341         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
66342         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
66343         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
66344         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
66345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
66346         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
66347         "+r" and remove output regs list as redundant.  Add explicit inline
66348         asm to specify register of return val to work around compiler codegen
66349         bug.  Remove (int) cast on return value.  Add return type parameter to
66350         use in macro so that this macro does not truncate return value for
66351         64-bit values.
66352         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
66353         pass to INTERNAL_VSYSCALL_NCS.
66354         (INLINE_VSYSCALL): Add 'long int' as return type to
66355         INTERNAL_VSYSCALL_NCS macro invocation.
66356         (INTERNAL_VSYSCALL): Add 'long int' as return type to
66357         INTERNAL_VSYSCALL_NCS macro invocation.
66358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66360 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66362         [BZ #14496]
66363         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
66364         Fix application of SIMD FP exception mask.
66366         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
66367         mp_no from a power of two.
66368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
66369         __mpexp_twomm1.  Use __pow_mp.
66371         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
66372         multiplication.
66374 2013-01-17  David S. Miller  <davem@davemloft.net>
66376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66378 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66380         [BZ #15023]
66381         * include/complex.h: Condition contents on [!_COMPLEX_H].
66382         (__kernel_casinhf): New prototype.
66383         (__kernel_casinh): Likewise.
66384         (__kernel_casinhl): Likewise.
66385         * math/Makefile (libm_calls): Add k_casinh.
66386         * math/k_casinh.c: New file.
66387         * math/k_casinhf.c: Likewise.
66388         * math/k_casinhl.c: Likewise.
66389         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
66390         finite nonzero arguments.
66391         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
66392         finite nonzero arguments.
66393         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
66394         finite nonzero arguments.
66395         * math/s_casinh.c: Do not include <float.h>.
66396         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
66397         * math/s_casinhf.c: Do not include <float.h>.
66398         (__casinhf): Move code for finite nonzero arguments to
66399         k_casinhf.c.
66400         * math/s_casinhl.c: Do not include <float.h>.
66401         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
66402         redefine.
66403         (__casinhl): Move code for finite nonzero arguments to
66404         k_casinhl.c.
66405         * math/libm-test.inc (cacos_test): Add more tests.
66406         * sysdeps/i386/fpu/libm-test-ulps: Update.
66407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66409 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
66411         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
66412         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
66413         [!HAVE_MREMAP]: Remove [defined linux] case.
66414         * malloc/arena.c: Do not include <malloc-sysdep.h>.
66416 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66418         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
66420 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
66422         * elf/elf.h (R_386_SIZE32): New relocation.
66423         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
66424         R_386_SIZE32.
66425         (elf_machine_rela): Likewise.
66426         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
66427         R_X86_64_SIZE64 and R_X86_64_SIZE32.
66429 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
66431         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
66432         (FP_FAST_FMA): Do not define.
66433         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
66434         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
66435         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
66436         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
66437         !_SOFT_FLOAT]: Likewise.
66438         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
66439         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
66440         value.
66441         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
66442         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
66443         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
66444         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
66445         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
66446         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
66447         file.
66449 2013-01-16  Andreas Schwab  <schwab@suse.de>
66451         [BZ #14327]
66452         * include/stdlib.h (__mktemp): Add declaration.
66453         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
66454         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
66456 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
66458         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
66459         definitions.
66460         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
66461         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
66462         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
66463         definitions here.
66464         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
66465         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
66466         definitions.
66467         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
66468         and ONE.
66469         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
66470         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
66471         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
66472         definitions.
66473         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
66474         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
66475         definitions.
66476         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
66478         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
66480 2013-01-15  David S. Miller  <davem@davemloft.net>
66482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66483         trunc{,f} to libm-sysdep_routes.
66484         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
66486         file.
66487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
66488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
66489         file.
66490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
66491         file.
66492         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
66493         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
66494         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
66495         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
66496         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
66497         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
66498         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
66499         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
66501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66502         nearbyint{,f} to libm-sysdep_routes.
66503         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
66505         New file.
66506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
66507         file.
66508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
66509         New file.
66510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
66511         file.
66512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
66513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
66514         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
66515         file.
66516         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
66517         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
66518         file.
66519         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
66520         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
66521         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
66523         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66524         libc_feholdexcept and libc_fesetenv.
66526 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
66528         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
66530 2013-01-14  David S. Miller  <davem@davemloft.net>
66532         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
66533         (SPARC_ASM_VIS2_IFUNC): Likewise.
66534         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
66535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
66536         use of 'siam' instruction.
66537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
66538         Likewise.
66539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
66540         Likewise.
66541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
66542         Likewise.
66543         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
66544         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
66545         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
66546         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
66547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
66548         file.
66549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
66550         file.
66551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
66552         file.
66553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
66554         file.
66555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
66556         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
66557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
66558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
66559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
66560         new VIS2 routines.
66561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
66562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
66564         Likewise.
66565         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
66566         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
66567         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
66568         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
66569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
66570         routines to libm-sysdep_routines.
66571         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
66573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
66574         fdim/fdimf to libm-sysdep_routines.
66575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
66576         file.
66577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
66578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
66579         file.
66580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
66581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
66582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
66583         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
66584         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
66585         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
66586         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
66588 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66590         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
66591         to optimize copies.
66593         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
66594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
66595         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
66598         local variable MPTWO.
66599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
66600         Likewise.
66602 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66604         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
66605         GLOB_NOESCAPE.
66607 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66609         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
66611 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
66613         * manual/pattern.texi (glob_t): Document gl_flags.
66614         (glob64_t): Likewise.
66616 2013-01-11  David S. Miller  <davem@davemloft.net>
66618         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
66619         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
66620         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
66621         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
66622         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
66623         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
66624         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
66625         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
66626         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
66627         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
66628         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
66629         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
66630         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
66632         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66633         sparc V9 rather than using V8 code.
66634         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66635         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66637         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
66638         Move to...
66639         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
66640         Here.
66642 2013-01-11  Roland McGrath  <roland@hack.frob.com>
66644         [BZ #14941]
66645         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
66646         not in the main loop.
66647         * configure: Regenerated.
66649 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
66651         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
66652         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
66653         to just #else.
66654         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
66655         [!__GLIBC_HAVE_LONG_LONG] case.
66656         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
66657         condition to just #else.
66658         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
66659         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
66660         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
66661         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
66662         unconditional.
66663         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
66664         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66665         #elif condition to just #else.
66666         * sysdeps/unix/sysv/linux/sys/sysmacros.h
66667         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
66668         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
66669         #elif condition to just #else.
66671 2013-01-11  Steve Ellcey  <sellcey@mips.com>
66673         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
66674         (EF_MIPS_ARCH_64): Fix value.
66675         (EF_MIPS_ARCH_32R2): New.
66676         (EF_MIPS_ARCH_64R2): New.
66678 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
66680         * Makeconfig (+link-pie-before-libc): New.
66681         (+link-pie-after-libc): Likewise.
66682         (+link-pie-tests): Likewise.
66683         (+link-pie): Rewritten.
66684         (link-before-libc): Remove $(config-LDFLAGS).
66685         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
66686         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
66687         (config-LDFLAGS): Renamed to ...
66688         (rtld-LDFLAGS): This.
66689         (rtld-tests-LDFLAGS): New macro.
66690         (link-libc-rpath-link): Likewise.
66691         (link-libc-tests-rpath-link): Likewise.
66692         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
66693         (link-libc): Prepand $(link-libc-rpath-link).
66694         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
66695         (test-program-prefix): New macro.
66696         (test-via-rtld-prefix): Likewise.
66697         (test-program-cmd): Likewise.
66698         (host-test-program-cmd): Likewise.
66699         * Makefile ($(common-objpfx)testrun.sh): Replace
66700         $(run-program-prefix) with $(test-program-prefix).
66701         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
66702         $(rtld-LDFLAGS).
66703         ($(common-objpfx)shlib.lds): Likewise.
66704         (build-module-helper): Likewise.
66705         ($(common-objpfx)format.lds): Likewise.
66706         * Rules (binaries-pie-tests): New.
66707         (binaries-pie-notests): Likewise.
66708         (binaries-pie): Rewritten.
66709         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
66710         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
66711         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
66712         (make-test-out): Replace $(host-built-program-cmd) with
66713         $(host-test-program-cmd).
66714         * config.make.in (build-hardcoded-path-in-tests): New variable.
66715         * configure.in (--enable-hardcoded-path-in-tests): New configure
66716         option.
66717         (hardcoded_path_in_tests): New AC_SUBST.
66718         * configure: Regenerated.
66719         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
66720         $(built-program-cmd) with $(test-program-cmd).
66721         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
66722         (test_program_cmd): This.
66723         * elf/Makefile ($(objpfx)order.out): Run test with
66724         $(test-program-prefix).
66725         ($(objpfx)order2.out): Likewise.
66726         ($(objpfx)tst-initorder.out): Likewise.
66727         ($(objpfx)tst-initorder2.out): Likewise.
66728         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
66729         $(test-program-cmd).
66730         ($(objpfx)tst-array1-static.out): Likewise.
66731         ($(objpfx)tst-array2.out): Likewise.
66732         ($(objpfx)tst-array3.out): Likewise.
66733         ($(objpfx)tst-array4.out): Likewise.
66734         ($(objpfx)tst-array5.out): Likewise.
66735         ($(objpfx)tst-array5-static.out): Likewise.
66736         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
66737         $(test-program-cmd).
66738         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
66739         $(run-program-prefix) with $(test-program-prefix).
66740         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
66741         (test_program_prefix): This.
66742         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
66743         $(run-program-prefix) with $(test-program-prefix).
66744         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
66745         (test_program_prefix): This.
66746         * iconvdata/tst-tables.sh: Likewise.
66747         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
66748         $(run-program-prefix) with $(test-program-prefix).
66749         ($(objpfx)tst-translit.out): Likewise.
66750         ($(objpfx)tst-gettext2.out): Likewise.
66751         ($(objpfx)tst-gettext4.out): Likewise.
66752         ($(objpfx)tst-gettext6.out): Likewise.
66753         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
66754         (test_program_prefix): This.
66755         * intl/tst-gettext2.sh: Likewise.
66756         * intl/tst-gettext4.sh  Likewise.
66757         * intl/tst-gettext6.sh: Likewise.
66758         * intl/tst-translit.sh: Likewise.
66759         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
66760         with $(test-program-cmd).
66761         * libio/Makefile ($(objpfx)test-freopen.out): Replace
66762         $(run-program-prefix) with $(test-program-prefix).
66763         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
66764         (test_program_prefix): This.
66765         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
66766         $(run-program-prefix) with $(test-program-prefix).
66767         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
66768         (test_program_prefix): This.
66769         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
66770         * posix/Makefile ($(objpfx)globtest.out): Replace
66771         $(run-via-rtld-prefix) and $(test-wrapper) with
66772         $(test-program-prefix) and $(test-via-rtld-prefix).
66773         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
66774         $(test-program-prefix).
66775         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
66776         $(host-test-program-cmd).
66777         (tst-spawn-ARGS): Likewise.
66778         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
66779         $(test-program-prefix).
66780         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
66781         (test_via_rtld_prefix): This.
66782         (test_wrapper): Renamed to ...
66783         (test_program_prefix): This.
66784         (run_program_prefix): Replaced by test_program_prefix.
66785         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
66786         (test_program_prefix): This.
66787         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
66788         with $(host-test-program-cmd).
66789         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
66790         $(run-program-prefix) with $(test-program-prefix).
66791         ($(objpfx)tst-printf.out): Likewise.
66792         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
66793         $(test-program-cmd).
66794         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
66795         (test_program_prefix): This.
66796         * stdio-common/tst-unbputc.sh: Likewise.
66797         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
66798         $(run-program-prefix) with $(test-program-prefix).
66799         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
66800         (test_program_prefix): This.
66801         * string/Makefile ($(objpfx)tst-svc.out):  Replace
66802         $(built-program-cmd) with $(test-program-cmd).
66804 2013-01-11  Andreas Jaeger  <aj@suse.de>
66806         [BZ #15003]
66807         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
66808         value. Sync with Linux 3.7.
66810 2013-01-10  David S. Miller  <davem@davemloft.net>
66812         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
66813         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66814         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66816 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66818         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
66819         never set.
66820         * configure: Regenerated.
66822 2013-01-10  David S. Miller  <davem@davemloft.net>
66824         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
66825         sparc V9 rather than using V8 code.
66826         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
66827         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
66829 2013-01-10  Roland McGrath  <roland@hack.frob.com>
66831         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
66832         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
66833         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
66834         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
66835         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
66836         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
66837         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
66838         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
66839         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
66840         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
66841         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
66842         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
66843         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
66844         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
66845         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
66846         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
66847         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
66848         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
66849         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
66850         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
66851         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
66852         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
66853         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
66854         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
66855         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
66856         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
66857         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
66859 2013-01-10  David S. Miller  <davem@davemloft.net>
66861         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66863 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66865         * posix/Makefile (tests-static): New variable.
66866         (tests): Add $(tests-static).
66867         (tst-exec-static-ARGS): New variable.
66868         (tst-spawn-static-ARGS): Likewise.
66869         * posix/tst-exec-static.c: New file.
66870         * posix/tst-spawn-static.c: Likewise.
66871         * posix/tst-exec.c: Support run directly.
66872         * posix/tst-spawn.c: Likewise.
66874 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
66876         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
66877         long.
66878         * math/bits/mathcalls.h (llrint): Likewise.
66879         (llround): Likewise.
66880         * stdlib/stdlib.h (struct drand48_data): Likewise.
66881         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
66882         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
66883         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
66884         Likewise.
66885         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
66886         Likewise.
66887         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
66888         (elf_greg_t): Likewise.
66889         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
66890         (__jmp_buf): Likewise.
66891         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
66892         definitions.
66893         (llrint): Likewise, for all definitions.
66894         (llrintl): Likewise.
66896         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
66897         Remove [__GNUC__] condition.
66898         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
66899         condition to just [__USE_ISOC99].
66900         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
66902 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
66904         [BZ #14200]
66905         * sysdeps/unix/sysv/linux/x86/bits/environments.h
66906         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
66907         defined.
66908         (_POSIX_V6_ILP32_OFF32): Likewise.
66909         (_XBS5_ILP32_OFF32): Likewise.
66910         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
66911         (__ILP32_OFFBIG_LDFLAGS): Likewise.
66913 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
66915         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
66917         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
66918         doubles __mpexp_twomm1.  Adjust usage.
66919         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
66920         Remove.
66922 2013-01-10  Andreas Schwab  <schwab@suse.de>
66924         [BZ #14964]
66925         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
66926         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
66928 2013-01-09  David S. Miller  <davem@davemloft.net>
66930         [BZ #15003]
66931         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
66932         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
66933         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
66934         (TCP_FASTOPEN): Define.
66935         (tcp_repair_opt): New structure.
66936         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
66937         enum values.
66938         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
66939         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
66940         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
66941         (tcp_cookie_transactions): New structure.
66943 2013-01-09  Anton Blanchard  <anton@samba.org>
66945         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
66946         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
66947         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
66948         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
66950 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
66952         * include/features.h (__USE_ANSI): Remove.
66954 2013-01-09  Roland McGrath  <roland@hack.frob.com>
66956         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
66958         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
66960 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
66962         * sysdeps/s390/fpu/libm-test-ulps: Update.
66964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66966         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
66967         (__acr): Likewise.
66968         (__cpy): Likewise.
66969         (norm): Likewise.
66970         (denorm): Likewise.
66971         (__mp_dbl): Likewise.
66972         (__dbl_mp): Likewise.
66973         (add_magnitudes): Likewise.
66974         (sub_magnitudes): Likewise.
66975         (__add): Likewise.
66976         (__sub): Likewise.
66977         (__mul): Likewise.
66978         (__inv): Likewise.
66979         (__dvd): Likewise.
66980         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
66981         (__acr): Likewise.
66982         (__cpy): Likewise.
66983         (norm): Likewise.
66984         (denorm): Likewise.
66985         (__mp_dbl): Likewise.
66986         (__dbl_mp): Likewise.
66987         (add_magnitudes): Likewise.
66988         (sub_magnitudes): Likewise.
66989         (__add): Likewise.
66990         (__sub): Likewise.
66991         (__mul): Likewise.
66992         (__inv): Likewise.
66993         (__dvd): Likewise.
66994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
66995         (__acr): Likewise.
66996         (__cpy): Likewise.
66997         (norm): Likewise.
66998         (denorm): Likewise.
66999         (__mp_dbl): Likewise.
67000         (__dbl_mp): Likewise.
67001         (add_magnitudes): Likewise.
67002         (sub_magnitudes): Likewise.
67003         (__add): Likewise.
67004         (__sub): Likewise.
67005         (__mul): Likewise.
67006         (__inv): Likewise.
67007         (__dvd): Likewise.
67009 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
67011         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
67012         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
67013         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
67014         2 && __USE_EXTERN_INLINES]: Likewise.
67016 2013-01-08  Andreas Jaeger  <aj@suse.de>
67018         [BZ #14985]
67019         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
67020         Remove.
67021         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67022         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
67024 2013-01-07  Anton Blanchard  <anton@samba.org>
67026         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
67027         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
67028         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
67029         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
67030         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
67031         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
67032         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
67033         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67035         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67036         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
67037         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
67038         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
67039         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
67040         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
67041         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
67042         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
67043         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
67044         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
67045         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
67046         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
67047         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
67048         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
67049         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
67050         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
67051         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
67052         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
67053         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
67054         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
67055         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
67056         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
67057         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67058         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67059         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
67060         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
67061         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
67062         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
67063         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67064         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
67065         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
67066         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
67067         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
67068         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
67070 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
67072         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
67073         (__MALLOC_PMT): Likewise.
67074         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
67075         [__GNUC__], only on [_LIBC].
67076         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67077         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
67078         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
67079         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
67080         forward declaration.
67081         (realloc_hook_ini): Likewise.
67082         (memalign_hook_ini): Likewise.
67083         (__libc_memalign): Do not use __MALLOC_PMT in variable
67084         declaration.
67085         (__libc_valloc): Likewise.
67086         (__libc_pvalloc): Likewise.
67087         (__libc_calloc): Likewise.
67088         (__posix_memalign): Likewise.
67090         [BZ #14996]
67091         * math/s_casinh.c: Include <float.h>.
67092         (__casinh): Do not do computation with squaring and square root
67093         for large arguments.
67094         * math/s_casinhf.c: Include <float.h>.
67095         (__casinhf): Do not do computation with squaring and square root
67096         for large arguments.
67097         * math/s_casinhl.c: Include <float.h>.
67098         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
67099         (__casinhl): Do not do computation with squaring and square root
67100         for large arguments.
67101         * math/libm-test.inc (casin_test): Add more tests.
67102         (casinh_test): Likewise.
67103         * sysdeps/i386/fpu/libm-test-ulps: Update.
67104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67106 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
67108         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
67109         (__x86_64_raw_data_cache_size): Likewise.
67110         (__x86_64_data_cache_size_half): Likewise.
67111         (__x86_64_raw_data_cache_size_half): Likewise.
67112         (__x86_64_shared_cache_size): Likewise.
67113         (__x86_64_raw_shared_cache_size): Likewise.
67114         (__x86_64_shared_cache_size_half): Likewise.
67115         (__x86_64_raw_shared_cache_size_half): Likewise.
67116         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
67117         to ...
67118         (__x86_data_cache_size): This.
67119         (__x86_64_raw_data_cache_size): Renamed to ...
67120         (__x86_raw_data_cache_size): This.
67121         (__x86_64_data_cache_size_half): Renamed to ...
67122         (__x86_data_cache_size_half): This.
67123         (__x86_64_raw_data_cache_size_half): Renamed to ...
67124         (__x86_raw_data_cache_size_half): This.
67125         (__x86_64_shared_cache_size): Renamed to ...
67126         (__x86_shared_cache_size): This.
67127         (__x86_64_raw_shared_cache_size): Renamed to ...
67128         (__x86_raw_shared_cache_size): This.
67129         (__x86_64_shared_cache_size_half): Renamed to ...
67130         (__x86_shared_cache_size_half): This.
67131         (__x86_64_raw_shared_cache_size_half): Renamed to ...
67132         (__x86_raw_shared_cache_size_half): This.
67133         * sysdeps/x86_64/memcpy.S: Updated.
67134         * sysdeps/x86_64/memset.S: Likewise.
67135         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
67136         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
67137         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
67139 2013-01-04  David S. Miller  <davem@davemloft.net>
67141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67143 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
67145         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
67146         1 to avoid redefinition warning.
67147         (__USE_GNU): Don't define.
67148         (init_signaling_nan): Protoize.
67150         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67152 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67154         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
67155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
67156         (__cpymn): Likewise.
67157         (norm): Remove commented code.
67158         (denorm): Likewise.
67159         (__mp_dbl): Likewise.
67160         (__inv): Likewise.
67161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
67162         (__cpymn): Likewise.
67163         (norm): Remove commented code.
67164         (denorm): Likewise.
67165         (__mp_dbl): Likewise.
67166         (__inv): Likewise.
67168         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
67169         mp_no value for 1.0 and 2.0.
67170         (norm): Use RADIXI instead of radixi.d.
67171         (denorm): Likewise.
67172         (__mul): Use 0.0 instead of zero.d.
67173         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
67174         mp_no value for 1.0 and 2.0.
67175         (norm): Use RADIXI instead of radixi.d.
67176         (denorm): Likewise.
67177         (__mul): Use 0.0 instead of zero.d.
67179 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
67181         [BZ #14994]
67182         * math/s_casinh.c (__casinh): Reduce finite argument to first
67183         quadrant then set signs of results at the end.
67184         * math/s_casinhf.c (__casinhf): Likewise.
67185         * math/s_casinhl.c (__casinhl): Likewise.
67186         * math/libm-test.inc (casin_test): Add more tests.
67187         (casinh_test): Likewise.
67188         * sysdeps/i386/fpu/libm-test-ulps: Update.
67189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67191 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
67193         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
67195         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
67197         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
67198         declarations.
67199         (denorm): Likewise.
67200         (__mp_dbl): Likewise.
67201         (__inv): Likewise.
67203         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
67204         and adjust the header comment.
67206         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
67207         variable name from declaration.
67209 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
67211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67212         Initialize COMMON_CPUID_INDEX_7 element.
67213         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
67214         (CPUID_RTM): Likewise.
67215         (HAS_RTM): Likewise.
67216         (COMMON_CPUID_INDEX_7): New enum.
67218 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
67220         [BZ #14981]
67221         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
67222         size is zero, record memory as freed.
67224 2013-01-03  Andreas Jaeger  <aj@suse.de>
67226         * po/ia.po: Add new Interlingua translation.
67228 2012-01-03  Allan McRae  <allan@archlinux.org>
67230         * locale/programs/localedef.c: Fix description of '--posix' flag.
67232 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
67234         * NEWS: Update dates in second copyright notice.
67235         * README: Update copyright dates in example.
67236         * manual/libc.texinfo: Update copyright dates.
67237         * scripts/test-installation.pl: Update copyright date in --version
67238         output.
67240         * hurd/ctty-input.c: Fix copyright notice formatting.
67241         * hurd/ctty-output.c: Likewise.
67242         * hurd/dtable.c: Likewise.
67243         * hurd/hurd-raise.c: Likewise.
67244         * hurd/hurdprio.c: Likewise.
67245         * hurd/msgportdemux.c: Likewise.
67246         * misc/sys/file.h: Likewise.
67247         * misc/sys/ioctl.h: Likewise.
67248         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
67249         * sysdeps/mach/hurd/chdir.c: Likewise.
67250         * sysdeps/mach/hurd/fchdir.c: Likewise.
67251         * sysdeps/mach/hurd/rename.c: Likewise.
67252         * sysdeps/mach/hurd/rmdir.c: Likewise.
67253         * sysdeps/mach/hurd/seekdir.c: Likewise.
67254         * sysdeps/mach/hurd/setsid.c: Likewise.
67255         * sysdeps/posix/wait3.c: Likewise.
67257         * All files with FSF copyright notices: Update copyright dates
67258         using scripts/update-copyrights.
67259         * intl/plural.c: Regenerated.
67260         * locale/programs/charmap-kw.h: Likewise.
67261         * locale/programs/locfile-kw.h: Likewise.
67263 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
67265         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
67266         four values.
67268         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
67269         calculation loop and add branch prediction.
67271         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
67272         check access beyond bounds of m1np.
67274         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67275         MPTWO.
67276         (__inv): Remove local variable MPTWO to use the global
67277         constant.
67278         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
67279         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67280         variable MPTWO.
67281         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
67282         MP3HALFS static const.
67284 2013-01-01  David S. Miller  <davem@davemloft.net>
67286         * po/ca.po: Update from translation team.
67288 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
67290         * scripts/update-copyrights: New file.
67291         * Makeconfig: Reformat copyright notice.
67292         * ctype/ctype.h: Likewise.
67293         * debug/swprintf_chk.c: Likewise.
67294         * elf/dl-cache.c: Likewise.
67295         * elf/dl-debug.c: Likewise.
67296         * elf/dl-object.c: Likewise.
67297         * grp/initgroups.c: Likewise.
67298         * hurd/Makefile: Likewise.
67299         * hurd/hurd/signal.h: Likewise.
67300         * hurd/hurdfault.c: Likewise.
67301         * hurd/hurdioctl.c: Likewise.
67302         * hurd/hurdlookup.c: Likewise.
67303         * hurd/intr-msg.c: Likewise.
67304         * iconv/gconv_open.c: Likewise.
67305         * libio/swprintf.c: Likewise.
67306         * locale/lc-ctype.c: Likewise.
67307         * locale/nl_langinfo.c: Likewise.
67308         * mach/Machrules: Likewise.
67309         * mach/Makefile: Likewise.
67310         * malloc/obstack.h: Likewise.
67311         * manual/Makefile: Likewise.
67312         * manual/tsort.awk: Likewise.
67313         * misc/bits/stab.def: Likewise.
67314         * nis/nis_print_group_entry.c: Likewise.
67315         * nis/nis_table.c: Likewise.
67316         * nis/nss_compat/compat-pwd.c: Likewise.
67317         * nis/nss_compat/compat-spwd.c: Likewise.
67318         * po/Makefile: Likewise.
67319         * posix/fnmatch.c: Likewise.
67320         * posix/regex.h: Likewise.
67321         * resolv/Makefile: Likewise.
67322         * resolv/nss_dns/dns-network.c: Likewise.
67323         * resolv/res_hconf.c: Likewise.
67324         * scripts/gen-sorted.awk: Likewise.
67325         * soft-fp/soft-fp.h: Likewise.
67326         * stdio-common/printf.h: Likewise.
67327         * stdlib/monetary.h: Likewise.
67328         * stdlib/random.c: Likewise.
67329         * stdlib/random_r.c: Likewise.
67330         * sysdeps/generic/Makefile: Likewise.
67331         * sysdeps/gnu/Makefile: Likewise.
67332         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67333         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67334         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67335         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67336         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67337         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67338         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67339         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
67340         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67341         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67342         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67343         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67344         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67345         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67346         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
67347         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67348         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67349         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67350         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67351         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67352         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67353         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67354         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67355         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
67356         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
67357         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
67358         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
67359         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
67360         * sysdeps/mach/hurd/errnos.awk: Likewise.
67361         * sysdeps/mach/hurd/fork.c: Likewise.
67362         * sysdeps/mach/hurd/getcwd.c: Likewise.
67363         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
67364         * sysdeps/mach/hurd/mmap.c: Likewise.
67365         * sysdeps/mach/hurd/utimes.c: Likewise.
67366         * sysdeps/mach/hurd/xmknod.c: Likewise.
67367         * sysdeps/posix/profil.c: Likewise.
67368         * sysdeps/posix/readdir_r.c: Likewise.
67369         * sysdeps/powerpc/bits/mathdef.h: Likewise.
67370         * sysdeps/powerpc/bits/setjmp.h: Likewise.
67371         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
67372         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
67373         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
67374         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
67375         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
67376         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67377         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
67378         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
67379         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
67380         * sysdeps/pthread/lio_listio.c: Likewise.
67381         * sysdeps/sparc/dl-procinfo.h: Likewise.
67382         * sysdeps/unix/i386/sysdep.S: Likewise.
67383         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
67384         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
67385         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
67386         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
67387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
67388         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
67389         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
67390         * sysdeps/unix/sysv/linux/speed.c: Likewise.
67391         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
67392         * sysdeps/wordsize-32/divdi3.c: Likewise.
67393         * time/sys/time.h: Likewise.
67394         * wcsmbs/Makefile: Likewise.
67396 2013-01-01  David S. Miller  <davem@davemloft.net>
67398         * po/fr.po: Update from translation team.
67400         * catgets/gencat.c: Update copyright year.
67401         * csu/version.c: Likewise.
67402         * debug/catchsegv.sh: Likewise.
67403         * debug/pcprofiledump.c: Likewise.
67404         * debug/xtrace.sh: Likewise.
67405         * elf/ldconfig.c: Likewise.
67406         * elf/ldd.bash.in: Likewise.
67407         * elf/pldd.c: Likewise.
67408         * elf/sotruss.ksh: Likewise.
67409         * elf/sprof.c: Likewise.
67410         * iconv/iconv_prog.c: Likewise.
67411         * iconv/iconvconfig.c: Likewise.
67412         * locale/programs/locale.c: Likewise.
67413         * locale/programs/localedef.c: Likewise.
67414         * login/programs/pt_chown.c: Likewise.
67415         * malloc/memusage.sh: Likewise.
67416         * malloc/memusagestat.c: Likewise.
67417         * malloc/mtrace.pl: Likewise.
67418         * nscd/nscd.c: Likewise.
67419         * nss/getent.c: Likewise.
67420         * nss/makedb.c: Likewise.
67421         * posix/getconf.c: Likewise.
67423 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67425         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
67426         numbers.
67428 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
67430         * math/bits/mathcalls.h (modf): Use __nonnull.
67432 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67434         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
67435         (split): Use macro CN instead of the bare value.
67436         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
67437         could be used.
67438         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
67439         instead of the bare value.
67440         (power1): Likewise.
67442 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67444         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
67445         __ATAN_TWOM.
67446         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67448         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
67449         their values.
67450         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
67451         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
67452         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
67453         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
67455 2012-12-28  Andreas Jaeger  <aj@suse.de>
67457         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
67458         values are from Linux 3.7.
67460         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
67461         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
67463 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67465         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
67466         TRUE case.
67468         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
67469         (norm): Likewise.
67470         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
67471         variables with preprocessor constants.
67472         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67473         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67474         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67476 2012-12-27  Bruno Haible  <bruno@clisp.org>
67478         [BZ #14317]
67479         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
67480         only if needed.
67482 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67484         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
67485         and use variable directly.
67486         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
67488         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
67489         MPONE.
67490         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
67491         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
67492         variable MPONE.
67493         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
67494         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
67495         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
67496         include directive.  Remove local variable MPONE.
67497         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
67498         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
67499         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67501 2012-12-25  David S. Miller  <davem@davemloft.net>
67503         * version.h (RELEASE): Set to "development".
67504         (VERSION): Set to "2.17.90".
67505         * NEWS: Add 2.18 section.
67507 2012-12-21  David S. Miller  <davem@davemloft.net>
67509         * po/hr.po: Update from translation team.
67511 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67513         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
67515 2012-12-19  Steve Ellcey  <sellcey@mips.com>
67517         * NEWS:  Mention new memcpy for MIPS.
67519 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
67521         * manual/contrib.texi (Contributors): Spelling correction.
67523 2012-12-15  David S. Miller  <davem@davemloft.net>
67525         * po/ru.po: Update from translation team.
67527 2012-12-13  David S. Miller  <davem@davemloft.net>
67529         * NEWS: Mention IFUNC testsuite enhancements.
67531         * po/pl.po: Update from translation team.
67532         * po/bg.po: Likewise.
67534         * manual/contrib.texi (Contributors): Update entries for Hongjiu
67535         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
67537 2012-12-11  David S. Miller  <davem@davemloft.net>
67539         * po/sv.po: Update from translation team.
67541         * po/vi.po: Update from translation team.
67543         * po/cs.po: Update from translation team.
67545         * po/de.po: Update from translation team.
67546         * po/eo.po: Likewise.
67547         * po/nl.po: Likewise.
67549 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
67551         [BZ #14246]
67552         * manual/argp.texi (Argp Helper Functions): Move node to follow
67553         Argp Parsing State.
67555         [BZ #14872]
67556         * manual/conf.texi (Limits on File System Capacity): Mention if
67557         terminating null is included in the max size.
67559 2012-12-10  Andreas Jaeger  <aj@suse.de>
67561         * po/cs.po: Update from translation team.
67563 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
67565         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
67566         void pointer and cast to uintptr_t.
67567         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
67568         path.
67569         * sysdeps/s390/s390-64/memcpy.S: Likewise.
67570         * sysdeps/s390/s390-64/memset.S: Likewise.
67572 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
67574         [BZ #14833]
67575         * menual/message.texi (Message Translation): Fix typos.
67576         (Helper programs for gettext): Likewise.
67578 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
67580         [BZ #14898]
67581         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
67582         Change to -1.
67584 2012-12-07  David S. Miller  <davem@davemloft.net>
67586         * po/libc.pot: Update.
67588 2012-12-07  Richard Henderson  <rth@redhat.com>
67590         [BZ #10114]
67591         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
67592         normal/normal case to before the switch.
67593         (_FP_DIV): Likewise.
67595 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
67596             Mike Frysinger  <vapier@gentoo.org>
67598         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
67599         check for __NR_fadvise64_64.
67601 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
67603         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
67604         0, not just to plain "0" as a statement.
67605         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
67606         with cw.
67608 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
67610         * NEWS: Use sourceware.org in Bugzilla URL.
67612 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
67614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
67615         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67617         * stdio-common/tst-put-error.c (do_test): Add newline to the
67618         padded test to ensure flush.
67620 2012-12-05  Jeff Law  <law@redhat.com>
67622         * sunrpc/etc.rpc (fedfs_admin): Add entry.
67624 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
67626         * README: Don't refer to ports add-on as distributed separately.
67627         Mention AArch64 in list of systems supported in the ports add-on.
67629         * LICENSES: Add more non-FSF copyright and license notices.
67631         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
67632         ((unused)).
67634         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
67636         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
67637         10000 as width of padded output.
67639 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67641         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
67643         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
67644         variable LX with __attribute__ ((unused)).
67645         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
67646         Likewise.
67647         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
67648         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67649         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
67650         with __attribute__ ((unused)).
67652 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
67654         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
67656 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
67658         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
67659         (CFLAGS-nldbl-acos.c): New variable.
67660         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
67661         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
67662         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
67663         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
67664         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
67665         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
67666         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
67667         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
67668         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
67669         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
67670         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
67671         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
67672         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
67673         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
67674         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
67675         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
67676         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
67677         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
67678         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
67679         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
67680         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
67681         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
67682         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
67683         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
67684         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
67685         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
67686         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
67687         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
67688         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
67689         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
67690         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
67691         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
67692         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
67693         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
67694         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
67695         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
67696         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
67697         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
67698         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
67699         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
67700         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
67701         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
67702         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
67703         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
67704         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
67705         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
67706         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
67707         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
67708         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
67709         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
67710         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
67711         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
67712         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
67713         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
67714         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
67715         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
67716         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
67717         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
67718         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
67719         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
67720         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
67721         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
67722         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
67723         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
67724         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
67725         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
67726         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
67727         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
67728         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
67729         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
67730         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
67731         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
67732         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
67733         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
67734         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
67735         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
67736         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
67737         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
67738         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
67739         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
67740         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
67741         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
67742         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
67743         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
67744         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
67745         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
67746         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
67747         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
67748         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
67749         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
67750         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
67751         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
67752         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
67753         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
67754         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
67755         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
67756         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
67758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
67759         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
67761         [BZ #14914]
67762         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
67763         whole low double instead of just low 47 bits when splitting values
67764         into two parts.
67766 2012-12-03  Allan McRae  <allan@archlinux.org>
67768         * manual/stdio.texi (Predefined Printf Handlers): Remove
67769         @hsep and @vsep usage.
67771 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
67773         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
67774         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
67776 2012-12-03  Jeff Law  <law@redhat.com>
67778         * time/sys/time.h (settimeofday): Do not mark TV argument
67779         as __nonnull.
67781 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
67783         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
67784         when currently writing and seek to current position when not.
67785         * libio/Makefile (tests): Remove bug-fclose1.
67786         * libio/bug-fclose1.c: Delete.
67788 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
67790         * manual/arith.texi (feenableexcept): Fix typo.
67791         (fedisableexcept): Likewise.
67793 2012-11-30  Roland McGrath  <roland@hack.frob.com>
67795         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
67796         second, differently-typed declaration, rather than a cast.
67798 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67800         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
67801         * include/rpc/svc.h: ... here.
67803 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
67805         [BZ #13013]
67806         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
67807         depending n and resplen2 to catch cases where answer
67808         equals answerp2.
67810 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
67812         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
67813         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
67815 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
67817         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
67819 2012-11-29  Roland McGrath  <roland@hack.frob.com>
67821         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
67823 2012-11-28  Jeff Law  <law@redhat.com>
67825         [BZ #13761]
67826         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
67827         dataset_temporary.  Track alloca usage into alloca_used.
67828         If dataset is large allocate and release it via malloc/free.
67830 2012-06-04  Florian Weimer  <fweimer@redhat.com>
67832         [BZ #14197]
67833         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
67835 2012-11-28  David S. Miller  <davem@davemloft.net>
67837         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67839 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67841         [BZ #14803]
67842         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
67843         of pi/2 rounded to nearest to 64 bits.
67844         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
67845         nearest to 64 bits.
67846         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
67847         bits.
67849 2012-11-28  Jeff Law <law@redhat.com>
67850             Martin Osvald <mosvald@redhat.com>
67852         [BZ #14889]
67853         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
67854         * sunrpc/svc.c: Include time.h.
67855         (__svc_accept_failed): New function.
67856         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
67857         any reason other than EINTR, call __svc_accept_failed.
67858         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
67859         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
67861 2012-11-28  Andreas Schwab  <schwab@suse.de>
67863         * scripts/abilist.awk: Also handle indirect functions in .opd
67864         section.
67866 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
67868         [BZ #13881]
67869         * sysdeps/x86/fpu/powl_helper.c: New file.
67870         * sysdeps/x86/fpu/Makefile: Likewise.
67871         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
67872         (p3): New object.
67873         (__ieee754_powl): Use __powl_helper for finite arguments except
67874         integer exponents below 8.
67875         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
67876         (p3): New object.
67877         (__ieee754_powl): Use __powl_helper for finite arguments except
67878         integer exponents below 8.
67879         * math/libm-test.inc (pow_test): Add more tests and enable some
67880         previously disabled tests.
67881         * sysdeps/i386/fpu/libm-test-ulps: Update.
67882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67884 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67885             Carlos O'Donell  <carlos_odonell@mentor.com>
67887         * nss/makedb.c (is_prime): Assert that input is odd and greater
67888         than 4.  Note that fact in a comment too.
67889         (next_prime): Add 4 to input.
67891 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67893         [BZ #11741]
67894         * libio/Makefile (tests): Add test case tst-fwrite-error.
67895         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
67896         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
67897         * libio/tst-fwrite-error.c: New test case.
67899 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
67901         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
67902         before casting to void *.
67903         * include/libc-internal.h (__pointer_type): New macro.
67904         (__integer_if_pointer_type_sub): Likewise.
67905         (__integer_if_pointer_type): Likewise.
67906         (cast_to_integer): Likewise.
67907         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
67908         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
67909         before casting to atomic64_t.
67910         (atomic_exchange_acq): Likewise.
67911         (__arch_exchange_and_add_body): Likewise.
67912         (__arch_add_body): Likewise.
67913         (atomic_add_negative): Likewise.
67914         (atomic_add_zero): Likewise.
67916 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
67918         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
67919         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
67920         (add_fdes): Likewise.
67921         (linear_search_fdes): Likewise.
67922         (binary_search_unencoded_fdes): Likewise.
67924 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
67926         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
67928 2012-11-24  Adam Conrad  <adconrad@0c3.net>
67930         * configure.in: Autodetect C++ header directories.
67931         * configure: Regenerated.
67933 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
67935         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
67937 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
67939         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67941 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
67943         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
67944         LDBL_MANT_DIG == 106]: Disable some tests.
67945         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67946         Likewise.
67947         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
67948         Likewise.
67950         [BZ #14871]
67951         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
67952         input for small inputs.  Return +/- pi/2 for large inputs.
67953         * math/libm-test.inc (atan_test): Add more tests.
67955         * sysdeps/generic/unwind-dw2-fde-glibc.c
67956         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
67957         __attribute__ ((unused)).
67959         [BZ #14645]
67960         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
67961         x * y if x and y are nonzero and z is zero.
67963         [BZ #14811]
67964         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
67965         nonzero exponents with absolute value below 0x1p-117 to +/-
67966         0x1p-117.
67968         [BZ #14869]
67969         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
67970         up arguments below 2**-450, not just those below 2**-500.
67971         * math/libm-test.inc (hypot_test): Add another test.
67973         [BZ #14868]
67974         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
67975         Return a+b for ratio over 2**120, not 2**60.
67976         * math/libm-test.inc (hypot_test): Add another test.
67978         * math/libm-test.inc (clog_test): Use
67979         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
67980         (clog10_test): Likewise.
67982         [BZ #6778]
67983         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
67985 2012-11-22  Andreas Schwab  <schwab@suse.de>
67987         * sysdeps/i386/fpu/libm-test-ulps: Update.
67989 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
67991         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
67992         printf output with newline.
67994 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
67996         [BZ #14865]
67997         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
67998         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
67999         -z nodlopen, -z initfirst and -z execstack support.
68000         * configure: Regenerated.
68002         * elf/elf.h (DF_1_NODIRECT): New macro.
68003         (DF_1_IGNMULDEF): Likewise.
68004         (DF_1_NOKSYMS): Likewise.
68005         (DF_1_NOHDR): Likewise.
68006         (DF_1_EDITED): Likewise.
68007         (DF_1_NORELOC): Likewise.
68008         (DF_1_SYMINTPOSE): Likewise.
68009         (DF_1_GLOBAUDIT): Likewise.
68010         (DF_1_SINGLETON): Likewise.
68011         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
68012         DT_1_SUPPORTED_MASK bits.
68013         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
68015 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
68017         * sysdeps/unix/make-syscalls.sh: Document prefixes.
68019 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
68021         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
68022         macro.
68024         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
68025         (sendmmsg): Move declarations...
68026         * socket/sys/socket.h: ... here.
68027         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
68028         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
68029         include it from...
68030         * socket/recvmmsg.c: ... this new file.
68031         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
68032         (sendmmsg): Rename to __sendmmsg, create weak alias and make
68033         definition of __sendmmsg hidden.
68034         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
68035         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
68036         Move ENOSYS stub into and include it from...
68037         * socket/sendmmsg.c: ... this new file.
68038         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
68039         (sysdep_routines): Move recvmmsg and sendmmsg...
68040         * socket/Makefile (routines): ... here.
68041         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
68042         (GLIBC_PRIVATE): Add __sendmmsg.
68043         * include/sys/socket.h (__sendmmsg): Add declarations.
68044         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
68045         sendmmsg.
68047 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
68049         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
68050         variable I1 with __attribute__ ((unused)).
68051         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
68053 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68055         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
68056         DUMMY variables with __attribute__ ((unused)).
68058         * bits/byteswap.h: Include <bits/types.h>.
68059         (__bswap_64): Use __uint64_t instead of unsigned long long int.
68061 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68063         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
68064         string_t.  Do not manually set errno.
68065         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
68066         length with __strnlen.  Make sure to both set errno and return it on
68067         failure.
68069 2012-11-19  David S. Miller  <davem@davemloft.net>
68071         With help from Joseph Myers.
68072         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
68073         very large arguments properly.
68074         * math/libm-test.inc (atan_test): New tests.
68075         (atan2_test): New tests.
68076         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68077         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68079 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
68081         [BZ #14856]
68082         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
68083         Define to 3.
68085         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
68086         [POSIX] (EADDRNOTAVAIL): Likewise.
68087         [POSIX] (EAFNOSUPPORT): Likewise.
68088         [POSIX] (EALREADY): Likewise.
68089         [POSIX] (ECONNABORTED): Likewise.
68090         [POSIX] (ECONNREFUSED): Likewise.
68091         [POSIX] (ECONNRESET): Likewise.
68092         [POSIX] (EDESTADDRREQ): Likewise.
68093         [POSIX] (EDQUOT): Likewise.
68094         [POSIX] (EHOSTUNREACH): Likewise.
68095         [POSIX] (EIDRM): Likewise.
68096         [POSIX] (EISCONN): Likewise.
68097         [POSIX] (ELOOP): Likewise.
68098         [POSIX] (EMULTIHOP): Likewise.
68099         [POSIX] (ENETDOWN): Likewise.
68100         [POSIX] (ENETUNREACH): Likewise.
68101         [POSIX] (ENOBUFS): Likewise.
68102         [POSIX] (ENODATA): Likewise.
68103         [POSIX] (ENOLINK): Likewise.
68104         [POSIX] (ENOMSG): Likewise.
68105         [POSIX] (ENOPROTOOPT): Likewise.
68106         [POSIX] (ENOSR): Likewise.
68107         [POSIX] (ENOSTR): Likewise.
68108         [POSIX] (ENOTCONN): Likewise.
68109         [POSIX] (ENOTSOCK): Likewise.
68110         [POSIX] (EOPNOTSUPP): Likewise.
68111         [POSIX] (EOVERFLOW): Likewise.
68112         [POSIX] (EPROTO): Likewise.
68113         [POSIX] (EPROTONOSUPPORT): Likewise.
68114         [POSIX] (EPROTOTYPE): Likewise.
68115         [POSIX] (ESTALE): Likewise.
68116         [POSIX] (ETIME): Likewise.
68117         [POSIX] (ETXTBSY): Likewise.
68118         [POSIX] (EWOULDBLOCK): Likewise.
68119         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
68120         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
68121         [POSIX] (SEEK_CUR): Likewise.
68122         [POSIX] (SEEK_END): Likewise.
68123         [POSIX || UNIX98] (mode_t): Do not require.
68124         [POSIX] (off_t): Likewise.
68125         [POSIX] (pid_t): Likewise.
68126         [POSIX] (sys/stat.h): Do not allow header.
68127         [POSIX] (unistd.h): Likewise.
68128         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
68129         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
68130         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
68131         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
68132         require.
68133         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
68134         sigevent): Specify elements.
68135         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
68136         entry.
68137         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
68138         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
68140         * conform/data/cpio.h-data [POSIX]: Disable whole file.
68141         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
68142         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
68143         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
68144         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
68145         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
68146         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
68147         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
68148         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
68149         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
68150         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
68151         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
68152         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
68153         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
68154         Likewise.
68155         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
68156         Likewise.
68157         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
68158         Likewise.
68159         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
68160         Likewise.
68161         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
68162         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
68163         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
68164         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
68165         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
68166         Specify lower bound on value.
68167         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
68168         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
68169         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
68170         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
68171         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
68172         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
68173         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
68174         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
68175         value.
68176         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
68177         as optional.
68178         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
68179         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
68180         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
68181         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
68182         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
68183         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
68184         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
68185         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
68186         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
68187         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
68188         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
68189         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
68190         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
68191         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
68192         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
68193         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
68194         entry.
68195         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
68196         optional.
68197         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
68198         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
68199         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
68200         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
68201         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
68202         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
68203         Likewise.
68204         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
68205         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
68206         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
68207         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
68208         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
68209         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
68210         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
68211         as optional.
68212         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
68213         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
68214         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
68215         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
68216         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
68217         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
68218         specify as optional.
68219         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
68220         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
68221         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
68222         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
68223         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
68224         [XPG3] (NL_LANGMAX): Likewise.
68225         [POSIX || XPG3] (NL_MSGMAX): Likewise.
68226         [POSIX || XPG3] (NL_NMAX): Likewise.
68227         [POSIX || XPG3] (NL_SETMAX): Likewise.
68228         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
68229         [XPG3] (NZERO): Likewise.
68230         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
68231         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
68232         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
68233         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
68234         (REG_ERANGE): Expect.
68235         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
68236         optional-constant.
68237         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
68238         Use (void) in prototype.
68239         [POSIX] (*_t): Allow.
68240         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
68241         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
68242         (WRDE_BADVAL): Expect.
68244         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
68245         expect.
68246         [XPG3 || XPG4] (O_RSYNC): Likewise.
68247         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
68248         Likewise.
68249         [XPG3 || XPG4] (pthread_sigmask): Likewise.
68250         [XPG3 || XPG4] (sigqueue): Likewise.
68251         [XPG3 || XPG4] (sigtimedwait): Likewise.
68252         [XPG3 || XPG4] (sigwaitinfo): Likewise.
68253         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
68254         [XPG3 || XPG4] (vsnprintf): Likewise.
68255         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
68256         Likewise.
68257         [XPG3 || XPG4] (blksize_t): Likewise.
68258         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
68259         Likewise.
68260         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
68261         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
68262         [XPG3 || XPG4] (struct itimerspec): Likewise.
68263         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
68264         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
68265         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
68266         [XPG3 || XPG4] (clockid_t): Likewise.
68267         [XPG3 || XPG4] (timer_t): Likewise.
68268         [XPG3 || XPG4] (clock_getres): Likewise.
68269         [XPG3 || XPG4] (clock_gettime): Likewise.
68270         [XPG3 || XPG4] (clock_settime): Likewise.
68271         [XPG3 || XPG4] (nanosleep): Likewise.
68272         [XPG3 || XPG4] (timer_create): Likewise.
68273         [XPG3 || XPG4] (timer_delete): Likewise.
68274         [XPG3 || XPG4] (timer_gettime): Likewise.
68275         [XPG3 || XPG4] (timer_getoverrun): Likewise.
68276         [XPG3 || XPG4] (timer_settime): Likewise.
68277         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
68278         [XPG3 || XPG4] (getlogin_r): Likewise.
68279         [XPG3 || XPG4] (pread): Likewise.
68280         [XPG3 || XPG4] (pthread_atfork): Likewise.
68281         [XPG3 || XPG4] (pwrite): Likewise.
68283         [BZ #14835]
68284         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
68285         <bits/siginfo.h>.
68287 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
68289         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
68290         finalizing MALLSTREAM.
68292         * sysdeps/mach/hurd/syncfs.c: New file.
68294 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68296         [BZ #14719]
68297         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
68298         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
68299         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
68300         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
68301         (_nss_dns_gethostbyname4_r): Likewise.
68302         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
68303         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
68305 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
68307         [BZ #13763]
68308         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
68310 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
68312         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
68313         * elf/cache.c (print_entry): Print ",AArch64" for
68314         FLAG_AARCH64_LIB64
68316         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
68317         * elf/cache.c (print_entry): Print ",hard-float" for
68318         FLAG_ARM_LIBHF.
68320 2012-11-18  David S. Miller  <davem@davemloft.net>
68322         With help from Joseph Myers.
68323         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
68324         cutoff to 2**-13.
68325         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
68326         cutoff to 2**-25.
68327         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
68328         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
68329         small.
68330         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
68331         * math/libm-test.inc (y0_test): New tests.
68332         (y1_test): New tests.
68333         * sysdeps/i386/fpu/libm-test-ulps: Update.
68334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68337 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
68339         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
68340         64-bit targets.
68341         * configure: Regenerated.
68343 2012-11-17  David S. Miller  <davem@davemloft.net>
68345         [BZ #14811]
68346         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
68347         nonzero exponents with absolute value below 0x1p-128 to +/-
68348         0x1p-128.
68350 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
68352         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
68354         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
68356         * posix/getconf-speclist.c: New file.
68357         * posix/posix-envs.def: Likewise.
68358         * posix/confstr.c (START_ENV_GROUP): New macro.
68359         (END_ENV_GROUP): Likewise.
68360         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68361         (KNOWN_PRESENT_ENV_STRING): Likewise.
68362         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68363         (UNKNOWN_ENVIRONMENT): Likewise.
68364         (confstr): Include posix-envs.def instead of handling
68365         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
68366         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
68367         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
68368         (END_ENV_GROUP): Likewise.
68369         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
68370         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
68371         (UNKNOWN_ENVIRONMENT): Likewise.
68372         (__sysconf): Include posix-envs.def instead of handling associated
68373         cases directly here.
68374         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
68375         preprocessing getconf-speclist.c rather than running getconf or
68376         generating empty file.
68378 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
68380         * scripts/check-local-headers.sh: Ignore 'mach' headers.
68382 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
68384         [BZ #14672]
68385         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
68387 2012-11-16  David S. Miller  <davem@davemloft.net>
68389         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
68390         smaller than LDBL_EPSILON/2.0L, just return xm1.
68392 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
68394         * elf/tst-array1.c (init): Set constructor priority to 1000.
68395         (fini): Set destructor priority to 1000.
68396         * elf/tst-array2dep.c: Likewise.
68398 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68400         [BZ #11741]
68401         * libio/fileops.c (_IO_new_file_write): Correctly return error.
68402         (_IO_new_file_xsputn): Also return EOF if none of the input
68403         data was written when overflow failed.
68404         * libio/iopadn.c (_IO_padn): Likewise.
68405         * libio/iowpadn.c (_IO_wpadn): Likewise.
68406         * stdio-common/tst-put-error.c: Add copyright notice.
68407         (do_test): Add case for printing padded string.
68408         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
68409         _IO_padn returned error.
68410         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
68411         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
68412         return EOF.
68414 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68416         * libio/libioP.h: Add comment note that the references to C++
68417         bits are now obsolete.
68419 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68421         * math/libm-test.inc (check_complex): Use asprintf.
68423 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
68425         * debug/pcprofiledump.c (print_version): Update copyright year.
68426         * malloc/memusagestat.c (print_version): Likewise.
68428 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
68430         [BZ #14831]
68431         * elf/Makefile (tests): Add tst-audit8.
68432         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
68433         ($(objpfx)tst-audit8.out): New target.
68434         (tst-audit8-ENV): New variable.
68435         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
68436         audit if l_reloc_result is NULL.
68437         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
68438         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
68439         * elf/tst-audit8.c: New file.
68441 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68443         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
68444         * misc/Makefile (CFLAGS-select.c): Define.
68445         * posix/Makefile (CFLAGS-pause.c): Define.
68447 2012-11-13  David S. Miller  <davem@davemloft.net>
68449         * crypt/Makefile: Move test targets after toplevel Rules
68450         inclusion.  Grab any necessary sysdep routines when linking.
68451         * crypt/md5.c (md5_process_block): Remove define, we will always
68452         name it __md5_process_block.
68453         (md5_finish_ctx): Update md5_process_block call.
68454         (md5_stream): Likewise.
68455         (md5_process_bytes): Likewise.
68456         (md5_process_block): Rename to __md5_process_block and move to ...
68457         * crypt/md5-block.c: ... here.
68458         * crypt/sha256.c (sha256_process_block): Move to ...
68459         * crypt/sha256-block.c: ... here.
68460         * crypt/sha512.c (sha512_process_block): Move to ...
68461         * crypt/sha512-block.c: ... here.
68462         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
68463         path.
68464         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
68465         * sysdeps/sparc/sparc64/multiarch/Makefile
68466         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
68467         crypt subdir.
68468         (localedef-aux): Add md5 crypto assembler when in locale subdir.
68469         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
68470         multiarch changes.
68471         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
68472         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
68473         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
68474         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
68475         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
68476         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
68477         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
68478         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
68479         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
68480         file.
68481         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
68482         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
68483         file.
68484         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
68486 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
68488         * timezone/tzselect.ksh: Update from tzcode git revision
68489         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
68490         * timezone/zdump.c: Likewise.
68491         * timezone/zic.c: Likewise.
68492         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
68493         in TZVERSION setting, not $(PKGVERSION).
68494         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
68495         REPORT_BUGS_TO settings.
68497         [BZ #14838]
68498         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
68499         macro.
68501 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68503         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
68504         detection to immediately after _FP_ROUND().
68505         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
68506         bits are 0.
68508 2012-11-11  David S. Miller  <davem@davemloft.net>
68510         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
68511         inttypes.h
68512         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
68513         __close rather than their public counterparts.
68515 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
68517         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
68518         file.
68519         [UNIX98] (sem_timedwait): Do not expect.
68520         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
68521         [XPG4 || UNIX98] (sockatmark): Do not expect.
68522         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
68523         (clock_getcpuclockid): Do not expect.
68524         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
68525         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
68526         Do not expect.
68527         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
68528         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
68529         [UNIX98] (vwscanf): Likewise.
68530         [UNIX98] (vswscanf): Likewise.
68532 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
68534         * timezone/version.h: Remove file.
68535         * timezone/README: Do not refer to version.h.
68536         * timezone/Makefile ($(objpfx)zic.o): New dependency on
68537         $(objpfx)version.h.
68538         ($(objpfx)zdump.o): Likewise.
68539         ($(objpfx)version.h): New target.
68541         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
68542         2012i.
68543         * timezone/README: Don't mention modification to tzselect.ksh.
68544         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
68545         work on unmodified tzselect.ksh.  Substitute version numbers in
68546         tzselect.ksh.
68548         * Makefile (format-me): Remove.
68549         (INSTALL): Adjust indentation.  Use commands directly instead of
68550         using $(format-me).
68552         * aclocal.m4 (ACX_PKGVERSION): New macro.
68553         (ACX_BUGURL): Likewise.
68554         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
68555         (PKGVERSION): New AC_DEFINE_UNQUOTED.
68556         (REPORT_BUGS_TO): Likewise.
68557         * configure: Regenerated.
68558         * config.h.in (PKGVERSION): New macro.
68559         (REPORT_BUGS_TO): Likewise.
68560         * config.make.in (PKGVERSION): New variable.
68561         (PKGVERSION_TEXI): Likewise.
68562         (REPORT_BUGS_TO): Likewise.
68563         (REPORT_BUGS_TEXI): Likewise.
68564         * Makefile (format-me): Use -I$(common-objpfx)manual.
68565         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
68566         ($(common-objpfx)manual/%): New target.
68567         (manual/%): Remove target.
68568         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
68569         (print_version): Use PKGVERSION.
68570         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
68571         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
68572         and REPORT_BUGS_TO.
68573         ($(objpfx)xtrace): Likewise.
68574         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
68575         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
68576         (print_version): Use PKGVERSION.
68577         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
68578         (do_version): Use PKGVERSION.
68579         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
68580         REPORT_BUGS_TO.
68581         (common-ldd-rewrite): Likewise.
68582         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
68583         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
68584         (print_version): Use PKGVERSION.
68585         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
68586         * elf/pldd.c (argp_program_bug_address): Remove variable.
68587         (more_help): New function.
68588         (argp): Use more_help.
68589         (print_version): Use PKGVERSION.
68590         * elf/sln.c (main): Use PKGVERSION.
68591         (usage): Use REPORT_BUGS_TO.
68592         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
68593         (top level): Use PKGVERSION.
68594         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
68595         (print_version): Use PKGVERSION.
68596         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
68597         (print_version): Use PKGVERSION.
68598         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
68599         (print_version): Use PKGVERSION.
68600         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
68601         (print_version): Use PKGVERSION.
68602         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
68603         (print_version): Use PKGVERSION.
68604         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
68605         (print_version): Use PKGVERSION.
68606         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
68607         and BUGURL.
68608         ($(objpfx)memusage): Likewise.
68609         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
68610         (do_version): Use PKGVERSION.
68611         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
68612         (print_version): Use PKGVERSION.
68613         * malloc/mtrace.pl ($PACKAGE): Remove variable.
68614         ($PKGVERSION): New variable.
68615         ($REPORT_BUGS_TO): Likewise.
68616         (usage): Use $REPORT_BUGS_TO.
68617         (top level): Use $PKGVERSION.
68618         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
68619         ($(objpfx)pkgvers.texi): New rule.
68620         ($(objpfx)stamp-pkgvers): Likewise.
68621         * manual/install.texi: Include pkgvers.texi.
68622         (--with-pkgversion): Document new configure option.
68623         (--with-bugurl): Likewise.
68624         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
68625         than necessarily for this particular distribution.  Use
68626         REPORT_BUGS_TO for where to report bugs.
68627         * INSTALL: Regenerated.
68628         * manual/libc.texinfo: Include pkgvers.texi.
68629         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
68630         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
68631         (print_version): Use PKGVERSION.
68632         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
68633         (print_version): Use PKGVERSION.
68634         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
68635         (print_version): Use PKGVERSION.
68636         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
68637         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
68638         macro.
68639         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
68640         (print_version): Use PKGVERSION.
68641         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
68642         (print_version): Use PKGVERSION.
68643         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
68644         and PKGVERSION.
68646         * timezone/checktab.awk: Update from tzcode 2012i.
68647         * timezone/ialloc.c: Likewise.
68648         * timezone/private.h: Likewise.
68649         * timezone/scheck.c: Likewise.
68650         * timezone/tzfile.h: Likewise.
68651         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
68652         (TZVERSION): Hardcode tzcode version number.
68653         * timezone/zdump.c: Update from tzcode 2012i.
68654         * timezone/zic.c: Likewise.
68655         * timezone/version.h: New file.
68656         * timezone/README: Describe version.h.  Update upstream location.
68658         [BZ #14824]
68659         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
68660         (mktemp): Enable declaration.
68661         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
68662         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
68663         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
68664         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
68665         Likewise.
68666         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
68667         Likewise.
68668         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
68669         Likewise.
68670         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
68671         Likewise.
68672         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
68673         Likewise.
68674         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
68675         Likewise.
68677         [BZ #14821]
68678         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
68679         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
68680         for copies of such integer values.
68681         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
68682         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
68684 2012-11-09  Andreas Jaeger  <aj@suse.de>
68686         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
68687         definitions and declarations that are provided by
68688         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
68690 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68692         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
68693         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
68694         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
68695         definition.
68697 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68699         * elf/elf.h: Update comment before AArch64 relocations.
68701 2012-11-07  David S. Miller  <davem@davemloft.net>
68703         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
68704         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68705         (__start_context): Declare.
68706         (__makecontext_ret): Delete.
68707         (__makecontext): Hook up __start_context instead of
68708         __makecontext_ret.
68709         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
68710         (sysdep_routines): Add __start_context when in stdlib.
68712 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68714         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
68715         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
68716         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
68717         hardcoded "nm".
68718         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
68719         (READELF): New variable.  Use it instead of hardcoded "readelf".
68721 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
68723         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
68724         * sysdeps/x86/Makefile: Here.
68725         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
68726         * sysdeps/x86/tst-xmmymm.sh: This.
68728 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
68730         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
68731         expectations.
68732         [UNIX98] (pthread_barrier_t): Do not expect.
68733         [UNIX98] (pthread_barrierattr_t): Likewise.
68734         [UNIX98] (pthread_spinlock_t): Likewise.
68735         [UNIX98] (pthread_barrier_destroy): Likewise.
68736         [UNIX98] (pthread_barrier_init): Likewise.
68737         [UNIX98] (pthread_barrier_wait): Likewise.
68738         [UNIX98] (pthread_barrierattr_destroy): Likewise.
68739         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
68740         [UNIX98] (pthread_barrierattr_init): Likewise.
68741         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
68742         [UNIX98] (pthread_getcpuclockid): Likewise.
68743         [UNIX98] (pthread_mutex_timedlock): Likewise.
68744         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
68745         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
68746         [UNIX98] (pthread_sigmask): Likewise.
68747         [UNIX98] (pthread_spin_destroy): Likewise.
68748         [UNIX98] (pthread_spin_init): Likewise.
68749         [UNIX98] (pthread_spin_lock): Likewise.
68750         [UNIX98] (pthread_spin_trylock): Likewise.
68751         [UNIX98] (pthread_spin_unlock): Likewise.
68752         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
68753         Do not expect.
68754         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
68755         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
68756         [XPG3 || XPG4] (pthread_cond_t): Likewise.
68757         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
68758         [XPG3 || XPG4] (pthread_key_t): Likewise.
68759         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
68760         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
68761         [XPG3 || XPG4] (pthread_once_t): Likewise.
68762         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
68763         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
68764         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
68765         [XPG3 || XPG4] (pthread_t): Likewise.
68767         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
68768         not expect.
68769         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
68771         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
68772         Change function return type to int.
68774         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
68775         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
68776         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
68777         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
68778         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
68779         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
68780         [!POSIX] (posix_madvise): Likewise.
68781         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
68782         && !UNIX98].
68783         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
68784         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
68785         (mode_t): Likewise.
68786         (posix_mem_offset): Likewise.
68787         (posix_typed_mem_get_info): Likewise.
68788         (posix_typed_mem_open): Likewise.
68790         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
68791         Change condition to [XOPEN2K8].
68793         * conform/conformtest.pl: Preprocess allow-header data with -x c
68794         instead of from stdin.
68795         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
68796         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
68797         [C99-based standards] (cerfc): Likewise.
68798         [C99-based standards] (cexp2): Likewise.
68799         [C99-based standards] (cexpm1): Likewise.
68800         [C99-based standards] (clog10): Likewise.
68801         [C99-based standards] (clog1p): Likewise.
68802         [C99-based standards] (clog2): Likewise.
68803         [C99-based standards] (clgamma): Likewise.
68804         [C99-based standards] (ctgamma): Likewise.
68805         [C99-based standards] (cerff): Likewise.
68806         [C99-based standards] (cerfcf): Likewise.
68807         [C99-based standards] (cexp2f): Likewise.
68808         [C99-based standards] (cexpm1f): Likewise.
68809         [C99-based standards] (clog10f): Likewise.
68810         [C99-based standards] (clog1pf): Likewise.
68811         [C99-based standards] (clog2f): Likewise.
68812         [C99-based standards] (clgammaf): Likewise.
68813         [C99-based standards] (ctgammaf): Likewise.
68814         [C99-based standards] (cerfl): Likewise.
68815         [C99-based standards] (cerfcl): Likewise.
68816         [C99-based standards] (cexp2l): Likewise.
68817         [C99-based standards] (cexpm1l): Likewise.
68818         [C99-based standards] (clog10l): Likewise.
68819         [C99-based standards] (clog1pl): Likewise.
68820         [C99-based standards] (clog2l): Likewise.
68821         [C99-based standards] (clgammal): Likewise.
68822         [C99-based standards] (ctgammal): Likewise.
68823         * conform/data/inttypes.h-data [C99-based standards]: Include
68824         stdint.h-data.  Remove all expectations for stdint.h contents.
68825         [C99-based standards] (PRI*): Do not allow.
68826         [C99-based standards] (SCN*): Likewise.
68827         [C99-based standards] (*_t): Likewise.
68828         [C99-based-standards] (PRId8): Expect macro.
68829         [C99-based-standards] (PRIi8): Likewise.
68830         [C99-based-standards] (PRIo8): Likewise.
68831         [C99-based-standards] (PRIu8): Likewise.
68832         [C99-based-standards] (PRIx8): Likewise.
68833         [C99-based-standards] (PRIX8): Likewise.
68834         [C99-based-standards] (SCNd8): Likewise.
68835         [C99-based-standards] (SCNi8): Likewise.
68836         [C99-based-standards] (SCNo8): Likewise.
68837         [C99-based-standards] (SCNu8): Likewise.
68838         [C99-based-standards] (SCNx8): Likewise.
68839         [C99-based-standards] (PRIdLEAST8): Likewise.
68840         [C99-based-standards] (PRIiLEAST8): Likewise.
68841         [C99-based-standards] (PRIoLEAST8): Likewise.
68842         [C99-based-standards] (PRIuLEAST8): Likewise.
68843         [C99-based-standards] (PRIxLEAST8): Likewise.
68844         [C99-based-standards] (PRIXLEAST8): Likewise.
68845         [C99-based-standards] (SCNdLEAST8): Likewise.
68846         [C99-based-standards] (SCNiLEAST8): Likewise.
68847         [C99-based-standards] (SCNoLEAST8): Likewise.
68848         [C99-based-standards] (SCNuLEAST8): Likewise.
68849         [C99-based-standards] (SCNxLEAST8): Likewise.
68850         [C99-based-standards] (PRIdFAST8): Likewise.
68851         [C99-based-standards] (PRIiFAST8): Likewise.
68852         [C99-based-standards] (PRIoFAST8): Likewise.
68853         [C99-based-standards] (PRIuFAST8): Likewise.
68854         [C99-based-standards] (PRIxFAST8): Likewise.
68855         [C99-based-standards] (PRIXFAST8): Likewise.
68856         [C99-based-standards] (SCNdFAST8): Likewise.
68857         [C99-based-standards] (SCNiFAST8): Likewise.
68858         [C99-based-standards] (SCNoFAST8): Likewise.
68859         [C99-based-standards] (SCNuFAST8): Likewise.
68860         [C99-based-standards] (SCNxFAST8): Likewise.
68861         [C99-based-standards] (PRId16): Likewise.
68862         [C99-based-standards] (PRIi16): Likewise.
68863         [C99-based-standards] (PRIo16): Likewise.
68864         [C99-based-standards] (PRIu16): Likewise.
68865         [C99-based-standards] (PRIx16): Likewise.
68866         [C99-based-standards] (PRIX16): Likewise.
68867         [C99-based-standards] (SCNd16): Likewise.
68868         [C99-based-standards] (SCNi16): Likewise.
68869         [C99-based-standards] (SCNo16): Likewise.
68870         [C99-based-standards] (SCNu16): Likewise.
68871         [C99-based-standards] (SCNx16): Likewise.
68872         [C99-based-standards] (PRIdLEAST16): Likewise.
68873         [C99-based-standards] (PRIiLEAST16): Likewise.
68874         [C99-based-standards] (PRIoLEAST16): Likewise.
68875         [C99-based-standards] (PRIuLEAST16): Likewise.
68876         [C99-based-standards] (PRIxLEAST16): Likewise.
68877         [C99-based-standards] (PRIXLEAST16): Likewise.
68878         [C99-based-standards] (SCNdLEAST16): Likewise.
68879         [C99-based-standards] (SCNiLEAST16): Likewise.
68880         [C99-based-standards] (SCNoLEAST16): Likewise.
68881         [C99-based-standards] (SCNuLEAST16): Likewise.
68882         [C99-based-standards] (SCNxLEAST16): Likewise.
68883         [C99-based-standards] (PRIdFAST16): Likewise.
68884         [C99-based-standards] (PRIiFAST16): Likewise.
68885         [C99-based-standards] (PRIoFAST16): Likewise.
68886         [C99-based-standards] (PRIuFAST16): Likewise.
68887         [C99-based-standards] (PRIxFAST16): Likewise.
68888         [C99-based-standards] (PRIXFAST16): Likewise.
68889         [C99-based-standards] (SCNdFAST16): Likewise.
68890         [C99-based-standards] (SCNiFAST16): Likewise.
68891         [C99-based-standards] (SCNoFAST16): Likewise.
68892         [C99-based-standards] (SCNuFAST16): Likewise.
68893         [C99-based-standards] (SCNxFAST16): Likewise.
68894         [C99-based-standards] (PRId32): Likewise.
68895         [C99-based-standards] (PRIi32): Likewise.
68896         [C99-based-standards] (PRIo32): Likewise.
68897         [C99-based-standards] (PRIu32): Likewise.
68898         [C99-based-standards] (PRIx32): Likewise.
68899         [C99-based-standards] (PRIX32): Likewise.
68900         [C99-based-standards] (SCNd32): Likewise.
68901         [C99-based-standards] (SCNi32): Likewise.
68902         [C99-based-standards] (SCNo32): Likewise.
68903         [C99-based-standards] (SCNu32): Likewise.
68904         [C99-based-standards] (SCNx32): Likewise.
68905         [C99-based-standards] (PRIdLEAST32): Likewise.
68906         [C99-based-standards] (PRIiLEAST32): Likewise.
68907         [C99-based-standards] (PRIoLEAST32): Likewise.
68908         [C99-based-standards] (PRIuLEAST32): Likewise.
68909         [C99-based-standards] (PRIxLEAST32): Likewise.
68910         [C99-based-standards] (PRIXLEAST32): Likewise.
68911         [C99-based-standards] (SCNdLEAST32): Likewise.
68912         [C99-based-standards] (SCNiLEAST32): Likewise.
68913         [C99-based-standards] (SCNoLEAST32): Likewise.
68914         [C99-based-standards] (SCNuLEAST32): Likewise.
68915         [C99-based-standards] (SCNxLEAST32): Likewise.
68916         [C99-based-standards] (PRIdFAST32): Likewise.
68917         [C99-based-standards] (PRIiFAST32): Likewise.
68918         [C99-based-standards] (PRIoFAST32): Likewise.
68919         [C99-based-standards] (PRIuFAST32): Likewise.
68920         [C99-based-standards] (PRIxFAST32): Likewise.
68921         [C99-based-standards] (PRIXFAST32): Likewise.
68922         [C99-based-standards] (SCNdFAST32): Likewise.
68923         [C99-based-standards] (SCNiFAST32): Likewise.
68924         [C99-based-standards] (SCNoFAST32): Likewise.
68925         [C99-based-standards] (SCNuFAST32): Likewise.
68926         [C99-based-standards] (SCNxFAST32): Likewise.
68927         [C99-based-standards] (PRId64): Likewise.
68928         [C99-based-standards] (PRIi64): Likewise.
68929         [C99-based-standards] (PRIo64): Likewise.
68930         [C99-based-standards] (PRIu64): Likewise.
68931         [C99-based-standards] (PRIx64): Likewise.
68932         [C99-based-standards] (PRIX64): Likewise.
68933         [C99-based-standards] (SCNd64): Likewise.
68934         [C99-based-standards] (SCNi64): Likewise.
68935         [C99-based-standards] (SCNo64): Likewise.
68936         [C99-based-standards] (SCNu64): Likewise.
68937         [C99-based-standards] (SCNx64): Likewise.
68938         [C99-based-standards] (PRIdLEAST64): Likewise.
68939         [C99-based-standards] (PRIiLEAST64): Likewise.
68940         [C99-based-standards] (PRIoLEAST64): Likewise.
68941         [C99-based-standards] (PRIuLEAST64): Likewise.
68942         [C99-based-standards] (PRIxLEAST64): Likewise.
68943         [C99-based-standards] (PRIXLEAST64): Likewise.
68944         [C99-based-standards] (SCNdLEAST64): Likewise.
68945         [C99-based-standards] (SCNiLEAST64): Likewise.
68946         [C99-based-standards] (SCNoLEAST64): Likewise.
68947         [C99-based-standards] (SCNuLEAST64): Likewise.
68948         [C99-based-standards] (SCNxLEAST64): Likewise.
68949         [C99-based-standards] (PRIdFAST64): Likewise.
68950         [C99-based-standards] (PRIiFAST64): Likewise.
68951         [C99-based-standards] (PRIoFAST64): Likewise.
68952         [C99-based-standards] (PRIuFAST64): Likewise.
68953         [C99-based-standards] (PRIxFAST64): Likewise.
68954         [C99-based-standards] (PRIXFAST64): Likewise.
68955         [C99-based-standards] (SCNdFAST64): Likewise.
68956         [C99-based-standards] (SCNiFAST64): Likewise.
68957         [C99-based-standards] (SCNoFAST64): Likewise.
68958         [C99-based-standards] (SCNuFAST64): Likewise.
68959         [C99-based-standards] (SCNxFAST64): Likewise.
68960         [C99-based-standards] (PRIdMAX): Likewise.
68961         [C99-based-standards] (PRIiMAX): Likewise.
68962         [C99-based-standards] (PRIoMAX): Likewise.
68963         [C99-based-standards] (PRIuMAX): Likewise.
68964         [C99-based-standards] (PRIxMAX): Likewise.
68965         [C99-based-standards] (PRIXMAX): Likewise.
68966         [C99-based-standards] (SCNdMAX): Likewise.
68967         [C99-based-standards] (SCNiMAX): Likewise.
68968         [C99-based-standards] (SCNoMAX): Likewise.
68969         [C99-based-standards] (SCNuMAX): Likewise.
68970         [C99-based-standards] (SCNxMAX): Likewise.
68971         [C99-based-standards] (PRIdPTR): Likewise.
68972         [C99-based-standards] (PRIiPTR): Likewise.
68973         [C99-based-standards] (PRIoPTR): Likewise.
68974         [C99-based-standards] (PRIuPTR): Likewise.
68975         [C99-based-standards] (PRIxPTR): Likewise.
68976         [C99-based-standards] (PRIXPTR): Likewise.
68977         [C99-based-standards] (SCNdPTR): Likewise.
68978         [C99-based-standards] (SCNiPTR): Likewise.
68979         [C99-based-standards] (SCNoPTR): Likewise.
68980         [C99-based-standards] (SCNuPTR): Likewise.
68981         [C99-based-standards] (SCNxPTR): Likewise.
68982         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
68983         allow.
68984         * conform/data/stdint.h-data: Update comments to clarify
68985         requirements.
68986         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
68987         type.
68988         [C99-based standards] (INT8_MAX): Likewise.
68989         [C99-based standards] (INT16_MIN): Likewise.
68990         [C99-based standards] (INT16_MAX): Likewise.
68991         [C99-based standards] (INT32_MIN): Likewise.
68992         [C99-based standards] (INT32_MAX): Likewise.
68993         [C99-based standards] (INT64_MIN): Likewise.
68994         [C99-based standards] (INT64_MAX): Likewise.
68995         [C99-based standards] (UINT8_MAX): Likewise.
68996         [C99-based standards] (UINT16_MAX): Likewise.
68997         [C99-based standards] (UINT32_MAX): Likewise.
68998         [C99-based standards] (UINT64_MAX): Likewise.
68999         [C99-based standards] (INT_LEAST8_MIN): Likewise.
69000         [C99-based standards] (INT_LEAST8_MAX): Likewise.
69001         [C99-based standards] (INT_LEAST16_MIN): Likewise.
69002         [C99-based standards] (INT_LEAST16_MAX): Likewise.
69003         [C99-based standards] (INT_LEAST32_MIN): Likewise.
69004         [C99-based standards] (INT_LEAST32_MAX): Likewise.
69005         [C99-based standards] (INT_LEAST64_MIN): Likewise.
69006         [C99-based standards] (INT_LEAST64_MAX): Likewise.
69007         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
69008         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
69009         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
69010         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
69011         [C99-based standards] (INT_FAST8_MIN): Likewise.
69012         [C99-based standards] (INT_FAST8_MAX): Likewise.
69013         [C99-based standards] (INT_FAST16_MIN): Likewise.
69014         [C99-based standards] (INT_FAST16_MAX): Likewise.
69015         [C99-based standards] (INT_FAST32_MIN): Likewise.
69016         [C99-based standards] (INT_FAST32_MAX): Likewise.
69017         [C99-based standards] (INT_FAST64_MIN): Likewise.
69018         [C99-based standards] (INT_FAST64_MAX): Likewise.
69019         [C99-based standards] (UINT_FAST8_MAX): Likewise.
69020         [C99-based standards] (UINT_FAST16_MAX): Likewise.
69021         [C99-based standards] (UINT_FAST32_MAX): Likewise.
69022         [C99-based standards] (UINT_FAST64_MAX): Likewise.
69023         [C99-based standards] (INTPTR_MIN): Likewise.
69024         [C99-based standards] (INTPTR_MAX): Likewise.
69025         [C99-based standards] (UINTPTR_MAX): Likewise.
69026         [C99-based standards] (INTMAX_MIN): Likewise.
69027         [C99-based standards] (INTMAX_MAX): Likewise.
69028         [C99-based standards] (UINTMAX_MAX): Likewise.
69029         [C99-based standards] (PTRDIFF_MIN): Likewise.
69030         [C99-based standards] (PTRDIFF_MAX): Likewise.
69031         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
69032         [C99-based standards] (SIZE_MAX): Likewise.
69033         [C99-based standards] (WCHAR_MAX): Likewise.
69034         [C99-based standards] (WINT_MAX): Likewise.
69035         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
69036         constraint on value.
69037         [C99-based standards] (WCHAR_MIN): Likewise.
69038         [C99-based standards] (WINT_MIN): Likewise.
69039         [C99-based standards] (*_t): Allow.
69040         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
69041         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
69042         Include math.h-data and complex.h-data.  Remove all expectations
69043         of math.h and complex.h contents.
69044         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
69045         at end of line.
69046         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
69047         (struct tm): Expect tag.
69048         [C99-based-standards] (wcstof): Expect function.
69049         [C99-based-standards] (wcstold): Likewise.
69050         [C99-based-standards] (wcstoll): Likewise.
69051         [C99-based-standards] (wcstoull): Likewise.
69052         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
69053         macro-int-constant.  Specify type.
69054         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
69055         constraint on value.
69056         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69057         Specify type.
69058         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
69059         Specify value.
69060         [ISO C standards]: Do not allow headers.
69061         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
69062         wcs[abcdefghijklmnopqrstuvwxyz]*.
69063         [ISO C standards] (*_t): Do not allow.
69064         * conform/data/wctype.h-data [C99-based standards] (iswblank):
69065         Expect function.
69066         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
69067         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
69068         Specify type.
69069         [ISO C standards]: Do not allow headers.
69070         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
69071         is[abcdefghijklmnopqrstuvwxyz]*.
69072         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
69073         to[abcdefghijklmnopqrstuvwxyz]*.
69074         [ISO C standards] (*_t): Do not allow.
69075         * conform/data/stdalign.h-data: New file.
69076         * conform/data/stdbool.h-data: Likewise.
69077         * conform/data/stdnoreturn.h-data: Likewise.
69079 2012-11-07  Roland McGrath  <roland@hack.frob.com>
69081         [BZ #14815]
69082         * manual/filesys.texi (Directory Entries): Typo fix.
69083         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
69085 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69087         * elf/elf.h (EM_AARCH64): New macro.
69088         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
69089         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
69090         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
69091         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
69092         (R_AARCH64_TLSDESC): Likewise.
69093         (NT_ARM_TLS): Likewise.
69094         (NT_ARM_HW_BREAK): Likewise.
69095         (NT_ARM_HW_WATCH): Likewise.
69097 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69099         [BZ #14811]
69100         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
69101         (__ieee754_powl): Saturate nonzero exponents with absolute value
69102         below 0x1p-79 to +/- 0x1p-79.
69103         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
69104         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
69105         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
69106         nonzero exponents with absolute value below 0x1p-32 to +/-
69107         0x1p-32.
69108         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
69109         (__ieee754_powl): Saturate nonzero exponents with absolute value
69110         below 0x1p-79 to +/- 0x1p-79.
69111         * math/libm-test.inc (pow_test): Add more tests.
69113 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69115         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
69116         _dl_s390_cap_flags with kernel. Increase string length.
69117         (_dl_s390_platforms): Add z196 and zEC12.
69119 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
69121         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
69122         Change XOPEN21K to XOPEN2K.
69124 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
69126         * string/memmove.c: Use memcpy when possible.
69128 2012-11-06  Andreas Jaeger  <aj@suse.de>
69130         * po/eo.po: Update from translation team.
69132 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
69134         [BZ #14793]
69135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
69136         exponent and small x and y exponents, scale x or y up.  Increase
69137         by 2 the exponent used in scaling up.
69138         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69139         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69140         * math/libm-test.inc (fma_test): Add more tests.
69141         (fma_test_towardzero): Likewise.
69142         (fma_test_downward): Likewise.
69143         (fma_test_upward): Likewise.
69145 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
69147         [BZ #14805]
69148         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
69149         fenv_t *.
69151         [BZ #14801]
69152         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
69153         namespace for names of struct fields.
69154         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
69155         fenv_t fields.
69156         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
69157         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
69159 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69161         [BZ #3665]
69162         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
69164 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69166         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
69167         PTR_DEMANGLE.
69169         [BZ #5246]
69170         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
69171         PTR_DEMANGLE.
69173 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
69175         [BZ #14797]
69176         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
69177         definitely overflow as x * y not x * y + z.
69178         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69179         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69180         * math/libm-test.inc (fma_test): Add more tests.
69181         (fma_test_towardzero): Likewise.
69182         (fma_test_downward): Likewise.
69183         (fma_test_upward): Likewise.
69185 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
69187         [BZ #157]
69189         * include/stub-tag.h: Remove file.
69190         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
69191         '#include' of it.
69192         * manual/maint.texi (Porting): Don't reference it.
69193         * Makerules ($(objpfx)stubs): Likewise.
69194         * dirent/closedir.c: Don't include <stub-tag.h>.
69195         * dirent/dirfd.c: Likewise.
69196         * dirent/fdopendir.c: Likewise.
69197         * dirent/getdents.c: Likewise.
69198         * dirent/getdents64.c: Likewise.
69199         * dirent/opendir.c: Likewise.
69200         * dirent/readdir.c: Likewise.
69201         * dirent/readdir64.c: Likewise.
69202         * dirent/readdir64_r.c: Likewise.
69203         * dirent/readdir_r.c: Likewise.
69204         * dirent/rewinddir.c: Likewise.
69205         * dirent/seekdir.c: Likewise.
69206         * dirent/telldir.c: Likewise.
69207         * gmon/profil.c: Likewise.
69208         * grp/setgroups.c: Likewise.
69209         * inet/if_index.c: Likewise.
69210         * io/access.c: Likewise.
69211         * io/chdir.c: Likewise.
69212         * io/chmod.c: Likewise.
69213         * io/chown.c: Likewise.
69214         * io/close.c: Likewise.
69215         * io/dup.c: Likewise.
69216         * io/dup2.c: Likewise.
69217         * io/dup3.c: Likewise.
69218         * io/euidaccess.c: Likewise.
69219         * io/faccessat.c: Likewise.
69220         * io/fchdir.c: Likewise.
69221         * io/fchmod.c: Likewise.
69222         * io/fchmodat.c: Likewise.
69223         * io/fchown.c: Likewise.
69224         * io/fchownat.c: Likewise.
69225         * io/fcntl.c: Likewise.
69226         * io/flock.c: Likewise.
69227         * io/fstatfs.c: Likewise.
69228         * io/fstatfs64.c: Likewise.
69229         * io/fstatvfs.c: Likewise.
69230         * io/fstatvfs64.c: Likewise.
69231         * io/futimens.c: Likewise.
69232         * io/fxstat.c: Likewise.
69233         * io/fxstat64.c: Likewise.
69234         * io/fxstatat.c: Likewise.
69235         * io/fxstatat64.c: Likewise.
69236         * io/getcwd.c: Likewise.
69237         * io/isatty.c: Likewise.
69238         * io/lchmod.c: Likewise.
69239         * io/lchown.c: Likewise.
69240         * io/link.c: Likewise.
69241         * io/linkat.c: Likewise.
69242         * io/lseek.c: Likewise.
69243         * io/lseek64.c: Likewise.
69244         * io/lxstat64.c: Likewise.
69245         * io/mkdir.c: Likewise.
69246         * io/mkdirat.c: Likewise.
69247         * io/mkfifo.c: Likewise.
69248         * io/mkfifoat.c: Likewise.
69249         * io/open.c: Likewise.
69250         * io/open64.c: Likewise.
69251         * io/openat.c: Likewise.
69252         * io/openat64.c: Likewise.
69253         * io/pipe.c: Likewise.
69254         * io/pipe2.c: Likewise.
69255         * io/poll.c: Likewise.
69256         * io/posix_fadvise.c: Likewise.
69257         * io/posix_fadvise64.c: Likewise.
69258         * io/posix_fallocate.c: Likewise.
69259         * io/posix_fallocate64.c: Likewise.
69260         * io/read.c: Likewise.
69261         * io/readlink.c: Likewise.
69262         * io/readlinkat.c: Likewise.
69263         * io/rmdir.c: Likewise.
69264         * io/sendfile.c: Likewise.
69265         * io/sendfile64.c: Likewise.
69266         * io/statfs.c: Likewise.
69267         * io/statfs64.c: Likewise.
69268         * io/statvfs.c: Likewise.
69269         * io/statvfs64.c: Likewise.
69270         * io/symlink.c: Likewise.
69271         * io/symlinkat.c: Likewise.
69272         * io/ttyname.c: Likewise.
69273         * io/ttyname_r.c: Likewise.
69274         * io/umask.c: Likewise.
69275         * io/unlink.c: Likewise.
69276         * io/unlinkat.c: Likewise.
69277         * io/utime.c: Likewise.
69278         * io/utimensat.c: Likewise.
69279         * io/write.c: Likewise.
69280         * io/xmknod.c: Likewise.
69281         * io/xmknodat.c: Likewise.
69282         * io/xstat.c: Likewise.
69283         * io/xstat64.c: Likewise.
69284         * login/getpt.c: Likewise.
69285         * login/grantpt.c: Likewise.
69286         * login/unlockpt.c: Likewise.
69287         * math/e_acoshl.c: Likewise.
69288         * math/e_acosl.c: Likewise.
69289         * math/e_asinl.c: Likewise.
69290         * math/e_atan2l.c: Likewise.
69291         * math/e_atanhl.c: Likewise.
69292         * math/e_coshl.c: Likewise.
69293         * math/e_expl.c: Likewise.
69294         * math/e_fmodl.c: Likewise.
69295         * math/e_gammal_r.c: Likewise.
69296         * math/e_hypotl.c: Likewise.
69297         * math/e_j0l.c: Likewise.
69298         * math/e_j1l.c: Likewise.
69299         * math/e_jnl.c: Likewise.
69300         * math/e_lgammal_r.c: Likewise.
69301         * math/e_log10l.c: Likewise.
69302         * math/e_log2l.c: Likewise.
69303         * math/e_logl.c: Likewise.
69304         * math/e_powl.c: Likewise.
69305         * math/e_rem_pio2l.c: Likewise.
69306         * math/e_sinhl.c: Likewise.
69307         * math/e_sqrtl.c: Likewise.
69308         * math/fclrexcpt.c: Likewise.
69309         * math/fedisblxcpt.c: Likewise.
69310         * math/feenablxcpt.c: Likewise.
69311         * math/fegetenv.c: Likewise.
69312         * math/fegetexcept.c: Likewise.
69313         * math/fegetround.c: Likewise.
69314         * math/feholdexcpt.c: Likewise.
69315         * math/fesetenv.c: Likewise.
69316         * math/fesetround.c: Likewise.
69317         * math/feupdateenv.c: Likewise.
69318         * math/fgetexcptflg.c: Likewise.
69319         * math/fraiseexcpt.c: Likewise.
69320         * math/fsetexcptflg.c: Likewise.
69321         * math/ftestexcept.c: Likewise.
69322         * math/k_cosl.c: Likewise.
69323         * math/k_rem_pio2l.c: Likewise.
69324         * math/k_sinl.c: Likewise.
69325         * math/k_tanl.c: Likewise.
69326         * math/s_asinhl.c: Likewise.
69327         * math/s_atanl.c: Likewise.
69328         * math/s_cbrtl.c: Likewise.
69329         * math/s_erfl.c: Likewise.
69330         * math/s_expm1l.c: Likewise.
69331         * math/s_log1pl.c: Likewise.
69332         * math/s_tanhl.c: Likewise.
69333         * misc/acct.c: Likewise.
69334         * misc/brk.c: Likewise.
69335         * misc/chflags.c: Likewise.
69336         * misc/chroot.c: Likewise.
69337         * misc/fchflags.c: Likewise.
69338         * misc/fgetxattr.c: Likewise.
69339         * misc/flistxattr.c: Likewise.
69340         * misc/fremovexattr.c: Likewise.
69341         * misc/fsetxattr.c: Likewise.
69342         * misc/fsync.c: Likewise.
69343         * misc/ftruncate.c: Likewise.
69344         * misc/futimes.c: Likewise.
69345         * misc/futimesat.c: Likewise.
69346         * misc/getdomain.c: Likewise.
69347         * misc/getdtsz.c: Likewise.
69348         * misc/gethostid.c: Likewise.
69349         * misc/gethostname.c: Likewise.
69350         * misc/getloadavg.c: Likewise.
69351         * misc/getpagesize.c: Likewise.
69352         * misc/getsysstats.c: Likewise.
69353         * misc/getxattr.c: Likewise.
69354         * misc/gtty.c: Likewise.
69355         * misc/ioctl.c: Likewise.
69356         * misc/lgetxattr.c: Likewise.
69357         * misc/listxattr.c: Likewise.
69358         * misc/llistxattr.c: Likewise.
69359         * misc/lremovexattr.c: Likewise.
69360         * misc/lsetxattr.c: Likewise.
69361         * misc/lutimes.c: Likewise.
69362         * misc/madvise.c: Likewise.
69363         * misc/mincore.c: Likewise.
69364         * misc/mlock.c: Likewise.
69365         * misc/mlockall.c: Likewise.
69366         * misc/mmap.c: Likewise.
69367         * misc/mprotect.c: Likewise.
69368         * misc/msync.c: Likewise.
69369         * misc/munlock.c: Likewise.
69370         * misc/munlockall.c: Likewise.
69371         * misc/munmap.c: Likewise.
69372         * misc/preadv.c: Likewise.
69373         * misc/preadv64.c: Likewise.
69374         * misc/ptrace.c: Likewise.
69375         * misc/pwritev.c: Likewise.
69376         * misc/pwritev64.c: Likewise.
69377         * misc/readv.c: Likewise.
69378         * misc/reboot.c: Likewise.
69379         * misc/remap_file_pages.c: Likewise.
69380         * misc/removexattr.c: Likewise.
69381         * misc/revoke.c: Likewise.
69382         * misc/select.c: Likewise.
69383         * misc/setdomain.c: Likewise.
69384         * misc/setegid.c: Likewise.
69385         * misc/seteuid.c: Likewise.
69386         * misc/sethostid.c: Likewise.
69387         * misc/sethostname.c: Likewise.
69388         * misc/setregid.c: Likewise.
69389         * misc/setreuid.c: Likewise.
69390         * misc/setxattr.c: Likewise.
69391         * misc/sstk.c: Likewise.
69392         * misc/stty.c: Likewise.
69393         * misc/swapoff.c: Likewise.
69394         * misc/swapon.c: Likewise.
69395         * misc/sync.c: Likewise.
69396         * misc/syncfs.c: Likewise.
69397         * misc/syscall.c: Likewise.
69398         * misc/truncate.c: Likewise.
69399         * misc/ualarm.c: Likewise.
69400         * misc/usleep.c: Likewise.
69401         * misc/ustat.c: Likewise.
69402         * misc/utimes.c: Likewise.
69403         * misc/vhangup.c: Likewise.
69404         * misc/writev.c: Likewise.
69405         * posix/_exit.c: Likewise.
69406         * posix/alarm.c: Likewise.
69407         * posix/execve.c: Likewise.
69408         * posix/fexecve.c: Likewise.
69409         * posix/fork.c: Likewise.
69410         * posix/fpathconf.c: Likewise.
69411         * posix/getaddrinfo.c: Likewise.
69412         * posix/getegid.c: Likewise.
69413         * posix/geteuid.c: Likewise.
69414         * posix/getgid.c: Likewise.
69415         * posix/getgroups.c: Likewise.
69416         * posix/getlogin.c: Likewise.
69417         * posix/getlogin_r.c: Likewise.
69418         * posix/getpgid.c: Likewise.
69419         * posix/getpid.c: Likewise.
69420         * posix/getppid.c: Likewise.
69421         * posix/getresgid.c: Likewise.
69422         * posix/getresuid.c: Likewise.
69423         * posix/getsid.c: Likewise.
69424         * posix/getuid.c: Likewise.
69425         * posix/glob64.c: Likewise.
69426         * posix/nanosleep.c: Likewise.
69427         * posix/pathconf.c: Likewise.
69428         * posix/pause.c: Likewise.
69429         * posix/posix_madvise.c: Likewise.
69430         * posix/pread.c: Likewise.
69431         * posix/pread64.c: Likewise.
69432         * posix/pwrite.c: Likewise.
69433         * posix/pwrite64.c: Likewise.
69434         * posix/sched_getaffinity.c: Likewise.
69435         * posix/sched_getp.c: Likewise.
69436         * posix/sched_gets.c: Likewise.
69437         * posix/sched_primax.c: Likewise.
69438         * posix/sched_primin.c: Likewise.
69439         * posix/sched_rr_gi.c: Likewise.
69440         * posix/sched_setaffinity.c: Likewise.
69441         * posix/sched_setp.c: Likewise.
69442         * posix/sched_sets.c: Likewise.
69443         * posix/sched_yield.c: Likewise.
69444         * posix/setgid.c: Likewise.
69445         * posix/setlogin.c: Likewise.
69446         * posix/setpgid.c: Likewise.
69447         * posix/setresgid.c: Likewise.
69448         * posix/setresuid.c: Likewise.
69449         * posix/setsid.c: Likewise.
69450         * posix/setuid.c: Likewise.
69451         * posix/sleep.c: Likewise.
69452         * posix/spawni.c: Likewise.
69453         * posix/sysconf.c: Likewise.
69454         * posix/times.c: Likewise.
69455         * posix/wait.c: Likewise.
69456         * posix/wait3.c: Likewise.
69457         * posix/wait4.c: Likewise.
69458         * posix/waitpid.c: Likewise.
69459         * resolv/gai_sigqueue.c: Likewise.
69460         * resource/getpriority.c: Likewise.
69461         * resource/getrlimit.c: Likewise.
69462         * resource/getrusage.c: Likewise.
69463         * resource/nice.c: Likewise.
69464         * resource/setpriority.c: Likewise.
69465         * resource/setrlimit.c: Likewise.
69466         * resource/ulimit.c: Likewise.
69467         * rt/aio_cancel.c: Likewise.
69468         * rt/aio_fsync.c: Likewise.
69469         * rt/aio_read.c: Likewise.
69470         * rt/aio_sigqueue.c: Likewise.
69471         * rt/aio_suspend.c: Likewise.
69472         * rt/aio_write.c: Likewise.
69473         * rt/clock_getres.c: Likewise.
69474         * rt/clock_gettime.c: Likewise.
69475         * rt/clock_nanosleep.c: Likewise.
69476         * rt/clock_settime.c: Likewise.
69477         * rt/lio_listio.c: Likewise.
69478         * rt/mq_close.c: Likewise.
69479         * rt/mq_getattr.c: Likewise.
69480         * rt/mq_notify.c: Likewise.
69481         * rt/mq_open.c: Likewise.
69482         * rt/mq_receive.c: Likewise.
69483         * rt/mq_send.c: Likewise.
69484         * rt/mq_setattr.c: Likewise.
69485         * rt/mq_timedreceive.c: Likewise.
69486         * rt/mq_timedsend.c: Likewise.
69487         * rt/mq_unlink.c: Likewise.
69488         * rt/shm_open.c: Likewise.
69489         * rt/shm_unlink.c: Likewise.
69490         * rt/timer_create.c: Likewise.
69491         * rt/timer_delete.c: Likewise.
69492         * rt/timer_getoverr.c: Likewise.
69493         * rt/timer_gettime.c: Likewise.
69494         * rt/timer_settime.c: Likewise.
69495         * setjmp/__longjmp.c: Likewise.
69496         * setjmp/setjmp.c: Likewise.
69497         * signal/kill.c: Likewise.
69498         * signal/killpg.c: Likewise.
69499         * signal/raise.c: Likewise.
69500         * signal/sigaction.c: Likewise.
69501         * signal/sigaltstack.c: Likewise.
69502         * signal/sigblock.c: Likewise.
69503         * signal/sigignore.c: Likewise.
69504         * signal/sigintr.c: Likewise.
69505         * signal/signal.c: Likewise.
69506         * signal/sigpause.c: Likewise.
69507         * signal/sigpending.c: Likewise.
69508         * signal/sigqueue.c: Likewise.
69509         * signal/sigreturn.c: Likewise.
69510         * signal/sigset.c: Likewise.
69511         * signal/sigsetmask.c: Likewise.
69512         * signal/sigstack.c: Likewise.
69513         * signal/sigsuspend.c: Likewise.
69514         * signal/sigtimedwait.c: Likewise.
69515         * signal/sigvec.c: Likewise.
69516         * signal/sigwait.c: Likewise.
69517         * signal/sigwaitinfo.c: Likewise.
69518         * signal/sysv_signal.c: Likewise.
69519         * socket/accept.c: Likewise.
69520         * socket/accept4.c: Likewise.
69521         * socket/bind.c: Likewise.
69522         * socket/connect.c: Likewise.
69523         * socket/getpeername.c: Likewise.
69524         * socket/getsockname.c: Likewise.
69525         * socket/getsockopt.c: Likewise.
69526         * socket/isfdtype.c: Likewise.
69527         * socket/listen.c: Likewise.
69528         * socket/recv.c: Likewise.
69529         * socket/recvfrom.c: Likewise.
69530         * socket/recvmsg.c: Likewise.
69531         * socket/send.c: Likewise.
69532         * socket/sendmsg.c: Likewise.
69533         * socket/sendto.c: Likewise.
69534         * socket/setsockopt.c: Likewise.
69535         * socket/shutdown.c: Likewise.
69536         * socket/sockatmark.c: Likewise.
69537         * socket/socket.c: Likewise.
69538         * socket/socketpair.c: Likewise.
69539         * stdio-common/ctermid.c: Likewise.
69540         * stdio-common/cuserid.c: Likewise.
69541         * stdio-common/remove.c: Likewise.
69542         * stdio-common/rename.c: Likewise.
69543         * stdio-common/renameat.c: Likewise.
69544         * stdio-common/tempname.c: Likewise.
69545         * stdlib/getcontext.c: Likewise.
69546         * stdlib/makecontext.c: Likewise.
69547         * stdlib/setcontext.c: Likewise.
69548         * stdlib/swapcontext.c: Likewise.
69549         * stdlib/system.c: Likewise.
69550         * streams/fattach.c: Likewise.
69551         * streams/fdetach.c: Likewise.
69552         * streams/getmsg.c: Likewise.
69553         * streams/getpmsg.c: Likewise.
69554         * streams/putmsg.c: Likewise.
69555         * streams/putpmsg.c: Likewise.
69556         * sysdeps/unix/bsd/getpt.c: Likewise.
69557         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
69558         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
69559         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
69560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
69561         Likewise.
69562         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
69563         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
69564         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
69565         * sysvipc/msgctl.c: Likewise.
69566         * sysvipc/msgget.c: Likewise.
69567         * sysvipc/msgrcv.c: Likewise.
69568         * sysvipc/msgsnd.c: Likewise.
69569         * sysvipc/semctl.c: Likewise.
69570         * sysvipc/semget.c: Likewise.
69571         * sysvipc/semop.c: Likewise.
69572         * sysvipc/semtimedop.c: Likewise.
69573         * sysvipc/shmat.c: Likewise.
69574         * sysvipc/shmctl.c: Likewise.
69575         * sysvipc/shmdt.c: Likewise.
69576         * sysvipc/shmget.c: Likewise.
69577         * termios/tcdrain.c: Likewise.
69578         * termios/tcflow.c: Likewise.
69579         * termios/tcflush.c: Likewise.
69580         * termios/tcgetattr.c: Likewise.
69581         * termios/tcgetpgrp.c: Likewise.
69582         * termios/tcsendbrk.c: Likewise.
69583         * termios/tcsetattr.c: Likewise.
69584         * termios/tcsetpgrp.c: Likewise.
69585         * time/adjtime.c: Likewise.
69586         * time/clock.c: Likewise.
69587         * time/getitimer.c: Likewise.
69588         * time/gettimeofday.c: Likewise.
69589         * time/setitimer.c: Likewise.
69590         * time/settimeofday.c: Likewise.
69591         * time/stime.c: Likewise.
69592         * time/time.c: Likewise.
69594 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
69596         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
69597         /usr/old/bin.
69599         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
69600         instead of spaces.
69601         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
69603 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
69605         [BZ #14796]
69606         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
69607         FE_TONEAREST before applying Dekker multiplication and Knuth
69608         addition.  Clear inexact exceptions and check for exact zero
69609         results afterwards.
69610         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69611         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
69612         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69613         * math/libm-test.inc (fma_test): Add more tests.
69614         (fma_test_towardzero): Likewise.
69615         (fma_test_downward): Likewise.
69616         (fma_test_upward): Likewise.
69617         * sysdeps/generic/math_private.h (default_libc_fesetround): New
69618         function.
69619         (libc_fesetround): New macro.
69620         (libc_fesetroundf): Likewise.
69621         (libc_fesetroundl): Likewise.
69622         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
69623         function.
69624         (libc_fesetround_387): Likewise.
69625         (libc_fesetroundf): New macro.
69626         (libc_fesetround): Likewise.
69627         (libc_fesetroundl): Likewise.
69628         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
69629         function.
69630         (libc_fesetroundf): New macro.
69631         (libc_fesetround): Likewise.
69632         (libc_fesetroundl): Likewise.
69633         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
69634         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
69635         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
69636         libm_hidden_ver.
69637         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
69638         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
69639         libm_hidden_def.
69640         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
69641         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
69642         libm_hidden_ver.
69643         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
69644         libm_hidden_def.
69646         [BZ #3439]
69647         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
69648         integer constant usable in #if and use that to give value to enum
69649         constant.
69650         (FE_DIVBYZERO): Likewise.
69651         (FE_UNDERFLOW): Likewise.
69652         (FE_OVERFLOW): Likewise.
69653         (FE_INVALID): Likewise.
69654         (FE_INVALID_SNAN): Likewise.
69655         (FE_INVALID_ISI): Likewise.
69656         (FE_INVALID_IDI): Likewise.
69657         (FE_INVALID_ZDZ): Likewise.
69658         (FE_INVALID_IMZ): Likewise.
69659         (FE_INVALID_COMPARE): Likewise.
69660         (FE_INVALID_SOFTWARE): Likewise.
69661         (FE_INVALID_SQRT): Likewise.
69662         (FE_INVALID_INTEGER_CONVERSION): Likewise.
69663         (FE_TONEAREST): Likewise.
69664         (FE_TOWARDZERO): Likewise.
69665         (FE_UPWARD): Likewise.
69666         (FE_DOWNWARD): Likewise.
69667         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
69668         (FE_DIVBYZERO): Likewise.
69669         (FE_OVERFLOW): Likewise.
69670         (FE_UNDERFLOW): Likewise.
69671         (FE_INEXACT): Likewise.
69672         (FE_TONEAREST): Likewise.
69673         (FE_DOWNWARD): Likewise.
69674         (FE_UPWARD): Likewise.
69675         (FE_TOWARDZERO): Likewise.
69676         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
69677         (FE_UNDERFLOW): Likewise.
69678         (FE_OVERFLOW): Likewise.
69679         (FE_DIVBYZERO): Likewise.
69680         (FE_INVALID): Likewise.
69681         (FE_TONEAREST): Likewise.
69682         (FE_TOWARDZERO): Likewise.
69683         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
69684         (FE_OVERFLOW): Likewise.
69685         (FE_UNDERFLOW): Likewise.
69686         (FE_DIVBYZERO): Likewise.
69687         (FE_INEXACT): Likewise.
69688         (FE_TONEAREST): Likewise.
69689         (FE_TOWARDZERO): Likewise.
69690         (FE_UPWARD): Likewise.
69691         (FE_DOWNWARD): Likewise.
69692         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
69693         (FE_DIVBYZERO): Likewise.
69694         (FE_OVERFLOW): Likewise.
69695         (FE_UNDERFLOW): Likewise.
69696         (FE_INEXACT): Likewise.
69697         (FE_TONEAREST): Likewise.
69698         (FE_DOWNWARD): Likewise.
69699         (FE_UPWARD): Likewise.
69700         (FE_TOWARDZERO): Likewise.
69702 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
69704         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
69706 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
69708         * scripts/cross-test-ssh.sh (command): Use newlines to separate
69709         commands.  Quote $PWD.
69710         (blacklist_exports): Don't use remove_newlines.  Replace "declare
69711         -x" by "export".
69712         (remove_newlines): Remove.
69714 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
69716         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
69717         * stdlib/stdlib.h (atof): Moved to ...
69718         * include/bits/stdlib-float.h: Here.  New file.
69719         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
69720         * stdlib/bits/stdlib-float.h: New file.
69721         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
69722         -mno-sse -mno-mmx.
69723         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
69724         <xmmintrin.h>.
69726 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69728         * conform/conformtest.pl (@headers): Add fenv.h.
69729         * conform/data/fenv.h-data: New file.
69730         * include/fenv.h [_ISOMAC]: Disable all contents of file except
69731         include of <math/fenv.h>.
69733         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
69734         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
69735         && !UNIX98].  Enables tests for XOPEN2K8.
69736         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
69737         POSIX2008]: Likewise.
69739         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
69740         (struct rusage): Do not expect type or its members.
69742         [BZ #3439]
69743         * math/math.h (FP_NAN): Define macro to integer constant usable in
69744         #if and use that to give value to enum constant.
69745         (FP_INFINITE): Likewise.
69746         (FP_ZERO): Likewise.
69747         (FP_SUBNORMAL): Likewise.
69748         (FP_NORMAL): Likewise.
69750 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
69752         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
69753         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
69754         arguments.
69756 2012-11-02  Roland McGrath  <roland@hack.frob.com>
69758         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
69759         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
69760         autoconf-time if not.
69761         * configure.in: Remove AC_PREREQ.
69763 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69765         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
69766         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
69767         of the internal implementation.
69769 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
69771         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
69772         except include of <misc/sys/syslog.h>.
69774 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
69777         function returns with a NULL context exit with zero.
69779 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69781         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
69783 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
69785         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
69786         (run_program_cmd): This.
69787         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
69788         (tst_langinfo): New variable.  Use it.
69790 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
69792         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
69793         floating point opcodes.
69795 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69797         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
69798         variable.
69800         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
69802         * sysdeps/mach/hurd/powerpc: Remove directory.
69803         * sysdeps/mach/powerpc: Likewise.
69805 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69807         * scripts/check-local-headers.sh: Ignore c++ headers.
69809 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69811         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
69812         __libc_cleanup_region_start argument.
69814 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
69816         [BZ #14784]
69817         [BZ #14785]
69818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
69819         x * y using scaling, not as x * y + z.
69820         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69821         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69822         * math/libm-test.inc (fma_test): Add more tests.
69823         (fma_test_towardzero): Likewise.
69824         (fma_test_downward): Likewise.
69825         (fma_test_upward): Likewise.
69827 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
69829         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
69831 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69833         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
69834         New variable.
69836 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
69838         * rt/tst-shm.c (worker): Correct checking for mmap failure.
69840 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69843         Fix sort order.
69844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69845         Likewise.
69847 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69850         Fix the order of the list for glibc 2.17.
69851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69852         Likewise.
69854 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
69856         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69858 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
69860         [BZ #14610]
69861         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
69862         for low part of x being zero before using __atanl (y).
69863         * math/libm-test.inc (atan2_test): Add another test.
69865         * manual/install.texi (Configuring and compiling): Document
69866         general use of test-wrapper and test-wrapper-env.
69867         * INSTALL: Regenerated.
69869         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
69870         (__fma): Do not extract and scale down low bits on after-rounding
69871         systems when result rounded to normal precision would have normal
69872         exponent.
69873         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
69874         (__fmal): Do not extract and scale down low bits on after-rounding
69875         systems when result rounded to normal precision would have normal
69876         exponent.
69877         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
69878         (__fmal): Do not extract and scale down low bits on after-rounding
69879         systems when result rounded to normal precision would have normal
69880         exponent.
69881         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
69882         macro.
69883         (fma_test): Add more tests.
69884         (fma_test_towardzero): Likewise.
69885         (fma_test_downward): Likewise.
69886         (fma_test_upward): Likewise.
69888 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
69890         * sysdeps/i386/tininess.h: Renamed to ...
69891         * sysdeps/x86/tininess.h: This.
69892         * sysdeps/x86_64/tininess.h: Removed.
69894 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69896         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
69897         input.  Use $(build-program-cmd).
69898         ($(objpfx)tst-array1-static.out): Likewise.
69899         ($(objpfx)tst-array2.out): Likewise.
69900         ($(objpfx)tst-array3.out): Likewise.
69901         ($(objpfx)tst-array4.out): Likewise.
69902         ($(objpfx)tst-array5.out): Likewise.
69903         ($(objpfx)tst-array5-static.out): Likewise.
69905 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
69907         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
69908         if defined.
69910         * nss/nsswitch.h (nss_interface_function): Provide new
69911         macro for use with NSS functions.
69912         * grp/initgroups.c: Use new macro.
69913         * nss/getXXbyYY.c: Likewise.
69914         * nss/getXXbyYY_r.c: Likewise.
69915         * nss/getXXent.c: Likewise.
69916         * nss/getXXent_r.c: Likewise.
69917         * sysdeps/posix/getaddrinfo.c: Likewise.
69919 2012-10-30  Andreas Jaeger  <aj@suse.de>
69921         * po/ru.po: Update Russion translation from translation project.
69923 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
69925         [BZ #14152]
69926         [BZ #14783]
69927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
69928         result and shift together with sticky bit instead of replicating
69929         round-to-nearest rounding.
69930         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
69931         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
69932         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
69933         missing underflow exceptions.
69934         (fma_test_towardzero): Add more tests.
69935         (fma_test_downward): Likewise.
69936         (fma_test_upward): Likewise.
69938         [BZ #14047]
69939         * sysdeps/generic/tininess.h: New file.
69940         * sysdeps/i386/tininess.h: Likewise.
69941         * sysdeps/sh/tininess.h: Likewise.
69942         * sysdeps/x86_64/tininess.h: Likewise.
69943         * stdlib/tst-strtod-underflow.c: Likewise.
69944         * stdlib/tst-tininess.c: Likewise.
69945         * stdlib/strtod_l.c: Include <tininess.h>.
69946         (round_and_return): Do not set errno for exact underflow cases.
69947         Force an underflow exception when setting errno for underflow.
69948         Determine underflow based on rounding to normal precision if
69949         TININESS_AFTER_ROUNDING.
69950         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
69951         ERANGE for exact underflow cases.
69952         * stdlib/Makefile (tests): Add tst-tininess and
69953         tst-strtod-underflow.
69954         ($(objpfx)tst-tininess): Use $(link-libm).
69955         ($(objpfx)tst-strtod-underflow): Likewise.
69957 2012-10-30  Andreas Jaeger  <aj@suse.de>
69959         [BZ #14767]
69960         * elf/Makefile (tests): Remove conditional for have-initfini-array
69961         since this is now always required and the variable does not exist
69962         anymore.
69963         (tests-static): Likewise.
69964         (modules-names): Likewise.
69966         * po/eo.po: Add Esperanto translation from translation project.
69968         * elf/tst-array1.c (fini_array): Make writeable so that it can be
69969         merged with constructor/destructor.
69970         (init_array): Likewise.
69971         * elf/tst-array2dep.c (fini_array): Likewise.
69972         (init_array): Likewise.
69974 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
69976         * manual/message.texi: Delete @cartouche tags.
69978 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
69980         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
69981         EOPNOTSUPP.
69982         * sysdeps/mach/hurd/fsync.c: Likewise.
69984         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
69985         [_POSIX_REALTIME_SIGNALS]: Change condition to
69986         [_POSIX_REALTIME_SIGNALS > 0].
69988 2012-10-27  Andreas Jaeger  <aj@suse.de>
69990         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
69991         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
69992         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
69993         [__WORDSIZE != 64]: Likewise.
69995 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
69997         *  iconvdata/tst-table.sh: Remove ${SHELL}.
69998         *  iconvdata/tst-tables.sh: Likewise.
70000 2012-10-25  David S. Miller  <davem@davemloft.net>
70002         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70003         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
70004         of strtoull.
70006         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
70007         ifunc-impl-list.c
70008         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70009         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
70010         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
70011         file.
70013 2012-10-25  Roland McGrath  <roland@hack.frob.com>
70015         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70016         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
70017         __getdirentries.
70019 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70020             Jim Blandy  <jimb@codesourcery.com>
70022         * scripts/cross-test-ssh.sh: New file.
70023         * manual/install.texi (Configuring and compiling): Document use of
70024         cross-test-ssh.sh.
70025         * INSTALL: Regenerated.
70027 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
70029         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
70030         EOPNOTSUPP.
70032 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
70034         * Makeconfig (run-program-prefix): Fix comment.
70036 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70037             Jim Blandy  <jimb@codesourcery.com>
70039         * Makeconfig (test-wrapper): New variable,
70040         (test-wrapper-env): Likewise.
70041         [$(cross-compiling) = yes && $(test-wrapper) != ""]
70042         (run-built-tests): Define to yes.
70043         (run-program-prefix): Use $(test-wrapper).
70044         (built-program-cmd): Likewise.
70045         * Rules (make-test-out): Use $(test-wrapper-env) and
70046         $(host-built-program-cmd).
70047         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
70048         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
70049         tst-pathopt.sh.
70050         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
70051         $(test-wrapper-env) to tst-rtld-load-self.sh.
70052         ($(objpfx)order2.out): Use $(test-wrapper).
70053         ($(objpfx)tst-initorder.out): Likewise.
70054         ($(objpfx)tst-initorder2.out): Likewise.
70055         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
70056         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
70057         (test_wrapper_env): New variable.  Use it to run ld.so.
70058         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
70059         Use it to run ld.so.
70060         (test_wrapper_env): Likewise.
70061         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
70062         $(test-wrapper) to run-iconv-test.sh.
70063         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
70064         (ICONV): Use $test_wrapper.
70065         * posix/Makefile ($(objpfx)globtest.out): Pass
70066         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
70067         globtest.sh, not $(run-program-prefix).
70068         * posix/globtest.sh (run_via_rtld_prefix): New variable.
70069         (test_wrapper): Likewise.
70070         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
70071         set together with run_via_rtld_prefix.
70072         (run_program_prefix): Define in terms of test_wrapper and
70073         run_via_rtld_prefix.
70075 2012-10-24  Roland McGrath  <roland@hack.frob.com>
70077         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
70078         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
70079         Targets removed.
70081         [BZ #14743]
70082         * include/time.h: Remove librt_hidden_proto (clock_gettime).
70083         Declare __clock_getres, __clock_gettime, __clock_settime,
70084         __clock_nanosleep, and __clock_getcpuclockid.
70085         * rt/clock_gettime.c: Define __clock_gettime as an alias.
70086         Remove librt_hidden_def (clock_gettime).
70087         * sysdeps/unix/clock_gettime.c: Likewise.
70088         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
70089         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
70090         * rt/clock_getres.c: Define __clock_getres as an alias.
70091         * sysdeps/posix/clock_getres.c: Likewise.
70092         * rt/clock_settime.c: Define __clock_settime as an alias.
70093         * sysdeps/unix/clock_settime.c: Likewise.
70094         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
70095         * sysdeps/unix/clock_nanosleep.c: Likewise.
70096         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
70097         * rt/clock-compat.c: New file.
70098         * rt/Makefile (librt-routines): Add clock-compat and move
70099         $(clock-routines) to ...
70100         (routines): ... here, new variable.
70101         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
70102         Don't add get_clockfreq here.
70103         * rt/Versions (libc: GLIBC_2.17): New version set.
70104         Add clock_* symbols here.
70105         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
70106         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
70107         (GLIBC_2.17): Add clock_* symbols.
70108         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
70109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
70110         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70112         Likewise.
70113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70114         Likewise.
70115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
70117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
70118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
70119         * NEWS: Mention the move.
70121         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
70122         Use __open, __read, __close rather than their public counterparts.
70123         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70124         (__get_clockfreq_via_cpuinfo): Likewise.
70125         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
70126         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
70128         * config.h.in (HAVE_IFUNC): New #undef.
70129         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
70130         was successful.
70131         * configure: Regenerated.
70133 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70135         * configure.in: Move READELF check to start of file.
70136         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
70137         libc_cv_asm_gnu_indirect_function in the process.
70138         * configure: Regenerated.
70140 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
70142         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
70143         send the output to /dev/null.
70144         (libc_cv_cc_with_libunwind): Likewise.
70145         (libc_cv_as_noexecstack): Likewise.
70146         * configure: Regenerate.
70148 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
70150         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
70152         * posix/globtest.sh (TMPDIR): Do not set.
70153         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
70154         (testout): Likewise.
70156 2012-10-24  Andreas Jaeger  <aj@suse.de>
70158         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
70159         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
70160         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
70161         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
70162         posix_fadvise64, posix_fallocate64.
70164         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
70165         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
70166         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
70167         Likewise.
70168         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
70169         Likewise.
70170         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
70172         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
70173         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
70174         <bits/fcntl-linux.h>.
70175         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
70177         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
70178         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
70179         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
70180         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
70181         [__WORDSIZE != 64]: Likewise.
70183 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70185         * Makeconfig (run-built-tests): New variable.
70186         * Rules [$(cross-compiling) = yes]: Change condition to
70187         [$(run-built-tests) = no].
70188         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
70189         to [$(run-built-tests) = yes].
70190         * elf/Makefile [$(cross-compiling) = no]: Likewise.
70191         * grp/Makefile [$(cross-compiling) = no]: Likewise.
70192         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
70193         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
70194         * intl/Makefile [$(cross-compiling) = no]: Likewise.
70195         * io/Makefile [$(cross-compiling) = no]: Likewise.
70196         * libio/Makefile [$(cross-compiling) = no]: Likewise.
70197         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
70198         * misc/Makefile [$(cross-compiling) = no]: Likewise.
70199         * posix/Makefile [$(cross-compiling) = no]: Likewise.
70200         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
70201         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
70202         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
70203         * string/Makefile [$(cross-compiling) = no]: Likewise.
70205         * posix/Makefile ($(objpfx)globtest.out): Pass
70206         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
70207         $(rtld-installed-name).
70208         * posix/globtest.sh (elf_objpfx): Remove variable.
70209         (rtld_installed_name): Likewise.
70210         (library_path): Likewise.
70211         (run_program_prefix): New variable.  Use for running globtest
70212         binary.
70214 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
70215             Joseph Myers  <joseph@codesourcery.com>
70217         * Makeconfig (host-built-program-cmd): New variable.
70218         * elf/Makefile (tst-stackguard1-ARGS): Use
70219         $(host-built-program-cmd).
70220         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
70221         (tst-spawn-ARGS): Likewise.
70222         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
70224 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
70225             Jim Blandy  <jimb@codesourcery.com>
70227         * Makeconfig (run-via-rtld-prefix): New variable.
70228         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
70229         (built-program-cmd): Likewise.
70231 2012-10-22  Andreas Jaeger  <aj@suse.de>
70233         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
70234         __O_RSYNC if it exists, otherwise to O_SYNC.
70236 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
70237             Joseph Myers  <joseph@codesourcery.com>
70239         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
70240         /dev/null.
70241         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
70242         from /dev/null
70243         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
70244         /dev/null.
70246 2012-10-22  Andreas Jaeger  <aj@suse.de>
70248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
70249         Define always.
70250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
70252         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70253         bits/fcntl-linux.h.
70255         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
70256         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
70258         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
70259         to __O_LARGEFILE.
70260         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
70261         to __O_LARGEFILE.
70263 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
70264             Joseph Myers  <joseph@codesourcery.com>
70266         * config.make.in (NM): New variable.
70268 2012-10-21  Andreas Jaeger  <aj@suse.de>
70270         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
70271         definitions and declarations that are provided by
70272         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
70274 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70276         [BZ #14683]
70277         * elf/Makefile (tests-static): Add tst-leaks1-static.
70278         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
70279         ($(objpfx)tst-leaks1-static): New rule.
70280         ($(objpfx)tst-leaks1-static-mem): Likewise.
70281         (tst-leaks1-static-ENV): New macro.
70282         * elf/dl-open.c (dl_open_worker): Check the main application
70283         only if SHARED is defined.
70284         * elf/tst-leaks1-static.c: New file.
70286 2012-10-20  Andreas Jaeger  <aj@suse.de>
70288         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
70289         generic values for Linux.
70290         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
70291         and declarations that are provided by <bits/fcntl-linux.h> and
70292         include <bits/fcntl-linux.h>.
70293         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
70294         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
70296 2012-10-20  Roland McGrath  <roland@hack.frob.com>
70298         * io/fcntl.h: Move include of <bits/types.h> to the top and
70299         include it unconditionally.
70301 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
70303         * wcsmbs/Makefile (tests-ifunc): New variable.
70304         (tests): Add $(tests-ifunc).
70305         * wcsmbs/test-wcschr-ifunc.c: New file.
70306         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
70307         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
70308         * wcsmbs/test-wcslen-ifunc.c: Likewise.
70309         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
70310         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
70312         * string/Makefile (tests-ifunc): New variable.
70313         (tests): Add $(tests-ifunc).
70314         * string/test-memccpy.c (TEST_NAME): New macro.
70315         * string/test-memchr.c (TEST_NAME): Likewise.
70316         * string/test-memcmp.c (TEST_NAME): Likewise.
70317         * string/test-memcpy.c (TEST_NAME): Likewise.
70318         * string/test-memmem.c (TEST_NAME): Likewise.
70319         * string/test-memmove.c (TEST_NAME): Likewise.
70320         * string/test-memset.c (TEST_NAME): Likewise.
70321         * string/test-rawmemchr.c (TEST_NAME): Likewise.
70322         * string/test-stpcpy.c (TEST_NAME): Likewise.
70323         * string/test-stpncpy.c (TEST_NAME): Likewise.
70324         * string/test-strcasecmp.c (TEST_NAME): Likewise.
70325         * string/test-strcasestr.c (TEST_NAME): Likewise.
70326         * string/test-strcat.c (TEST_NAME): Likewise.
70327         * string/test-strchr.c (TEST_NAME): Likewise.
70328         * string/test-strcmp.c(TEST_NAME): Likewise.
70329         * string/test-strcpy.c (TEST_NAME): Likewise.
70330         * string/test-strcspn.c (TEST_NAME): Likewise.
70331         * string/test-strlen.c (TEST_NAME): Likewise.
70332         * string/test-strncasecmp.c (TEST_NAME): Likewise.
70333         * string/test-strncmp.c (TEST_NAME): Likewise.
70334         * string/test-strncpy.c (TEST_NAME): Likewise.
70335         * string/test-strnlen.c (TEST_NAME): Likewise.
70336         * string/test-strpbrk.c (TEST_NAME): Likewise.
70337         * string/test-strrchr.c (TEST_NAME): Likewise.
70338         * string/test-strspn.c (TEST_NAME): Likewise.
70339         * string/test-strstr.c (TEST_NAME): Likewise.
70340         * string/test-bcopy-ifunc.c: New file.
70341         * string/test-bzero-ifunc.c: Likewise.
70342         * string/test-memccpy-ifunc.c: Likewise.
70343         * string/test-memchr-ifunc.c: Likewise.
70344         * string/test-memcmp-ifunc.c: Likewise.
70345         * string/test-memcpy-ifunc.c: Likewise.
70346         * string/test-memmem-ifunc.c: Likewise.
70347         * string/test-memmove-ifunc.c: Likewise.
70348         * string/test-mempcpy-ifunc.c: Likewise.
70349         * string/test-memset-ifunc.c: Likewise.
70350         * string/test-rawmemchr-ifunc.c: Likewise.
70351         * string/test-stpcpy-ifunc.c: Likewise.
70352         * string/test-stpncpy-ifunc.c: Likewise.
70353         * string/test-strcasecmp-ifunc.c: Likewise.
70354         * string/test-strcasestr-ifunc.c: Likewise.
70355         * string/test-strcat-ifunc.c: Likewise.
70356         * string/test-strchr-ifunc.c: Likewise.
70357         * string/test-strchrnul-ifunc.c: Likewise.
70358         * string/test-strcmp-ifunc.c: Likewise.
70359         * string/test-strcpy-ifunc.c: Likewise.
70360         * string/test-strcspn-ifunc.c: Likewise.
70361         * string/test-strlen-ifunc.c: Likewise.
70362         * string/test-strncasecmp-ifunc.c: Likewise.
70363         * string/test-strncat-ifunc.c: Likewise.
70364         * string/test-strncmp-ifunc.c: Likewise.
70365         * string/test-strncpy-ifunc.c: Likewise.
70366         * string/test-strnlen-ifunc.c: Likewise.
70367         * string/test-strpbrk-ifunc.c: Likewise.
70368         * string/test-strrchr-ifunc.c: Likewise.
70369         * string/test-strspn-ifunc.c: Likewise.
70370         * string/test-strstr-ifunc.c: Likewise.
70372         * debug/Makefile (tests-ifunc): New variable.
70373         (tests): Add $(tests-ifunc).
70374         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
70375         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
70376         * debug/test-stpcpy_chk-ifunc.c: New file.
70377         * debug/test-strcpy_chk-ifunc.c: Likewise.
70379 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70381         [BZ #13601]
70382         * elf/dl-load.c (open_verify): Retry read if the entire ELF
70383         header is not read in.
70385 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
70387         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
70388         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
70389         directly.  Pass built executable to script as
70390         $(built-program-cmd).
70391         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
70392         $testprogram without using LD_LIBRARY_PATH and $ldso.
70394         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
70395         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
70396         $(rtld-installed-name).
70397         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
70398         (rtld_installed_name): Likewise.
70399         (library_path): Likewise.
70400         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
70401         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
70402         $(run-program-prefix) to tst-tables.sh.
70403         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
70404         it to run tst-table-from and tst-table-to.
70405         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
70406         Pass it to tst-table.sh.
70407         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
70408         $(run-program-prefix) to tst-gettext.sh.
70409         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
70410         tst-translit.sh.
70411         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
70412         tst-gettext2.sh.
70413         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
70414         to run tst-gettext.
70415         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
70416         to run tst-gettext2.
70417         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
70418         to run tst-translit.
70419         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
70420         $(run-program-prefix) to tst-mtrace.sh.
70421         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
70422         to run tst-mtrace.
70423         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
70424         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
70425         $(rtld-installed-name).
70426         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
70427         (rtld_installed_name): Likewise.
70428         (run_program_prefix): New variable.  Use it to run wordexp-test.
70430         * Makeconfig (ARCH): Remove all definitions.
70431         (machine): Likewise.
70432         [ARCH]: Remove conditional code.
70433         [!objdir]: Give error.
70434         [!objdir] (objpfx): Remove.
70435         [!objdir] (common-objpfx): Likewise.
70436         [!objdir] (common-objdir): Likewise.
70437         * configure.in (config_makefile): Remove.  Hardcode Makefile in
70438         AC_CONFIG_FILES call.
70439         * configure: Regenerated.
70441         [BZ #13888]
70442         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
70443         or TMPDIR.
70444         (testout): Likewise.
70446         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
70447         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
70448         $(rtld-installed-name).
70449         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
70450         (rtld_installed_name): Likewise.
70451         (runit): Remove function.
70452         (run_getconf): New variable,  Use it for running getconf binary.
70454 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
70456         [BZ #14716]
70457         * string/test-memmem.c (check_result): New function.
70458         (do_one_test): Use it.
70459         (check1): New function.
70460         (test_main): Use it.
70462 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
70464         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
70466 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
70468         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
70469         (_G_LSEEK64): Likewise.
70470         (_G_MMAP64): Likewise.
70471         (_G_FSTAT64): Likewise.
70472         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
70473         (_G_LSEEK64): Likewise.
70474         (_G_MMAP64): Likewise.
70475         (_G_FSTAT64): Likewise.
70476         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
70477         unconditional.  Call __mmap64 directly.
70478         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
70479         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
70480         __lseek64 directly.
70481         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
70482         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
70483         __mmap64 directly.
70484         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
70485         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70486         __lseek64 directly.
70487         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
70488         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
70489         __lseek64 directly.
70490         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
70491         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
70492         __lseek64 directly.
70493         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
70494         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
70495         __fxstat64 directly.
70496         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
70497         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
70498         unconditional.
70499         (freopen64) [!_G_OPEN64]: Remove conditional code.
70500         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
70501         unconditional.
70502         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
70503         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
70504         unconditional.
70505         (ftello64) [!_G_LSEEK64]: Remove conditional code.
70506         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
70507         unconditional.
70508         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70509         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
70510         unconditional.
70511         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
70512         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
70513         unconditional.
70514         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70515         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
70516         unconditional.
70517         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
70518         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
70519         unconditional.
70520         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
70522 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70524         [BZ #12140]
70525         * manual/memory.texi (Malloc Tunable Parameters): Add note
70526         about free list pointers overwriting some perturb bytes.
70527         Wording suggested by Roland McGrath.
70529 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
70531         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
70532         (lgamma_test): Likewise.
70533         (tgamma_test): Likewise.
70535 2012-10-16  Florian Weimer  <fweimer@redhat.com>
70537         [BZ #14700]
70538         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
70539         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
70541 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
70543         * NEWS: Mention BZ #14716.
70544         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
70545         when removing AVAILABLE1_USES_J macro.
70547 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
70549         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
70550         (__bswap_64): __uint64_t for unsigned 64-bit int.
70552 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
70554         * include/string.h (memmem): Declare libc hidden alias.
70555         * string/memmem.c (memmem): Define libc hidden alias.
70556         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
70557         __read, __close instead of open, read, close.
70559 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
70561         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
70562         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
70563         global and hidden.
70564         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
70565         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
70566         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
70567         Likewise.
70568         (__rawmemchr_sse2): Likewise.
70569         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
70570         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
70571         (__strchr_sse2): Likewise.
70572         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
70573         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
70574         (__strcasecmp_sse2): Likewise.
70575         (__strncasecmp_sse2): Likewise.
70576         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
70577         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
70578         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
70579         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
70580         (__strrchr_sse2): Likewise.
70581         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
70582         ifunc-impl-list.c.
70583         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
70584         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
70585         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
70586         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
70587         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
70588         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
70589         * sysdeps/x86_64/multiarch/memset.S: Likewise.
70590         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
70591         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
70592         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
70593         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
70594         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
70595         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
70596         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
70597         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
70598         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
70599         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
70600         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
70601         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
70602         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
70603         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
70604         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
70605         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
70606         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
70607         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
70608         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
70609         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
70610         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
70611         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
70612         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
70614         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
70615         global and hidden.
70616         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
70617         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
70618         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
70619         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
70620         Likewise.
70621         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
70622         Likewise.
70623         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
70624         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
70625         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
70626         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
70627         ifunc-impl-list.c.
70628         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
70629         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
70630         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
70631         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
70632         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
70633         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
70634         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
70635         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
70636         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
70637         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
70638         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
70639         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
70640         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
70641         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
70642         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
70643         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
70644         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
70645         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
70646         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
70647         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
70648         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
70649         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
70650         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
70651         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
70652         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
70653         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
70654         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
70655         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
70656         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
70657         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
70658         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
70659         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
70660         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
70661         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
70662         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
70663         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
70664         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
70665         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
70666         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
70667         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
70668         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
70670         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
70671         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
70672         * include/ifunc-impl-list.h: New file.
70673         * misc/ifunc-impl-list.c: Likewise.
70674         * misc/Makefile (routines): Add ifunc-impl-list.
70675         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
70676         * string/test-string.h: Include <ifunc-impl-list.h>.
70677         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
70678         TEST_NAME]: New variables.
70679         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
70680         are defined.
70681         (test_init): Call __libc_ifunc_impl_list to initialize
70682         func_list if TEST_IFUNC and TEST_NAME are defined.
70684         * string/Makefile (strop-tests): Add bcopy and bzero.
70685         * string/test-bcopy.c: New file.
70686         * string/test-bzero.c: Likewise.
70687         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
70688         defined.
70689         * string/test-memset.c: Support bzero test if TEST_BZERO is
70690         defined.
70691         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
70692         __libc_memmove.
70693         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
70694         __libc_memset.
70695         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
70696         of memset.
70698 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
70700         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
70701         * configure: Regenerated.
70703         * Makeconfig (+link-static-before-libc): Don't include
70704         $(link-static-libc).
70706         * libio/libio.h (_IO_pos_t): Remove.
70708 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70710         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
70711         McGrath.
70713 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70715         * crypt/crypt-entry.c: Include fips-private.h.
70716         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
70717         * crypt/md5c-test.c (main): Tolerate disabled MD5.
70718         * sysdeps/unix/sysv/linux/fips-private.h: New file.
70719         * sysdeps/generic/fips-private.h: New file, dummy fallback.
70721 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
70723         * crypt/crypt-private.h: Include stdbool.h.
70724         (_ufc_setup_salt_r): Return bool.
70725         * crypt/crypt-entry.c: Include errno.h.
70726         (__crypt_r): Return NULL with EINVAL for bad salt.
70727         * crypt/crypt_util.c (bad_for_salt): New.
70728         (_ufc_setup_salt_r): Check that salt is long enough and within
70729         the specified alphabet.
70730         * crypt/badsalttest.c: New file.
70731         * crypt/Makefile (tests): Add it.
70732         ($(objpfx)badsalttest): New.
70734 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
70736         * NEWS: Add entry for BZ #14602.
70738 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70740         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
70741         type-generic.
70742         * math/libm-test.inc: Update comment listing what functions and
70743         macros are tested.
70744         (isgreater_test): New function.
70745         (isgreaterequal_test): Likewise.
70746         (isless_test): Likewise.
70747         (islessequal_test): Likewise.
70748         (islessgreater_test): Likewise.
70749         (isunordered_test): Likewise.
70750         (main): Call the new functions.
70752 2012-10-09  Roland McGrath  <roland@hack.frob.com>
70754         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
70755         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
70756         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
70757         * sysdeps/i386/configure: Regenerated.
70758         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
70759         * sysdeps/mach/configure: Regenerated.
70760         * sysdeps/mach/hurd/configure: Regenerated.
70761         * sysdeps/powerpc/configure: Regenerated.
70762         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70763         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70764         * sysdeps/s390/s390-32/configure: Regenerated.
70765         * sysdeps/s390/s390-64/configure: Regenerated.
70766         * sysdeps/sh/configure: Regenerated.
70767         * sysdeps/sparc/configure: Regenerated.
70768         * sysdeps/unix/sysv/linux/configure: Regenerated.
70769         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
70770         * sysdeps/x86_64/configure: Regenerated.
70772         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
70773         defined.  Don't check if MAP is NULL.
70775 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
70777         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
70778         (_G_stat64): Likewise.
70779         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
70780         (_G_stat64): Likewise.
70781         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
70782         instead of struct _G_stat64.
70783         * libio/fileops.c (mmap_remap_check): Likewise.
70784         (decide_maybe_mmap): Likewise.
70785         (_IO_new_file_seekoff): Likewise.
70786         (_IO_file_stat): Likewise.
70787         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
70788         _G_off64_t.
70789         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
70790         instead of struct _G_stat64.
70791         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
70793 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
70795         [BZ #14602]
70796         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70797         Replace with ...
70798         (CHECK_EOL): New macro.
70799         (two_way_short_needle): Check beginning of haystack for EOL.  Use
70800         CHECK_EOL.
70801         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70802         Replace with CHECK_EOL.
70803         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
70804         Replace with CHECK_EOL.
70806 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
70808         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
70809         type-generic.
70810         * math/libm-test.inc: Update comment listing what functions and
70811         macros are tested.
70812         (finite_test): New function.
70813         (isinf_test): Likewise.
70814         (isnan_test): Likewise.
70815         (fpclassify_test): Test subnormal input.
70816         (isfinite_test): Likewise.
70817         (isnormal_test): Likewise.
70818         (main): Call the new functions.
70820 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
70822         [BZ #14660]
70823         * Makerules (%.dynsym): Force C locale when running
70824         $(OBJDUMP) --dynamic-syms.
70826 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
70828         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
70829         <stdint.h>.
70831 2012-10-06  David S. Miller  <davem@davemloft.net>
70833         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
70834         upper 32-bits of the length value in %o2 since we use branch-on-register
70835         tests which consider the entire 64-bit register.
70837 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
70839         * string/test-strstr.c (check2): Add a test for page boundary.
70841 2012-10-05  David S. Miller  <davem@davemloft.net>
70843         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
70844         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
70845         file.
70846         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
70847         sysdep_routines.
70848         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
70849         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
70850         and bzero when HWCAP_SPARC_CRYPTO is present.
70852 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
70854         [BZ #14602]
70855         * string/test-strstr.c (check2): New function.
70856         (test_main): Call check2.
70858         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
70859         and bug-strchr1.
70860         * string/bug-strcasestr1.c (do_test): Moved to ...
70861         * string/test-strcasestr.c (check1): Here.  New function.
70862         (do_one_test): Break out result checking code into ...
70863         (check_result): This.  New function.
70864         (do_one_test): Call check_result.
70865         (test_main): Call check1.
70866         * string/bug-strchr1.c (do_test): Moved to ...
70867         * string/test-strchr.c (check1): Here.  New function.
70868         (do_one_test): Break out result checking code into ...
70869         (check_result): This.  New function.
70870         (do_one_test): Call check_result.
70871         (test_main): Call check1.
70872         * string/bug-strstr1.c (main): Moved to ...
70873         * string/test-strstr.c (check1): Here.  New function.
70874         (do_one_test): Break out result checking code into ...
70875         (check_result): This.  New function.
70876         (do_one_test): Call check_result.
70877         (test_main): Call check1.
70878         * string/bug-strcasestr1.c: Removed.
70879         * string/bug-strchr1.c: Likewise.
70880         * string/bug-strstr1.c: Likewise.
70882         * elf/Makefile (dl-routines): Add hwcaps.
70883         * elf/dl-support.c (_dl_important_hwcaps): Removed.
70884         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
70885         (_dl_important_hwcaps): Moved to ...
70886         * elf/dl-hwcaps.c: Here.  New file.
70887         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
70889         [BZ #14557]
70890         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
70891         if IS_IN_rtld isn't defined.
70893         * elf/dl-support.c (_dl_sysinfo_map): New.
70894         Include "get-dynamic-info.h" and "setup-vdso.h".
70895         (_dl_non_dynamic_init): Call setup_vdso.
70896         * elf/dynamic-link.h: Don't include <assert.h>.
70897         (elf_get_dynamic_info): Moved to ...
70898         * elf/get-dynamic-info.h: Here.  New file.
70899         * elf/dynamic-link.h: Include "get-dynamic-info.h".
70900         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
70901         * elf/setup-vdso.h: Here.  New file.
70902         * elf/rtld.c: Include "setup-vdso.h".
70903         (dl_main): Call setup_vdso.
70905 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
70907         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
70908         creal in comment listing functions tested.  List finite, isinf,
70909         isnan, isless, islessequal, isgreater, isgreaterequal,
70910         islessgreater, isunordered, lgamma_r and pow10 as functions and
70911         macros not tested.  Mention which functions not tested are aliases
70912         for other functions.  Fix typo.  Note that signs of NaNs are not
70913         tested.
70915         * scripts/config.guess: Update from config.git.
70916         * scripts/config.sub: Likewise.
70918 2012-10-04  Roland McGrath  <roland@hack.frob.com>
70920         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
70921         * misc/madvise.c (madvise): Renamed to __madvise.
70922         Make madvise a weak alias.
70923         * include/sys/mman.h: Declare __madvise.
70924         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
70925         * sysdeps/unix/syscalls.list
70926         (madvise): Make __madvise the strong name, and madvise a weak alias.
70927         * sysdeps/unix/sysv/linux/syscalls.list
70928         (madvise, mmap): Remove redundant entries.
70929         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
70930         * malloc/malloc.c (mtrim): Likewise.
70931         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
70933 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70935         * sysdeps/mach/hurd/dl-cache.c: File removed.
70936         * config.h.in (USE_LDCONFIG): New #undef.
70937         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
70938         * configure: Regenerated.
70939         * elf/Makefile (dl-routines): Add dl-cache only under
70940         [$(use-ldconfig) = yes].
70941         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
70942         cache on [USE_LDCONFIG].
70943         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
70944         [USE_LDCONFIG].
70945         * elf/rtld.c (dl_main): Likewise.
70947 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
70949         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
70950         _SC_LEVEL4_CACHE_LINESIZE.
70952 2012-10-03  Roland McGrath  <roland@hack.frob.com>
70954         * sysdeps/unix/bsd/confstr.h: File removed.
70956 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
70958         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
70959         sys/sdt-config.h.
70961 2012-10-02  Roland McGrath  <roland@hack.frob.com>
70963         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
70964         Make 'mapoff' field ElfW(Off) rather than off_t.
70966 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
70968         * nscd/Makefile: Remove nscd-cflags and all its users.
70969         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
70970         (CFLAGS-nonlib): Add compiler flags for nscd modules.
70972         [BZ #10631]
70973         * malloc.c (malloc_printerr): Clarify error message.
70975 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
70977         [BZ #14648]
70978         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70979         Set bit_FMA_Usable if FMA is supported.
70980         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
70981         macro.
70982         (bit_FMA4_Usable): Updated.
70983         (index_FMA_Usable): New macro.
70984         (CPUID_FMA): Likewise.
70985         (HAS_FMA): Defined with bit_FMA_Usable.
70987 2012-10-01  Roland McGrath  <roland@hack.frob.com>
70989         * bits/types.h (__swblk_t): Type removed.
70990         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
70991         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
70992         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70993         (__SWBLK_T_TYPE): Likewise.
70994         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
70995         (__SWBLK_T_TYPE): Likewise.
70996         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70997         (__SWBLK_T_TYPE): Likewise.
70998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70999         (__SWBLK_T_TYPE): Likewise.
71001 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
71002             Honza Horak <hhorak@redhat.com>
71004         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
71005         (xdr_mapname): Use YPMAXMAP as maxsize.
71006         (xdr_peername): Use YPMAXPEER as maxsize.
71007         (xdr_keydat): Use YPAXRECORD as maxsize.
71008         (xdr_valdat): Use YPMAXRECORD as maxsize.
71010 2012-10-01  Roland McGrath  <roland@hack.frob.com>
71012         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
71014         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
71015         * csu/init-first.c: ... here.
71016         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
71017         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
71018         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
71019         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
71020         * sysdeps/i386/init-first.c: File removed.
71021         * sysdeps/sh/init-first.c: File removed.
71023 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
71025         [BZ #14645]
71026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
71027         if x * y might underflow to zero and z is zero.
71028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71030         * math/libm-test.inc (min_subnorm_value): New variable.
71031         (fma_test): Add more tests.
71032         (fma_test_towardzero): Likewise.
71033         (fma_test_downward): Likewise.
71034         (fma_test_upward): Likewise.
71035         (initialize): Set min_subnorm_value.
71037 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
71039         [BZ #14638]
71040         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
71041         0 + 0.
71042         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
71043         mode for addition resulting in exact zero.
71044         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
71045         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
71046         exact 0 + 0.
71047         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
71048         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71049         * math/libm-test.inc (fma_test): Add more tests.
71050         (fma_test_towardzero): New function.
71051         (fma_test_downward): Likewise.
71052         (fma_test_upward): Likewise.
71053         (main): Call the new functions.
71055 2012-09-28  David S. Miller  <davem@davemloft.net>
71057         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
71059 2012-09-28  Roland McGrath  <roland@hack.frob.com>
71061         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
71062         instead of SIGALRM.
71064         * sysdeps/gnu/_G_config.h: Moved to ...
71065         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
71066         * sysdeps/mach/hurd/_G_config.h: Moved to ...
71067         * sysdeps/generic/_G_config.h: ... here.
71069         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
71071         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
71073         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
71074         Conditionalize target on [libnss_test1.so-version].
71076         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
71078         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
71079         (elfobjdir): Move out of conditionals.
71081         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
71082         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
71083         (__nss_lookup_function): Conditionalize label remove_from_tree on
71084         [!DO_STATIC_NSS || SHARED], matching its only use.
71086 2012-09-28  David S. Miller  <davem@davemloft.net>
71088         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
71089         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
71090         file.
71091         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
71092         sysdep_routines.
71093         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
71094         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
71095         when HWCAP_SPARC_CRYPTO is present.
71097 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71099         * io/tst-mknodat.c: Create a FIFO instead of a socket.
71101 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
71103         [BZ #6530]
71104         * stdio-common/vfprintf.c (process_string_arg): Revert
71105         2000-07-22 change.
71107 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
71109         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
71110         for testcase.
71111         * stdio-common/tst-sprintf.c: Include <locale.h>
71112         (main): Test sprintf's handling of incomplete multibyte
71113         characters.
71115 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
71117         * elf/dl-runtime.c (VERSYMIDX): Removed.
71118         * elf/dl-version.c (VERSYMIDX): Likewise.
71119         * elf/do-rel.h (VERSYMIDX): Likewise.
71120         (VALIDX): Likewise.
71121         * elf/dynamic-link.h (VERSYMIDX): Likewise.
71122         * elf/rtld.c (VALIDX): Likewise.
71123         (ADDRIDX): Likewise.
71124         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
71125         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
71126         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
71127         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
71128         (VALIDX): Likewise.
71129         (ADDRIDX): Likewise.
71131 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71133         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
71135 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
71137         [BZ #11438]
71138         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
71139         to global scope.
71140         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
71141         addresses are in the same scope as 192.0.2/24.
71142         * posix/gai.conf: Document new scope table defaults.
71144 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71146         [BZ #5298]
71147         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
71148         for ftell.  Compute offsets from write pointers instead.
71149         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
71151 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71153         [BZ #14543]
71154         * libio/Makefile (tests): New test case tst-fseek.
71155         * libio/tst-fseek.c: New test case to verify that fseek/ftell
71156         combination works in wide mode.
71157         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
71158         state when the external buffer state changes.
71160 2012-09-27  David S. Miller  <davem@davemloft.net>
71162         [BZ #14376]
71163         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
71164         pass reloc->r_addend in as the 'high' argument to
71165         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
71167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71169 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
71171         * rt/tst-aio2.c: Include <pthread.h>.
71172         * rt/tst-aio3.c: Likewise.
71174 2012-09-27  Steve Ellcey  <sellcey@mips.com>
71176         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
71178 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
71180         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
71181         contents on [SHARED].
71183 2012-09-26  Marek Polacek  <polacek@redhat.com>
71185         [BZ #14530]
71186         [BZ #13741]
71187         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
71188         for C++ and GCC <4.3 as well as for non GCC compilers.
71190 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
71192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71194 2012-09-25  Roland McGrath  <roland@hack.frob.com>
71196         * Makefile.in (all, install): Declare with .PHONY.
71197         Reported by Michael Hope <michael.hope@linaro.org>.
71199 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71201         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
71202         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
71203         system header.
71204         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
71205         Likewise.
71206         (sydep_routines): Add the new and the internal functions.
71207         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
71208         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
71209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
71210         (GLIBC_2.17): Add the new function.
71211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
71212         (GLIBC_2.17): Likewise.
71213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
71214         (GLIBC_2.17): Likewise.
71215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
71216         (GLIBC_2.17): Likewise.
71217         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
71219 2012-09-25  Alan Modra  <amodra@gmail.com>
71221         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
71222         Add release barrier before setting once_control to say
71223         initialisation is done.  Add hints on lwarx.  Use macro in
71224         place of isync.
71225         (clear_once_control): Add release barrier.
71227 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71229         [BZ #13629]
71230         * math/s_clog.c (__clog): Handle more values close to |z| = 1
71231         specially.
71232         * math/s_clog10.c (__clog10): Likewise.
71233         * math/s_clog10f.c (__clog10f): Likewise.
71234         * math/s_clog10l.c (__clog10l): Likewise.
71235         * math/s_clogf.c (__clogf): Likewise.
71236         * math/s_clogl.c (__clogl): Likewise.
71237         * math/Makefile (libm-calls): Add x2y2m1.
71238         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
71239         (__x2y2m1): Likewise.
71240         (__x2y2m1l): Likewise.
71241         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
71242         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
71243         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
71244         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
71245         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
71246         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
71247         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
71248         * sysdeps/i386/fpu/libm-test-ulps: Update.
71249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71251         [BZ #14621]
71252         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
71253         int as type of variable DEPTH.
71254         (glob): Use size_t instead of int as type of variables NEWCOUNT
71255         and OLD_PATHC.
71257 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71259         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71260         Add s_sincosf-sse2.
71261         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
71262         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
71263         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
71264         macros for using routine as __sincosf_ia32.
71265         Use macro for function declaration and weak_alias.
71266         * sysdeps/i386/fpu/libm-test-ulps: Update.
71268         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
71269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71271         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
71272         subnormal argument.
71273         * math/s_cexpf.c (__cexpf): Likewise.
71274         * math/s_csinf.c (__csinf): Likewise.
71275         * math/s_csinhf.c (__csinhf): Likewise.
71276         * math/s_ctanf.c (__ctanf): Likewise.
71277         * math/s_ctanhf.c (__ctanhf): Likewise.
71278         * math/s_ccosh.c (__ccoshf): Likewise.
71279         * math/s_cexp.c (__cexpl): Likewise.
71280         * math/s_csin.c (__csin): Likewise.
71281         * math/s_csinh.c (__csinh): Likewise.
71282         * math/s_ctan.c (__ctan): Likewise.
71283         * math/s_ctanh.c (ctanh): Likewise.
71284         * math/s_ccoshl.c (__ccoshl): Likewise.
71285         * math/s_cexpl.c (__cexpl): Likewise.
71286         * math/s_csinl.c (__csinl): Likewise.
71287         * math/s_csinhl.c (__csinhl): Likewise.
71288         * math/s_ctanl.c (__ctanl): Likewise.
71289         * math/s_ctanhl.c (__ctanhl): Likewise.
71291 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
71293         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
71294         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
71295         (_IO_off_t): Define to __off_t, not _G_off_t.
71296         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
71297         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
71298         (_IO_wint_t): Define to wint_t, not _G_wint_t.
71299         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
71300         type of __dummy and __dummy2 fields.
71301         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
71302         (_G_ssize_t): Likewise.
71303         (_G_off_t): Likewise.
71304         (_G_pid_t): Likewise.
71305         (_G_uid_t): Likewise.
71306         (_G_wchar_t): Likewise.
71307         (_G_wint_t): Likewise.
71308         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
71309         (_G_ssize_t): Likewise.
71310         (_G_off_t): Likewise.
71311         (_G_pid_t): Likewise.
71312         (_G_uid_t): Likewise.
71313         (_G_wchar_t): Likewise.
71314         (_G_wint_t): Likewise.
71315         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
71316         (_G_ssize_t): Likewise.
71317         (_G_off_t): Likewise.
71318         (_G_pid_t): Likewise.
71319         (_G_uid_t): Likewise.
71320         (_G_wchar_t): Likewise.
71321         (_G_wint_t): Likewise.
71323 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71325         * malloc/arena.c: Include malloc-sysdep.h.
71326         (shrink_heap): Use check_may_shrink_heap to decide if madvise
71327         is sufficient to shrink the heap or an unmap is needed.
71328         * sysdeps/generic/malloc-sysdep.h: New file.  Define
71329         new function check_may_shrink_heap.
71330         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
71331         new function check_may_shrink_heap.
71333 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71335         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
71336         comments.
71338 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
71340         * catgets/test-gencat.sh: Add "set -e".
71341         * elf/tst-pathopt.sh: Likewise.
71342         * grp/tst_fgetgrent.sh: Likewise.
71343         * iconvdata/run-iconv-test.sh: Likewise.
71344         * intl/tst-gettext.sh: Likewise.
71345         * intl/tst-gettext2.sh: Likewise.
71346         * intl/tst-gettext4.sh: Likewise.
71347         * intl/tst-gettext6.sh: Likewise.
71348         * intl/tst-translit.sh: Likewise.
71349         * io/ftwtest-sh: Likewise.
71350         * libio/test-freopen.sh: Likewise.
71351         * malloc/tst-mtrace.sh: Likewise.
71352         * posix/globtest.sh: Likewise.
71353         * posix/tst-getconf.sh: Likewise.
71354         * posix/wordexp-tst.sh: Likewise.
71355         * stdio-common/tst-printf.sh: Likewise.
71356         * stdio-common/tst-unbputc.sh: Likewise.
71357         * stdlib/tst-fmtmsg.sh: Likewise.
71358         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71359         * catgets/Makefile: Do not specify -e option when running
71360         testsuite shell scripts.
71361         * elf/Makefile: Likewise.
71362         * grp/Makefile: Likewise.
71363         * iconvdata/Makefile: Likewise.
71364         * intl/Makefile: Likewise.
71365         * io/Makefile: Likewise.
71366         * libio/Makefile: Likewise.
71367         * malloc/Makefile: Likewise.
71368         * posix/Makefile: Likewise.
71369         * stdio-common/Makefile: Likewise.
71370         * stdlib/Makefile: Likewise.
71371         * sysdeps/x86_64/Makefile: Likewise.
71373         * io/ftwtest-sh: Add copyright header.
71374         * posix/globtest.sh: Likewise.
71375         * posix/tst-getconf.sh: Likewise.
71376         * posix/wordexp-tst.sh: Likewise.
71377         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
71379 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
71381         [BZ #13679]
71382         * Makeconfig (+link): Defined as $(+link-static) if
71383         $(build-shared) isn't yes.
71384         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
71385         isn't yes.
71386         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
71388         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
71390         [BZ #14562]
71391         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
71392         new chunk size with MALLOC_ALIGN_MASK.
71394 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
71396         [BZ #5044]
71397         * stdio-common/printf_fphex.c: Include <stdbool.h> and
71398         <rounding-mode.h>.
71399         (__printf_fphex): Determine rounding using get_rounding_mode and
71400         round_away.
71401         * stdio-common/tst-printf-round.c (struct hex_test): New
71402         structure.
71403         (hex_tests): New variable.
71404         (test_hex_in_one_mode): New function.
71405         (do_test): Also run tests for hex float output.
71407 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
71409         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71410         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71411         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
71412         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
71413         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
71414         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
71415         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71416         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
71418 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
71420         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
71421         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
71422         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
71423         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
71425 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
71427         [BZ #14579]
71428         * elf/rtld.c (dl_main): Limit the check for self loading to normal
71429         mode only.
71430         * elf/tst-rtld-load-self.sh: New test.
71431         * elf/Makefile: Run it.
71433 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
71435         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
71436         (tst-writev-ENV): Remove.
71437         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
71439 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
71441         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
71443 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
71445         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
71446         unconditional.
71447         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
71448         Likewise.
71449         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
71450         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
71451         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
71452         Likewise.
71454 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
71456         [BZ #14587]
71457         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
71458         * config.make.in (have-cpp-asm-debuginfo): Removed.
71459         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
71460         * configure: Regenerated.
71462 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
71464         [BZ #5044]
71465         * stdio-common/printf_fp.c: Include <stdbool.h> and
71466         <rounding-mode.h>.
71467         (___printf_fp): Determine rounding using get_rounding_mode and
71468         round_away.
71469         * stdio-common/tst-printf-round.c: New file.
71470         * stdio-common/Makefile (tests): Add tst-printf-round.
71471         (link-libm): New variable.
71472         ($(objpfx)tst-printf-round): Depend in $(link-libm).
71474 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
71476         [BZ #14576]
71477         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
71478         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
71479         Likewise.
71480         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
71481         Likewise.
71483 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
71485         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
71486         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71487         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71488         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
71490 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
71492         [BZ #14518]
71493         * include/rounding-mode.h: New file.
71494         * sysdeps/generic/get-rounding-mode.h: Likewise.
71495         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
71496         * stdlib/strtod_l.c: Include <rounding-mode.h>.
71497         (MAX_VALUE): New macro.
71498         (MIN_VALUE): Likewise.
71499         (overflow_value): New function.
71500         (underflow_value): Likewise.
71501         (round_and_return): Use overflow_value and underflow_value to
71502         determine return values in overflow and underflow cases.  Use
71503         round_away to determine rounding depending on rounding mode.
71504         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
71505         determine return values in overflow and underflow cases.
71506         * stdlib/tst-strtod-round.c: Include <fenv.h>.
71507         (struct test_results): New structure.
71508         (struct test): Use struct test_results to store expected results
71509         for all rounding modes.
71510         (TEST): Include expected results for all rounding modes.
71511         (test_in_one_mode): New function.
71512         (do_test): Use test_in_one_mode to compute and check results.
71513         Check results for all rounding modes.
71514         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
71515         $(link-libm).
71517 2012-12-09  Allan McRae  <allan@archlinux.org>
71519         * sysdeps/i386/fpu/libm-test-ulps: Update
71521 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
71523         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
71524         (_G_int32_t): Likewise.
71525         (_G_uint16_t): Likewise.
71526         (_G_uint32_t): Likewise.
71527         (_G_HAVE_BOOL): Likewise.
71528         (_G_HAVE_ATEXIT): Likewise.
71529         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71530         (_G_HAVE_IO_FILE_OPEN): Likewise.
71531         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
71532         (_G_int32_t): Likewise.
71533         (_G_uint16_t): Likewise.
71534         (_G_uint32_t): Likewise.
71535         (_G_HAVE_BOOL): Likewise.
71536         (_G_HAVE_ATEXIT): Likewise.
71537         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71538         (_G_HAVE_IO_FILE_OPEN): Likewise.
71539         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
71540         (_G_int32_t): Likewise.
71541         (_G_uint16_t): Likewise.
71542         (_G_uint32_t): Likewise.
71543         (_G_HAVE_BOOL): Likewise.
71544         (_G_HAVE_ATEXIT): Likewise.
71545         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
71546         (_G_HAVE_IO_FILE_OPEN): Likewise.
71548 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
71550         * csu/libc-tls.c: Update copyright years.
71552 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
71554         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
71555         [!_G_USING_THUNKS]: Remove conditional code.
71556         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
71557         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
71559         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
71560         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
71561         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71562         (_G_VTABLE_LABEL_PREFIX): Likewise.
71563         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71564         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71565         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71566         (_G_VTABLE_LABEL_PREFIX): Likewise.
71567         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71568         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
71569         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
71570         (_G_VTABLE_LABEL_PREFIX): Likewise.
71571         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
71573 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
71575         * libio/Makefile: Include ../Makeconfig before tests.
71576         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
71577         only if $(build-shared) is yes.
71579         * iconv/gconv_db.c: Update copyright years.
71581 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71583         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
71584         unwind info if defined PIC. Fix special cases description.
71585         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
71587         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
71588         DP_HI_MASK entry.
71589         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
71591 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
71593         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
71595         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
71596         is NULL.
71598         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
71599         (LDLIBS-tst-chk4): This.
71600         (LDFLAGS-tst-chk5): Renamed to ...
71601         (LDLIBS-tst-chk5): This.
71602         (LDFLAGS-tst-chk6): Renamed to ...
71603         (LDLIBS-tst-chk6): This.
71604         (LDFLAGS-tst-lfschk4): Renamed to ...
71605         (LDLIBS-tst-lfschk4): This.
71606         (LDFLAGS-tst-lfschk5): Renamed to ...
71607         (LDLIBS-tst-lfschk5): This.
71608         (LDFLAGS-tst-lfschk6): Renamed to ...
71609         (LDLIBS-tst-lfschk6): This.
71611         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
71612         on $(common-objpfx)soversions.mk.
71614 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
71616         [BZ #10014]
71617         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
71618         example host name.
71620 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
71622         * malloc/arena.c (arena_get_retry): New function that gets
71623         another arena for the caller to try its request on.
71624         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
71625         current arena cannot fulfill the request.
71626         (__libc_memalign): Likewise.
71627         (__libc_memalign): Likewise.
71628         (__libc_pvalloc): Likewise.
71629         (__libc_calloc): Likewise.
71631 2012-09-05  John Tobey  <john.tobey@gmail.com>
71633         [BZ #13542]
71634         * manual/arith.texi (Operations on Complex): Fix description
71635         of carg branch cut.
71637 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71639         [BZ #10014]
71640         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
71641         host name.
71643         [BZ #10038]
71644         * manual/memory.texi (Memory): Make order of menu items match
71645         order of sections.
71647 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71649         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
71650         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
71651         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
71653 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71655         * csu/libc-tls.c (static_dtv): Renamed to ...
71656         (_dl_static_dtv): This.  Make it global.
71657         (_dl_initial_dtv): Removed.
71658         (__libc_setup_tls): Updated.
71659         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
71660         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
71661         DL_INITIAL_DTV.
71663 2012-09-06  Petr Machata  <pmachata@redhat.com>
71665         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
71666         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
71667         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
71668         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
71670 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71672         [BZ #14545]
71673         * csu/libc-tls.c (_dl_initial_dtv): New variable.
71674         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
71675         freeing dtv[-1].
71677 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
71679         [BZ #14544]
71680         * Makeconfig (link-static-before-libc): Replace $(+prector)
71681         with $(+prectorT).
71682         (link-static-after-libc): Replace $(+postctor) with
71683         $(+postctorT).
71684         (link-bounded): Replace $(+prector)/$(+postctor) with
71685         $(+prectorT)/$(+postctorT).
71686         (+prectorT): New macro.
71687         (+postctorT): Likewise.
71689 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
71691         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
71692         (round_str): Handle values above the maximum for IBM long double
71693         as inexact.
71694         * stdlib/tst-strtod-round.c (tests): Regenerated.
71696 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71698         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
71699         assembler flag.
71700         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
71701         zarch_nohighgprs around the zarch optimized routines.
71702         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
71703         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
71704         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
71705         for zarch.
71707 2012-09-05  David S. Miller  <davem@davemloft.net>
71709         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71711         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
71712         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
71713         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
71714         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71715         entries.
71717 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71719         * malloc/arena.c: Fold copyright years.
71720         * malloc/mcheck.c, malloc/memusage.c: Likewise.
71722 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71724         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
71726 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71728         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
71730 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71732         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
71733         change internal state upon failure.
71735 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
71737         * malloc/mcheck.c (mcheck_check_all): Fix typo.
71738         * malloc/memusage.c (mmap): Likewise.
71739         (mmap64, mremap): Likewise.  Adjust name in comment.
71741 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71743         * libio/fileops.c: Fix typos in comments.
71744         * libio/oldfileops.c: Likewise.
71745         * libio/wfileops.c: Likewise.
71747 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
71749         [BZ #1349]
71750         * malloc/Makefile (tests): Add tst-malloc-usable test case.
71751         (tst-malloc-usable-ENV): Set environment for test case.
71752         * malloc/hooks.c (malloc_check_get_size): New function to get
71753         requested size.
71754         * malloc/malloc.c (musable): Use malloc_check_get_size.
71755         * malloc/tst-malloc-usable.c: New test case.
71757 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71759         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
71761 2012-09-05  Allan McRae  <allan@archlinux.org>
71763         [BZ #13966]
71764         * configure.in (CXX_SYSINCLUDES): Use compiler output to
71765         determine header location.
71766         * configure: Regenerated.
71768 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
71770         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
71771         float format.
71772         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
71773         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
71774         format.
71775         (test): Regenerate.
71777 2012-09-04  David S. Miller  <davem@davemloft.net>
71779         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
71780         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
71781         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
71783 2012-09-04  Florian Weimer  <fweimer@redhat.com>
71785         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
71786         failures.
71788         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
71790 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
71792         [BZ #9914]
71793         * libio/iogetdelim.c: Include <limits.h>.
71794         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
71795         + len + 1 would overflow.
71797 2012-09-03  Andreas Jaeger  <aj@suse.de>
71799         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71800         * sysdeps/i386/fpu/libm-test-ulps: Update.
71802 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71804         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
71805         Add s_sinf-sse2, s_conf-sse2.
71807         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
71808         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
71809         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
71810         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
71812         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
71813         for using routine as __sinf_ia32.
71814         Use macro for function declaration and weak_alias.
71815         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
71816         for using routine as __cosf_ia32.
71817         Use macro for function declaration and weak_alias.
71819         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
71820         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
71822         * sysdeps/x86_64/fpu/s_sinf.S: New file.
71823         * sysdeps/x86_64/fpu/s_cosf.S: New file.
71824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71826         * math/libm-test.inc (cos_test): Add more test cases.
71827         (sin_test): Likewise.
71828         (sincos_test): Likewise.
71830 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71832         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
71833         (IFUNC_RESOLVE): Make pointers to the specialized implementations
71834         hidden.
71835         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
71837 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
71839         [BZ #14538]
71840         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
71841         first element of the GOT.
71842         (elf_machine_load_address): Return the difference between
71843         the runtime address of _DYNAMIC and elf_machine_dynamic ().
71845 2012-09-01  Allan McRae  <allan@archlinux.org>
71847         [BZ #13412]
71848         * configure.in (AWK): Require gawk version 3.0 or later.
71849         * configure: Regenerated.
71851 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
71853         * sysdeps/unix/sysv/linux/kernel-features.h
71854         (__ASSUME_POSIX_CPU_TIMERS): Remove.
71855         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
71856         [__NR_clock_getres]: Make code unconditional.
71857         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
71858         (clock_getcpuclockid): Remove code left unreachable by removal of
71859         conditionals.
71860         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
71861         code unconditional.
71862         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71863         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71864         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
71865         Make code unconditional.
71866         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
71867         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71868         * sysdeps/unix/sysv/linux/clock_settime.c
71869         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
71870         conditional code.
71871         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
71872         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
71874 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
71876         [BZ #14476]
71877         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
71878         scripts/test-installation.pl.
71880         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
71881         and $ld_so_version if it is set.
71883 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
71885         [BZ #14516]
71886         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
71887         failure if reading from procfs failed.
71888         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
71890 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71892         * sysdeps/unix/sysv/linux/kernel-features.h
71893         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
71894         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71895         Remove conditional code.
71896         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71897         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
71898         Remove conditional code.
71899         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71900         * sysdeps/unix/sysv/linux/i386/fxstat.c
71901         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71902         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71903         * sysdeps/unix/sysv/linux/i386/fxstatat.c
71904         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71905         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71906         * sysdeps/unix/sysv/linux/i386/lxstat.c
71907         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
71908         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71909         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
71910         Remove conditional code.
71911         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71912         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
71913         Remove conditional code.
71914         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71915         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
71916         <kernel-features.h>.
71917         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
71918         Remove.
71919         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
71920         Remove conditional code.
71921         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
71922         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
71923         Remove conditional.
71925 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
71927         [BZ #5400]
71928         * NEWS: Add fixed bug number.
71930 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
71932         [BZ #14519]
71933         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
71934         underflowing exponent in case of negative sign.
71935         * stdlib/tst-strtod-round-data: Add more tests.
71936         * stdlib/tst-strtod-round.c (tests): Regenerated.
71938         [BZ #3479]
71939         * stdlib/strtod_l.c (NDIG): Remove.
71940         (HEXNDIG): Likewise.
71941         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
71942         smallest representable value.
71943         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
71944         lie within an exact representation of 1/2 ulp of the result.
71945         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
71946         unconditionally.
71947         (TENS_P9_IDX): Define unconditionally.
71948         (TENS_P9_SIZE): Likewise.
71949         (TENS_P10_IDX): Likewise.
71950         (TENS_P10_SIZE): Likewise.
71951         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
71952         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
71953         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
71954         entries for 10^2^13 and 10^2^14.
71955         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
71956         (TENS_P13_IDX): Define.
71957         (TENS_P13_SIZE): Likewise.
71958         (TENS_P14_IDX): Likewise.
71959         (TENS_P14_SIZE): Likewise.
71960         (_fpioconst_pow10): Change array size to
71961         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
71962         unconditional.
71963         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
71964         1024]: Add entries for 10^2^13 and 10^2^14.
71965         [LAST_POW10 > _LAST_POW10]: Remove #error.
71966         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
71967         (_fpioconst_pow10): Change array size to
71968         FPIOCONST_POW10_ARRAY_SIZE.
71969         * stdlib/gen-fpioconst.c: New file.
71970         * stdlib/gen-tst-strtod-round.c: Likewise.
71971         * stdlib/tst-strtod-round-data: Likewise.
71972         * stdlib/tst-strtod-round.c: Likewise.
71973         * stdlib/Makefile (tests): Add tst-strtod-round.
71975         [BZ #14459]
71976         * stdlib/strtod_l.c: Include <stdint.h>.
71977         (NDEBUG): Do not define.
71978         (round_and_return): Change EXPONENT parameter to type intmax_t.
71979         Rearrange calculations to avoid internal overflow possibilities.
71980         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
71981         Rearrange calculations to avoid internal overflow possibilities.
71982         Assert that number fits inside MPNSIZE limbs.
71983         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
71984         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
71985         calculations and add assertions to avoid internal overflow
71986         possibilities.  Add casts to avoid signed/unsigned operations.
71987         * stdlib/tst-strtod-overflow.c: New file.
71988         * stdlib/Makefile (tests): Add tst-strtod-overflow.
71990 2012-08-25  Marek Polacek  <polacek@redhat.com>
71992         * time/time.h: Fix some typos in comments.
71994 2012-08-23  Roland McGrath  <roland@hack.frob.com>
71996         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
71997         * posix/tst-rfc3484-2.c: Likewise.
71998         * posix/tst-rfc3484-3.c: Likewise.
72000 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
72002         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
72003         (EF_ARM_ABI_FLOAT_HARD): Likewise.
72005 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
72007         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
72008         #include of fxstatat64.c.
72010 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72012         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
72013         * shadow/getspent_r.c: Likewise.
72014         * shadow/getspnam.c: Likewise.
72015         * shadow/getspnam_r.c: Likewise.
72016         * gshadow/getsgent.c: Likewise.
72017         * gshadow/getsgent_r.c: Likewise.
72018         * gshadow/getsgnam.c: Likewise.
72019         * gshadow/getsgnam_r.c: Likewise.
72020         * inet/getnetbyad.c: Likewise.
72021         * inet/getnetbyad_r.c: Likewise.
72022         * inet/getnetbynm.c: Likewise.
72023         * inet/getnetbynm_r.c: Likewise.
72024         * inet/getnetent.c: Likewise.
72025         * inet/getnetent_r.c: Likewise.
72026         * inet/getproto.c: Likewise.
72027         * inet/getproto_r.c: Likewise.
72028         * inet/getprtent.c: Likewise.
72029         * inet/getprtent_r.c: Likewise.
72030         * inet/getprtname.c: Likewise.
72031         * inet/getprtname_r.c: Likewise.
72032         * inet/getrpcbyname.c: Likewise.
72033         * inet/getrpcbyname_r.c: Likewise.
72034         * inet/getrpcbynumber.c: Likewise.
72035         * inet/getrpcbynumber_r.c: Likewise.
72036         * inet/getrpcent.c: Likewise.
72037         * inet/getrpcent_r.c: Likewise.
72038         * inet/getaliasent.c: Likewise.
72039         * inet/getaliasent_r.c: Likewise.
72040         * inet/getaliasname.c: Likewise.
72041         * inet/getaliasname_r.c: Likewise.
72042         * nscd/getgrgid_r.c: Likewise.
72043         * nscd/getgrnam_r.c: Likewise.
72044         * nscd/gethstbyad_r.c: Likewise.
72045         * nscd/gethstbynm3_r.c: Likewise.
72046         * nscd/getpwnam_r.c: Likewise.
72047         * nscd/getpwuid_r.c: Likewise.
72048         * nscd/getsrvbynm_r.c: Likewise.
72049         * nscd/getsrvbypt_r.c: Likewise.
72050         * nscd/gai.c: Likewise.
72052         * configure.in (build_nscd): New substituted variable, set
72053         by --disable-build-nscd and defaults to $use_nscd.
72054         * configure: Regenerated.
72055         * config.make.in (build-nscd): New substituted variable.
72056         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
72057         Change conditional to require [$(build-nscd) = yes] as well.
72058         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
72060         [BZ #13696]
72061         * configure.in (use_nscd): New substituted variable, set by
72062         --disable-nscd.  If enabled, define USE_NSCD.
72063         * configure: Regenerated.
72064         * config.h.in: Add USE_NSCD.
72065         * config.make.in (use-nscd): New substituted variable.
72066         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
72067         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
72068         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
72069         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
72070         (CFLAGS-getgrnam_r.c): Likewise.
72071         (CFLAGS-initgroups.c): Likewise.
72072         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
72073         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
72074         Variables removed.
72075         * inet/getnetgrent_r.c
72076         (nscd_setnetgrent): New function, broken out of ...
72077         (setnetgrent): ... here.  Call it.
72078         (innetgr): Conditionalize nscd bits on [USE_NSCD].
72079         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
72080         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
72081         * nscd/Makefile (routines, aux): Move definitions after include of
72082         Makeconfig.  Conditionalize on [$(use-nscd) != no].
72083         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
72084         Conditionalize on [USE_NSCD].
72085         (is_nscd, nscd_init_cb): Likewise.
72086         (nss_load_library): Conditionalize init callback on [USE_NSCD].
72087         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
72088         * nss/nss_db/db-init.c: Likewise.
72089         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
72090         [USE_NSCD].
72091         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
72092         (make_request): Use it.
72093         (cache_valid_p): New function.
72094         (__check_pf): Use it.
72095         * NEWS: Add item for --disable-nscd.
72097 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
72099         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
72100         to support sed >= 4.2.1-20-ga9bf076.
72101         * configure: Regenerated.
72103 2012-08-22  Roland McGrath  <roland@hack.frob.com>
72105         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
72106         Conditionalize whole body on [IREL].
72108 2012-08-22  Jeff Law <law@redhat.com>
72110         [BZ #14505]
72111         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
72112         if the family is PF_UNSPEC.
72114 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
72116         * Makerules (lib-version): Rename from V.
72117         (install-lib-nosubdir): Change V to lib-version.
72119 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
72121         [BZ #14252]
72122         * powerpc32/power6/wcschr.c: New file.
72123         * powerpc32/power6/wcscpy.c: New file.
72124         * powerpc32/power6/wcsrchr.c: New file.
72125         * powerpc64/power6/wcschr.c: New file.
72126         * powerpc64/power6/wcscpy.c: New file.
72127         * powerpc64/power6/wcsrchr.c: New file.
72129 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72131         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
72132         (two_way_short_needle): Use it.
72133         * string/strstr.c (AVAILABLE1_USES_J): Define.
72134         * string/strcasestr.c: Likewise.
72136         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
72137         array references.
72138         * string/strcasestr.c (TOLOWER): Make side-effect safe.
72140         [BZ #11607]
72141         * NEWS: Add an entry.
72142         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
72143         define their defaults.
72144         (two_way_short_needle): Detect end-of-string on-the-fly.
72145         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
72146         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
72147         * string/bug-strcasestr1.c: New test.
72148         * string/Makefile: Run it.
72150 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
72152         [BZ #11607]
72153         * string/str-two-way.h (two_way_short_needle): Optimize matching of
72154         the first character.
72156 2012-08-21  Roland McGrath  <roland@hack.frob.com>
72158         * csu/elf-init.c (__libc_csu_irel): Function removed.
72159         * csu/libc-start.c (apply_irel): New function.
72160         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
72162 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
72164         * sysdeps/unix/sysv/linux/kernel-features.h
72165         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
72166         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
72167         <kernel-features.h>.
72168         [__NR_fadvise64_64]: Make code unconditional.
72169         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
72170         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72171         !__NR_fadvise64_64)]: Likewise.
72172         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
72173         !__NR_fadvise64_64))]: Likewise.
72174         [__NR_fadvise64]: Make code unconditional.
72175         [!__NR_fadvise64]: Remove conditional code.
72176         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
72177         <kernel-features.h>.
72178         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72179         unconditional.
72180         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72181         conditional code.
72182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
72183         not include <kernel-features.h>.
72184         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72185         unconditional.
72186         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72187         conditional code.
72188         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
72189         include <kernel-features.h>.
72190         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
72191         unconditional.
72192         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
72193         conditional code.
72195 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72197         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
72198         slight instruction rearrangements per scrollpipe analysis.
72199         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72201 2012-08-20  Roland McGrath  <roland@hack.frob.com>
72203         * manual/syslog.texi (syslog; vsyslog, closelog):
72204         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
72205         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
72207         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
72208         DSOCAPS to match condition on defining it.
72210 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
72212         * sysdeps/unix/sysv/linux/kernel-features.h
72213         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
72214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
72215         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72216         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
72218         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72219         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
72221         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
72222         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
72224         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
72225         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
72227         * sysdeps/unix/sysv/linux/kernel-features.h
72228         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
72229         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
72230         unconditional.
72231         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72232         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
72233         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72234         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72235         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
72236         Make code unconditional.
72237         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72238         (__mmap64) [!__NR_mmap2]: Likewise.
72239         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
72240         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
72241         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72242         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
72243         [__NR_mmap2]: Make code unconditional.
72244         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
72245         (__mmap64) [!__NR_mmap2]: Likewise.
72247 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72249         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
72251 2012-08-18  Andreas Jaeger  <aj@suse.de>
72253         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
72255 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72257         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
72258         * include/unistd.h (__have_sock_cloexec): Likewise.
72259         (__have_pipe2): Likewise.
72260         (__have_dup3): Likewise.
72262 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
72264         [BZ #9685]
72265         * include/unistd.h (__have_pipe2): Change define into an extern int.
72266         (__have_dup3): Likewise.
72267         * socket/have_sock_cloexec.c: Include fcntl.h.
72268         (__have_pipe2): New variable.
72269         (__have_dup3): Likewise.
72271 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
72273         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
72275 2012-08-17  Marek Polacek  <polacek@redhat.com>
72277         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
72278         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
72280 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72282         * configure.in: Add AC_SUBST for sysheaders.
72283         * configure: Regenerated.
72284         * config.make.in (sysheaders): New substituted variable.
72286         * sysdeps/unix/mkfifo.c: Moved ...
72287         * sysdeps/posix/mkfifo.c: ... here.
72288         * sysdeps/unix/mkfifoat.c: Moved ...
72289         * sysdeps/posix/mkfifoat.c: ... here.
72291         * sysdeps/unix/utime.c: Moved ...
72292         * sysdeps/posix/utime.c: ... here.
72294         * sysdeps/unix/time.c: Moved ...
72295         * sysdeps/posix/time.c: ... here.
72296         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
72297         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
72299         * sysdeps/unix/nice.c: Moved ...
72300         * sysdeps/posix/nice.c: ... here.
72302         * sysdeps/unix/alarm.c: Moved ...
72303         * sysdeps/posix/alarm.c: ... here.
72305         * intl/Makefile ($(codeset_mo)): Depend on the input file.
72307 2012-08-17  Jeff Law <law@redhat.com>
72309         * intl/Makefile (codeset_mo): New variable.
72310         ($(codeset_mo)): New target.
72311         (tst-codeset.out): Depend on that.  Remove explicit rule.
72312         (tst-gettext3.out, tst-gettext5.out): Likewise.
72313         (LOCPATH-ENV, tst-codeset-ENV): New variables.
72314         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
72315         * intl/tst-codeset.sh: Remove.
72316         * intl/tst-gettext3.sh: Likewise.
72317         * intl/tst-gettext5.sh: Likewise.
72319 2012-08-17  Roland McGrath  <roland@hack.frob.com>
72321         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
72322         * sysdeps/unix/syscalls.list: ... here.
72324         * sysdeps/posix/getaddrinfo.c
72325         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
72326         (gaiconf_init, gaiconf_reload): Use them.
72327         [!_STATBUF_ST_NSEC]
72328         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
72329         Define using time_t rather than struct timespec.
72331         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
72332         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
72333         Macros removed.
72334         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
72335         [!NO_THREADS].
72336         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
72337         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
72338         Likewise.
72340         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
72341         __libc_cleanup_push argument.
72343         * bits/param.h: New file.
72344         * misc/sys/param.h: New file.
72345         * include/sys/param.h: New file.
72346         * misc/Makefile (headers): Add bits/param.h.
72347         * sysdeps/generic/sys/param.h: File removed.
72348         * sysdeps/unix/sysv/linux/bits/param.h: New file.
72349         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
72350         * sysdeps/mach/hurd/bits/param.h: New file.
72351         * sysdeps/mach/hurd/sys/param.h: File removed.
72353         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
72354         last change.
72356         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
72357         [_IO_MTSAFE_IO].
72358         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
72359         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
72360         New macros.
72362         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
72363         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
72364         rather than -D_IO_MTSAFE_IO conditionally.
72365         * stdio-common/Makefile (CPPFLAGS): Likewise.
72366         * wcsmbs/Makefile (CPPFLAGS): Likewise.
72367         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
72368         Use $(libio-mtsafe).
72369         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
72370         of -D_IO_MTSAFE_IO.
72371         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
72372         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
72373         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
72374         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
72375         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
72376         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
72377         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
72378         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
72379         (CFLAGS-fread_u_chk.c): Likewise.
72380         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
72381         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
72382         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
72383         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
72384         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
72385         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
72386         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
72387         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
72388         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
72390         * libio/Makefile: Test [$(libc-reentrant) = yes]
72391         instead of [$(filter %REENTRANT, $(defines)) nonempty].
72393         * Makeconfig
72394         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
72395         * sysdeps/pthread/configure: File removed.
72396         * sysdeps/pthread/Makeconfig: New file.
72397         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
72398         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
72400 2012-08-16  Gary Benson  <gbenson@redhat.com>
72402         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
72403         unmapping the first object in a namespace.
72405 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72407         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
72408         (__internal_setnetgrent): ... this.  Add internal_function to
72409         definition.  Add libc_hidden_def.
72410         (setnetgrent): Update caller.
72411         (internal_endnetgrent): Renamed to ...
72412         (__internal_endnetgrent): ... this.  Add internal_function to
72413         definition.  Add libc_hidden_def.
72414         (endnetgrent): Update caller.
72415         (internal_getnetgrent_r): Renamed to ...
72416         (__internal_getnetgrent_r): ... this.  Add internal_function to
72417         definition.  Add libc_hidden_def.
72418         (__getnetgrent_r): Update caller.
72419         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
72421 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72423         * stdlib/longlong.h: Update from GCC.
72425 2012-08-16  Roland McGrath  <roland@hack.frob.com>
72427         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
72428         on _QL, which is set by umul_ppmm but never used.
72429         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
72430         variables, which are set by GMP macros but never used.
72431         * stdio-common/_itowa.c (_itowa): Likewise.
72432         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
72433         * stdlib/mod_1.c (mpn_mod_1): Likewise.
72435 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
72437         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
72438         struct La_sh_regs is not constant.
72439         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
72440         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
72441         and struct La_sparc64_regs are not constant.
72443 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
72445         * sysdeps/unix/sysv/linux/kernel-features.h
72446         (__ASSUME_POSIX_TIMERS): Remove.
72447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
72448         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72449         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
72450         Make code unconditional.
72451         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72452         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
72453         Make code unconditional.
72454         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72455         * sysdeps/unix/sysv/linux/clock_nanosleep.c
72456         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
72457         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72458         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
72459         Make code unconditional.
72460         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
72461         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
72462         (__libc_missing_posix_timers): Remove.
72464 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72466         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
72467         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
72469         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
72471         * elf/dl-sym.c: Include <stdlib.h>.
72473         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
72474         constants, which avoids warnings in 32-bit builds.
72476         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
72477         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
72479         * misc/lseek.c: File moved to ...
72480         * io/lseek.c: ... here.
72482         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
72484         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
72485         shifting LEN more than 31 bits at once.
72487 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72489         [BZ #14195]
72490         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
72491         segmentation fault for a case of two empty input strings.
72492         * string/test-strncasecmp.c (check1): Renamed to...
72493         (bz12205): ...this.
72494         (bz14195): Add new testcase for two empty input strings and N > 0.
72495         (test_main): Call new testcase, adapt for renamed function.
72497 2012-08-15  Andreas Jaeger  <aj@suse.de>
72499         [BZ #14090]
72500         * crypt/md5test2.c: New test, based on test supplied by Serge
72501         Belyshev <belyshev@depni.sinp.msu.ru>.
72502         * crypt/Makefile (xtests): Add md5test-giant..
72503         * crypt/Makefile ($(objpfx)md5test-giant): Add.
72505 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
72507         [BZ #14090]
72508         * crypt/md5.c (md5_process_block): Don't assume the buffer
72509         length is less than 2**32.
72510         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
72511         length is less than 2**64.
72513 2012-08-15  Roland McGrath  <roland@hack.frob.com>
72515         * string/str-two-way.h: Include <sys/param.h>.
72516         (MAX): Macro removed.
72518         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
72519         Move #define and #undef of memmove to just before and after
72520         including <string.h>.
72522         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
72523         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
72524         and after including <string.h>.  Move declarations of
72525         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
72526         to before #include "string/memmove.c".
72528         * include/dirent.h: Declare __getdirentries.
72530         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
72531         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
72533 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
72535         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
72536         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
72537         * sysdeps/i386/configure: Regenerated.
72538         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
72539         STABS_CURRENT_FILE, and STABS_FUN.
72540         (END): Remove call to STABS_FUN_END.
72541         (STABS_CURRENT_FILE1): Delete.
72542         (STABS_CURRENT_FILE): Likewise.
72543         (STABS_FUN): Likewise.
72544         (STABS_FUN_END): Likewise.
72545         (STABS_FUN2): Likewise.
72546         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
72547         * sysdeps/x86_64/configure: Regenerated.
72549 2012-08-14  Roland McGrath  <roland@hack.frob.com>
72551         * elf/dl-open.c: Include <atomic.h>.
72552         * elf/dl-lookup.c: Likewise.
72554 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
72556         * sysdeps/unix/sysv/linux/kernel-features.h
72557         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
72558         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
72559         unconditionally.
72560         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
72561         unconditionally.
72562         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
72563         condition on __ASSUME_CLONE_THREAD_FLAGS.
72565 2012-08-14  Andreas Jaeger  <aj@suse.de>
72567         * sysdeps/i386/fpu/libm-test-ulps: Update.
72569 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
72571         * include/atomic.h (atomic_exchange_and_add): Split into ...
72572         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
72573         New atomic macros.
72575 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
72577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72579 2012-08-13  Jeff Law <law@redhat.com>
72581         * manual/stdio.texi (snprintf): Clarify handling of the trailing
72582         null byte in the output string.
72584 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
72586         * sysdeps/unix/sysv/linux/kernel-features.h
72587         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
72588         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
72589         (__ASSUME_ARG_MAX_STACK_BASED): Define.
72590         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
72591         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
72592         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
72593         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
72595 2012-08-09  Jeff Law <law@redhat.com>
72597         [BZ #13939]
72598         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
72599         When avoid_arena is set, don't retry in the that arena.  Pick the
72600         next one, whatever it might be.
72601         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
72602         (arena_lock): Pass in new parameter to arena_get2.
72603         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
72604         arena_get2.
72605         (__libc_malloc): Unify retrying after main arena failure with
72606         __libc_memalign version.
72607         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
72609 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
72611         [BZ #14166]
72612         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
72613         to __redirect_strstr.
72614         (__strstr_sse42): Use typeof __redirect_strstr.
72615         (__strstr_ia32): Likewise.
72616         (__libc_strstr): New prototype.
72617         (strstr): Renamed to ...
72618         (__libc_strstr): This.
72619         (strstr): New strong alias of __libc_strstr.
72620         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
72621         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
72622         __redirect_time.
72623         Include <time.h>.
72624         (__libc_time): New prototype.
72625         (time_ifunc): Replace time with __libc_time.
72626         (time): New strong alias and hidden definition of __libc_time.
72627         (__GI_time): Remove strong alias.
72628         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
72629         Include <stddef.h>.
72630         (memmove): Redefined to __redirect_memmove.
72631         (__memmove_sse2): Use typeof __redirect_memmove.
72632         (__memmove_ssse3): Likewise.
72633         (__memmove_ssse3_back): Likewise.
72634         (__libc_memmove): New prototype.
72635         (memmove): Renamed to ...
72636         (__libc_memmove): This.
72637         (memmove): New strong alias of __libc_memmove.
72639 2012-08-08  Mark Salter  <msalter@redhat.com>
72641         * elf/elf.h
72642         (R_MN10300_TLS_GD): Define.
72643         (R_MN10300_TLS_LD): Likewise.
72644         (R_MN10300_TLS_LDO): Likewise.
72645         (R_MN10300_TLS_GOTIE): Likewise.
72646         (R_MN10300_TLS_IE): Likewise.
72647         (R_MN10300_TLS_LE): Likewise.
72648         (R_MN10300_TLS_DTPMOD): Likewise.
72649         (R_MN10300_TLS_DTPOFF): Likewise.
72650         (R_MN10300_TLS_TPOFF): Likewise.
72651         (R_MN10300_SYM_DIFF): Likewise.
72652         (R_MN10300_ALIGN): Likewise.
72653         (R_MN10300_NUM): Update.
72655 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
72657         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
72658         Remove.
72660 2012-08-08  Roland McGrath  <roland@hack.frob.com>
72662         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
72664         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
72665         sysdeps/unix -> sysdeps/posix move.
72666         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
72668 2012-08-07      Allan McRae     <allan@archlinux.org>
72670         [BZ #14303]
72671         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
72672         (SUNOS_CPP): Likewise.
72673         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
72674         not found.
72675         (open_input): Call CPP using execvp.
72677 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72679         * sysdeps/unix/sysv/linux/kernel-features.h
72680         (__ASSUME_PROT_GROWSUPDOWN): Remove.
72681         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72682         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72683         (__ASSUME_WAITID_SYSCALL): Likewise.
72684         * sysdeps/unix/sysv/linux/dl-execstack.c
72685         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
72686         code unconditional.
72687         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
72688         conditional code.
72689         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
72690         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
72691         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
72692         code.
72693         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
72694         unconditional.
72695         [__ASSUME_WAITID_SYSCALL]: Likewise.
72696         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
72698 2012-08-07  Roland McGrath  <roland@hack.frob.com>
72700         * sysdeps/unix/closedir.c: Renamed to ...
72701         * sysdeps/posix/closedir.c: ... here.
72702         * sysdeps/unix/dirfd.c: Renamed to ...
72703         * sysdeps/posix/dirfd.c: ... here.
72704         * sysdeps/unix/dirstream.h: Renamed to ...
72705         * sysdeps/posix/dirstream.h: ... here.
72706         * sysdeps/unix/fdopendir.c: Renamed to ...
72707         * sysdeps/posix/fdopendir.c: ... here.
72708         * sysdeps/unix/opendir.c: Renamed to ...
72709         * sysdeps/posix/opendir.c: ... here.
72710         * sysdeps/unix/readdir.c: Renamed to ...
72711         * sysdeps/posix/readdir.c: ... here.
72712         * sysdeps/unix/readdir_r.c: Renamed to ...
72713         * sysdeps/posix/readdir_r.c: ... here.
72714         * sysdeps/unix/rewinddir.c: Renamed to ...
72715         * sysdeps/posix/rewinddir.c: ... here.
72716         * sysdeps/unix/seekdir.c: Renamed to ...
72717         * sysdeps/posix/seekdir.c: ... here.
72718         * sysdeps/unix/telldir.c: Renamed to ...
72719         * sysdeps/posix/telldir.c: ... here.
72720         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
72721         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
72722         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
72723         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
72725         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
72726         * bits/fcntl.h: ... here.
72728         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
72729         not 0.
72730         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
72731         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
72732         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
72733         (struct flock): Move l_start, l_len to the beginning.
72734         Use __pid_t for l_pid.
72735         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
72736         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
72737         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
72738         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
72739         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
72740         [__USE_LARGEFILE64] (struct flock64): New type.
72741         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
72743         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
72744         * bits/dirent.h: ... here.
72746         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
72747         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
72749 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
72751         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72752         Change from 2.6.0 to 2.6.16.
72753         * sysdeps/unix/sysv/linux/configure: Regenerated.
72754         * sysdeps/unix/sysv/linux/kernel-features.h
72755         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
72756         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
72757         version.
72758         (__ASSUME_UTIMES): Likewise.
72759         (__ASSUME_CLONE_STOPPED): Remove.
72760         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
72761         architectures, not kernel version.
72762         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
72763         (__ASSUME_NO_CLONE_DETACHED): Likewise.
72764         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
72765         (__ASSUME_WAITID_SYSCALL): Likewise.
72766         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
72767         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
72768         * README: State 2.6.16 as minimum Linux kernel version.  Do not
72769         refer to older versions.
72771 2012-08-06  Roland McGrath  <roland@hack.frob.com>
72773         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
72774         Define alphasort64 as an alias.
72775         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
72776         Define versionsort64 as an alias.
72777         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
72778         Define scandir64 as an alias.
72779         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
72780         Define scandirat64 as an alias.
72781         * dirent/alphasort64.c (alphasort64):
72782         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
72783         * dirent/versionsort64.c: Likewise.
72784         * dirent/scandir64.c: Likewise.
72785         * dirent/scandirat64.c: Likewise.
72786         * sysdeps/wordsize-64/alphasort.c: File removed.
72787         * sysdeps/wordsize-64/alphasort64.c: File removed.
72788         * sysdeps/wordsize-64/scandir.c: File removed.
72789         * sysdeps/wordsize-64/scandir64.c: File removed.
72790         * sysdeps/wordsize-64/scandirat.c: File removed.
72791         * sysdeps/wordsize-64/scandirat64.c: File removed.
72792         * sysdeps/wordsize-64/versionsort.c: File removed.
72793         * sysdeps/wordsize-64/versionsort64.c: File removed.
72794         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
72795         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
72796         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
72797         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
72798         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
72799         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
72800         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
72801         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
72803         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
72804         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72805         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
72806         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72807         [defined __arch64__ || defined __sparcv9]
72808         (__INO_T_MATCHES_INO64_T): New macro.
72809         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72810         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
72811         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
72812         * sysdeps/unix/sysv/linux/bits/dirent.h
72813         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
72814         (_DIRENT_MATCHES_DIRENT64): New macro.
72816         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
72817         Define lockf64 as an alias.
72818         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
72819         Define fseeko64 as an alias.
72820         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
72821         Define ftello64 as an alias.
72822         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
72823         Define _IO_fgetpos64 and fgetpos64 as aliases.
72824         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
72825         Define _IO_fsetpos64 and fsetpos64 as aliases.
72826         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
72827         Conditionalize body on this.
72828         * libio/fseeko64.c: Likewise.
72829         * libio/ftello64.c: Likewise.
72830         * libio/iofgetpos64.c: Likewise.
72831         * libio/iofsetpos64.c: Likewise.
72832         * sysdeps/wordsize-64/lockf.c: File removed.
72833         * sysdeps/wordsize-64/lockf64.c: File removed.
72834         * sysdeps/wordsize-64/fseeko.c: File removed.
72835         * sysdeps/wordsize-64/fseeko64.c: File removed.
72836         * sysdeps/wordsize-64/ftello.c: File removed.
72837         * sysdeps/wordsize-64/ftello64.c: File removed.
72838         * sysdeps/wordsize-64/iofgetpos.c: File removed.
72839         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
72840         * sysdeps/wordsize-64/iofsetpos.c: File removed.
72841         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
72842         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
72843         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
72844         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
72845         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
72846         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
72847         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
72848         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
72849         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
72850         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
72851         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
72853         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72854         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
72855         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
72856         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72857         [defined __arch64__ || defined __sparcv9]
72858         (__OFF_T_MATCHES_OFF64_T): New macro.
72859         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
72860         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
72861         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
72862         (__OFF_T_MATCHES_OFF64_T): New macro.
72864 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72866         * stdlib/secure-getenv.c (__secure_getenv): Replace
72867         GLIBC_2_16 with GLIBC_2_17.
72869 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
72871         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
72872         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
72874 2012-08-03  David S. Miller  <davem@davemloft.net>
72876         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72878 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72880         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
72881         Remove.
72882         (__ASSUME_CORRECT_SI_PID): Likewise.
72883         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
72884         (__ASSUME_TMPFS_NAME): Likewise.
72885         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
72886         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
72887         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
72888         (HAVE_AUX_SECURE): Make definition unconditional.
72889         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
72890         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
72892 2012-08-03  Roland McGrath  <roland@hack.frob.com>
72894         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
72895         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
72896         * sysdeps/mach/hurd/eloop-threshold.h: New file.
72897         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72898         __eloop_threshold instead of SYMLOOP_MAX.
72900         * sysdeps/generic/eloop-threshold.h: New file.
72901         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
72902         of MAXSYMLINKS.
72903         * elf/chroot_canon.c (chroot_canon): Likewise.
72905 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
72907         [BZ #13717]
72908         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
72909         Change to 2.6.0 everywhere.
72910         * sysdeps/unix/sysv/linux/configure: Regenerated.
72911         * sysdeps/unix/sysv/linux/kernel-features.h
72912         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
72913         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
72914         kernel versions.
72915         (__ASSUME_POSIX_TIMERS): Define unconditionally.
72916         (__ASSUME_FUTEX_REQUEUE): Remove.
72917         (__ASSUME_STATFS64): Define unconditionally.
72918         (__ASSUME_AT_SECURE): Likewise.
72919         (__ASSUME_CORRECT_SI_PID): Likewise.
72920         (__ASSUME_TGKILL): Define without depending on kernel version for
72921         i386.
72922         (__ASSUME_UTIMES): Likewise.
72923         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
72924         kernel version.
72925         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
72926         (__ASSUME_TMPFS_NAME): Likewise.
72927         * README: Update reference to Linux kernel versions.
72929 2012-08-02  Marek Polacek  <polacek@redhat.com>
72931         [BZ #14150]
72932         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
72933         libc_cv_asm_type_prefix with %.
72934         * configure: Regenerated.
72935         * include/libc-symbols.h: Remove comment about
72936         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72937         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
72938         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
72939         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
72940         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
72941         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
72942         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
72943         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
72944         * elf/tst-unique2mod1.c: Likewise.
72945         * elf/tst-unique1mod2.c: Likewise.
72946         * elf/tst-unique1mod1.c: Likewise.
72947         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
72948         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
72949         Replace ASM_TYPE_DIRECTIVE with .type.
72950         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72951         * sysdeps/i386/sysdep.h: Likewise.
72952         * sysdeps/x86_64/sysdep.h: Likewise.
72953         * sysdeps/sh/sysdep.h: Likewise.
72954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
72955         Do not define ASM_TYPE_DIRECTIVE.
72956         * sysdeps/powerpc/sysdep.h: Likewise.
72957         * sysdeps/powerpc/powerpc32/sysdep.h:
72958         Replace ASM_TYPE_DIRECTIVE with .type.
72959         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
72960         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
72961         * sysdeps/i386/fpu/e_powf.S: Likewise.
72962         * sysdeps/i386/fpu/e_expl.S: Likewise.
72963         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
72964         * sysdeps/i386/fpu/e_acosh.S: Likewise.
72965         * sysdeps/i386/fpu/e_pow.S: Likewise.
72966         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
72967         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
72968         * sysdeps/i386/fpu/s_expm1.S: Likewise.
72969         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
72970         * sysdeps/i386/fpu/e_log2.S: Likewise.
72971         * sysdeps/i386/fpu/e_log2l.S: Likewise.
72972         * sysdeps/i386/fpu/e_scalb.S: Likewise.
72973         * sysdeps/i386/fpu/e_powl.S: Likewise.
72974         * sysdeps/i386/fpu/e_log10f.S: Likewise.
72975         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
72976         * sysdeps/i386/fpu/e_logl.S: Likewise.
72977         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
72978         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
72979         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
72980         * sysdeps/i386/fpu/e_log2f.S: Likewise.
72981         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
72982         * sysdeps/i386/fpu/e_log.S: Likewise.
72983         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
72984         * sysdeps/i386/fpu/e_logf.S: Likewise.
72985         * sysdeps/i386/fpu/e_log10l.S: Likewise.
72986         * sysdeps/i386/fpu/e_atanh.S: Likewise.
72987         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
72988         * sysdeps/i386/fpu/e_log10.S: Likewise.
72989         * sysdeps/i386/fpu/s_frexp.S: Likewise.
72990         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
72991         * sysdeps/i386/fpu/s_asinh.S: Likewise.
72992         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
72993         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
72994         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
72995         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
72996         * sysdeps/i386/i686/strtok.S: Likewise.
72997         * sysdeps/i386/i386-mcount.S: Likewise.
72998         * sysdeps/i386/strtok.S: Likewise.
72999         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
73000         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73001         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73002         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73003         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73004         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73005         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73006         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73007         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73008         * sysdeps/x86_64/_mcount.S: Likewise.
73009         * sysdeps/x86_64/strtok.S: Likewise.
73010         * sysdeps/sh/_mcount.S: Likewise.
73012 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73014         * libio/iofopen.c: Include <fcntl.h>.
73015         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
73016         (_IO_fopen64, fopen64): Define as aliases.
73017         * libio/iofopen64.c: Include <fcntl.h>.
73018         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
73019         Conditionalize body on this.
73020         * sysdeps/wordsize-64/iofopen.c: File removed.
73021         * sysdeps/wordsize-64/iofopen64.c: File removed.
73023 2012-08-01  Marek Polacek  <polacek@redhat.com>
73025         * libc/Makeconfig: Use elf in place of binfmt-subdir.
73026         Use dlfcn directly instead of a variable.
73027         (binfmt-subdir): Do not define.
73028         (dlfcn): Likewise.
73030 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
73032         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
73033         Remove all definitions.
73034         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
73035         <kernel-features.h>.
73036         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73037         (miss_F_GETOWN_EX): Remove all definitions.
73038         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
73039         macro definition.
73040         [!__ASSUME_FCNTL64]: Remove conditional code.
73041         [__ASSUME_FCNTL64]: Make code unconditional.
73042         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
73043         <kernel-features.h>.
73044         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
73045         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
73046         (lockf64) [__NR_fcntl64]: Make code unconditional.
73047         (lockf64) [__ASSUME_FCNTL64]: Likewise.
73049         * sysdeps/unix/sysv/linux/kernel-features.h
73050         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
73051         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
73052         Make code unconditional.
73053         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73054         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
73056         [__NR_vfork]: Make code unconditional.
73057         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73058         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
73060         [__NR_vfork]: Make code unconditional.
73061         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
73062         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
73064 2012-08-01  Roland McGrath  <roland@hack.frob.com>
73066         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
73067         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
73069         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73070         Define mkstemp64 as an alias.
73071         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73072         Define mkstemps64 as an alias.
73073         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73074         Define mkostemp64 as an alias.
73075         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
73076         Define mkostemps64 as an alias.
73077         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
73078         Conditionalize body on this.
73079         * misc/mkostemp64.c: Likewise.
73080         * misc/mkostemps64.c: Likewise.
73081         * misc/mkstemps64.c: Likewise.
73082         * sysdeps/wordsize-64/mkstemp64.c: File removed.
73083         * sysdeps/wordsize-64/mkostemp64.c: File removed.
73084         * sysdeps/wordsize-64/mkostemp.c: File removed.
73085         * sysdeps/wordsize-64/mkstemp.c: File removed.
73086         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
73087         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
73088         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
73089         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
73091         [BZ #14138]
73092         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
73093         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
73094         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
73095         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
73097         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
73098         compat_symbol macros from <shlib-compat.h> rather than the underlying
73099         default_symbol_version and symbol_version macros, so that DEFAULT
73100         lines in shlib-versions are respected.
73101         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
73103 2012-08-01  Florian Weimer  <fweimer@redhat.com>
73105         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
73106         Declare with warn_unused_result.
73107         (setgid, setregid, setegid, setresgid): Likewise.
73108         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
73109         Likewise.
73110         * WUR-REPORT: Remove set*id functions.
73112 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
73114         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
73116 2012-07-31  Roland McGrath  <roland@hack.frob.com>
73118         [BZ #10191]
73119         * include/sys/socket.h (__libc_accept, __libc_accept4):
73120         Add attribute_hidden.
73121         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
73123         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
73124         use of PTR_MANGLE.
73125         * inet/getnetgrent_r.c (setup): Likewise.
73127         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
73129 2012-07-31  David S. Miller  <davem@davemloft.net>
73131         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73133 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
73135         [BZ #13629]
73136         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
73137         value between 1.0 and 2.0 and smaller part has absolute value less
73138         than 1.0.
73139         * math/s_clog10.c (__clog10): Likewise.
73140         * math/s_clog10f.c (__clog10f): Likewise.
73141         * math/s_clog10l.c (__clog10l): Likewise.
73142         * math/s_clogf.c (__clogf): Likewise.
73143         * math/s_clogl.c (__clogl): Likewise.
73144         * math/libm-test.inc (clog_test): Add more tests.
73145         (clog10_test): Likewise.
73146         * sysdeps/i386/fpu/libm-test-ulps: Update.
73147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73149 2012-07-31  Florian Weimer  <fweimer@redhat.com>
73151         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
73152         Exit with zero in case no suitable GID is found, and write a
73153         message to standard error.
73155 2012-07-30  Roland McGrath  <roland@hack.frob.com>
73157         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
73158         rather than to 1.
73159         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
73160         (MAXPATHLEN): Removed.
73161         (NOGROUP, NODEV): New macros.
73162         (setbit, clrbit, isset, isclr): New macros.
73163         (howmany, roundup, powerof2): New macros.
73164         (DEV_BSIZE): New macro.
73166         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
73167         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
73169         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
73170         definition on [!__NO_LONG_DOUBLE_MATH].
73172         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
73173         PTR_MANGLE and PTR_DEMANGLE.
73175         * socket/accept4.c (accept4): Rename to __libc_accept4.
73176         Define accept4 as a weak alias.
73178         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
73179         on [_DIRENT_HAVE_D_TYPE].
73180         * io/ftw.c (ftw_dir): Likewise.
73182         * io/xmknod.c (__xmknod): Don't check PATH for being null.
73184         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
73186         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
73187         Use the BSD numbers rather than the arbitrary ones we had.
73188         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
73189         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
73190         (SIGXCPU, SIGXFSZ): New macros.
73191         (_NSIG): Now 32.
73193         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
73194         initializer on [_LIBC_REENTRANT].
73196         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
73197         definitions inside [_POSIX_MAPPED_FILES].
73199         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
73201         * dirent/opendir.c: Include <fcntl.h>.
73203         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
73204         (__libc_getspecific): Likewise.
73205         (__libc_key_create): Likewise.
73207         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
73208         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
73209         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
73210         (tmpfile64): Define as alias.
73211         * sysdeps/wordsize-64/tmpfile.c: File removed.
73212         * sysdeps/wordsize-64/tmpfile64.c: File removed.
73213         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
73214         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
73216         * stdio-common/vfscanf.c: Include <stdbool.h>.
73217         * nss/makedb.c: Likewise.
73218         * stdio-common/_i18n_number.h: Likewise.
73219         * argp/argp-help.c: Likewise.
73220         * posix/wordexp.c: Likewise.
73221         * sysdeps/posix/spawni.c: Likewise.
73222         * nss/nss_files/files-initgroups.c: Likewise.
73223         * stdio-common/reg-modifier.c: Include <stdlib.h>.
73224         * nss/nss_files/files-initgroups.c: Likewise.
73225         * nss/nss_db/db-netgrp.c: Likewise.
73226         * nss/nss_db/db-initgroups.c: Likewise.
73227         * io/fchmodat.c: Include <sys/stat.h>.
73229         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
73230         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
73232         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
73233         [HAVE_MMAP].
73235         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
73236         Add multiple inclusion protection.
73238 2012-07-27  David S. Miller  <davem@davemloft.net>
73240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73242 2012-07-27  Gary Benson  <gbenson@redhat.com>
73244         [BZ #14298]
73245         * elf/rtld.c: Include <stap-probe.h>.
73246         (dl_main): Added static probes "init_start" and "init_complete".
73247         * elf/dl-load.c: Include <stap-probe.h>.
73248         (lose): Take new parameter "nsid".
73249         Added static probe "map_failed".
73250         (_dl_map_object_from_fd): Pass namespace id to lose.
73251         Added static probe "map_start".
73252         (open_verify): Pass namespace id to lose.
73253         * elf/dl-open.c: Include <stap-probe.h>.
73254         (dl_open_worker) Added static probes "map_complete", "reloc_start"
73255         and "reloc_complete".
73256         * elf/dl-close.c: Include <stap-probe.h>.
73257         (_dl_close_worker): Added static probes "unmap_start" and
73258         "unmap_complete".
73259         * elf/rtld-debugger-interface.txt: New file documenting the above.
73261 2012-07-26  Roland McGrath  <roland@hack.frob.com>
73263         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
73264         rather than a string variable.
73265         * sunrpc/rpc_main.c (h_output): Likewise.
73266         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
73268 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
73270         * inet/check_native.c: New file.
73272 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
73274         [BZ #13629]
73275         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
73276         if larger part has absolute value 1.0.
73277         * math/s_clog10.c (__clog10): Likewise.
73278         * math/s_clog10f.c (__clog10f): Likewise.
73279         * math/s_clog10l.c (__clog10l): Likewise.
73280         * math/s_clogf.c (__clogf): Likewise.
73281         * math/s_clogl.c (__clogl): Likewise.
73282         * math/libm-test.inc (clog_test): Add more tests.
73283         (clog10_test): Likewise.
73284         * sysdeps/i386/fpu/libm-test-ulps: Update.
73285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73287         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
73288         (pltexit): Likewise.
73289         (La_regs): Likewise.
73290         (La_retval): Likewise.
73291         (int_retval): Likewise.
73292         Update #error for removed macros to refer only to definitions in
73293         tst-audit.h.
73294         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
73295         macro.
73296         (pltexit): Likewise.
73297         (La_regs): Likewise.
73298         (La_retval): Likewise.
73299         (int_retval): Likewise.
73300         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
73301         macro.
73302         (pltexit): Likewise.
73303         (La_regs): Likewise.
73304         (La_retval): Likewise.
73305         (int_retval): Likewise.
73306         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
73307         macro.
73308         (pltexit): Likewise.
73309         (La_regs): Likewise.
73310         (La_retval): Likewise.
73311         (int_retval): Likewise.
73312         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
73313         macro.
73314         (pltexit): Likewise.
73315         (La_regs): Likewise.
73316         (La_retval): Likewise.
73317         (int_retval): Likewise.
73318         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
73319         macro.
73320         (pltexit): Likewise.
73321         (La_regs): Likewise.
73322         (La_retval): Likewise.
73323         (int_retval): Likewise.
73324         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
73325         macro.
73326         (pltexit): Likewise.
73327         (La_regs): Likewise.
73328         (La_retval): Likewise.
73329         (int_retval): Likewise.
73330         * sysdeps/generic/tst-audit.h: Update comment to refer only to
73331         macro definitions in tst-audit.h.
73332         * sysdeps/i386/tst-audit.h: New file.
73333         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
73334         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
73335         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
73336         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
73337         * sysdeps/sh/tst-audit.h: Likewise.
73338         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
73339         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
73340         * sysdeps/x86_64/tst-audit.h: Likewise.
73342 2012-07-26  Andreas Jaeger  <aj@suse.de>
73344         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
73345         ptrace.
73347         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
73348         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
73349         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
73350         PTRACE_O_MASK.
73351         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
73352         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
73353         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
73355         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
73356         value.
73358         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
73359         _sigsys.
73360         (si_call_addr, si_syscall, si_arch): Define new macro.
73361         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
73362         _sigsys.
73363         (si_call_addr, si_syscall, si_arch): Define new marcro.
73364         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
73365         _sigsys.
73366         (si_call_addr, si_syscall, si_arch): Define new macro.
73367         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
73368         _sigsys.
73369         (si_call_addr, si_syscall, si_arch): Define new macro.
73371 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73373         [BZ #13717]
73374         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73375         Change to 2.4.21 where previously 2.4.1.
73376         * sysdeps/unix/sysv/linux/configure: Regenerated.
73377         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
73378         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
73379         Linux kernel version.
73380         (__ASSUME_STD_AUXV): Remove.
73381         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
73382         kernel version.
73383         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
73384         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
73385         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
73386         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
73387         (__ASSUME_NETLINK_SUPPORT): Likewise.
73388         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
73389         (__no_netlink_support): Remove conditional definition.
73390         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
73391         Remove.
73392         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73393         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
73394         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
73395         (if_nameindex_ioctl): Remove.
73396         (if_nameindex_netlink): Do not handle __no_netlink_support.
73397         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73398         code.
73399         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
73400         Remove conditional code.
73401         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
73402         code.
73403         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
73404         unconditional.
73405         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
73406         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
73407         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
73408         Remove.
73409         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
73410         [!__ASSUME_STD_AUXV]: Remove conditional code.
73411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
73412         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
73413         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
73414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
73415         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
73416         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73417         code.
73418         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
73420         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
73421         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73422         conditional code.
73423         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
73424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
73425         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
73426         code.
73427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
73428         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
73429         conditional code.
73430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
73431         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73432         code unconditional.
73433         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73434         conditional code.
73435         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73436         unconditional.
73437         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73438         conditional code.
73439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
73440         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73441         unconditional.
73442         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73443         conditional code.
73444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
73445         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73446         code unconditional.
73447         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73448         conditional code.
73449         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73450         unconditional.
73451         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73452         conditional code.
73453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
73454         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
73455         code unconditional.
73456         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73457         conditional code.
73458         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
73459         unconditional.
73460         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
73461         conditional code.
73463 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
73465         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
73466         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
73467         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
73468         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
73469         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
73470         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
73471         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
73472         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
73473         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
73474         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
73475         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
73476         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
73477         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
73478         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
73479         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
73480         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
73481         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
73482         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
73483         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
73484         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
73485         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
73486         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
73487         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
73489 2012-07-25  Florian Weimer  <fweimer@redhat.com>
73491         * Versions.def: Add GLIBC_2.17.
73492         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
73493         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
73494         Introduce __libc_secure_getenv.
73495         * stdlib/Versions (2.17): Add secure_getenv
73496         (GLIBC_PRIVATE): Add __libc_secure_getenv.
73497         * stdlib/secure-getenv.c: Rename __secure_getenv to
73498         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
73499         symbol __secure_getenv for GLIBC_2.0.
73500         * stdlib/tst-secure-getenv.c: New.
73501         * stdlib/Makefile (tests): Add testcase.
73502         * manual/startup.texi (Environment Access): Document
73503         secure_getenv.
73504         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
73505         __libc_secure_getenv.
73506         * inet/ruserpass.c (ruserpass): Likewise.
73507         * malloc/mtrace.c (mtrace): Likewise.
73508         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
73509         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
73510         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
73511         * sysdeps/posix/tempname.c: Likewise.  Evaluate
73512         HAVE_SECURE_GETENV.
73513         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
73514         __secure_getenv to __libc_secure_getenv.
73515         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
73516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73517         Likewise.
73518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73519         Likewise.
73520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
73521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
73522         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
73523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
73524         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
73525         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
73526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
73528 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
73530         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
73531         (struct La_i86_retval): Likewise.
73532         (struct La_x86_64_regs): Likewise.
73533         (struct La_x86_64_retval): Likewise.
73534         (struct La_x32_regs): Likewise.
73535         (struct La_x32_retval): Likewise.
73536         (struct La_ppc32_regs): Likewise.
73537         (struct La_ppc32_retval): Likewise.
73538         (struct La_ppc64_regs): Likewise.
73539         (struct La_ppc64_retval): Likewise.
73540         (struct La_sh_regs): Likewise.
73541         (struct La_sh_retval): Likewise.
73542         (struct La_s390_32_regs): Likewise.
73543         (struct La_s390_32_retval): Likewise.
73544         (struct La_s390_64_regs): Likewise.
73545         (struct La_s390_64_retval): Likewise.
73546         (struct La_sparc32_regs): Likewise.
73547         (struct La_sparc32_retval): Likewise.
73548         (struct La_sparc64_regs): Likewise.
73549         (struct La_sparc64_retval): Likewise.
73550         (struct audit_ifaces): Remove architecture-specific pltenter and
73551         pltexit members.
73552         * sysdeps/i386/ldsodefs.h: New file.
73553         * sysdeps/powerpc/ldsodefs.h: Likewise.
73554         * sysdeps/s390/ldsodefs.h: Likewise.
73555         * sysdeps/sh/ldsodefs.h: Likewise.
73556         * sysdeps/sparc/ldsodefs.h: Likewise.
73557         * sysdeps/x86_64/ldsodefs.h: Likewise.
73559 2012-07-25  Marek Polacek  <polacek@redhat.com>
73561         [BZ #6808]
73562         * math/libm-test.inc (yn_test): Add another test.
73563         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
73564         to ERANGE when the result is +-Inf.
73565         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
73566         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
73567         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
73568         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
73570 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
73572         * conform/data/time.h-data (NULL): Use macro-constant.  Require
73573         equal to 0.
73574         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
73575         clock_t.
73576         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
73578 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
73580         * configure.in <sysdeps resolving>: Correct printing
73581         Implies_before.
73582         * configure: Regenerate.
73584 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
73586         * math/w_ilogb.c: Include <limits.h>.
73587         * math/w_ilogbl.c: Likewise.
73589 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73591         * manual/lang.texi (__va_copy): Document primarily as ISO C99
73592         va_copy.  Document allowing for unavailable va_copy only as
73593         pre-C99 compatibility.
73594         * manual/string.texi (Copying and Concatenation): Use va_copy
73595         instead of __va_copy in concat example.
73597 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
73599         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
73600         (__sendto): Use create_address_port.  Initialize APORT and deallocate
73601         it if not null.
73603         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
73604         with O_NOLINK passed to __file_name_lookup.
73606         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
73607         with O_NOLINK passed to __file_name_lookup.
73609         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
73610         negative N or less than NGIDS.
73612         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
73613         type to string_t.  Set ERANGE as errno and return it if NAME is not big
73614         enough.  Use memcpy instead of strncpy.
73616 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
73618         * elf/Makefile (check-data): Remove.
73619         (localplt.data): New vpath directive.
73620         ($(objpfx)check-localplt.out): Use localplt.data from vpath
73621         instead of $(check-data).
73622         * scripts/data/localplt-generic.data: Move to ...
73623         * sysdeps/generic/localplt.data: ... here.
73624         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
73625         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
73626         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
73627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
73628         ... here.
73629         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
73630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
73631         ... here.
73632         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
73633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
73634         ... here.
73635         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
73636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
73637         ... here.
73638         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
73639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
73640         ... here.
73641         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
73642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
73643         ... here.
73645 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73647         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
73648         PPC32 and PPC64 files.
73649         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
73650         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
73652 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73654         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
73655         __makecontext_ret to ...
73656         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
73657         ... here and call exit if uc_link is NULL.  New file.
73658         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
73659         __makecontext_ret.S.
73660         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
73661         __makecontext_ret to ...
73662         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
73663         ... here and call exit if uc_link is NULL.  New file.
73664         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
73665         __makecontext_ret.S.
73667 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73669         * elf/elf.h (R_390_IRELATIVE): New definition.
73670         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
73671         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
73672         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
73673         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
73674         (elf_machine_lazy_rel): Likewise.
73675         * sysdeps/s390/dl-irel.h: New file.
73676         * sysdeps/s390/s390-64/memcpy.S: New asm code.
73677         * sysdeps/s390/s390-64/memset.S: New asm code.
73678         * sysdeps/s390/s390-64/memcmp.S: New asm code.
73679         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
73680         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
73681         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
73682         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
73683         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
73684         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
73685         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
73686         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
73687         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
73688         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
73689         * sysdeps/s390/s390-32/memcpy.S: New asm code.
73690         * sysdeps/s390/s390-32/memset.S: New asm code.
73691         * sysdeps/s390/s390-32/memcmp.S: New asm code.
73693 2012-07-17  Marek Polacek  <polacek@redhat.com>
73695         [BZ #14349]
73696         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
73697         * sysdeps/s390/s390-64/configure.in: Likewise.
73698         * sysdeps/sparc/configure.in: Likewise.
73699         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
73700         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
73701         * sysdeps/i386/configure.in: Likewise.
73702         * sysdeps/x86_64/configure.in: Likewise.
73703         * sysdeps/sh/configure.in: Likewise.
73704         * sysdeps/s390/s390-32/configure: Regenerated.
73705         * sysdeps/s390/s390-64/configure: Likewise.
73706         * sysdeps/x86_64/configure: Likewise.
73707         * sysdeps/sh/configure: Likewise.
73708         * sysdeps/powerpc/powerpc64/configure: Likewise.
73709         * sysdeps/powerpc/powerpc32/configure: Likewise.
73710         * sysdeps/sparc/configure: Likewise.
73711         * sysdeps/i386/configure: Likewise.
73713         * elf/dl-open.c: Comment fixes.
73715 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
73717         * Makefile [CXX] (check-data): Remove.
73718         [CXX] (c++-types.data): New vpath directive.
73719         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
73720         vpath.  Do not allow for C++ type data being missing.
73721         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
73722         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
73723         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
73724         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
73725         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
73726         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
73727         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
73728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
73729         ... here.
73730         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
73731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
73732         ... here.
73733         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
73734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
73735         ... here.
73736         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
73737         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
73738         ... here.
73739         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
73740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
73741         ... here.
73742         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
73743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
73744         ... here.
73745         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
73746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
73747         ... here.
73748         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
73749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
73751         * elf/tls-macros.h (TLS_LE): Move architecture-specific
73752         definitions to architecture-specific files.
73753         (TLS_IE): Likewise.
73754         (TLS_LD): Likewise.
73755         (TLS_GD): Likewise.
73756         * sysdeps/i386/tls-macros.h: New file.
73757         * sysdeps/powerpc/tls-macros.h: Likewise.
73758         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
73759         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
73760         * sysdeps/sh/tls-macros.h: Likewise.
73761         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
73762         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
73763         * sysdeps/x86_64/tls-macros.h: Likewise.
73765 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73767         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
73768         zero value for regular exit case.
73770         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
73771         (__start_context): Preserve zero value for regular exit case.
73773 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
73774             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73776         * manual/setjmp.texi (setcontext): Clarify normal process
73777         termination when uc_link is the null pointer.
73778         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
73779         exit call.
73781 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
73783         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
73784         preprocessor.  Test for each exception mask separately.
73786 2012-07-16  Andreas Jaeger  <aj@suse.de>
73788         * po/ru.po: Update from translation team.
73790 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
73792         * conform/data/string.h-data (NULL): Use macro-constant.  Require
73793         equal to 0.
73794         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
73795         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
73796         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
73797         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
73798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73800 2012-07-13  Andreas Jaeger  <aj@suse.de>
73802         * po/fr.po: Update from translation team.
73804 2012-07-12  Marek Polacek  <polacek@redhat.com>
73806         [BZ #14173]
73807         * math/libm-test.inc (yn_test): Add test for BZ #14173.
73808         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
73809         loop condition.
73811 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
73813         [BZ #13717]
73814         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
73815         Change to 2.4.1 where previously 2.4.0.
73816         * sysdeps/unix/sysv/linux/configure: Regenerated.
73817         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
73818         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
73819         version.
73820         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
73821         (__ASSUME_AT_CLKTCK): Remove.
73822         (__ASSUME_AT_PAGESIZE): Likewise.
73823         (__ASSUME_AT_XID): Likewise.
73824         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
73825         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
73826         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
73827         unconditionally.
73828         (HAVE_AUX_PAGESIZE): Likewise.
73829         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
73830         [__ASSUME_AT_CLKTCK]: Make code unconditional.
73831         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
73833 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
73835         [BZ #14307]
73836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
73837         the temporary buffer used to invoke __gethostbyname2_r,
73838         __gethostbyaddr_r and gethostbyname4_r to make room for struct
73839         host_data / struct gaih_addrtuple.
73840         * resolv/nss_dns/dns-host.c (global scope): Move definition of
73841         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
73842         header file nss/nsswitch.h.
73843         * nss/nsswitch.h (global scope): Add definition of implementation
73844         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
73845         resolv/nss_dns/dns-host.c).
73847 2012-07-11  Andreas Jaeger  <aj@suse.de>
73849         * po/fr.po: Update from translation team.
73851         * po/sv.po: Update from translation team
73852         * po/fr.po: Another update from translation team.
73854 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73856         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
73857         for subnormals or multiply small sinh result by itself.
73858         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73861 2012-07-11  David S. Miller  <davem@davemloft.net>
73863         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73865 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
73867         [BZ #14347]
73868         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
73869         (INTERNAL_MARK): Shift it here.
73871 2012-07-10  Marek Polacek  <polacek@redhat.com>
73873         [BZ #14151]
73874         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
73875         libc_cv_asm_global_directive with .globl.
73876         * configure: Regenerated.
73877         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
73878         with .globl.
73879         * sysdeps/i386/configure: Regenerated.
73880         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
73881         with .globl.
73882         * sysdeps/x86_64/configure: Regenerated.
73883         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
73884         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
73885         * elf/tst-unique2mod2.c: Likewise.
73886         * elf/tst-unique2mod1.c: Likewise.
73887         * elf/tst-unique1mod2.c: Likewise.
73888         * elf/tst-unique1mod1.c: Likewise.
73889         * sysdeps/s390/s390-32/sysdep.h: Likewise.
73890         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
73891         * sysdeps/s390/s390-64/sysdep.h: Likewise.
73892         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
73893         * sysdeps/mach/sysdep.h: Likewise.
73894         * sysdeps/i386/sysdep.h: Likewise.
73895         * sysdeps/i386/i386-mcount.S: Likewise.
73896         * sysdeps/x86_64/_mcount.S: Likewise.
73897         * sysdeps/x86_64/sysdep.h: Likewise.
73898         * sysdeps/sh/_mcount.S: Likewise.
73899         * sysdeps/sh/sysdep.h: Likewise.
73900         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
73901         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
73902         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
73903         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73904         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
73905         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
73906         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
73907         * locale/localeinfo.h: Likewise.
73908         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
73909         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
73911 2012-07-09  Roland McGrath  <roland@hack.frob.com>
73913         [BZ #14336]
73914         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
73915         system".
73916         * manual/message.texi (The Uniforum approach): Likewise.
73917         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
73918         (glibc iconv Implementation): Likewise.
73920 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
73922         [BZ #14337]
73923         * math/s_clog.c (__clog): Avoid scaling a value down where that
73924         could result in underflow.
73925         * math/s_clog10.c (__clog10): Likewise.
73926         * math/s_clog10f.c (__clog10f): Likewise.
73927         * math/s_clog10l.c (__clog10l): Likewise.
73928         * math/s_clogf.c (__clogf): Likewise.
73929         * math/s_clogl.c (__clogl): Likewise.
73930         * math/libm-test.inc (clog_test): Add more tests.
73931         (clog10_test): Likewise.
73932         * sysdeps/i386/fpu/libm-test-ulps: Update.
73933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73935 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
73937         [BZ #14283]
73938         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
73939         by 7 not 8 to examine high bit of fractional part.
73941         [BZ #14042]
73942         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
73943         for call to __mcount_internal.
73944         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
73945         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
73946         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
73948 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
73950         [BZ #14154]
73951         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
73952         approximation for values within 0x1p-13f of an odd multiple of
73953         pi/4.
73954         * math/libm-test.inc (tan_test): Do not allow spurious underflow
73955         exception.  Add more tests.
73956         * sysdeps/i386/fpu/libm-test-ulps: Update.
73958         [BZ #6778]
73959         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
73960         inputs and return -1 for them.  Do not check for +Inf in case not
73961         reachable for +Inf.
73962         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
73963         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
73964         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73965         and return -1 for them.  Do not check for +Inf in case not
73966         reachable for +Inf.
73967         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
73968         define.
73969         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
73970         and return -1 for them.  Do not check for +Inf in case not
73971         reachable for +Inf.
73972         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
73973         spurious underflow.
73974         * sysdeps/i386/fpu/libm-test-ulps: Update.
73975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73977 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
73979         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
73981 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
73983         [BZ #14157]
73984         [BZ #14331]
73985         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
73986         could result in spurious underflow.  Scale down values above
73987         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
73988         * math/s_csqrtf.c (__csqrtf): Likewise.
73989         * math/s_csqrtl.c (__csqrtl): Likewise.
73990         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
73991         spurious underflow.
73992         * sysdeps/i386/fpu/libm-test-ulps: Update.
73993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73995 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
73997         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
73998         xopen-msg.sed.
73999         * catgets/xopen-msg.awk: New file.
74000         * catgets/xopen-msg.sed: Removed.
74002         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
74003         po2text.sed.
74004         * intl/po2test.awk: New file.
74005         * intl/po2test.sed: Removed.
74007 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
74009         [BZ #14328]
74010         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
74011         or multiply small sinh result by itself.
74012         * math/s_ctanf.c (__ctanf): Likewise.
74013         * math/s_ctanh.c (__ctanh): Likewise.
74014         * math/s_ctanhf.c (__ctanhf): Likewise.
74015         * math/s_ctanhl.c (__ctanhl): Likewise.
74016         * math/s_ctanl.c (__ctanl): Likewise.
74017         * math/libm-test.inc (ctan_test_tonearest): New function.
74018         (ctan_test_towardzero): Likewise.
74019         (ctan_test_downward): Likewise.
74020         (ctan_test_upward): Likewise.
74021         (ctanh_test_tonearest): Likewise.
74022         (ctanh_test_towardzero): Likewise.
74023         (ctanh_test_downward): Likewise.
74024         (ctanh_test_upward): Likewise.
74025         (main): Call these new functions.
74026         * sysdeps/i386/fpu/libm-test-ulps: Update.
74027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74029 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
74031         * .gitignore: Delete /ports entry.
74033 2012-07-03  Andreas Jaeger  <aj@suse.de>
74035         * po/bg.po: Update from translation team.
74036         * po/cs.po: Likewise.
74037         * po/de.po: Likewise.
74038         * po/hr.po: Likewise.
74039         * po/nl.pl: Likewise.
74040         * po/pl.po: Likewise.
74041         * po/vi.po: Likewise.
74043 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
74045         * Makeconfig [!+link] (+link-before-libc): New variable.
74046         [!+link] (+link-after-libc): Likewise.
74047         [!+link] (+link-tests): Likewise.
74048         [!+link] (+link): Define in terms of $(+link-before-libc) and
74049         $(+link-after-libc).
74050         [!+link-static] (+link-static-before-libc): New variable.
74051         [!+link-static] (+link-static-after-libc): Likewise.
74052         [!+link-static] (+link-static-tests): Likewise.
74053         [!+link-static] (+link-static): Define in terms of
74054         $(+link-static-before-libc) and $(+link-static-after-libc).
74055         [build-shared] (link-libc-before-gnulib): New variable.
74056         [build-shared] (link-libc-tests): Likewise.
74057         [build-shared] (link-libc): Define in terms of
74058         $(link-libc-before-gnulib).
74059         [!build-shared] (link-libc-tests): New variable.
74060         (link-libc-static-tests): New variable.
74061         [!gnulib] (gnulib-arch): New variable.
74062         [!gnulib] (gnulib-tests): Likewise.
74063         [!gnulib] (static-gnulib-arch): Likewise.
74064         [!gnulib] (static-gnulib-tests): Likewise.
74065         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
74066         Define with "=" instead of ":=".
74067         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
74068         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
74069         * Rules (binaries-all-notests): New variable.
74070         (binaries-all-tests): Likewise.
74071         (binaries-static-notests): Likewise.
74072         (binaries-static-tests): Likewise.
74073         (binaries-all): Define using $(binaries-all-notests) and
74074         $(binaries-all-tests).
74075         (binaries-static): Define using $(binaries-static-notests) and
74076         $(binaries-static-tests).
74077         (binaries-shared-tests): New variable.
74078         (binaries-shared-notests): Likewise.
74079         (binaries-shared): Remove variable.
74080         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
74081         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
74082         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
74083         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
74084         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
74085         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
74086         * elf/Makefile (sln-modules): New variable.
74087         (extra-objs): Add $(sln-modules:=.o).
74088         (ldconfig-modules): Add static-stubs.
74089         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
74090         * elf/static-stubs.c: New file.
74092         [BZ #14283]
74093         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
74094         by 7 not 8 to examine high bit of fractional part.  Use volatile
74095         variables when splitting into final array of floats if
74096         __FLT_EVAL_METHOD__ != 0.
74097         * math/libm-test.inc (cos_test): Add another test.
74098         (sin_test): Likewise.
74099         * sysdeps/i386/fpu/libm-test-ulps: Update.
74101         [BZ #14273]
74102         * math/libm-test.inc (cosh_test): Add more tests.
74104         * version.h (RELEASE): Set to "development".
74105         (VERSION): Set to "2.16.90".
74107 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
74109         * NEWS: Update copyright. Remove last-updated date.
74110         Mention math library bug fixes and timezone data changes.
74111         * README: Mention GNU/Hurd, x32, and HPPA support status.
74113 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
74115         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
74117 2012-06-27  Andreas Jaeger  <aj@suse.de>
74119         * manual/contrib.texi (Contributors): Add Samuel Thibault.
74121 2012-06-25  Andreas Jaeger  <aj@suse.de>
74123         * sysdeps/s390/fpu/libm-test-ulps: Update.
74125 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
74126             Thomas Schwinge  <thomas@codesourcery.com>
74128         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
74129         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
74130         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
74131         fanotify_mark.
74133 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
74135         * sysdeps/mach/start.c: Remove file.
74136         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
74137         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
74138         * sysdeps/sh/init-first.c: Likewise.
74140         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
74141         registers for frame unwinding purposes, add CFI directives.
74142         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74143         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
74144         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
74145         Likewise.
74147         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
74148         __fortify_fail returning.
74149         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
74151         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
74152         sysdeps/sh/____longjmp_chk.S.
74153         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
74154         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
74155         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
74156         (gen-as-const-headers): Append sigaltstack-offsets.sym.
74158         * sysdeps/sh/abort-instr.h: New file.
74159         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
74160         process in case exit returns.
74162         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
74163         initialize the GOT register before use.
74165         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
74166         calculation of ARGC > 4.
74168         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
74169         meaningful names to some local labels.
74171 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74172             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74174         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
74175         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
74176         (__arch_compare_and_exchange_val_16_acq): Likewise.
74177         (__arch_compare_and_exchange_val_32_acq): Likewise.
74178         (atomic_exchange_and_add): Fix gUSA sequence.
74179         (atomic_add): Likewise.
74180         (atomic_add_negative): Likewise.
74181         (atomic_add_zero): Likewise.
74182         (atomic_bit_test_set): Likewise.
74184 2012-06-22  Andreas Schwab  <schwab@redhat.com>
74186         [BZ #13579]
74187         * include/link.h (struct link_map): Add l_free_initfini.
74188         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
74189         l_initfini.
74190         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
74191         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
74192         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
74193         set.
74195 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
74197         * configure.in: Use AC_LANG_SOURCE.
74198         * configure: Regenerate.
74200 2012-06-22  Roland McGrath  <roland@hack.frob.com>
74202         * configure.in (libc_cv_localstatedir): New substituted variable.
74203         * configure: Regenerated.
74204         * config.make.in (localstatedir): New variable, substituted from
74205         libc_cv_localstatedir.
74206         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
74207         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
74208         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
74209         * sysdeps/gnu/configure: Regenerated.
74211 2012-06-21  Jeff Law  <law@redhat.com>
74213         [BZ #14277]
74214         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
74215         free.  Simplify list management for _LIBC case.
74217 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
74219         [BZ #14273]
74220         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
74221         Clear sign bit of 64-bit integer value before comparing against
74222         overflow value.
74224         * sysdeps/mach/configure: Regenerated.
74226 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
74228         [BZ #14278]
74229         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
74231 2012-06-21  Jeff Law  <law@redhat.com>
74233         [BZ #13882]
74234         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
74235         uint16_t for elements in the "seen" array to avoid char overflows.
74236         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74237         * elf/dl-open.c (dl_open_worker): Likewise.
74239 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
74241         * scripts/list-sources.sh: Scan PORTS for translations.
74242         * po/libc.pot: Regenerated.
74244 2012-06-21  Andreas Jaeger  <aj@suse.de>
74246         [BZ #12194]
74247         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
74248         warning.
74249         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
74250         * bits/byteswap-16.h (__bswap_16): Likewise.
74251         * bits/byteswap.h (__bswap_constant_16): Likewise.
74253 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
74255         [BZ #14117]
74256         * sysdeps/i386/fpu_control.h: Removed.
74257         * sysdeps/x86_64/fpu_control.h: Moved to ...
74258         * sysdeps/x86/fpu_control.h: Here.
74260         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
74261         (_FPU_SETCW): Likewise.
74263 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
74265         [BZ #14117]
74266         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
74267         * sysdeps/x86/fpu/bits/mathinline.h: This.
74268         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
74270         [BZ #14050]
74271         [BZ #14117]
74272         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
74273         functions if __x86_64__ is defined.
74275 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
74277         * string/endian.h: Add !__ASSEMBLER__ condition for including
74278         conversion interfaces.
74280 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
74282         [BZ #14241]
74283         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
74284         of ABS(x) in calculating zero to negative powers other than odd
74285         integers.
74286         * math/libm-test.inc (pow_test): Add more tests.
74288 2012-06-15  Andreas Jaeger  <aj@suse.de>
74290         * manual/contrib.texi (Contributors): Update entry of Liubov
74291         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
74292         Machado Filho.
74294 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
74296         * string/string.h: Add __wur to GNU version of strerror_r.
74298 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
74300         [BZ #14229]
74301         * string/Makefile (tests): Add tst-strtok_r.
74302         * string/tst-strtok_r.c: New file.
74303         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
74304         RAX_LP/RDX_LP on SAVE_PTR.
74306 2012-06-14  Roland McGrath  <roland@hack.frob.com>
74308         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
74310 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
74312         * libm_test.inc (csqrt_test): Allow more spurious underflow
74313         exceptions.
74314         (j0_test): Likewise.
74315         (j1_test): Likewise.
74316         (y0_test): Likewise.
74317         (y1_test): Likewise.
74319 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
74321         * po/Makefile (libc.pot): Use UTF-8 charset.
74323 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
74325         [BZ #14210]
74326         Suppress sign-conversion warning from FD_SET.
74327         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
74328         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
74329         not unsigned long int.
74330         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
74332 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
74334         [BZ #14050]
74335         [BZ #14117]
74336         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
74337         __extern_always_inline instead of __extern_inline.
74338         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
74339         (__signbit): Likewise.
74340         (__signbitl): Support C++ namespace.
74341         (lrintf): New inline function.
74342         (lrint): Likewise.
74343         (llrintf): Likewise.
74344         (llrint): Likewise.
74345         (fmaxf): Likewise.
74346         (fmax): Likewise.
74347         (fminf): Likewise.
74348         (fmin): Likewise.
74349         (rint): Likewise.
74350         (rintf): Likewise.
74351         (ceil): Likewise.
74352         (ceilf): Likewise.
74353         (floor): Likewise.
74354         (floorf): Likewise.
74355         (nearbyint): Likewise.
74356         (nearbyintf): Likewise.
74358 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
74360         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
74361         non-default versions.
74363 2012-06-11  Roland McGrath  <roland@hack.frob.com>
74365         [BZ #14218]
74366         * manual/argp.texi (Argp): Reword argp_parse description slightly.
74368 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
74370         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
74371         (FE_UPWARD, FE_DOWNWARD): Don't define.
74372         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
74373         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74375         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
74376         reading it.
74377         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74378         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74380 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74382         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74383         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
74384         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
74385         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
74387 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
74389         [BZ #14117]
74390         * sysdeps/i386/fpu/bits/fenv.h: Removed.
74391         * sysdeps/i386/fpu/Implies: New file.
74392         * sysdeps/x86_64/fpu/Implies: Likewise.
74393         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
74394         * sysdeps/x86/fpu/bits/fenv.h: This.
74396         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
74397         __SSE_MATH__.
74399 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
74401         [BZ #14134]
74402         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
74403         character 0xffff that matches the last element of the
74404         conversion table.
74406 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74408         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
74409         fmodl commit.
74411 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74413         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
74414         values higher than 25.6283.
74416 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74418         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
74419         subnormal exponent extraction and add some __builtin_expect.
74420         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
74421         Fix for subnormal mantissa calculation.
74423 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
74425         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
74426         cpu2 is -1 and errno is not ENOSYS.
74428 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
74430         [BZ #14117]
74431         * sysdeps/i386/i486/bits/string.h: Renamed to ...
74432         * sysdeps/x86/bits/string.h: This.
74433         * sysdeps/x86_64/bits/string.h: Removed.
74435         * sysdeps/i386/i486/bits/string.h: Define inline functions only
74436         if not compiling for x86-64, but compiling for >= i486.
74438         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
74439         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
74441         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
74442         New macro from Linux kernel 3.4.0.
74443         (FP_XSTATE_MAGIC2): Likewise.
74444         (FP_XSTATE_MAGIC2_SIZE): Likewise.
74445         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
74446         (struct _fpx_sw_bytes): New struct.
74447         (struct _xsave_hdr): Likewise.
74448         (struct _ymmh_state): Likewise.
74449         (struct _xstate): Likewise.
74451         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
74452         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
74453         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
74454         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
74455         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
74456         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
74458         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
74459         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
74460         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
74461         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
74462         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
74463         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
74465 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74467         [BZ #13743]
74468         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
74469         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
74470         (sysdep_headers): Include sys/platform/ppc.h.
74471         * sysdeps/powerpc/test-gettimebase.c: Test for
74472         __ppc_get_timebase() to catch future ISA opcode/insn changes.
74473         * manual/Makefile (appendices): Include platform.texi.
74474         * manual/contrib.texi (Contributors): Update @node pointers.
74475         * manual/maint.texi (Maintenance): Likewise.
74476         (Platform): New node.
74477         * manual/platform.texi: New file.  Document the new features.
74479 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
74480             Jakub Jelinek  <jakub@redhat.com>
74482         [BZ #14188]
74483         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
74484         where __builtin_expect is unavailable.
74486 2012-06-03  David S. Miller  <davem@davemloft.net>
74488         * stdlib/longlong.h: Updated from GCC.
74490 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
74492         [BZ #14042]
74493         * sysdeps/powerpc/powerpc32/mcount.c: New file.
74494         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
74495         __mcount_internal.
74496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
74497         (GLIBC_2.16): Likewise.
74499 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74501         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
74503 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
74506         (default-abi): New variable.
74507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
74508         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
74509         variable.
74510         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
74511         Likewise.
74512         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
74513         Likewise.
74514         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
74515         Likewise.
74517         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
74518         definition.  Document in comment.
74520 2012-06-01  David S. Miller  <davem@davemloft.net>
74522         * stdlib/longlong.h: Updated from GCC.
74524 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74526         [BZ #14117]
74527         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
74528         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
74529         sys/debugreg.h sys/io.h here.
74530         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
74531         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
74532         sys/io.h.
74533         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
74534         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
74535         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
74536         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
74537         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
74538         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
74540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
74541         Define only if __x86_64__ is defined.
74543 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
74545         [BZ #14048]
74546         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
74547         Use int64_t for variable i.
74548         * math/libm-test.inc (fmod_test): Add more tests.
74550         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
74551         z computation is not scheduled after fetestexcept.
74552         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
74553         Use math_force_eval instead of asm to ensure calculation scheduled
74554         before exception test.
74555         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
74556         Ensure a1 + u.d computation is not scheduled after fetestexcept.
74558 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
74560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
74561         computation is not scheduled after fetestexcept.
74563 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
74565         [BZ #14117]
74566         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
74567         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
74569 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74571         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
74572         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
74574 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74576         [BZ #14117]
74577         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
74578         <bits/wordsize.h>.
74579         (__WCHAR_MIN): Support __WORDSIZE == 64.
74580         (__WCHAR_MAX): Likewise.
74582         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
74583         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
74585         [BZ #14183]
74586         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
74587         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
74589         [BZ #14117]
74590         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
74591         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
74593         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
74594         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
74596         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
74597         Defined to 1 if __x86_64__ isn't defined.
74598         (_STAT_VER_LINUX_OLD): New.
74599         (st_atime): Remove duplicate.
74600         (st_mtime): Likewise.
74601         (st_ctime): Likewise.
74603 2012-05-31  David S. Miller  <davem@davemloft.net>
74605         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
74606         entries.
74608 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
74610         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
74611         gen-libm-test.pl.
74613         [BZ #14132]
74614         * elf/dl-reloc.c: Include <_itoa.h>.
74615         (_dl_reloc_bad_type): Remove use of INTUSE.
74616         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
74617         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
74618         * stdio-common/psiginfo.c (psiginfo): Likewise.
74619         * stdio-common/psignal.c (psignal): Likewise.
74620         * string/strsignal.c (strsignal): Likewise.
74621         * include/signal.h (_sys_siglist): Declare hidden proto.
74622         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
74623         INTVARDEF with libc_hidden_data_def.
74624         * stdio-common/itoa-udigits.c: Likewise.
74625         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
74626         (_itoa_lower_digits_internal): Remove declaration.
74627         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
74628         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
74629         (_sys_sigabbrev_internal): Remove aliases.
74630         (_sys_siglist): Define hidden alias.
74632 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
74634         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74635         bits/sysctl.h.
74637 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
74639         [BZ #14117]
74640         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
74641         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
74643         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
74644         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
74645         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
74646         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
74647         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
74648         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
74650         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
74651         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
74652         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
74654         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
74655         with __addr.
74656         (insw): Likewise.
74657         (insl): Likewise.
74658         (outsb): Likewise.
74659         (outsw): Likewise.
74660         (outsl): Likewise.
74662         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
74663         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
74664         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
74666         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
74667         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
74668         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
74669         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
74670         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
74671         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
74673         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
74674         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
74676         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
74677         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
74679         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
74680         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
74681         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
74683         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
74684         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
74685         to ...
74686         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
74688         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
74689         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
74690         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
74692         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
74693         for x86-64.
74694         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
74696 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
74698         * math/math.h (M_El): Use two more decimal places.
74699         (M_LOG2El): Likewise.
74700         (M_LOG10El): Likewise.
74701         (M_LN2l): Likewise.
74702         (M_LN10l): Likewise.
74703         (M_PIl): Likewise.
74704         (M_PI_2l): Likewise.
74705         (M_PI_4l): Likewise.
74706         (M_1_PIl): Likewise.
74707         (M_2_PIl): Likewise.
74708         (M_2_SQRTPIl): Likewise.
74709         (M_SQRT2l): Likewise.
74710         (M_SQRT1_2l): Likewise.
74712 2012-05-31  David S. Miller  <davem@davemloft.net>
74714         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
74715         values between float registers.
74716         * sysdeps/sparc/sparc64/memset.S: Likewise.
74717         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74719 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
74721         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
74722         -D_FORTIFY_SOURCE=1.
74723         (CPPFLAGS-tst-longjmp_chk.c): Define.
74724         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
74725         (CPPFLAGS-tst-longjmp_chk2.c): Define.
74726         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
74727         CFLAGS-tst-wchar-h.c.
74729 2012-05-31  Marek Polacek  <polacek@redhat.com>
74731         [BZ #14132]
74732         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
74733         __endmntent_internal): Remove declaration.
74734         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
74735         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
74736         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
74738 2012-05-30  David S. Miller  <davem@davemloft.net>
74740         * sysdeps/sparc/sparc32/soft-fp/q_util.c
74741         (___Q_simulate_exceptions): Use real FP ops rather than writing
74742         into the %fsr.
74743         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
74744         Likewise.
74746 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74748         [BZ #14117]
74749         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
74750         * sysdeps/x86/bits/xtitypes.h: This.
74752         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
74753         * sysdeps/x86/bits/wordsize.h: This.
74755         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
74756         * sysdeps/x86/bits/huge_vall.h: This.
74758         * sysdeps/i386/bits/select.h: Removed.
74759         * sysdeps/x86_64/bits/select.h: Renamed to ...
74760         * sysdeps/x86/bits/select.h: This.
74762         * sysdeps/i386/bits/setjmp.h: Removed.
74763         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
74764         * sysdeps/x86/bits/setjmp.h: This.
74766         * sysdeps/i386/bits/mathdef.h: Removed.
74767         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
74768         * sysdeps/x86/bits/mathdef.h: This.
74770 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
74772         [BZ #14132]
74773         * include/sys/socket.h (__connect_internal)
74774         (__libc_sa_len_internal): Remove declaration.
74775         (__connect, __libc_sa_len): Declare hidden_proto.
74776         (SA_LEN): Remove use of INTUSE.
74777         * socket/connect.c: Add libc_hidden_def.
74778         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
74779         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
74780         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
74781         alias.
74782         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
74783         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
74784         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
74785         of adding _internal alias.
74787 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74789         [BZ #14117]
74790         * sysdeps/i386/bits/link.h: Removed.
74791         * sysdeps/i386/bits/linkmap.h: Likewise.
74792         * sysdeps/x86_64/bits/link.h: Renamed to ...
74793         * sysdeps/x86/bits/link.h: This.
74794         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
74795         * sysdeps/x86/bits/linkmap.h: This.
74797         * sysdeps/i386/bits/endian.h: Removed.
74798         * sysdeps/x86_64/bits/endian.h: Renamed to ...
74799         * sysdeps/x86/bits/endian.h: This.
74801         * sysdeps/i386/bits/byteswap.h: Removed.
74802         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74803         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
74804         * sysdeps/x86/bits/byteswap.h: This.
74805         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
74806         * sysdeps/x86/bits/byteswap-16.h: This.
74807         * sysdeps/i386/Implies: Add x86.
74808         * sysdeps/x86_64/Implies: Likewise.
74810 2012-05-30  David S. Miller  <davem@davemloft.net>
74812         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
74813         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
74814         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
74815         (FP_TRAPPING_EXCEPTIONS): Define.
74816         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
74817         (FP_TRAPPING_EXCEPTIONS): Define.
74818         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
74819         subnormals only when inexact has been signalled or underflow
74820         exceptions are enabled.
74821         (_FP_PACK_CANONICAL): Likewise.
74823 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74825         [BZ #14183]
74826         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
74827         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
74829 2012-05-30  Richard Henderson  <rth@twiddle.net>
74831         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
74832         with #ifndef NOT_IN_libc.
74834         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
74835         marked to avoid plt entry.
74837 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
74839         [BZ #14112]
74840         * Makeconfig (default-abi): New macro.
74841         (abi-includes): Likewise.
74842         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
74843         $(abi-$(default-abi)-lib-soname) for soname if defined.
74844         ($(common-objpfx)gnu/lib-names.stmp): Generate from
74845         abi-variants.
74846         * Makefile (installed-stubs): Likewise.
74847         * include/stubs-biarch.h: Removed.
74848         * scripts/lib-names.awk: Only handle one library at a time.
74849         * scripts/soversions.awk: Remove WORDSIZE support.
74850         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
74851         entries.
74852         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
74853         Removed.
74854         (syscall-list-default-condition): Likewise.
74855         (syscall-list-default-condition): Likewise.
74856         (syscall-list-includes): Likewise.
74857         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
74858         syscall-list-* with abi-*.  Handle undefined abi-variants.
74859         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
74860         * sysdeps/unix/sysv/linux/i386/Implies: New file.
74861         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
74862         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
74863         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
74864         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
74865         Removed.
74866         (syscall-list-32-options): Likewise.
74867         (syscall-list-32-condition): Likewise.
74868         (syscall-list-64-options): Likewise.
74869         (syscall-list-64-condition): Likewise.
74870         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
74871         macro.
74872         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
74873         Renamed to ...
74874         (abi-*): This.
74875         (abi-64-ld-soname): New macro.
74876         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
74877         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
74878         Renamed to ...
74879         (abi-*): This.
74880         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
74881         * sysdeps/x86_64/x32/shlib-versions: Likewise.
74883 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
74885         * sysdeps/unix/sysv/linux/kernel-features.h
74886         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
74887         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
74888         include <kernel-features.h>.
74889         [!__NR_ftruncate64]: Remove conditional code.
74890         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74891         [__NR_ftruncate64]: Make code unconditional.
74892         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74893         * sysdeps/unix/sysv/linux/truncate64.c: Do not
74894         include <kernel-features.h>.
74895         [!__NR_ftruncate64]: Remove conditional code.
74896         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74897         [__NR_ftruncate64]: Make code unconditional.
74898         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
74900         include <kernel-features.h>.
74901         [!__NR_ftruncate64]: Remove conditional code.
74902         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74903         [__NR_ftruncate64]: Make code unconditional.
74904         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
74906         include <kernel-features.h>.
74907         [!__NR_ftruncate64]: Remove conditional code.
74908         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74909         [__NR_ftruncate64]: Make code unconditional.
74910         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
74912         * configure.in (libc_cv_fpie): Weaken to a compile test using
74913         LIBC_TRY_CC_OPTION.
74914         * configure: Regenerated.
74916 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
74919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
74920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
74921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74922         Refreshed.
74923         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
74924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
74925         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
74926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
74927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
74928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74929         Refreshed.
74931 2012-05-27  David S. Miller  <davem@davemloft.net>
74933         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
74934         (___Q_zero): New.
74935         (__Q_simulate_exceptions): Return void.  Change to simulate
74936         exceptions by writing into the %fsr.
74937         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
74938         (__Qp_handle_exceptions): Likewise.
74939         (numbers): Delete.
74940         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
74941         __Qp_handle_exceptions.
74942         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
74943         __Qp_handle_exceptions.
74944         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74945         as unused and give dummy FP_RND_NEAREST initializer.
74946         (FP_INHIBIT_RESULTS): Define.
74947         (___Q_simulate_exceptions): Update declaration.
74948         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
74949         formatting.
74950         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
74951         as unused and give dummy FP_RND_NEAREST initializer.
74952         (__Qp_handle_exceptions): Update declaration.
74953         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
74954         formatting.
74956 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
74958         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
74959         the temporary FPU control word.
74960         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
74961         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
74962         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
74963         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
74964         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
74965         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
74966         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
74967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
74968         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
74969         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
74970         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74972 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
74974         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
74975         fields.
74977 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
74979         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
74980         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
74981         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
74982         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
74983         Likewise.
74984         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
74985         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
74986         Likewise.
74988 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
74990         * po/h.po: Update from translation team.
74992 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
74994         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
74996         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
74997         handling of denormals.
74998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
74999         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
75000         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
75001         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
75002         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
75003         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
75004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
75005         Likewise.
75007 2012-05-26  Marek Polacek  <polacek@redhat.com>
75009         [BZ #14152]
75010         * math/libm-test.inc (fma_test): Don't always expect underflow
75011         exception.
75013 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
75015         [BZ #12416]
75016         * elf/tst-execstack.c: Include stackinfo.h.
75017         (do_test): Adjust test case to ensure that pthread_getattr_np
75018         behaviour remains the same after marking stack executable.
75020 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75022         * sysdeps/unix/sysv/linux/kernel-features.h
75023         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
75024         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
75025         kernel-features.h.
75026         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75027         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75028         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
75029         kernel-features.h.
75030         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
75031         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
75033 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
75035         * configure.in: Define the default includes to being none.
75036         * configure: Regenerated.
75038 2012-05-25  Roland McGrath  <roland@hack.frob.com>
75040         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
75041         * sysdeps/x86_64/setjmp.S: Likewise.
75042         * sysdeps/i386/bsd-setjmp.S: Likewise.
75043         * sysdeps/i386/bsd-_setjmp.S: Likewise.
75044         * sysdeps/i386/setjmp.S: Likewise.
75045         * sysdeps/i386/__longjmp.S: Likewise.
75046         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75047         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
75049         * include/stap-probe.h: New file.
75050         * configure.in: Handle --enable-systemtap.
75051         * configure: Regenerated.
75052         * config.h.in (USE_STAP_PROBE): New #undef.
75053         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
75054         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
75055         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
75057 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
75059         [BZ #13717]
75060         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
75061         to 2.4.0 where earlier.
75062         * sysdeps/unix/sysv/linux/configure: Regenerated.
75063         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
75064         <kernel-features.h>.
75065         [__ASSUME_32BITUIDS]: Make code unconditional.
75066         [!__ASSUME_32BITUIDS]: Remove conditional code.
75067         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
75068         <kernel-features.h>.
75069         [__ASSUME_32BITUIDS]: Make code unconditional.
75070         [!__ASSUME_32BITUIDS]: Remove conditional code.
75071         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
75072         [__ASSUME_32BITUIDS]: Make code unconditional.
75073         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
75074         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
75075         <kernel-features.h>.
75076         [__ASSUME_32BITUIDS]: Make code unconditional.
75077         [!__ASSUME_32BITUIDS]: Remove conditional code.
75078         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
75079         <kernel-features.h>.
75080         [__ASSUME_32BITUIDS]: Make code unconditional.
75081         [!__ASSUME_32BITUIDS]: Remove conditional code.
75082         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
75083         <kernel-features.h>.
75084         [__ASSUME_32BITUIDS]: Make code unconditional.
75085         [!__ASSUME_32BITUIDS]: Remove conditional code.
75086         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
75087         <kernel-features.h>.
75088         [__ASSUME_32BITUIDS]: Make code unconditional.
75089         [!__ASSUME_32BITUIDS]: Remove conditional code.
75090         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
75091         <kernel-features.h>.
75092         [__ASSUME_32BITUIDS]: Make code unconditional.
75093         [!__ASSUME_32BITUIDS]: Remove conditional code.
75094         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
75095         <kernel-features.h>.
75096         [__ASSUME_32BITUIDS]: Make code unconditional.
75097         [!__ASSUME_32BITUIDS]: Remove conditional code.
75098         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
75099         <kernel-features.h>.
75100         [__ASSUME_32BITUIDS]: Make code unconditional.
75101         [!__ASSUME_32BITUIDS]: Remove conditional code.
75102         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
75103         <kernel-features.h>.
75104         [__ASSUME_32BITUIDS]: Make code unconditional.
75105         [!__ASSUME_32BITUIDS]: Remove conditional code.
75106         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
75107         <kernel-features.h>.
75108         [__ASSUME_32BITUIDS]: Make code unconditional.
75109         [!__ASSUME_32BITUIDS]: Remove conditional code.
75110         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
75111         <kernel-features.h>.
75112         [__ASSUME_32BITUIDS]: Make code unconditional.
75113         [!__ASSUME_32BITUIDS]: Remove conditional code.
75114         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
75115         <kernel-features.h>.
75116         [__NR_setresgid] (__setresgid): Do not declare.
75117         [__ASSUME_32BITUIDS]: Make code unconditional.
75118         [!__ASSUME_32BITUIDS]: Remove conditional code.
75119         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
75120         <kernel-features.h>.
75121         [__NR_setresuid] (__setresuid): Do not declare.
75122         [__ASSUME_32BITUIDS]: Make code unconditional.
75123         [!__ASSUME_32BITUIDS]: Remove conditional code.
75124         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
75125         <kernel-features.h>.
75126         [__ASSUME_32BITUIDS]: Make code unconditional.
75127         [!__ASSUME_32BITUIDS]: Remove conditional code.
75128         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
75129         <kernel-features.h>.
75130         [__ASSUME_32BITUIDS]: Make code unconditional.
75131         [!__ASSUME_32BITUIDS]: Remove conditional code.
75132         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
75133         <kernel-features.h>.
75134         [__ASSUME_32BITUIDS]: Make code unconditional.
75135         [!__ASSUME_32BITUIDS]: Remove conditional code.
75136         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
75137         <kernel-features.h>.
75138         [__ASSUME_32BITUIDS]: Make code unconditional.
75139         [!__ASSUME_32BITUIDS]: Remove conditional code.
75140         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
75141         <kernel-features.h>.
75142         [__ASSUME_32BITUIDS]: Make code unconditional.
75143         [!__ASSUME_32BITUIDS]: Remove conditional code.
75144         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
75145         <kernel-features.h>.
75146         [__ASSUME_32BITUIDS]: Make code unconditional.
75147         [!__ASSUME_32BITUIDS]: Remove conditional code.
75148         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
75149         <kernel-features.h>.
75150         [__ASSUME_32BITUIDS]: Make code unconditional.
75151         [!__ASSUME_32BITUIDS]: Remove conditional code.
75152         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
75153         <kernel-features.h>.
75154         [__ASSUME_32BITUIDS]: Make code unconditional.
75155         [!__ASSUME_32BITUIDS]: Remove conditional code.
75156         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
75157         <kernel-features.h>.
75158         [__ASSUME_32BITUIDS]: Make code unconditional.
75159         [!__ASSUME_32BITUIDS]: Remove conditional code.
75160         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
75161         <kernel-features.h>.
75162         [__ASSUME_32BITUIDS]: Make code unconditional.
75163         [!__ASSUME_32BITUIDS]: Remove conditional code.
75164         * sysdeps/unix/sysv/linux/kernel-features.h
75165         (__ASSUME_SETRESUID_SYSCALL): Remove.
75166         (__ASSUME_SETRESGID_SYSCALL): Likewise.
75167         (__ASSUME_32BITUIDS): Likewise.
75168         (__ASSUME_LDT_WORKS): Likewise.
75169         (__ASSUME_O_DIRECTORY): Likewise.
75170         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
75171         architecture but not kernel version.
75172         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
75173         (__ASSUME_MMAP2_SYSCALL): Likewise.
75174         (__ASSUME_STAT64_SYSCALL): Likewise.
75175         (__ASSUME_IPC64): Likewise.
75176         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
75177         <kernel-features.h>.
75178         [__ASSUME_32BITUIDS]: Make code unconditional.
75179         [!__ASSUME_32BITUIDS]: Remove conditional code.
75180         * sysdeps/unix/sysv/linux/opendir.c: Do not include
75181         <kernel-features.h>.
75182         [__ASSUME_O_DIRECTORY]: Make code unconditional.
75183         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
75184         132096]: Remove conditional code.
75185         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
75186         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
75187         <kernel-features.h>.
75188         [__ASSUME_32BITUIDS]: Make code unconditional.
75189         [!__ASSUME_32BITUIDS]: Remove conditional code.
75190         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
75191         <kernel-features.h>.
75192         [__ASSUME_32BITUIDS]: Make code unconditional.
75193         [!__ASSUME_32BITUIDS]: Remove conditional code.
75194         * sysdeps/unix/sysv/linux/setegid.c: Do not include
75195         <kernel-features.h>.
75196         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
75197         unconditional.
75198         (__setresgid): Do not declare.
75199         [__ASSUME_32BITUIDS]: Make code unconditional.
75200         [!__ASSUME_32BITUIDS]: Remove conditional code.
75201         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
75202         <kernel-features.h>.
75203         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
75204         unconditional.
75205         (__setresuid): Do not declare.
75206         [__ASSUME_32BITUIDS]: Make code unconditional.
75207         [!__ASSUME_32BITUIDS]: Remove conditional code.
75208         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
75209         <kernel-features.h>.
75210         [__ASSUME_32BITUIDS]: Make code unconditional.
75211         [!__ASSUME_32BITUIDS]: Remove conditional code.
75212         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
75213         <kernel-features.h>.
75214         [__ASSUME_32BITUIDS]: Make code unconditional.
75215         [!__ASSUME_32BITUIDS]: Remove conditional code.
75217 2012-05-25  Richard Henderson  <rth@twiddle.net>
75219         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
75220         dl_hwcap to ifunc resolver.
75221         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
75222         elf_ifunc_invoke.
75223         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
75224         dl_hwcap to ifunc resolver.
75225         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
75227 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75229         [BZ #14153]
75230         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
75231         for |x| <= 2**-26, not 2**-57.
75232         * math/libm-test.inc (acos_test): Do not allow spurious underflow
75233         exception.
75235 2012-05-24  Jeff Law  <law@redhat.com>
75237         * stdio-common/Makefile (tests): Add bug25.
75238         * stdio-common/bug25.c: New test.
75240 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75242         [BZ #13576]
75243         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
75244         multiple of MALLOC_ALIGNMENT in size.
75245         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
75247 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75249         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
75250         Require >= 256.
75251         (FILENAME_MAX): Use macro-int-constant.
75252         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
75253         (_IOFBF): Use macro-int-constant.
75254         (_IOLBF): Likewise.
75255         (_IONBF): Likewise.
75256         (SEEK_CUR): Likewise.
75257         (SEEK_END): Likewise.
75258         (SEEK_SET): Likewise.
75259         (TMP_MAX): Likewise.
75260         (EOF): Use macro-int-constant.  Require < 0.
75261         (NULL): Use macro-constant.  Require == 0.
75262         (stdin): Require type to be FILE *.
75263         (stdout): Likewise.
75264         (stderr): Likewise.
75265         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
75266         macro-int-constant.
75267         (EXIT_SUCCESS): Likewise.
75268         (NULL): Use macro-constant.  Require == 0.
75269         (RAND_MAX): Use macro-int-constant.
75270         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
75271         [C99-based standards] (strtof): Require function.
75272         [C99-based standards] (strtold): Likewise.
75273         [C99-based standards] (strtoll): Likewise.
75274         [C99-based standards] (strtoull): Likewise.
75275         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
75276         [ISO || ISO99 || ISO11] (limits.h): Likewise.
75277         [ISO || ISO99 || ISO11] (math.h): Likewise.
75278         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
75279         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
75280         [ISO || ISO99 || ISO11] (*_t): Do not allow.
75282 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
75284         [BZ #14132]
75285         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
75286         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
75287         * intl/dgettext.c (DCGETTEXT): Likewise.
75288         * intl/gettext.c (DCGETTEXT): Likewise.
75289         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
75290         * posix/regex_internal.h (gettext): Likewise.
75291         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
75292         Remove declaration.
75293         * include/argz.h (__argz_count_internal)
75294         (__argz_stringify_internal): Remove declaration.
75295         (__argz_count, __argz_stringify): Declare hidden proto.
75296         * intl/dcgettext.c: Remove use of INTDEF.
75297         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
75298         * string/argz-stringify.c: Likewise.
75299         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75300         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75301         Declare hidden proto.
75302         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
75303         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
75304         Declare hidden proto.
75305         * include/stdio.h (__asprintf_internal): Don't declare.
75306         (__asprintf): Don't define as macro.  Declare hidden proto.
75307         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
75308         (__fsetlocking): Declare hidden proto.
75309         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
75310         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
75311         hidden proto.
75312         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
75313         (_IO_setlinebuf): Remove use of INTUSE.
75314         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
75315         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
75316         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
75317         Remove declaration.
75318         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
75319         (_IO_do_flush): Remove use of INTUSE.
75320         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
75321         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
75322         (_IO_adjust_column, _IO_least_wmarker)
75323         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
75324         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
75325         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
75326         (_IO_default_doallocate, _IO_wdefault_doallocate)
75327         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
75328         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
75329         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
75330         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
75331         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
75332         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
75333         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
75334         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
75335         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
75336         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
75337         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
75338         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
75339         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
75340         proto.
75341         (_IO_flush_all_internal, _IO_adjust_column_internal)
75342         (_IO_default_uflow_internal, _IO_default_finish_internal)
75343         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
75344         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
75345         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
75346         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
75347         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
75348         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
75349         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
75350         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
75351         (_IO_file_close_internal, _IO_file_close_it_internal)
75352         (_IO_file_underflow_internal, _IO_file_overflow_internal)
75353         (_IO_file_init_internal, _IO_file_attach_internal)
75354         (_IO_file_fopen_internal, _IO_file_read_internal)
75355         (_IO_file_sync_internal, _IO_file_seek_internal)
75356         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
75357         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
75358         (_IO_str_underflow_internal, _IO_str_overflow_internal)
75359         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
75360         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
75361         (_IO_list_all_internal, _IO_link_in_internal)
75362         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
75363         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
75364         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
75365         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
75366         (_IO_do_write_internal, _IO_padn_internal)
75367         (_IO_getline_info_internal, _IO_getline_internal)
75368         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
75369         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
75370         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
75371         (_IO_vfscanf_internal, _IO_vfprintf_internal)
75372         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
75373         (_IO_init_internal, _IO_un_link_internal): Don't declare.
75374         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
75375         with libc_hidden_ver, remove use of INTUSE.
75376         * libio/genops.c: Likewise.
75377         * libio/freopen.c: Likewise.
75378         * libio/freopen64.c: Likewise.
75379         * libio/iofclose.c: Likewise.
75380         * libio/iofdopen.c: Likewise.
75381         * libio/iofflush.c: Likewise.
75382         * libio/iofflush_u.c: Likewise.
75383         * libio/iofgets.c: Likewise.
75384         * libio/iofgets_u.c: Likewise.
75385         * libio/iofopen.c: Likewise.
75386         * libio/iofopncook.c: Likewise.
75387         * libio/iofread.c: Likewise.
75388         * libio/iofread_u.c: Likewise.
75389         * libio/ioftell.c: Likewise.
75390         * libio/iofwrite.c: Likewise.
75391         * libio/iogetline.c: Likewise.
75392         * libio/iogets.c: Likewise.
75393         * libio/iogetwline.c: Likewise.
75394         * libio/iopadn.c: Likewise.
75395         * libio/iopopen.c: Likewise.
75396         * libio/ioseekoff.c: Likewise.
75397         * libio/ioseekpos.c: Likewise.
75398         * libio/iosetbuffer.c: Likewise.
75399         * libio/iosetvbuf.c: Likewise.
75400         * libio/ioungetc.c: Likewise.
75401         * libio/ioungetwc.c: Likewise.
75402         * libio/iovdprintf.c: Likewise.
75403         * libio/iovsprintf.c: Likewise.
75404         * libio/iovsscanf.c: Likewise.
75405         * libio/memstream.c: Likewise.
75406         * libio/obprintf.c: Likewise.
75407         * libio/oldfileops.c: Likewise.
75408         * libio/oldiofclose.c: Likewise.
75409         * libio/oldiofdopen.c: Likewise.
75410         * libio/oldiofopen.c: Likewise.
75411         * libio/oldiopopen.c: Likewise.
75412         * libio/oldstdfiles.c: Likewise.
75413         * libio/putc.c: Likewise.
75414         * libio/setbuf.c: Likewise.
75415         * libio/setlinebuf.c: Likewise.
75416         * libio/stdfiles.c: Likewise.
75417         * libio/strops.c: Likewise.
75418         * libio/vasprintf.c: Likewise.
75419         * libio/vscanf.c: Likewise.
75420         * libio/vsnprintf.c: Likewise.
75421         * libio/vswprintf.c: Likewise.
75422         * libio/wfiledoalloc.c: Likewise.
75423         * libio/wfileops.c: Likewise.
75424         * libio/wgenops.c: Likewise.
75425         * libio/wmemstream.c: Likewise.
75426         * libio/wstrops.c: Likewise.
75427         * libio/__fpurge.c: Likewise.
75428         * libio/__fsetlocking.c: Likewise.
75429         * assert/assert.c: Likewise.
75430         * debug/fgets_chk.c: Likewise.
75431         * debug/fgets_u_chk.c: Likewise.
75432         * debug/fread_chk.c: Likewise.
75433         * debug/fread_u_chk.c: Likewise.
75434         * debug/gets_chk.c: Likewise.
75435         * debug/obprintf_chk.c: Likewise.
75436         * debug/vasprintf_chk.c: Likewise.
75437         * debug/vdprintf_chk.c: Likewise.
75438         * debug/vsnprintf_chk.c: Likewise.
75439         * debug/vsprintf_chk.c: Likewise.
75440         * malloc/mtrace.c: Likewise.
75441         * misc/error.c: Likewise.
75442         * misc/syslog.c: Likewise.
75443         * stdio-common/asprintf.c: Likewise.
75444         * stdio-common/fxprintf.c: Likewise.
75445         * stdio-common/getw.c: Likewise.
75446         * stdio-common/isoc99_fscanf.c: Likewise.
75447         * stdio-common/isoc99_scanf.c: Likewise.
75448         * stdio-common/isoc99_vfscanf.c: Likewise.
75449         * stdio-common/isoc99_vscanf.c: Likewise.
75450         * stdio-common/isoc99_vsscanf.c: Likewise.
75451         * stdio-common/printf-prs.c: Likewise.
75452         * stdio-common/printf_fp.c: Likewise.
75453         * stdio-common/printf_fphex.c: Likewise.
75454         * stdio-common/printf_size.c: Likewise.
75455         * stdio-common/putw.c: Likewise.
75456         * stdio-common/scanf.c: Likewise.
75457         * stdio-common/sprintf.c: Likewise.
75458         * stdio-common/tmpfile.c: Likewise.
75459         * stdio-common/vfprintf.c: Likewise.
75460         * stdio-common/vfscanf.c: Likewise.
75461         * stdlib/strfmon_l.c: Likewise.
75462         * sunrpc/openchild.c: Likewise.
75463         * sunrpc/xdr_stdio.c: Likewise.
75464         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
75465         * sysdeps/mach/hurd/tmpfile.c: Likewise.
75467 2012-05-24  Roland McGrath  <roland@hack.frob.com>
75469         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75471         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
75472         in the third column, to generate for the shared library an IFUNC
75473         that uses _dl_vdso_vsym.
75474         * Makerules (COMPILE.c, compile-stdin.c): New variables.
75475         * Makeconfig (object-suffixes-noshared): New variable.
75477         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
75478         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
75479         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
75480         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
75482         [BZ #14132]
75483         * include/sys/time.h (__gettimeofday): Remove macro.
75484         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
75485         * time/gettimeofday.c (__gettimeofday): Remove #undef.
75486         Remove INTDEF.
75487         (__gettimeofday): Add libc_hidden_def.
75488         (gettimeofday): Add libc_hidden_weak.
75489         * sysdeps/mach/gettimeofday.c: Likewise.
75490         * sysdeps/posix/gettimeofday.c: Likewise.
75491         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
75492         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
75493         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
75494         (__gettimeofday_internal): Remove strong_alias.
75495         (__gettimeofday): Add libc_hidden_def.
75496         (gettimeofday): Add libc_hidden_weak.
75497         * sysdeps/unix/syscalls.list (gettimeofday):
75498         Remove __gettimeofday_internal alias.
75500 2012-05-24  Daniel Jacobowitz  <drow@false.org>
75501             H.J. Lu  <hongjiu.lu@intel.com>
75503         [BZ #12495]
75504         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
75505         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
75506         (largebin_index_32_big): New.
75507         (largebin_index): Use it for 16-byte alignment.
75508         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
75509         correction with front_misalign.
75511 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
75513         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
75514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
75515         Likewise.
75516         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
75517         Likewise.
75518         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
75519         Likewise.
75520         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
75521         Likewise.
75522         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
75523         Likewise.
75524         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
75525         Likewise.
75526         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
75527         Likewise.
75528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
75529         Likewise.
75530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
75531         Likewise.
75532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
75533         Likewise.
75534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
75535         Likewise.
75536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
75537         Likewise.
75539         * scripts/data/c++-types-x32-linux-gnu.data: New file.
75540         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
75542 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
75544         [BZ #10846]
75545         [BZ #14036]
75546         * math/libm-test.inc (exp_test): Add test from bug 14036.
75547         (pow_test): Add test from bug 10846.
75549         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
75550         and other flags.
75551         (special_function): Do not include flags in test name.
75552         (parse_args): Likewise.
75553         * sysdeps/i386/fpu/libm-test-ulps: Update.
75554         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
75555         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
75556         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
75557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75559         * math/gen-libm-test.pl (%beautify): Add entries for underflow
75560         exceptions.
75561         * math/libm-test.inc ("Philosophy"): Update comment about
75562         exception testing.
75563         (UNDERFLOW_EXCEPTION): New macro.
75564         (UNDERFLOW_EXCEPTION_OK): Likewise.
75565         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
75566         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
75567         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
75568         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
75569         (INVALID_EXCEPTION_OK): Update value.
75570         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75571         (OVERFLOW_EXCEPTION_OK): Likewise.
75572         (IGNORE_ZERO_INF_SIGN): Likewise.
75573         (test_exceptions): Handle underflow exceptions.
75574         (acos_test): Update for underflow exception expectations.
75575         (cexp_test): Likewise.
75576         (clog_test): Likewise.
75577         (clog10_test): Likewise.
75578         (csqrt_test): Likewise.
75579         (ctan_test): Likewise.
75580         (ctanh_test): Likewise.
75581         (exp_test): Likewise.
75582         (exp10_test): Likewise.
75583         (exp2_test): Likewise.
75584         (expm1_test): Likewise.
75585         (fma_test): Likewise.
75586         (j0_test): Likewise.
75587         (jn_test): Likewise.
75588         (nexttoward_test): Likewise.
75589         (pow_test): Likewise.
75590         (scalbn_test): Likewise.
75591         (scalbln_test): Likewise.
75592         (tan_test): Likewise.
75593         (y1_test): Likewise.
75594         * sysdeps/i386/fpu/libm-test-ulps: Update.
75595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75597 2012-05-23  David S. Miller  <davem@davemloft.net>
75599         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
75600         (__libc_sigaction): Remove unused local variables.
75602 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75604         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
75606 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
75608         mktime: avoid signed integer overflow
75609         * time/mktime.c (__mktime_internal): Do not mishandle the case
75610         where diff == INT_MIN.
75612         mktime: simplify computation of average
75613         * time/mktime.c (ranged_convert): Use new time_t_avg function
75614         instead of rolling our own (probably-slower) code.
75616         mktime: do not assume signed right shift propagates sign bit
75617         * time/mktime.c (isdst_differ): New static function.
75618         (__mktime_internal): No need to normalize tm_isdst now.
75619         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
75620         tm_isdst values.
75622         mktime: merge another wrapv change from gnulib
75623         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
75624         from some compilers.
75626         mktime: remove incorrect attempt at unusual arithmetics
75627         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
75628         The code didn't really work on such machines anyway.
75629         (TYPE_MINIMUM): Assume two's complement.
75630         (twos_complement_arithmetic): Verify that long_int and time_t
75631         are two's complement (or unsigned, in the latter case).
75633         mktime: check signed shifts on long_int and time_t, too
75634         * time/mktime.c (SHR): Check that shifts work as desired
75635         on the types long_int and time_t too, as SHR is used on
75636         such types.
75638         mktime: do not assume 'long' is wide enough
75639         * time/mktime.c (verify): Move decl up.
75640         (long_int): New type.
75641         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
75642         to remove assumption in the code that 'long' is wide enough to
75643         store year values.  This assumption is not true on x32 and on
75644         some non-glibc platforms.
75646         mktime: merge wrapv change from gnulib
75647         * time/mktime.c (WRAPV): New macro.
75648         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
75649         (guess_time_tm, __mktime_internal): Do not assume that signed
75650         integer overflow wraps around; modern compilers generate code
75651         where this assumption is no longer valid.
75653 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75655         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75656         Replace "jmp L(pseudo_end)" with "ret".
75657         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
75658         Likewise.
75660 2012-05-23  Andreas Jaeger  <aj@suse.de>
75662         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
75663         * sysdeps/unix/sysv/linux/poll.c: Remove file.
75665 2012-05-23  Andreas Jaeger  <aj@suse.de>
75666             Maximilian Attems  <max@stro.at>
75668         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
75669         New macros.
75671 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
75673         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
75674         code so that pseudo_end is just ret and the stack pointer is
75675         correct also for static library in error case.
75677 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
75679         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
75680         move to syscalls.list.
75681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
75682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
75683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
75684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
75686         * manual/install.texi (Running make install): Do not mention Linux
75687         kernel version for which pt_chown is not needed.
75688         (Linux): Do not mention problems with nscd with 2.0 kernels.
75689         * INSTALL: Regenerated.
75691 2012-05-23  Andreas Jaeger  <aj@suse.de>
75693         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
75694         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
75695         macro.
75696         * sysdeps/unix/sysv/linux/s390/bits/mman.h
75697         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75698         * sysdeps/unix/sysv/linux/sh/bits/mman.h
75699         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75700         * sysdeps/unix/sysv/linux/i386/bits/mman.h
75701         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75702         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
75703         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75704         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
75705         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
75706         * sysdeps/unix/sysv/linux/bits/in.h
75707         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
75709 2012-05-22  Roland McGrath  <roland@hack.frob.com>
75711         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
75712         (PREPARE_VERSION): Just use assert instead, it will be elided
75713         under [NDEBUG] anyway.
75715 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75717         * sysdeps/unix/sysv/linux/Makefile: Include
75718         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
75719         (sysdep_routines): Remove sysctl.
75720         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
75721         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
75722         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
75723         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
75724         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
75726 2012-05-22  Andreas Jaeger  <aj@suse.de>
75728         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
75729         that pseudo_end is just ret and the stack pointer is correct also
75730         for static library in error case.
75732 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
75734         [BZ #14122]
75735         * nss/nsswitch.c (defconfig_entries): New variable.
75736         (__nss_database_lookup): Don't leak defconfig entries.
75737         (nss_parse_service_list): Don't leak on error paths.
75738         (free_database_entries): New function.
75739         (free_defconfig): New function.
75740         (free_mem): Move common code to free_database_entries.
75742 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75744         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
75745         Add arch_prctl.
75746         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
75748         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
75749         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
75750         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
75751         New macro.
75752         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
75753         (INTERNAL_SYSCALL_TYPES): Likewise.
75754         (LOAD_ARGS_TYPES_[1-6]): Likewise.
75755         (LOAD_REGS_TYPES_[1-6]): Likewise.
75756         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
75757         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
75759 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75761         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
75762         copysignl for GLIBC_2_0.
75763         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
75764         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
75765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
75766         logbl for GLIBC_2_0.
75767         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
75768         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
75770 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75772         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
75773         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
75775         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
75776         Use "neg %eax".
75778         * time/mktime.c: Update copyright years.
75780 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
75782         mktime: merge comment-quoting-style change from gnulib
75783         * time/mktime.c: Quote 'like this' in comments.
75784         The GNU coding standards suggest that we no longer quote `like this',
75785         as "`" and "'" are typically rendered asymmetrically nowadays.
75786         The typical gnulib style is to quote 'like this' when quoting
75787         code, and "like this" when quoting English.
75789         * time/mktime.c (compile-command): Add "-I.".
75791         mktime: merge mktime-internal.h change from gnulib
75792         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
75794         mktime: merge time_r change from gnulib
75795         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
75797         mktime: merge DEBUG change from gnulib
75798         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
75799         case system <time.h> has a #define.
75801         mktime: merge <sys/types.h> change from gnulib
75802         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
75803         since <time.t> is now guaranteed to define time_t.
75805         mktime: merge HAVE_CONFIG_H change from gnulib
75806         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
75808 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
75810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75811         Use "neg %eax".
75813         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
75814         __rlim_t cast.
75815         (struct rusage): Use anonymous union to pad each field to
75816         __syscall_slong_t.
75818 2012-05-21  David S. Miller  <davem@davemloft.net>
75820         * Makefules (o-iterator): Remove .s cases.
75821         (compile-command.s): Delete.
75822         (COMPILE.s): Delete.
75823         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
75825 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
75827         * configure.in (libc_cv_predef_stack_protector): Only consider
75828         "foobar" and "__stack_chk_fail" lines in libc_undefs.
75829         * configure: Regenerated.
75831 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75833         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
75834         New macro.  Use R*LP on int and pointer.
75835         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
75836         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
75837         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
75838         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
75840         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
75841         [__WORDSIZE_TIME64_COMPAT32] instead of
75842         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
75843         (struct utmp): Likewise.
75844         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
75845         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
75846         Renamed to ...
75847         (__WORDSIZE_TIME64_COMPAT32): This.
75848         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
75849         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
75850         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
75851         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
75852         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
75853         (__WORDSIZE_TIME64_COMPAT32): New macro.
75855 2012-05-21  Andreas Jaeger  <aj@suse.de>
75857         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
75858         only if [SHARED]. Add prototype for __wcschr_ia32.
75860 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75862         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
75863         of %rbp unmolested in the jmp_buf while mangling the low bits.
75864         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
75865         unmolested high bits of %rbp while demangling the low bits.
75866         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
75868 2012-05-21  Andreas Jaeger  <aj@suse.de>
75870         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
75871         * sunrpc/svc_simple.c: Use it for registerrpc.
75872         * sunrpc/xcrypt.c: Use it for passwd2des.
75874         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
75876 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75878         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
75879         Don't define if [__SYSCALL_WORDSIZE != 32].
75880         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
75881         New macro.
75883 2012-05-21  Bruno Haible  <bruno@clisp.org>
75884             Andreas Jaeger  <aj@suse.de>
75886         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
75887         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
75888         inptr and inend for must_buffer_ch.
75889         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
75890         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
75891         * stdio-common/Makefile (tests): Remove bug15.
75892         (bug15-ENV): Remove macro.
75893         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
75894         anymore.
75896 2012-05-19  Andreas Jaeger  <aj@suse.de>
75897             Roland McGrath  <roland@hack.frob.com>
75899         * manual/contrib.texi: Completely rewritten. It contains now an
75900         alphabetical list of contributors and their contributions.
75902 2012-05-21  Richard Henderson  <rth@twiddle.net>
75904         * misc/getauxval.c (__getauxval): Use unsigned long int.
75905         * misc/sys/auxv.h: Include <sys/cdefs.h>.
75906         (getauxval): Use unsigned long int.
75908 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
75910         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
75912 2012-05-21  Roland McGrath  <roland@hack.frob.com>
75914         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
75915         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
75916         __alignof__ (long double).
75918 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75922 2012-05-20  Richard Henderson  <rth@twiddle.net>
75924         * misc/getauxval.c: New file.
75925         * misc/sys/auxv.h: New file.
75926         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
75927         (routines): Add getauxval.
75928         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
75929         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
75930         * elf/dl-sysdep.c (_dl_auxv): Remove.
75931         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
75932         * elf/dl-support.c (_dl_auxv): New variable.
75933         (_dl_aux_init): Initialize it.
75934         * manual/startup.texi (Auxiliary Vector): New node.
75935         * sysdeps/generic/bits/hwcap.h: New file.
75936         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
75937         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
75938         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
75939         * sysdeps/sparc/sysdep.h: ... here.  Include it.
75940         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
75941         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
75942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75943         Update.
75944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
75945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
75946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
75947         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
75948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
75950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
75951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
75953 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75955         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75957 2012-05-19  David S. Miller  <davem@davemloft.net>
75959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75961 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75963         [BZ #14123]
75964         * math/s_ccosh.c: Include <float.h>
75965         (__ccosh): Avoid internal overflow calculating sinh and cosh
75966         values before multiplying by sin and cos values.
75967         * math/s_ccoshf.c: Likewise.
75968         * math/s_ccoshl.c: Likewise.
75969         * math/s_csin.c: Likewise.
75970         * math/s_csinf.c: Likewise.
75971         * math/s_csinl.c: Likewise.
75972         * math/s_csinh.c: Likewise.
75973         * math/s_csinhf.c: Likewise.
75974         * math/s_csinhl.c: Likewise.
75975         * math/libm-test.inc (ccos_test): Add more tests.
75976         (ccosh_test): Likewise.
75977         (csin_test): Likewise.
75978         (csinh_test): Likewise.
75979         * sysdeps/i386/fpu/libm-test-ulps: Update.
75980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75982 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
75984         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
75985         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
75987         * sysdeps/x86_64/x32/_itoa.h: Add comment.
75989 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
75991         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
75992         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
75993         * sysdeps/powerpc/soft-fp/Versions: Likewise.
75994         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
75995         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
75996         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
75997         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
75998         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
75999         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
76000         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
76001         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
76002         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
76003         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
76004         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
76005         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
76006         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
76007         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
76008         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
76009         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
76010         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
76011         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
76012         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
76013         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
76014         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
76015         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
76016         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
76017         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
76018         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
76019         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
76020         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
76021         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
76023 2012-05-18  Andreas Jaeger  <aj@suse.de>
76025         * csu/.gitignore: Delete.
76027 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76029         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
76030         (timex): Use __syscall_slong_t.
76032 2012-05-18  Andreas Jaeger  <aj@suse.de>
76033             Carlos O'Donell  <carlos_odonell@mentor.com>
76035         * manual/install.texi (Configuring and compiling): Update
76036         description about files modified in the source directory.
76037         * INSTALL: Regenerated.
76039 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76041         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
76042         value.  Use "or" to set return value to -1.
76043         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
76044         negate return value.
76046 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76048         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
76049         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
76050         failure if the compiler has Graphite support disabled.
76051         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
76052         Likewise.
76053         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
76054         (CFLAGS-memmove.c): Likewise.
76055         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
76056         Likewise.
76058 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
76060         * sysdeps/x86_64/x32/_itoa.h: New file.
76062         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
76063         getdents system call only if kernel and user dirents have the
76064         same d_ino and d_off.
76066         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
76067         LLONG_MAX != LONG_MAX.
76068         (_itoa_word): Use _ITOA_WORD_TYPE on value.
76069         (_fitoa_word): Likewise.
76071         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
76072         years.
76073         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
76074         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
76075         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
76077         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
76078         include <bits/wordsize.h>.  Check __x86_64__ instead of
76079         __WORDSIZE.
76080         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
76081         if __x86_64__ is defined.  Use anonymous union on fpstate.
76083         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
76084         anonymous union.
76086 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
76088         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
76089         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
76090         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
76091         Refer to _rtld_local_ro instead of _rtld_global_ro.
76092         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
76093         Likewise.
76094         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
76095         Likewise.
76096         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
76097         Likewise.
76098         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
76099         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
76100         of _rtld_global, and rtld_progname instead of _dl_argv[0].
76102         [BZ #10882]
76103         * sysdeps/powerpc/powerpc32/dl-machine.c
76104         (__elf_machine_runtime_setup) [PROF]: Don't reference
76105         _dl_prof_resolve.
76107 2012-05-18  Andreas Jaeger  <aj@suse.de>
76109         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
76110         function only available for GCCs before 3.4 since GCC 3.4
76111         introduced a builtin.
76112         (lrint): Likewise.
76113         (llrintf): Likewise.
76114         (llrint): Likewise.
76115         (fmaxf): Likewise.
76116         (fmax): Likewise.
76117         (fminf): Likewise.
76118         (fmin): Likewise.
76119         (rint): Likewise.
76120         (rintf): Likewise.
76121         (nearbyint): Likewise.
76122         (nearbyintf): Likewise.
76123         (ceil): Likewise.
76124         (ceilf): Likewise.
76125         (floor): Likewise.
76126         (floorf): Likewise.
76128 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76130         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
76131         on both fields and cast pointer to __syscall_ulong_t.
76133         * bits/types.h (__fsword_t): New type.
76134         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
76135         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
76136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76137         (__FSWORD_T_TYPE): Likewise.
76138         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76139         (__FSWORD_T_TYPE): Likewise.
76140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76141         (__FSWORD_T_TYPE): Likewise.
76142         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
76143         (__FSWORD_T_TYPE): Likewise.
76144         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
76145         __SWORD_TYPE with __fsword_t.
76146         (statfs64): Likewise.
76148 2012-05-17  David S. Miller  <davem@davemloft.net>
76150         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
76152 2012-05-17  Andreas Jaeger  <aj@suse.de>
76154         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
76155         warning.
76157 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76159         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
76161 2012-05-17  Andreas Jaeger  <aj@suse.de>
76163         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
76164         when it is used.
76166 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76168         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
76170 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76172         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
76173         * sysdeps/x86_64/tst-mallocalign1.c: New file.
76175 2012-05-17  Andreas Jaeger  <aj@suse.de>
76176             Carlos O'Donell  <carlos_odonell@mentor.com>
76178         [BZ #14059]
76179         * sysdeps/x86_64/multiarch/init-arch.h
76180         (bit_YMM_Usable): Rename to...
76181         (bit_AVX_Usable): ... this.
76182         (bit_FMA4_Usable): New macro.
76183         (bit_XMM_state): New macro.
76184         (bit_YMM_state): New macro.
76185         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
76186         [__ASSEMBLER__] (index_AVX_Usable): ... this.
76187         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
76188         (CPUID_OSXSAVE): New macro.
76189         (CPUID_AVX): New macro.
76190         (CPUID_FMA4): New macro.
76191         (index_YMM_Usable): Rename to...
76192         (index_AVX_Usable): ... this.
76193         (HAS_AVX): Use HAS_ARCH_FEATURE.
76194         (HAS_FMA4): Likewise.
76195         (HAS_YMM_USABLE): Remove.
76196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76197         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
76198         are present.
76199         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
76200         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
76201         * sysdeps/x86_64/multiarch/Makefile: Likewise.
76202         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
76203         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
76205 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
76207         * math/libm-test.c: Support platforms without multiple rounding modes.
76208         * math/bug-nextafter.c: Support platforms without FP exceptions.
76209         * math/bug-nexttoward.c: Likewise.
76210         * math/test-fenv.c: Likewise.
76211         * math/test-misc.c: Likewise.
76212         * stdlib/bug-getcontext.c: Likewise.
76214 2012-05-17  Andreas Jaeger  <aj@suse.de>
76216         * manual/examples/search.c (critter_cmp): Change signature to
76217         avoid warnings.
76218         * manual/string.texi (Collation Functions): Likewise.
76220 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76222         * bits/types.h: Fold copyright years.
76223         * bits/typesizes.h: Likewise.
76224         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
76225         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
76226         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
76227         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
76228         * time/time.h: Likewise.
76230 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
76232         [BZ #208]
76233         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
76234         in instead of returning them.  Return void.
76235         (__libc_mallinfo): Accumulate over all arenas.
76236         (__malloc_stats): Adjust for change in int_mallinfo interface.
76238 2012-05-16  Roland McGrath  <roland@hack.frob.com>
76240         [BZ #10375]
76241         * configure.in (NM): Add AC_CHECK_TOOL for it.
76242         (libc_extra_cflags): New substituted variable.
76243         Check for -fstack-protector being used implicitly.
76244         * configure: Regenerated.
76245         * config.make.in (config-extra-cflags): New variable,
76246         gets @libc_extra_cflags@.
76247         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
76249         [BZ #10375]
76250         * configure.in: Check for _FORTIFY_SOURCE being predefined.
76251         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
76252         * configure: Regenerated.
76253         * config.make.in (CPPUNDEFS): New substituted variable.
76254         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
76255         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
76256         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
76258 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76260         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
76261         (mq_attr): Use __syscall_slong_t.
76263 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76265         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
76266         Check __x86_64__ instead of __WORDSIZE.
76267         (_STAT_VER_LINUX): Likewise.
76268         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
76269         __syscall_ulong_t and __syscall_slong_t.
76270         (stat64): Likewise.
76272 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76274         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
76276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76278         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
76280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76282         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
76283         __syscall_ulong_t.
76285         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
76286         include <bits/wordsize.h>.  Check __x86_64__ instead of
76287         __WORDSIZE.
76288         (greg_t): Use "__extension__ long long int" if __x86_64__ is
76289         defined.
76290         (mcontext_t): Replace "unsigned long" with "unsigned long long".
76292         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
76293         include <bits/wordsize.h>.  Check __x86_64__ instead of
76294         __WORDSIZE.
76295         (user_regs_struct): Use "__extension__ unsigned long long"
76296         instead of "unsigned long" if __x86_64__ is defined.
76297         (user): Likewise.  Pad after pointer field if __ILP32__ is
76298         defined.
76300 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
76302         * configure.in (makeinfo): Require version 4.5 or later.  Allow
76303         versions 5 to 9.
76304         * configure: Regenerated.
76305         * manual/install.texi (texinfo): Increase version requirement to
76306         4.5 or later.
76307         * INSTALL: Regenerated.
76309         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
76311 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76313         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
76315         * sysdeps/x86_64/x32/ffs.c: New file.
76317         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
76318         __syscall_ulong_t.
76319         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
76320         defined.  Use __syscall_ulong_t.
76321         (shminfo): Use __syscall_ulong_t.
76322         (shm_info): Likewise.
76324         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
76325         __syscall_ulong_t.
76327         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
76328         <bits/wordsize.h>.
76329         (msgqnum_t): Use __syscall_ulong_t.
76330         (msglen_t): Likewise.
76331         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
76332         __syscall_ulong_t.
76334         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
76335         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76337         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
76339         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
76340         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
76342         * sysvipc/sys/msg.h (msgbuf): Replace long int with
76343         __syscall_slong_t.
76345         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
76346         include <bits/wordsize.h>.  Check __x86_64__ instead of
76347         __WORDSIZE.
76349         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
76350         "unsigned long long int" if __x86_64__ is defined.
76351         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
76353         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
76354         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
76355         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
76357         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
76358         <stdint.h>.
76359         (GET_PC): Cast to uintptr_t first.
76360         (GET_FRAME): Likewise.
76361         (GET_STACK): Likewise.
76363         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
76364         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
76365         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
76366         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
76367         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
76368         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
76369         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
76370         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
76371         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
76372         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
76373         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
76374         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
76375         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
76376         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
76377         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
76378         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
76379         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
76380         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
76381         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
76382         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
76383         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
76384         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
76385         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
76386         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
76387         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
76388         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
76389         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
76390         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
76391         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
76393 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
76395         * Makerules (+depfiles): Also collect depfiles from .oS in
76396         $(extra-objs).
76397         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
76398         .oS, $(libnldbl-routines)).
76400         * Makerules (native-compile-mkdep-flags): Define.
76401         * sunrpc/Makefile (extra-objs): Add $(addprefix
76402         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
76403         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
76404         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
76405         calling $(make-target-directory).
76407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76409         * bits/types.h (__snseconds_t): Removed.
76410         * time/time.h (struct timespec): Replace __snseconds_t with
76411         __syscall_slong_t.
76412         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
76413         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
76414         Likewise.
76415         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76416         (__SNSECONDS_T_TYPE): Likewise.
76417         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76418         (__SNSECONDS_T_TYPE): Likewise.
76419         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76420         (__SNSECONDS_T_TYPE): Likewise.
76422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76424         * sysdeps/mach/hurd/bits/typesizes.h
76425         (__SYSCALL_SLONG_TYPE): New macro.
76426         (__SYSCALL_ULONG_TYPE): Likewise.
76428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76430         * bits/types.h (__syscall_slong_t): New type.
76431         (__syscall_ulong_t): Likewise.
76433         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
76434         (__SYSCALL_ULONG_TYPE): Likewise.
76435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76436         (__SYSCALL_SLONG_TYPE): Likewise.
76437         (__SYSCALL_ULONG_TYPE): Likewise.
76438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76439         (__SYSCALL_SLONG_TYPE): Likewise.
76440         (__SYSCALL_ULONG_TYPE): Likewise.
76441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76442         (__SYSCALL_SLONG_TYPE): Likewise.
76443         (__SYSCALL_ULONG_TYPE): Likewise.
76445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76447         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
76448         Add sigaltstack-offsets.sym.
76449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
76450         <sigaltstack-offsets.h>.
76451         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
76452         longjmp_msg pointer.
76453         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
76454         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
76455         signal stack.
76456         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
76458 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76460         * elf/stackguard-macros.h: Remove file.
76461         * sysdeps/generic/stackguard-macros.h: New file.
76462         * sysdeps/i386/stackguard-macros.h: Likewise.
76463         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
76464         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
76465         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
76466         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
76467         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
76468         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
76469         * sysdeps/x86_64/stackguard-macros.h: Likewise.
76470         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
76471         <elf/stackguard-macros.h>.
76473         [BZ #14109]
76474         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
76475         __aligned__ in attribute.
76476         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
76477         (gregset_t): Likewise.
76479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76481         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
76482         * sysdeps/x86_64/64/Implies-after: Here.  New file.
76483         * sysdeps/x86_64/x32/Implies-after: New file.
76485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76487         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
76488         and access return value for _dl_profile_fixup.  Use R10_LP to
76489         load frame size.
76491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76493         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
76495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76497         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
76498         * sysdeps/x86_64/x32/sysdep.h: New file.
76500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76502         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
76503         * sysdeps/x86_64/setjmp.S: Likewise.
76505 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76507         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
76508         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
76509         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
76510         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
76511         remove unused global constant.
76513 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
76515         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
76516         include of <not-cancel.h>.
76518 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76520         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
76522 2012-05-15  Jeff Law  <law@redhat.com>
76523             Andreas Jaeger  <aj@suse.de>
76525         [BZ #13594]
76526         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
76527         out from...
76528         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
76529         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
76530         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
76531         code changing __hst_map_handle.map.
76533 2012-05-15  Roland McGrath  <roland@hack.frob.com>
76535         * configure.in (sysnames): Look for Implies-before and Implies-after
76536         files.
76537         * configure: Regenerated.
76539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76541         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
76542         8-byte data alignment with LP_SIZE alignment.
76544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76546         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
76547         into R10_LP.
76549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76551         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76555         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
76556         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
76557         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
76558         Likewise.
76559         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76563         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
76564         (stackinfo_sub_sp): Likewise.
76566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76568         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
76569         RAX_LP.
76571 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
76574         into R*_LP.
76576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76578         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
76579         sizes into R*_LP.
76581 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76583         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
76585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76587         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
76588         into R11_LP and load __x86_64_shared_cache_size_half into
76589         R8_LP.
76591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
76593         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
76594         R8_LP.
76596 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
76599         logb for POWER7.
76600         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
76601         logbf for POWER7.
76602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
76603         logbl for POWER7.
76604         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
76605         powerpc32/power7/fpu/s_logb.c via #include.
76606         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
76607         powerpc32/power7/fpu/s_logbf.c via #include.
76608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
76609         powerpc32/power7/fpu/s_logbl.c via #include.
76611 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
76613         * README.libm: Remove file.
76615 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76617         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
76618         count for x32.  Use R*_LP and omit operand-size suffix.
76620 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76622         * shlib-versions: Move x86_64-.*-linux.* entries to ...
76623         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
76624         * sysdeps/x86_64/x32/shlib-versions: New file.
76626 2012-05-14  Roland McGrath  <roland@hack.frob.com>
76628         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
76629         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
76630         Use _dl_fatal_printf instead.
76632 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76634         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
76635         set if not set by the user.  Do not allow for being unset.
76636         * sysdeps/unix/sysv/linux/configure: Regenerated.
76638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76640         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
76641         the `q' suffix from lea and replace .quad with ASM_ADDR.
76643 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
76646         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
76647         instead of $17.
76648         (PTR_DEMANGLE): Likewise.
76650 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76652         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
76653         (LP_OP): Likewise.
76654         (ASM_ADDR): Likewise.
76655         (RAX_LP): Likewise.
76656         (RBP_LP): Likewise.
76657         (RBX_LP): Likewise.
76658         (RCX_LP): Likewise.
76659         (RDI_LP): Likewise.
76660         (RSI_LP): Likewise.
76661         (RSP_LP): Likewise.
76662         (R8_LP): Likewise.
76663         (R9_LP): Likewise.
76664         (R10_LP): Likewise.
76665         (R10_LP): Likewise.
76666         (R11_LP): Likewise.
76667         (R12_LP): Likewise.
76668         (R13_LP): Likewise.
76669         (R14_LP): Likewise.
76670         (R15_LP): Likewise.
76672 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76674         * sysdeps/x86_64/x32/dl-machine.h: New file.
76676 2012-05-14  Andreas Jaeger  <aj@suse.de>
76678         * manual/Makefile (subdir): Remove export of subdir.
76679         (all): Remove target.
76680         (.PHONY): Remove all from list.
76681         (mkinstalldirs): Remove.
76682         (.PHONY): Remove installdirs from list.
76683         ($(inst_infodir)/libc.info): Use make-target-directory.
76684         (installdirs): Remove.
76685         (subdir_%): Remove.
76686         (glibc-targets): Remove.
76687         (lib): Remove.
76688         (stubs): Remove.
76689         ($(objpfx)stubs ../po/manual.pot): Remove.
76690         ($(objpfx)stamp%): Remove.
76691         (make-target-directory): Remove.
76692         (subdir_install): Remove.
76693         (routines): Remove.
76694         (aux): Remove.
76695         (sources): Remove.
76696         (objects): Remove.
76697         (headers): Remove.
76699         [BZ #13750]
76700         * manual/.gitignore: Remove, it's not needed anymore.
76701         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
76702         all files in it.
76703         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
76704         directory.
76705         (texis): Renamed to $(objpfx)texis.
76706         (texis-path): New, contains path to generated files.
76707         (chapters.%): Use texis-path for complete path, add extra argument
76708         libc-texinfo.sh.
76709         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
76710         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
76711         (summary,texi, stamp-summary): Use complete path of
76712         files. Generate files in build dir.
76713         (dir-add.texi): Build in build dir.
76714         (libm-err.texi,stamp-libm-err): Likewise.
76715         (version.texi, stamp-version): Likewise.
76716         (.%c.texi): Likewise.
76717         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76718         (mostlyclean): Remove target.
76719         (realclean): Remove target.
76720         (generated): Add new variable with contents from mostlyclean and
76721         realclean, remove entries duplicated in common-mostlyclean, add
76722         stamp-libm-err and stamp-version.
76723         (generated-dirs): Add libc directory.
76724         ($(inst_infodir)/libc.info): Install files from build dir.
76726         * manual/install.texi (Configuring and compiling): Adjust since
76727         the info files are not part of the tar ball anymore.
76729 2012-05-14  Andreas Jaeger  <aj@suse.de>
76731         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
76732         variable.
76734 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
76736         [BZ #13717]
76737         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
76738         to 2.2.0 where earlier.
76739         * sysdeps/unix/sysv/linux/configure: Regenerated.
76740         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
76741         Remove conditional code.
76742         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
76743         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
76744         Remove conditional code.
76745         [!__NR_lchown]: Likewise.
76746         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76747         [__NR_lchown]: Likewise.
76748         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
76749         comment referencing __ASSUME_LCHOWN_SYSCALL.
76750         * sysdeps/unix/sysv/linux/i386/sigaction.c
76751         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76752         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76753         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
76754         Remove conditional code.
76755         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
76756         (__protocol_available): Remove #if 0 code.
76757         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
76758         conditional code.
76759         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
76760         * sysdeps/unix/sysv/linux/kernel-features.h
76761         (__ASSUME_GETCWD_SYSCALL): Don't define.
76762         (__ASSUME_REALTIME_SIGNALS): Likewise.
76763         (__ASSUME_PREAD_SYSCALL): Likewise.
76764         (__ASSUME_PWRITE_SYSCALL): Likewise.
76765         (__ASSUME_POLL_SYSCALL): Likewise.
76766         (__ASSUME_LCHOWN_SYSCALL): Likewise.
76767         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
76768         non-SPARC.
76769         (__ASSUME_SIOCGIFNAME): Don't define.
76770         (__ASSUME_MSG_NOSIGNAL): Likewise.
76771         (__ASSUME_SENDFILE): Define unconditionally.
76772         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
76773         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
76774         conditional code.
76775         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
76776         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
76777         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76778         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76779         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
76780         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
76781         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
76782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
76783         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76784         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
76786         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76787         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
76789         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
76792         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76793         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
76795         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76796         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
76798         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
76799         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
76801         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76802         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
76804         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76805         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76806         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
76807         Remove conditional code.
76808         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76809         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76810         Remove conditional code.
76811         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76812         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
76813         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
76814         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76815         Remove conditional code.
76816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76817         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
76818         Remove conditional code.
76819         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76820         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
76821         Remove conditional code.
76822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76823         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
76824         Remove conditional code.
76825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
76826         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
76827         Remove conditional code.
76828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76829         * sysdeps/unix/sysv/linux/sh/pwrite64.c
76830         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
76831         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
76832         * sysdeps/unix/sysv/linux/sigaction.c
76833         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76834         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76835         * sysdeps/unix/sysv/linux/sigpending.c
76836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76838         * sysdeps/unix/sysv/linux/sigprocmask.c
76839         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76840         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76841         * sysdeps/unix/sysv/linux/sigsuspend.c
76842         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
76843         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
76844         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
76845         (__libc_missing_rt_sigs): Remove.
76846         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
76847         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
76848         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
76849         Remove conditional code.
76850         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
76851         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
76852         return 1.
76853         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
76854         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
76855         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
76856         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
76858 2012-05-14  Andreas Jaeger  <aj@suse.de>
76860         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
76861         it's not used in glibc.
76862         (__coshm1): Likewise.
76863         (__acosh1p): Likewise.
76864         (__sgn): Likewise.
76866         * manual/string.texi (Copying and Concatenation): Add missing
76867         variable in concat example.
76868         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
76870 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76872         [BZ #14103]
76873         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
76874         __builtin_clzl with __builtin_clzll.
76876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
76878         [BZ #14104]
76879         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
76880         libc_freeres_ptr.
76882 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76884         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
76885         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
76886         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
76887         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
76889 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
76891         * NEWS: Update ia64 info.
76893 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
76895         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
76896         used as bcopy.
76898 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
76900         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
76901         * sysdeps/unix/syscalls.list (dup3): Likewise.
76902         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
76903         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
76905 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76907         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
76908         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
76910 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
76912         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
76913         thread pointer.
76914         (TLS_IE): Use mov/add instead of movq/addq to load thread
76915         pointer.
76916         (TLS_GD_PREFIX): New.
76917         (TLS_GD): Use it.
76919 2012-05-11  David S. Miller  <davem@davemloft.net>
76921         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
76922         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
76923         (_FPU_SETCW): Likewise.
76925 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76927         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
76928         is 32-byte aligned.
76930 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
76932         [BZ #11837]
76933         * iconvdata/gb18030.c: Update tables.
76934         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
76935         characters specially.
76936         (BODY for TO_LOOP): Add encoding of missing ranges.
76938 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
76940         [BZ #13673]
76941         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
76942         * sysdeps/mach/hurd/dup3.c: Likewise.
76943         * sysdeps/mach/hurd/readlinkat.c: Likewise.
76944         * sysdeps/powerpc/memmove.c:: Likewise.
76946 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
76949         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
76951 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
76953         * elf/elf.h (R_X86_64_RELATIVE64): New.
76954         (R_X86_64_NUM): Updated.
76955         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
76956         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
76957         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
76958         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
76959         tst-quad1pie tst-quad2pie
76960         (modules-names): Add tst-quadmod1 tst-quadmod2.
76961         ($(objpfx)tst-quad1): New dependency.
76962         ($(objpfx)tst-quad2): Likewise.
76963         ($(objpfx)tst-quad1pie): Likewise.
76964         ($(objpfx)tst-quad2pie): Likewise.
76965         * sysdeps/x86_64/tst-quad1.c: New file.
76966         * sysdeps/x86_64/tst-quad1pie.c: New file.
76967         * sysdeps/x86_64/tst-quad2.c: Likewise.
76968         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
76969         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
76970         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
76971         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
76972         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
76974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76976         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
76977         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
76978         * streams/stropts.h (t_scalar_t): Define type.
76980         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
76981         (_PATH_PRESERVE): Set to "/var/lib".
76982         (_PATH_RWHODIR): Set to "/var/spool/rwho".
76984         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
76985         instead of int.
76987         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
76988         if __dir_mkfile succeeded.
76990         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
76991         checking for _hurd_dtablesize.  Unlock it right after having
76992         finished _hurd_dtable allocation.
76994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
76996         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
76997         * sysdeps/mach/hurd/configure: Regenerated.
76998         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
76999         special-casing to...
77000         * sysdeps/gnu/configure.in: ... this new file.
77001         * sysdeps/unix/sysv/linux/configure: Regenerated.
77002         * sysdeps/gnu/configure: New generated file.
77004         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
77005         for Linux: use nsec instead of usec, as well as:
77006         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
77007         members of type struct timespec.
77008         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
77009         New macros.
77010         (struct stat64): Likewise.
77011         (_STATBUF_ST_NSEC): New macro.
77012         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
77014         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77015         __strtoul_internal rather than strtoul.
77017 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77019         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
77020         and reject them.
77022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77024         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
77025         which preserves existing values.
77026         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
77028 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77030         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
77031         TIMEOUT values.  Return EINVAL for NFDS values either negative or
77032         greater than FD_SETSIZE.
77034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77036         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
77037         allocated, call __vm_protect to finish enabling the existing space, and
77038         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
77039         allocate the remainder.
77041 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77043         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
77044         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
77046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77048         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
77049         sysdeps/mach/hurd/readlink.c.
77051         * posix/tst-sysconf.c (posix_options): Only use
77052         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
77053         _POSIX_SYNCHRONIZED_IO when they are defined
77054         * sysdeps/mach/hurd/bits/posix_opt.h:
77055         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
77056         (_XOPEN_REALTIME): Undefine macro.
77057         (_XOPEN_REALTIME_THREADS): Undefine macro.
77058         (_XOPEN_SHM): Undefine macro.
77059         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
77060         macro to -1.
77061         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
77062         macro to -1.
77063         (_POSIX_ASYNC_IO): Undefine macro.
77064         (_POSIX_PRIORITIZED_IO): Undefine macro.
77065         (_POSIX_SPIN_LOCKS): Define macro to -1.
77067         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
77068         SA_NODEFER, SA_RESETHAND.
77069         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
77070         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
77071         F_DUPFD_CLOEXEC.
77073 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77075         * elf/Makefile (pldd-modules): Define unconditionally.
77077 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77079         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
77081 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77083         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
77084         Return ENOENT when name is empty.
77085         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
77087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77089         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
77091         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
77093 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77095         Fix mlock in all cases except non-readable pages.
77096         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
77097         instead of VM_PROT_ALL as parameter to __vm_wire function.
77099         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
77100         (__mkdir): When path is `/', just fail with EEXIST.
77101         * sysdeps/mach/hurd/mkdirat.c: Likewise.
77103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77105         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
77106         <sys/uio.h> (for writev).
77107         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
77108         and <sys/param.h> (for MIN).
77110 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
77112         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
77113         REQUESTED_TIME.  Properly set the remaining time and return EINTR
77114         if interrupted.
77116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77118         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
77119         Depend on against $(link-rpcuserlibs).
77121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77123         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
77124         (__libc_stack_end): Do not use attribute_relro.
77125         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
77126         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
77127         to libthread-provided value.
77128         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
77129         attribute_relro.
77131 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77133         [BZ #3748]
77134         * bits/libc-lock.h (__libc_once_get): New macro.
77135         * sysdeps/mach/bits/libc-lock.h: Likewise.
77136         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
77137         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
77138         instead of using implementation details.
77140         * libio/fileops.c: Unconditionally include <kernel-features.h>.
77141         * libio/freopen.c: Likewise.
77142         * libio/freopen64.c: Likewise.
77143         * misc/syslog.c: Likewise.
77144         * nscd/connections.c: Likewise.
77145         * nscd/netgroupcache.c: Likewise.
77146         * sysdeps/posix/getcwd.c: Likewise.
77148 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77150         * math/w_ilogbf.c: Add #include <limits.h>.
77152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77154         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
77155         path instead of returning without unlocking.
77157         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
77158         immediate-write ioctls.
77159         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
77161 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77163         * sysdeps/mach/hurd/i386/init-first.c (init): Use
77164         __builtin_frame_address instead of making assumptions about the
77165         location of the return address relative to DATA.  Force early load of
77166         the return address.
77167         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
77168         __builtin_frame_address.
77170         dup3 for GNU Hurd.
77171         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
77172         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
77173         implement dup3 and do some further code clean-ups.
77174         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
77175         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
77177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77179         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
77181         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
77182         HURD_CRITICAL_END around holding _hurd_dtable_lock.
77183         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
77184         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
77185         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
77186         d->port.lock.
77188         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
77189         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
77190         when handler == SIG_ERR, not when handler != SIG_ERR.
77192 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77194         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
77195         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
77196         definitions.
77198         accept4 for GNU Hurd.
77199         * include/sys/socket.h (__libc_accept4): New prototype.
77200         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
77201         to implement __libc_accept4.
77202         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
77203         __libc_accept4.
77204         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
77206         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
77207         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
77208         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
77209         signal-defines.sym.
77211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77213         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
77215 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
77217         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
77218         assertion on O_CLOEXEC flag.
77219         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
77220         * hurd/intern-fd.c: Likewise.
77221         * hurd/port2fd.c: Likewise.
77223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77225         [BZ #3906]
77226         * bits/in.h (IPV6_PKTINFO): Define new macro.
77227         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
77229 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77231         [BZ #13954]
77232         [BZ #13955]
77233         [BZ #13956]
77234         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
77235         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77236         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
77237         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77238         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77239         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77240         * math/libm-test.inc (logb_test) : Additional logb tests.
77242 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
77243             Andreas Jaeger  <aj@suse.de>
77245         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
77246         * configure: Regenerated.
77247         * config.h.in (LINK_OBSOLETE_RPC): New macro.
77248         * config.make.in (link-obsolete-rpc): New substituted variable.
77249         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
77250         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
77251         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77252         (shared-only-routines): Don't set it under [link-obsolete-rpc],
77253         so that libc.a contains the symbols.
77254         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
77255         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
77256         * sunrpc/auth_none.c: Likewise.
77257         * sunrpc/auth_unix.c: Likewise.
77258         * sunrpc/authdes_prot.c: Likewise.
77259         * sunrpc/authuxprot.c: Likewise.
77260         * sunrpc/clnt_gen.c: Likewise.
77261         * sunrpc/clnt_perr.c: Likewise.
77262         * sunrpc/clnt_raw.c: Likewise.
77263         * sunrpc/clnt_simp.c: Likewise.
77264         * sunrpc/clnt_tcp.c: Likewise.
77265         * sunrpc/clnt_udp.c: Likewise.
77266         * sunrpc/clnt_unix.c: Likewise.
77267         * sunrpc/des_crypt.c: Likewise.
77268         * sunrpc/des_soft.c: Likewise.
77269         * sunrpc/get_myaddr.c: Likewise.
77270         * sunrpc/key_call.c: Likewise.
77271         * sunrpc/key_prot.c: Likewise.
77272         * sunrpc/netname.c: Likewise.
77273         * sunrpc/pm_getmaps.c: Likewise.
77274         * sunrpc/pm_getport.c: Likewise.
77275         * sunrpc/pmap_clnt.c: Likewise.
77276         * sunrpc/pmap_prot.c: Likewise.
77277         * sunrpc/pmap_prot2.c: Likewise.
77278         * sunrpc/pmap_rmt.c: Likewise.
77279         * sunrpc/publickey.c: Likewise.
77280         * sunrpc/rpc_cmsg.c: Likewise.
77281         * sunrpc/rpc_common.c: Likewise.
77282         * sunrpc/rpc_dtable.c: Likewise.
77283         * sunrpc/rpc_prot.c: Likewise.
77284         * sunrpc/rpc_thread.c: Likewise.
77285         * sunrpc/rtime.c: Likewise.
77286         * sunrpc/svc.c: Likewise.
77287         * sunrpc/svc_auth.c: Likewise.
77288         * sunrpc/svc_raw.c: Likewise.
77289         * sunrpc/svc_run.c: Likewise.
77290         * sunrpc/svc_tcp.c: Likewise.
77291         * sunrpc/svc_udp.c: Likewise.
77292         * sunrpc/svc_unix.c: Likewise.
77293         * sunrpc/svcauth_des.c: Likewise.
77294         * sunrpc/xcrypt.c: Likewise.
77295         * sunrpc/xdr.c: Likewise.
77296         * sunrpc/xdr_array.c: Likewise.
77297         * sunrpc/xdr_float.c: Likewise.
77298         * sunrpc/xdr_intXX_t.c: Likewise.
77299         * sunrpc/xdr_mem.c: Likewise.
77300         * sunrpc/xdr_rec.c: Likewise.
77301         * sunrpc/xdr_ref.c: Likewise.
77302         * sunrpc/xdr_sizeof.c: Likewise.
77303         * sunrpc/xdr_stdio.c: Likewise.
77305 2012-05-10  Roland McGrath  <roland@hack.frob.com>
77307         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
77308         change.  Update copyright years.
77310 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77312         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
77314 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
77315             Joseph Myers  <joseph@codesourcery.com>
77316             Paul Pluzhnikov  <ppluzhnikov@google.com>
77318         [BZ #14012]
77319         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
77320         requiring rpcgen.
77321         [cross-compiling] (extra-libs): Likewise.
77322         [cross-compiling] (extra-libs-others): Likewise.
77323         [cross-compiling] (librpcsvc-routines): Likewise.
77324         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
77325         [cross-compiling] (omit-deps): Likewise.
77326         (sunrpc-CPPFLAGS): New variable.
77327         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
77328         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
77329         (cross-rpcgen-objs): New variable.
77330         (extra-objs): Append $(cross-rpcgen-objs).
77331         ($(cross-rpcgen-objs)): New rule.
77332         ($(objpfx)cross-rpcgen): Likewise.
77333         (rpcgen-cmd): Define to use $(built-program-file).  Expand
77334         comment.
77335         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
77336         ($(objpfx)x%.stmp): Likewise.
77337         * sunrpc/proto.h [IS_IN_build] (_): Define.
77338         [IS_IN_build] (_libc_intl_domainname): Likewise.
77340 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
77342         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
77343         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
77344         and R_X86_64_TPOFF64.
77346 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
77348         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
77349         sysdeps/unix/sysv/syscalls.list.
77350         (stime): Likewise.
77351         (utime): Likewise.
77352         * sysdeps/unix/sysv/syscalls.list: Remove file.
77354 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
77356         [BZ #3440]
77357         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
77358         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
77359         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
77360         (__LC_IDENTIFICATION): Make these macros useful in #if
77361         expressions, as required by C99.
77363 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
77365         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
77366         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
77367         after this.
77369 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
77371         * stdlib/longlong.h: Updated from GCC.
77373 2012-05-09  Andreas Jaeger  <aj@suse.de>
77375         * nscd/nscd.c (run_modes): Make named enum, reorder so that
77376         default is first entry.
77377         (run_mode): Set type.
77378         (main): Remove informal message about syslog.
77379         (options): Fix typo.
77381         [BZ #14053]
77382         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
77383         to asm.
77384         (lrint): Likewise.
77385         (llrintf): Likewise.
77386         (llrint): Likewise.
77387         (rint): Likewise.
77388         (rintf): Likewise.
77389         (nearbyint): Likewise.
77390         (nearbyintf): Likewise.
77392 2012-05-09  Andreas Jaeger  <aj@suse.de>
77393             Pedro Alves  <palves@redhat.com>
77395         * nscd/nscd.c (run_mode): Use enum.
77396         (main): Cleanup coding style issue.
77398 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
77399             Andreas Jaeger  <aj@suse.de>
77401         * nscd/nscd.c (go_background): Replaced with...
77402         (run_mode): ... this.
77403         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
77404         (options): Add -F --foreground.
77405         (main): Implement it.
77406         (parse_opt): Parse it.
77408 2012-05-09  Andreas Jaeger  <aj@suse.de>
77410         [BZ #14083]
77411         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
77412         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
77413         -Wconversion warning.
77414         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
77415         Likewise.
77417 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
77419         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
77420         == 0.
77421         (LC_ALL): Use macro-int-constant.
77422         (LC_COLLATE): Likewise.
77423         (LC_CTYPE): Likewise.
77424         (LC_MESSAGES): Likewise.
77425         (LC_MONETARY): Likewise.
77426         (LC_NUMERIC): Likewise.
77427         (LC_TIME): Likewise.
77428         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
77429         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77430         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77431         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
77432         Specify type.
77433         [C99-based standards] (float_t): Expect type.
77434         [C99-based standards] (double_t): Expect type.
77435         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
77436         type.
77437         [C99-based standards] (HUGE_VALL): Likewise.
77438         [C99-based standards] (INFINITY): Likewise.
77439         [C99-based standards] (NAN): Likewise.
77440         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
77441         [C99-based standards] (FP_NAN): Likewise.
77442         [C99-based standards] (FP_NORMAL): Likewise.
77443         [C99-based standards] (FP_SUBNORMAL): Likewise.
77444         [C99-based standards] (FP_ZERO): Likewise.
77445         [C99-based standards] (FP_FAST_FMA): Use
77446         optional-macro-int-constant.  Specify type.  Require == 1.
77447         [C99-based standards] (FP_FAST_FMAF): Likewise.
77448         [C99-based standards] (FP_FAST_FMAL): Likewise.
77449         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
77450         [C99-based standards] (FP_ILOGBNAN): Likewise.
77451         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
77452         Specify type.
77453         [C99-based standards] (MATH_ERREXCEPT): Likewise.
77454         [C99-based standards] (math_errhandling): Specify type.
77455         [ISO99 || ISO11] (signgam): Do not allow.
77456         [non-C99-based standards] (copysignf): Do not allow.
77457         [non-C99-based standards] (exp2f): Likewise.
77458         [non-C99-based standards] (log2f): Likewise.
77459         [non-C99-based standards] (modff): Allow.
77460         [non-C99-based standards] (erff): Do not allow.
77461         [non-C99-based standards] (erfcf): Likewise.
77462         [non-C99-based standards] (gammaf): Likewise.
77463         [non-C99-based standards] (hypotf): Likewise.
77464         [non-C99-based standards] (j0f): Likewise.
77465         [non-C99-based standards] (j1f): Likewise.
77466         [non-C99-based standards] (jnf): Likewise.
77467         [non-C99-based standards] (lgammaf): Likewise.
77468         [non-C99-based standards] (tgammaf): Likewise.
77469         [non-C99-based standards] (y0f): Likewise.
77470         [non-C99-based standards] (y1f): Likewise.
77471         [non-C99-based standards] (ynf): Likewise.
77472         [non-C99-based standards] (isnanf): Likewise.
77473         [non-C99-based standards] (acoshf): Likewise.
77474         [non-C99-based standards] (asinhf): Likewise.
77475         [non-C99-based standards] (atanhf): Likewise.
77476         [non-C99-based standards] (cbrtf): Likewise.
77477         [non-C99-based standards] (expm1f): Likewise.
77478         [non-C99-based standards] (ilogbf): Likewise.
77479         [non-C99-based standards] (log1pf): Likewise.
77480         [non-C99-based standards] (logbf): Likewise.
77481         [non-C99-based standards] (nextafterf): Likewise.
77482         [non-C99-based standards] (remainderf): Likewise.
77483         [non-C99-based standards] (rintf): Likewise.
77484         [non-C99-based standards] (scalbf): Likewise.
77485         [non-C99-based standards] (copysignl): Likewise.
77486         [non-C99-based standards] (exp2l): Likewise.
77487         [non-C99-based standards] (log2l): Likewise.
77488         [non-C99-based standards] (modfl): Allow.
77489         [non-C99-based standards] (erfl): Do not allow.
77490         [non-C99-based standards] (erfcl): Likewise.
77491         [non-C99-based standards] (gammal): Likewise.
77492         [non-C99-based standards] (hypotl): Likewise.
77493         [non-C99-based standards] (j0l): Likewise.
77494         [non-C99-based standards] (j1l): Likewise.
77495         [non-C99-based standards] (jnl): Likewise.
77496         [non-C99-based standards] (lgammal): Likewise.
77497         [non-C99-based standards] (tgammal): Likewise.
77498         [non-C99-based standards] (y0l): Likewise.
77499         [non-C99-based standards] (y1l): Likewise.
77500         [non-C99-based standards] (ynl): Likewise.
77501         [non-C99-based standards] (isnanl): Likewise.
77502         [non-C99-based standards] (acoshl): Likewise.
77503         [non-C99-based standards] (asinhl): Likewise.
77504         [non-C99-based standards] (atanhl): Likewise.
77505         [non-C99-based standards] (cbrtl): Likewise.
77506         [non-C99-based standards] (expm1l): Likewise.
77507         [non-C99-based standards] (ilogbl): Likewise.
77508         [non-C99-based standards] (log1pl): Likewise.
77509         [non-C99-based standards] (logbl): Likewise.
77510         [non-C99-based standards] (nextafterl): Likewise.
77511         [non-C99-based standards] (remainderl): Likewise.
77512         [non-C99-based standards] (rintl): Likewise.
77513         [non-C99-based standards] (scalbl): Likewise.
77514         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77515         [non-C99-based standards] (FP_*): Do not allow.
77516         [C99-based standards] (FP_*): Change to
77517         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
77518         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77519         allow.
77520         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
77521         (SIG_ERR): Likewise.
77522         [X/Open-based standards] (SIG_HOLD): Likewise.
77523         (SIG_IGN): Likewise.
77524         (SIGABRT): Use macro-int-constant.  Specify type.  Require
77525         positive value.
77526         (SIGFPE): Likewise.
77527         (SIGILL): Likewise.
77528         (SIGINT): Likewise.
77529         (SIGSEGV): Likewise.
77530         (SIGTER): Likewise.
77531         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
77532         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
77533         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
77534         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
77535         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
77536         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
77537         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
77538         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
77539         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
77540         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
77541         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
77542         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
77543         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
77544         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
77545         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
77546         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
77547         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
77548         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
77549         [X/Open-based standards] (SIGTRAP): Likewise.
77550         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
77551         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
77552         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
77553         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
77554         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77555         allow.
77557 2012-05-08  Ian Wienand  <ianw@vmware.com>
77559         [BZ #14080]
77560         * time/tzset.c (__tzset_parse_tz): Update default rules for
77561         daylight time changes in the Energy Policy Act of 2005.
77563 2012-05-09  Andreas Jaeger  <aj@suse.de>
77565         [BZ #13983]
77566         * elf/ldconfig.c (parse_conf): Change string to make clear that
77567         ldconfig only issued a warning if ld.so.conf does not exist.
77569 2012-05-08  David S. Miller  <davem@davemloft.net>
77571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
77572         movxtod instead of popping the value on the stack.
77574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77576 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
77578         * config.h.in: Add HAVE_ARM_PCS_VFP.
77580 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
77582         [BZ #13979]
77583         * include/features.h: Warn if user requests __FORTIFY_SOURCE
77584         checking but the checks are disabled for any reason.
77586 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
77588         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
77589         and ELF64_R_TYPE with ELFW(R_TYPE).
77591 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
77593         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
77594         (ulimit): Likewise.
77596         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
77597         (settimeofday): Likewise.
77599 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
77601         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
77602         a struct th_u2 inside the union, and move tu_block/tu_code into
77603         a new th_u3 union of tu_block/tu_code inside of that.  Move
77604         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
77605         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
77606         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
77607         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
77608         (th_stuff): Change to th_u1.tu_stuff.
77609         (th_data): Define.
77610         (th_msg): Change to th_u1.th_u2.tu_data.
77612 2012-05-07  David S. Miller  <davem@davemloft.net>
77614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77616         [BZ #14074]
77617         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
77618         (SETUP_PIC_REG): Use it.
77619         (SETUP_PIC_REG_LEAF): Use it.
77621 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
77623         [BZ #13885]
77624         [BZ #13923]
77625         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77626         USE_AS_EXPM1L.
77627         (EXPL_FINITE): Likewise.
77628         (FLDLOG): Likewise.
77629         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77630         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77631         e_expl.S.
77632         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77633         USE_AS_EXPM1L.
77634         (EXPL_FINITE): Likewise.
77635         (FLDLOG): Likewise.
77636         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
77637         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
77638         e_expl.S.
77639         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
77640         test of -max_value argument for long double.
77641         * sysdeps/i386/fpu/libm-test-ulps: Update.
77642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77644 2012-05-06  David S. Miller  <davem@davemloft.net>
77646         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
77647         quad soft-float symbols whose references which are compiler
77648         generated.
77649         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77651 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
77653         [BZ #13884]
77654         [BZ #13914]
77655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77656         USE_AS_EXP10L.
77657         (EXPL_FINITE): Likewise.
77658         (FLDLOG): Likewise.
77659         (c0): Likewise.
77660         (c1): Likewise.
77661         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77662         Adjust comments for base varying.
77663         (__expl_finite): Change alias to EXPL_FINITE.
77664         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
77665         e_expl.S.
77666         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
77667         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
77668         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
77669         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
77670         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
77671         USE_AS_EXP10L.
77672         (EXPL_FINITE): Likewise.
77673         (FLDLOG): Likewise.
77674         (c0): Likewise.
77675         (c1): Likewise.
77676         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
77677         Adjust comments for base varying.
77678         (__expl_finite): Change alias to EXPL_FINITE.
77679         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
77680         tests for bugs.
77681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77683         [BZ #14064]
77684         * math/libm-test.inc (check_float_internal): Correct ulp
77685         calculation for subnormal expected results.
77687 2012-05-06  Andreas Jaeger  <aj@suse.de>
77689         * Makeconfig (+math-flags): New, set to -frounding-math.
77690         (+cflags): Add +math-flags so that all of glibc gets compiled with
77691         it.
77693         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
77695 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
77697         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
77698         Disable one test.
77700         [BZ #13787]
77701         [BZ #13922]
77702         [BZ #14036]
77703         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
77704         (__ieee754_expl): Allow for and saturate large arguments.
77705         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
77706         (u_threshold): Likewise.
77707         (__exp): Call __ieee754_exp before checking for overflow and
77708         underflow.
77709         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
77710         (u_threshold): Likewise.
77711         (__expf): Call __ieee754_expf before checking for overflow and
77712         underflow.
77713         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
77714         (u_threshold): Likewise.
77715         (__expl): Call __ieee754_expl before checking for overflow and
77716         underflow.
77717         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
77718         (__ieee754_expl): Allow for and saturate large arguments.
77719         * math/libm-test.inc (exp_test): Add another test.  Do not allow
77720         missing overflow exception on overflow.
77721         (expm1_test): Do not allow missing overflow exception on overflow.
77723         * sysdeps/i386/fpu/e_expl.c: Move to ...
77724         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
77725         rather than using inline asm.
77726         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
77727         * sysdeps/x86_64/fpu/e_expl.S: Copy from
77728         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
77730         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
77731         (nice): Likewise.
77732         (poll): Likewise.
77733         (signal): Likewise.
77734         (time): Likewise.
77735         (times): Likewise.
77737 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77739         * sysdeps/unix/syscalls.list (adjtime): Add entry from
77740         sysdeps/unix/common/syscalls.list.
77741         (fchmod): Likewise.
77742         (fchown): Likewise.
77743         (ftruncate): Likewise.
77744         (getrusage): Likewise.
77745         (gettimeofday): Likewise.
77746         (setpgid): Likewise.
77747         (setregid): Likewise.
77748         (setreuid): Likewise.
77749         (sigaction): Likewise.
77750         (truncate): Likewise.
77751         (vhangup): Likewise.
77752         * sysdeps/unix/common/syscalls.list: Remove file.
77753         * sysdeps/unix/bsd/Implies: Don't include unix/common.
77754         * sysdeps/unix/sysv/linux/Implies: Likewise.
77756 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
77758         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
77759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
77760         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
77761         Moved to ...
77762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
77763         Here.
77764         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
77765         to ...
77766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
77767         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
77768         to ...
77769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
77770         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
77771         to ...
77772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
77773         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
77774         to ...
77775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
77776         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
77777         to ...
77778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
77779         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
77780         to ...
77781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
77782         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
77783         to ...
77784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
77785         Here.
77786         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
77787         to ...
77788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
77789         Here.
77790         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
77791         to ...
77792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
77793         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
77794         Moved to ...
77795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
77796         Here.
77797         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
77798         to ...
77799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
77801 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77803         * sysdeps/unix/common/bits/dirent.h: Remove file.
77804         * sysdeps/unix/common/bits/fcntl.h: Likewise.
77806         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
77807         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
77808         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
77809         * sysdeps/unix/bsd/isatty.c: Likewise.
77810         * sysdeps/unix/bsd/tcdrain.c: Likewise.
77811         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
77812         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
77814 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77816         [BZ #13563]
77817         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
77818         long double comparison inaccuracies.
77819         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
77820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77822 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
77824         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
77825         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
77827 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
77829         [BZ #14049]
77830         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
77831         nonzero digits before rounding a hex value.
77832         * stdlib/tst-strtod.c (tests): Add another test.
77834 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77836         * sysdeps/s390/fpu/libm-test-ulps: Update.
77838 2012-05-03  Andreas Jaeger  <aj@suse.de>
77840         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
77841         does not get optimized out.
77842         (malloc_opt_barrier): New.
77844 2012-05-03  Andreas Jaeger  <aj@suse.de>
77845             Roland McGrath  <roland@hack.frob.com>
77847         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
77848         intermediate file deletion.
77849         (generated): Add .symlist files.
77851 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
77853         [BZ #13775]
77854         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
77855         Redirect under this condition.
77856         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77857         [__USE_GNU] (__dprintf_chk): Not under this condition.
77858         [__USE_GNU] (__vdprintf_chk): Likewise.
77859         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
77860         under this condition.
77861         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
77862         [__USE_XOPEN2K8] (dprintf): Define under this condition.
77863         [__USE_XOPEN2K8] (vdprintf): Likewise.
77864         [__USE_GNU] (__dprintf_chk): Not under this condition.
77865         [__USE_GNU] (__vdprintf_chk): Likewise.
77866         [__USE_GNU] (dprintf): Likewise.
77867         [__USE_GNU] (vdprintf): Likewise.
77869 2012-05-03  Roland McGrath  <roland@hack.frob.com>
77871         * elf/Makefile (common-generated): Set this instead of generated for
77872         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
77873         $(all-built-dso)-derived lists.
77875 2012-05-03  Andreas Jaeger  <aj@suse.de>
77877         * sysdeps/i386/fpu/libm-test-ulps: Update.
77879         * FAQ: Removed.
77880         * FAQ.in: Likewise.
77881         * scripts/gen-FAQ.pl: Likewise.
77882         * manual/install.texi (Installation): Point to online location of
77883         FAQ.
77884         * Makefile (files-for-dist): Remove FAQ.
77885         (FAQ): Remove.
77887 2012-05-02  Allan McRae  <allan@archlinux.org>
77889         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
77890         (LDFLAGS-reldepmod5.so): Likewise.
77891         (LDFLAGS-reldep6mod1.so): Likewise.
77892         (LDFLAGS-reldep6mod4.so): Likewise.
77893         (LDFLAGS-reldep8mod3.so): Likewise.
77894         (LDFLAGS-unload4mod1.so): Likewise.
77895         (LDFLAGS-unload4mod2.so): Likewise.
77896         (LDFLAGS-tst-initorder): Likewise.
77897         (LDFLAGS-tst-initordera2.so): Likewise.
77898         (LDFLAGS-tst-initordera3.so): Likewise.
77899         (LDFLAGS-tst-initordera4.so): Likewise.
77900         (LDFLAGS-tst-initorderb2.so): Likewise.
77901         (LDFLAGS-noload): Likewise.
77902         (LDFLAGS-next): Likewise.
77903         (LDFLAGS-order2mod1.so): Likewise.
77904         (LDFLAGS-order2mod2.so): Likewise.
77905         (LDFLAGS-tst-initorder2): Likewise.
77906         (LDFLAGS-tst-initorder2a.so): Likewise.
77907         (LDFLAGS-tst-initorder2b.so): Likewise.
77908         (LDFLAGS-tst-initorder2c.so): Likewise.
77909         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
77911 2012-05-02  David S. Miller  <davem@davemloft.net>
77913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77915 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
77917         [BZ #14055]
77918         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
77920 2012-05-02  Andreas Jaeger  <aj@suse.de>
77922         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
77923         since we manipulate rounding mode.
77924         (CPPFLAGS-test-idouble.c): Likewise.
77925         (CPPFLAGS-test-ifloat.c): Likewise.
77926         (CFLAGS-test-ldouble.c): Likewise.
77927         (CFLAGS-test-double.c): Likewise.
77928         (CFLAGS-test-float.c): Likewise.
77929         (CFLAGS-test-misc.c): Likewise.
77930         (CFLAGS-test-test-fenv.c): Likewise.
77932 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77934         [BZ #2550]
77935         [BZ #2570]
77936         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
77937         comparisons to determine direction to adjust input.
77939 2012-05-01  Roland McGrath  <roland@hack.frob.com>
77941         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
77942         output to the target.
77944         * scripts/localplt.awk: New file.
77945         * elf/Makefile ($(objpfx)check-localplt): Target removed.
77946         (check-localplt-CFLAGS): Variable removed.
77947         ($(all-built-dso:=.jmprel)): New static pattern rule.
77948         (generated): Add those targets.
77949         (localplt-built-dso): New variable.
77950         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
77952         * elf/check-localplt.c: File removed.
77954         * scripts/check-execstack.awk: New file.
77955         * elf/Makefile ($(objpfx)check-execstack): Target removed.
77956         (check-execstack-CFLAGS): Variable removed.
77957         ($(objpfx)check-execstack.h): Target removed.
77958         ($(objpfx)execstack-default): New target.
77959         (generated): Add that instead of check-execstack.h.
77960         ($(all-built-dso:=.phdr)): New static pattern rule.
77961         (generated): Add those targets.
77962         * elf/check-execstack.c: File removed.
77964         * scripts/check-textrel.awk: New file.
77965         * elf/Makefile ($(objpfx)check-textrel): Target removed.
77966         (check-textrel-CFLAGS): Variable removed.
77967         (all-built-dso): Use := to define.o
77968         ($(all-built-dso:=.dyn)): New static pattern rule.
77969         (generated): Add those targets.
77970         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
77971         * config.make.in (READELF): New substituted variable.
77972         * elf/check-textrel.c: File removed.
77974 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
77976         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
77977         allow.
77978         * conform/data/ctype.h-data [C99-based standards] (isblank):
77979         Expect function.
77980         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
77981         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
77982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77983         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
77984         Specify type.  Require positive value.
77985         (EILSEQ): Likewise.
77986         (ERANGE): Likewise.
77987         [ISO || POSIX] (EILSEQ): Do not expect.
77988         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
77989         Specify type.  Require positive value.
77990         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
77991         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
77992         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
77993         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
77994         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
77995         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
77996         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
77997         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
77998         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
77999         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
78000         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
78001         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
78002         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
78003         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
78004         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
78005         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
78006         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
78007         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
78008         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
78009         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
78010         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
78011         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
78012         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
78013         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
78014         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
78015         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
78016         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
78017         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
78018         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
78019         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
78020         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
78021         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
78022         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
78023         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
78024         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
78025         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
78026         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
78027         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
78028         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
78029         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
78030         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
78031         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
78032         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
78033         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
78034         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
78035         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
78036         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
78037         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
78038         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
78039         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
78040         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
78041         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
78042         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
78043         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
78044         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
78045         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
78046         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
78047         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
78048         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
78049         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
78050         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
78051         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
78052         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
78053         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
78054         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
78055         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
78056         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
78057         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
78058         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
78059         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
78060         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
78061         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
78062         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
78063         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
78064         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
78065         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
78066         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
78067         Require >= 2.
78068         (FLT_ROUNDS): Expect as macro, not constant.
78069         (FLT_MANT_DIG): Use macro-int-constant.
78070         (DBL_MANT_DIG): Likewise.
78071         (LDBL_MANT_DIG): Likewise.
78072         (FLT_DIG): Likewise.
78073         (DBL_DIG): Likewise.
78074         (LDBL_DIG): Likewise.
78075         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
78076         (DBL_MIN_EXP): Likewise.
78077         (LDBL_MIN_EXP): Likewise.
78078         (FLT_MAX_EXP): Use macro-int-constant.
78079         (DBL_MAX_EXP): Likewise.
78080         (LDBL_MAX_EXP): Likewise.
78081         (FLT_MAX_10_EXP): Likewise.
78082         (DBL_MAX_10_EXP): Likewise.
78083         (LDBL_MAX_10_EXP): Likewise.
78084         (FLT_MAX): Use macro-constant.
78085         (DBL_MAX): Likewise.
78086         (LDBL_MAX): Likewise.
78087         (FLT_EPSILON): Use macro-constant.  Give upper bound.
78088         (DBL_EPSILON): Likewise.
78089         (LDBL_EPSILON): Likewise.
78090         (FLT_MIN): Likewise.
78091         (DBL_MIN): Likewise.
78092         (LDBL_MIN): Likewise.
78093         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
78094         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
78095         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
78096         [ISO11] (FLT_HAS_SUBNORM): Likewise.
78097         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
78098         [ISO11] (DBL_DECIMAL_DIG): Likewise.
78099         [ISO11] (FLT_DECIMAL_DIG): Likewise.
78100         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
78101         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
78102         [ISO11] (FLT_TRUE_MIN): Likewise.
78103         [ISO11] (LDBL_TRUE_MIN): Likewise.
78104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78105         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
78106         (SCHAR_MIN): Use macro-int-constant.  Specify type.
78107         (SCHAR_MAX): Likewise.
78108         (UCHAR_MAX): Likewise.
78109         (CHAR_MIN): Likewise.
78110         (CHAR_MAX): Likewise.
78111         (MB_LEN_MAX): Use macro-int-constant.
78112         (SHRT_MIN): Use macro-int-constant.  Specify type.
78113         (SHRT_MAX): Likewise.
78114         (USHRT_MAX): Likewise.
78115         (INT_MAX): Likewise.
78116         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
78117         bound negative.
78118         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78119         bound with "U".
78120         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78121         bound with "L".
78122         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
78123         bound negative.  Suffix upper bound with "L".
78124         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
78125         bound with "UL".
78126         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
78127         Specify type.
78128         [C99-based standards] (LLONG_MAX): Likewise.
78129         [C99-based standards] (ULLONG_MAX): Likewise.
78130         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
78131         == 0.
78132         [ISO11] (max_align_t): Require type.
78133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78135         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
78136         from $CFLAGS, without defining away __attribute__ calls.
78137         (checknamespace): Use $CFLAGS_namespace.
78139         * conform/conformtest.pl (@keywords): Only include C99 keywords
78140         for standards based on C99 or C11.
78142         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
78143         Disable tests.
78144         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
78145         UNIX98]: Likewise.
78147         * conform/conformtest.pl: Handle "macro-int-constant" and test for
78148         usability of symbols in #if.
78150         * conform/conformtest.pl: If macro or constant types start
78151         "promoted:", expect the symbol to be of the following type
78152         promoted by the integer promotions.
78154         * conform/conformtest.pl: Parse all "constant" and "macro" lines
78155         in one place.  Also handle "macro-constant".
78157         * conform/conformtest.pl: Only accept expected macro values with
78158         "==".  Parse all "macro" lines in one place.
78159         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
78161         * conform/conformtest.pl: Handle braced types on "constant" lines
78162         instead of handling "typed-constant".
78163         * conform/data/signal.h-data: Use "constant" instead of
78164         "typed-constant".
78166         * conform/conformtest.pl: Handle "optional-" at start of lines in
78167         one place rather than duplicating several cases.  Handle each
78168         format of "macro" line with initial "optional-".
78170         * conform/conformtest.pl: Only accept expected constant or
78171         optional-constant values with "==".  Parse all "constant" lines in
78172         one place.  Parse all "optional-constant" lines in one place.
78173         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
78174         * conform/data/fmtmsg.h-data: Likewise.
78175         * conform/data/netinet/in.h-data: Likewise.
78176         * conform/data/tar.h-data: Likewise.
78177         * conform/data/limits.h-data: Use "==" form on "constant" and
78178         "optional-constant" lines.
78180         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
78181         Use -std=c99 for XOPEN2K.
78182         (@knownproblems): Remove.
78183         (newtoken): Don't check %isknown.
78185         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
78186         Do not expect macro.
78187         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
78188         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
78189         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
78190         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
78191         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
78192         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
78193         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
78194         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
78195         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
78196         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
78197         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
78198         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
78199         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
78200         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
78201         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
78202         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
78203         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
78204         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
78205         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
78206         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
78207         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
78208         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
78209         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
78210         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
78211         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
78212         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
78213         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
78214         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
78215         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
78216         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
78217         [XPG3] (acosh): Likewise.
78218         [XPG3] (asinh): Likewise.
78219         [XPG3] (atanh): Likewise.
78220         [XPG3] (cbrt): Likewise.
78221         [XPG3] (expm1): Likewise.
78222         [XPG3] (ilogb): Likewise.
78223         [XPG3] (log1p): Likewise.
78224         [XPG3] (logb): Likewise.
78225         [XPG3] (nextafter): Likewise.
78226         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
78227         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
78228         [XPG3] (remainder): Likewise.
78229         [XPG3] (rint): Likewise.
78230         [XPG3 || XPG4 || UNIX98] (round): Likewise.
78231         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
78232         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
78233         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
78234         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
78235         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
78236         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
78237         [UNIX98 || XOPEN2K] (scalb): Expect.
78238         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
78239         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
78240         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
78241         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
78242         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
78243         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
78244         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
78245         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
78246         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
78247         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
78248         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
78249         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
78250         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
78251         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
78252         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
78253         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
78254         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
78255         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
78256         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
78257         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
78258         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
78259         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
78260         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
78261         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
78262         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
78263         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
78264         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
78265         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
78266         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
78267         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
78268         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
78269         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
78270         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
78271         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
78272         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
78273         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
78274         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
78275         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
78276         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
78277         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
78278         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
78279         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
78280         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
78281         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
78282         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
78283         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
78284         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
78285         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
78286         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
78287         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
78288         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
78289         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
78290         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
78291         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
78292         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
78293         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
78294         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
78295         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
78296         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
78297         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
78298         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
78299         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
78300         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
78301         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
78302         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
78303         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
78304         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
78305         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
78306         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
78307         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
78308         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
78309         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
78310         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
78311         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
78312         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
78313         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
78314         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
78315         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
78316         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
78317         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
78318         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
78319         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
78320         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
78321         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
78322         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
78323         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
78324         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
78325         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
78326         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
78327         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
78328         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
78329         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
78330         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
78331         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
78332         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
78333         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
78334         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
78335         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
78336         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
78337         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
78338         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
78339         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
78340         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
78341         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
78342         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
78343         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
78344         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
78345         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
78346         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
78347         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
78348         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
78349         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
78350         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
78351         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
78352         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
78353         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
78354         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
78355         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
78356         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
78357         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
78358         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
78359         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
78360         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
78361         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
78362         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
78363         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
78364         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
78365         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
78366         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
78367         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
78368         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
78369         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
78370         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
78371         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
78372         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
78373         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
78374         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
78376         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
78377         _XOPEN_SOURCE_EXTENDED for XPG4.
78379         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
78381         * Makeconfig (localtime): Remove variable.
78382         (inst_localtime-file): Likewise.
78384 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
78387         Update.
78388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78389         Update.
78390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
78391         Update.
78392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
78393         Update.
78394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
78395         Update.
78396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
78397         Update.
78398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78399         Update.
78400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
78401         Update.
78402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78403         Update.
78405 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
78407         [BZ #2550]
78408         [BZ #2570]
78409         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
78410         comparisons to determine direction to adjust input.
78411         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
78412         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
78413         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
78414         Likewise.
78415         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
78416         Likewise.
78417         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
78418         Likewise.
78419         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
78420         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
78421         Likewise.
78422         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
78423         Likewise.
78424         * math/libm-test.inc (nexttoward_test): Add more tests.
78426 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
78428         [BZ #14040]
78429         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
78430         in version GLIBC_2.1, not GLIBC_2.0.
78431         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
78432         Likewise.
78434 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
78436         [BZ #13942]
78437         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
78438         (1 - x) * (1 + x).
78439         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78440         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
78441         * math/libm-test.inc (acos_test): Add more tests.
78442         (asin_test): Likewise.
78443         * sysdeps/i386/fpu/libm-test-ulps: Update.
78444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78446         [BZ #14034]
78447         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
78448         of square root.
78449         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
78450         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
78451         * math/libm-test.inc (acos_test_tonearest): New function.
78452         (acos_test_towardzero): Likewise.
78453         (acos_test_downward): Likewise.
78454         (acos_test_upward): Likewise.
78455         (asin_test_tonearest): Likewise.
78456         (asin_test_towardzero): Likewise.
78457         (asin_test_downward): Likewise.
78458         (asin_test_upward): Likewise.
78459         (main): Call the new functions.
78460         * sysdeps/i386/fpu/libm-test-ulps: Update.
78461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78463         [BZ #13884]
78464         [BZ #13924]
78465         * math/e_exp10.c: Include <float.h>.
78466         (__ieee754_exp10): Handle underflow here rather than multiplying
78467         large negative argument by M_LN10.
78468         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
78469         of __ieee754_expf.
78470         * math/e_exp10l.c: Include <float.h>.
78471         (__ieee754_exp10l): Handle underflow here rather than multiplying
78472         large negative argument by M_LN10l.
78473         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
78474         spurious overflow exception on underflow.
78476 2012-04-29  Marek Polacek  <polacek@redhat.com>
78478         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
78479         (__fortify_function): New macro.
78480         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
78481         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
78482         __extern_always_inline.
78483         * libio/bits/stdio2.h: Likewise.
78484         * libio/bits/stdio.h: Likewise.
78485         * string/string.h: Likewise.
78486         * string/bits/string3.h: Likewise.
78487         * include/stdio.h: Likewise.
78488         * stdlib/bits/stdlib.h: Likewise.
78489         * stdlib/stdlib.h: Likewise.
78490         * rt/bits/mqueue2.h: Likewise.
78491         * rt/mqueue.h: Likewise.
78492         * posix/bits/unistd.h: Likewise.
78493         * posix/unistd.h: Likewise.
78494         * io/bits/poll2.h: Likewise.
78495         * io/bits/fcntl2.h: Likewise.
78496         * io/fcntl.h: Likewise.
78497         * io/sys/poll.h: Likewise.
78498         * misc/bits/syslog.h: Likewise.
78499         * misc/bits/syslog-ldbl.h: Likewise.
78500         * misc/sys/syslog.h: Likewise.
78501         * socket/bits/socket2.h: Likewise.
78502         * socket/sys/socket.h: Likewise.
78503         * debug/tst-chk1.c: Likewise.
78504         * wcsmbs/bits/wchar2.h: Likewise.
78505         * wcsmbs/bits/wchar-ldbl.h: Likewise.
78506         * wcsmbs/wchar.h: Likewise.
78508 2012-04-29  Andreas Jaeger  <aj@suse.de>
78510         * Makerules (tests): Remove enable-check-abi protection.
78511         (check-abi-warn): Remove.
78512         (check-abi-%): Remove check-abi-warn usage.
78514         * configure.in: Remove check-abi configure option.
78515         * configure: Regenerated.
78516         * config.make.in (enable-check-abi): Remove.
78518 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
78520         [BZ #14033]
78521         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
78522         double functions to double *_finite functions.
78524         [BZ #13941]
78525         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
78526         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
78527         LDBL_MIN_EXP.
78528         * stdio-common/Makefile (tests): Add tst-sprintf3.
78529         * stdio-common/tst-sprintf3.c: New file.
78531         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
78532         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
78534 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78536         * conform/conformtest.pl: Remove duplicate typed-constant
78537         handling.
78539 2012-04-28  David S. Miller  <davem@davemloft.net>
78541         * Makerules (%.abilist): Add vpath on sysdep_dirs.
78542         (check-abi-%): Remove AWK script prerequisite and explicit
78543         abilist directory.
78544         (check-abi): Rewrite to just diff the symlist with the abilist.
78545         (config-tls, config-abi-config): Delete, no longer used.
78546         (update-abi-%): Remove AWK script and explicit abilist directory.
78547         (update-abi): Rewrite to simply compare and conditionally copy the
78548         symlist and the sysdep abilist file.  Remove update-abi-config
78549         checks.
78550         * abilist/ld.abilist: Remove.
78551         * abilist/libBrokenLocale.abilist: Remove.
78552         * abilist/libanl.abilist: Remove.
78553         * abilist/libcrypt.abilist: Remove.
78554         * abilist/libdl.abilist: Remove.
78555         * abilist/librt.abilist: Remove.
78556         * abilist/libthread_db.abilist: Remove.
78557         * abilist/libutil.abilist: Remove.
78558         * scripts/extract-abilist.awk: Remove.
78559         * scripts/merge-abilist.awk: Remove.
78560         * sysdeps/generic/libcidn.abilist: New file.
78561         * sysdeps/generic/libnss_compat.abilist: New file.
78562         * sysdeps/generic/libnss_db.abilist: New file.
78563         * sysdeps/generic/libnss_dns.abilist: New file.
78564         * sysdeps/generic/libnss_files.abilist: New file.
78565         * sysdeps/generic/libnss_hesiod.abilist: New file.
78566         * sysdeps/generic/libnss_nis.abilist: New file.
78567         * sysdeps/generic/libnss_nisplus.abilist: New file.
78568         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
78569         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
78570         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
78571         file.
78572         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
78573         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
78574         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
78575         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
78576         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
78577         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
78578         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
78579         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
78580         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
78581         file.
78582         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
78583         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
78584         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
78585         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
78586         file.
78587         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
78588         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
78589         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
78590         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
78591         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
78592         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
78593         file.
78594         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
78595         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
78596         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
78597         file.
78598         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
78599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
78600         New file.
78601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
78602         New file.
78603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
78604         New file.
78605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
78606         New file.
78607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
78608         New file.
78609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
78610         New file.
78611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
78612         New file.
78613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
78614         New file.
78615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
78616         New file.
78617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
78618         New file.
78619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
78620         New file.
78621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
78622         New file.
78623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
78624         New file.
78625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
78626         file.
78627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
78628         New file.
78629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
78630         New file.
78631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
78632         file.
78633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
78634         New file.
78635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
78636         New file.
78637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
78638         file.
78639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
78640         New file.
78641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
78642         New file.
78643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
78644         New file.
78645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
78646         New file.
78647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
78648         New file.
78649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
78650         New file.
78651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
78652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
78653         file.
78654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
78655         New file.
78656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
78657         file.
78658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
78659         file.
78660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
78661         file.
78662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
78663         file.
78664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
78665         file.
78666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
78667         New file.
78668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
78669         file.
78670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
78671         file.
78672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
78673         New file.
78674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
78675         file.
78676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
78677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
78678         file.
78679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
78680         New file.
78681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
78682         file.
78683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
78684         file.
78685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
78686         file.
78687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
78688         file.
78689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
78690         file.
78691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
78692         New file.
78693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
78694         file.
78695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
78696         file.
78697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
78698         New file.
78699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
78700         file.
78701         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
78702         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
78703         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
78704         file.
78705         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
78706         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
78707         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
78708         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
78709         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
78710         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
78711         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
78712         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
78713         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
78714         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
78715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
78716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
78717         file.
78718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
78719         New file.
78720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
78721         file.
78722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
78723         file.
78724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
78725         file.
78726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
78727         file.
78728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
78729         file.
78730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
78731         New file.
78732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
78733         New file.
78734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
78735         file.
78736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
78737         New file.
78738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
78739         file.
78740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
78741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
78742         file.
78743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
78744         New file.
78745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
78746         file.
78747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
78748         file.
78749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
78750         file.
78751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
78752         file.
78753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
78754         file.
78755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
78756         New file.
78757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
78758         New file.
78759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
78760         file.
78761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
78762         New file.
78763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
78764         file.
78766 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
78768         * conform/conformtest.pl: Fix typo in handling typed-constant from
78769         allow-header.
78771 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78773         * README: Cut down references to pre-2.6 Linux kernels and
78774         Linuxthreads.  Update lists of configurations in libc and ports
78775         and sort alphabetically.  Say "or newer" with Linux kernel version
78776         requirements.
78778         * config.h.in [IS_IN_build]: Allow compiling without optimization.
78780 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
78782         [BZ #887]
78783         * math/libm-test.inc (logb_test_downward): New test to expose
78784         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
78785         rounding mode.
78787 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
78789         [BZ #14027]
78790         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
78791         to be done.
78792         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
78793         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
78795 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
78797         * sysdeps/unix/i386/brk.S: Remove file.
78798         * sysdeps/unix/i386/dl-brk.S: Likewise.
78799         * sysdeps/unix/i386/pipe.S: Likewise.
78800         * sysdeps/unix/i386/sigreturn.S: Likewise.
78801         * sysdeps/unix/i386/syscall.S: Likewise.
78802         * sysdeps/unix/i386/vfork.S: Likewise.
78803         * sysdeps/unix/i386/wait.S: Likewise.
78805         * sysdeps/unix/common/tcsendbrk.c: Move to ...
78806         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
78808         * configure.in (arm*-none*): Do not allow without
78809         --enable-hacker-mode.
78810         (netbsd*): Remove case setting base_os.
78811         (386bsd*): Likewise.
78812         (freebsd*): Likewise.
78813         (bsdi*): Likewise.
78814         (osf*): Likewise.
78815         (sunos*): Likewise.
78816         (ultrix*): Likewise.
78817         (newsos*): Likewise.
78818         (dynix*): Likewise.
78819         (*bsd*): Likewise.
78820         (sysv*): Likewise.
78821         (isc*): Likewise.
78822         (esix*): Likewise.
78823         (sco*): Likewise.
78824         (minix*): Likewise.
78825         (irix4*): Likewise.
78826         (irix6*): Likewise.
78827         (solaris[2-9]*): Likewise.
78828         (none): Likewise.
78829         * configure: Regenerated.
78831 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78833         [BZ #11521]
78834         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
78835         overflow or cancellation in calculating denominator.
78836         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
78837         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
78838         down expression to avoid unexpected rounding in newer GCCs.
78839         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
78841 2012-04-26  David S. Miller  <davem@davemloft.net>
78843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
78844         long-double compat symbols.
78845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
78846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
78847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
78848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
78849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
78850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
78851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
78852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
78853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
78854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
78855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
78856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
78857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
78859 2012-04-25  David S. Miller  <davem@davemloft.net>
78861         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
78862         HWCAP_* values only after the memory barriers have been defined.
78863         (atomic_full_barrier): Define.
78864         (atomic_read_barrier): Define.
78865         (atomic_write_barrier): Define.
78867 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
78869         * shlib-versions: Add libgcc_s version information.
78870         * sysdeps/generic/libgcc_s.h: Remove.
78871         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
78872         libgcc_s.h.
78873         * sysdeps/gnu/unwind-resume.c: Likewise.
78874         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
78876 2012-04-25  David S. Miller  <davem@davemloft.net>
78878         * sysdeps/unix/sparc/brk.S: Delete.
78879         * sysdeps/unix/sparc/dl-brk.S: Delete.
78880         * sysdeps/unix/sparc/pipe.S: Delete.
78881         * sysdeps/unix/sparc/sysdep.S: Delete.
78882         * sysdeps/unix/sparc/sysdep.h: Delete.
78883         * sysdeps/unix/sparc/vfork.S: Delete.
78884         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
78885         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
78886         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
78887         (ret_ERRVAL, r0, r1, MOVE): Define.
78888         (JUMPTARGET): Remove.
78889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
78890         sysdeps/unix/sparc/sysdep.h
78891         (ENTRY, END): Remove.
78892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78894 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
78896         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
78897         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
78898         -DIS_IN_build.
78900         * timezone/README: Update upstream location and email address for
78901         tzcode and tzdata.
78902         * timezone/zdump.c: Update from tzcode 2012b.
78903         * timezone/zic.c: Likewise.
78905         * configure.in (libc_cv_as_needed): Remove test.
78906         * configure: Regenerated.
78907         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
78908         conditional definition.
78909         [$(have-as-needed) != yes] (no-as-needed): Likewise.
78910         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
78911         * config.make.in (have-as-needed): Remove variable.
78913 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
78914             Paul Pluzhnikov  <ppluzhnikov@google.com>
78916         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
78917         strings correctly.
78919 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
78921         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
78922         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
78923         * sysdeps/sh/strlen.S: Likewise.
78925 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78927         * sysdeps/unix/fork.S: Remove file.
78928         * sysdeps/unix/i386/fork.S: Likewise.
78929         * sysdeps/unix/sparc/fork.S: Likewise.
78931         * sysdeps/unix/system.c: Remove file.
78932         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
78934         * sysdeps/unix/getegid.S: Remove file.
78935         * sysdeps/unix/geteuid.S: Likewise.
78937 2012-04-24  Roland McGrath  <roland@hack.frob.com>
78939         * scripts/check-localplt.awk: New file.
78940         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
78941         of diff.
78942         * scripts/data/localplt-generic.data: Add a comment.
78944         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
78945         NODE when __dir_mkfile failed.
78946         * sysdeps/mach/hurd/symlinkat.c: Likewise.
78947         Reported by Ludovic Courtès <ludo@gnu.org>.
78949 2012-04-24  Andreas Jaeger  <aj@suse.de>
78951         * Makerules (common-clean): Also remove gen-as-const-headers
78952         files.
78954 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78956         * Makerules (native-compile): Do not change working directory for
78957         build.  Use $(OUTPUT_OPTION) in command.
78958         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
78960 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78962         [BZ #13886]
78963         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
78964         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
78965         * math/libm-test.inc (floor_test): Add more tests.
78966         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
78968 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
78970         * sysdeps/unix/getdents.c: Remove file.
78971         * sysdeps/unix/sysv/getdents.c: Likewise.
78972         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
78974         * sysdeps/unix/syscalls.list (madvise): Add syscall from
78975         sysdeps/unix/mman/syscalls.list.
78976         (mmap): Likewise.
78977         (mprotect): Likewise.
78978         (msync): Likewise.
78979         (munmap): Likewise.
78980         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
78981         * sysdeps/unix/mman/syscalls.list: Remove.
78982         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
78984         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
78985         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
78986         * configure: Regenerated.
78987         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
78988         $(libgcc_s_suffix).
78989         * config.make.in (libgcc_s_suffix): Remove variable.
78991 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
78993         * sysdeps/unix/sysv/gethostname.c: Move to ...
78994         * sysdeps/posix/gethostname.c: ... here.
78996         * sysdeps/unix/execve.S: Remove file.
78998         * sysdeps/unix/_exit.S: Remove file.
79000 2012-04-23  Andreas Jaeger  <aj@suse.de>
79002         [BZ #13739]
79003         * manual/Makefile: Remove make dist support, there's no
79004         need for a stand-alone documentation tar ball.
79005         (TEXI2DVI): Define always, it's not in Makeconfig.
79006         (dist): Removed.
79007         (tar-it): Removed.
79008         (edition): Removed.
79009         (glibc-doc-$(edition).tar): Removed
79010         (%.Z): Removed.
79011         (%.gz): Removed.
79012         (%.uu): Removed.
79013         (ETAGS): Remove, it's in Makeconfig.
79014         (move-if-change): Remove, it's in Makeconfig.
79016 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
79018         [BZ #13970]
79019         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
79020         (strtod, strtof, strtold, strtol, strtoul, strtoq)
79021         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
79022         (strtod_l, strtof_l, strtold_l): Remove __wur.
79023         It is not necessarily an error to ignore strtol's return value.
79024         One can reliably look at the stored endptr to decide whether
79025         the number had valid syntax.
79027 2012-04-21  Andreas Jaeger  <aj@suse.de>
79029         [BZ #13739]
79030         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
79032 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
79034         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
79035         * sysdeps/unix/sysv/Versions: Remove file.
79037 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
79039         [BZ #13927]
79040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79042 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
79044         [BZ #7064]
79045         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
79046         version from __vm86.
79048 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
79050         * sysdeps/unix/common/lxstat.c: Remove file.
79051         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
79053         * sysdeps/unix/sysv/Makefile: Remove file.
79055         * sysdeps/unix/sysv/direct.h: Remove file.
79057         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
79058         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
79059         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
79060         * sysdeps/unix/sysv/bits/signum.h: Likewise.
79061         * sysdeps/unix/sysv/bits/stat.h: Likewise.
79062         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
79063         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
79065         * sysdeps/unix/sysv/setrlimit.c: Remove file.
79067         * sysdeps/unix/xmknod.c: Remove file.
79068         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
79070         * sysdeps/unix/sysv/settimeofday.c: Remove file.
79072         * sysdeps/unix/sysv/i386/time.S: Remove file.
79074         * sysdeps/unix/fxstat.c: Remove file.
79075         * sysdeps/unix/xstat.c: Likewise.
79076         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
79078         * sysdeps/unix/sysv/sigaction.c: Remove file.
79080         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
79081         (sysdep_headers): Remove variable.
79082         [termio.h not in sysdep_headers] (generated): Likewise.
79083         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
79084         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
79085         * sysdeps/unix/sysv/tcdrain.c: Likewise.
79086         * sysdeps/unix/sysv/tcflow.c: Likewise.
79087         * sysdeps/unix/sysv/tcflush.c: Likewise.
79088         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
79089         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
79090         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
79091         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
79092         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
79094         * sysdeps/unix/siglist.c: Remove file.
79096         * sysdeps/unix/getppid.S: Remove file.
79098         * sysdeps/unix/mkdir.c: Remove file.
79099         * sysdeps/unix/rmdir.c: Likewise.
79101 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
79103         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
79104         ERR_MAX value.
79105         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
79106         errlist-compat value.
79108 2012-04-18  David S. Miller  <davem@davemloft.net>
79110         * sysdeps/generic/memcopy.h (reg_char): Delete.
79111         * debug/strcat_chk.c: Use char, not reg_char.
79112         * debug/strcpy_chk.c: Likewise.
79113         * debug/strncat_chk.c: Likewise.
79114         * debug/strncpy_chk.c: Likewise.
79115         * string/memchr.c: Likewise.
79116         * string/memrchr.c: Likewise.
79117         * string/rawmemchr.c: Likewise.
79118         * string/strcat.c: Likewise.
79119         * string/strchr.c: Likewise.
79120         * string/strchrnul.c: Likewise.
79121         * string/strcmp.c: Likewise.
79122         * string/strcpy.c: Likewise.
79123         * string/strncat.c: Likewise.
79124         * string/strncmp.c: Likewise.
79125         * string/strncpy.c: Likewise.
79127 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79129         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
79130         __builtin_memcopy is called when src and dest ranges are known to not
79131         overlap.
79133 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79135         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
79136         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
79137         fwd_align_merge macro call.
79138         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
79139         bwd_align_merge macro call.
79140         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79142 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
79144         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
79145         bwd_align_merge macros.
79146         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
79147         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
79148         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
79150 2012-04-18  David S. Miller  <davem@davemloft.net>
79152         * sysdeps/sparc/sparc64/memcopy.h: Delete.
79154 2012-04-18  Andreas Jaeger  <aj@suse.de>
79156         [BZ #6794]
79157         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
79158         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
79159         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79161         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
79162         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
79163         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79165         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
79166         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
79167         Adjust for changed ldbl-128 files.
79169         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
79170         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
79171         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
79173 2012-04-17  David S. Miller  <davem@davemloft.net>
79175         * sysdeps/sparc/sparc32/memcopy.h: Delete.
79177 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
79179         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
79180         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
79181         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
79182         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
79183         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
79184         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
79186 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79188         [BZ #6794]
79189         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
79190         * math/libm-test.inc: Add ilogb errno and exception tests.
79191         * math/w_ilogb.c: New file: ilogb wrapper.
79192         * math/w_ilogbf.c: New file: ilogbf wrapper.
79193         * math/w_ilogbl.c: New file: ilogbl wrapper.
79194         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
79195         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
79196         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
79197         exception being thrown with 0.0 as argument.
79198         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
79199         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
79200         exception being thrown with 0.0 as argument.
79201         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
79202         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79203         exception being thrown with 0.0 as argument.
79204         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
79205         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
79206         exception being thrown with 0.0 as argument.
79207         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
79208         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
79209         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
79210         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
79211         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
79212         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
79213         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
79214         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
79215         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
79217 2012-04-17  Petr Baudis  <pasky@ucw.cz>
79219         * include/sys/uio.h: Change __vector to __iovec to avoid clash
79220         with altivec.
79222 2012-04-16  Marek Polacek  <polacek@redhat.com>
79224         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
79226 2012-04-16  Marek Polacek  <polacek@redhat.com>
79228         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
79229         operands of fdivp instruction.
79231 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79233         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
79234         * elf/tst-auditmod3b.c: Likewise.
79235         * elf/tst-auditmod4b.c: Likewise.
79236         * elf/tst-auditmod5b.c: Likewise.
79237         * elf/tst-auditmod6b.c: Likewise.
79238         * elf/tst-auditmod6c.c: Likewise.
79239         * elf/tst-auditmod7b.c: Likewise.
79240         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
79241         * sysdeps/x86_64/preconfigure.in: Likewise.
79242         * sysdeps/x86_64/preconfigure: Regenerated.
79244 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
79246         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
79247         __ILP32__.
79249 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
79251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
79252         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
79254 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
79256         [BZ #13973]
79257         * locale/iso-639.def: Fix gl language name. Spotted by
79258         Yaron Shahrabani.
79260 2012-04-12  Roland McGrath  <roland@hack.frob.com>
79262         [BZ #2074]
79263         * libio/libio.h (__io_write_fn): Update comment.
79265 2012-04-12  Petr Baudis  <pasky@ucw.cz>
79267         [BZ #2074]
79268         * stdio.texi (Hook Functions): The user provided writer function
79269         is not allowed to return -1.
79271 2012-04-11  David S. Miller  <davem@davemloft.net>
79273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79275 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
79277         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
79278         Add a leading slash to rtkaio.
79280 2012-04-11  Jim Meyering  <meyering@redhat.com>
79282         [BZ #11959]
79283         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
79284         It is not necessarily an error to ignore fwrite's return
79285         value.  One can reliably use ferror to test for errors after
79286         the fact.
79288 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79290         * bits/types.h (__snseconds_t): New type.
79291         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
79293         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
79294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79295         (__SNSECONDS_T_TYPE): Likewise.
79296         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79297         (__SNSECONDS_T_TYPE): Likewise.
79298         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79299         (__SNSECONDS_T_TYPE): Likewise.
79301 2012-04-10  Andreas Jaeger  <aj@suse.de>
79303         [BZ #2636]
79304         * manual/time.texi (Processor Time): Return type of times is
79305         elapsed real time since an arbitrary point in the past.
79306         (CPU Time): Move CLK_TCK from here...
79307         (Processor Time): ...to here.  Correct description.
79308         * manual/conf.texi (Constants for Sysconf): Correct description of
79309         _SC_CLK_TCK.
79311 2012-04-10  David S. Miller  <davem@davemloft.net>
79313         [BZ #13967]
79314         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
79315         where the is a gap between DT_REL(A) and DT_JMPREL.
79317 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
79319         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
79320         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79321         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79323 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
79325         * elf/dl-support.c (_dl_inhibit_cache): New variable.
79326         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
79327         (dl_main): Handle --inhibit-cache.
79328         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
79329         _dl_inhibit_cache.
79330         * elf/dl-load.c (_dl_map_object): Use it.
79331         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
79333 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79335         [BZ #13872]
79336         * sysdeps/i386/fpu/e_powl.S (p78): New object.
79337         (__ieee754_powl): Saturate large exponents rather than testing for
79338         overflow of y*log2(x).
79339         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
79340         * math/libm-test.inc (pow_test): Do not permit spurious overflow
79341         exceptions.
79343         [BZ #11521]
79344         * math/s_ctan.c: Include <float.h>.
79345         (__ctan): Avoid internal overflow or cancellation in calculating
79346         denominator.
79347         * math/s_ctanf.c: Likewise.
79348         * math/s_ctanl.c: Likewise.
79349         * math/s_ctanh.c: Likewise.
79350         * math/s_ctanhf.c: Likewise.
79351         * math/s_ctanhl.c: Likewise.
79352         * math/libm-test.inc (ctan_test): Add more tests.
79353         (ctanh_test): Likewise.
79354         * sysdeps/i386/fpu/libm-test-ulps: Update.
79355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79357 2012-04-09  Andreas Jaeger  <aj@suse.de>
79359         [BZ #6894]
79360         * manual/filesys.texi (Directory Entries): Mention that d_namlen
79361         is an optional BSD extension.
79363         [BZ #10254]
79364         * manual/stdio.texi (Opening Streams): Document additional fopen
79365         parameters.
79367 2012-04-09  Roland McGrath  <roland@hack.frob.com>
79369         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
79370         %eax without telling the compiler.
79372 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
79374         [BZ # 13963]
79375         * manual/install.texi: Use sourceware.org.
79377 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
79379         [BZ #13873]
79380         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
79381         (__ieee754_pow): Generate overflow and underflow using huge*huge
79382         and tiny*tiny rather than just returning constant infinity or zero
79383         for large exponents.
79384         * math/libm-test.inc (pow_test): Require overflow exceptions for
79385         applicable cases of large exponents.
79387         [BZ #706]
79388         * sysdeps/i386/fpu/e_pow.S (p10): New object.
79389         (__ieee754_pow): Use iterative multiplication algorithm only for
79390         integer exponents with absolute value below 1024.  Check for odd
79391         integer exponents when using algorithm for real exponents.
79392         * math/libm-test.inc (pow_test): Add more tests.
79393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
79395 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
79397         [BZ #13705]
79398         * math/libm-test.inc (exp_test): Do not allow overflow exception
79399         on underflow test.
79401 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
79403         [BZ #13705]
79404         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
79405         instead of __kernel_standard_f.
79407 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
79409         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
79410         * sysdeps/x86_64/memset_chk.S: Likewise.
79412 2012-04-08  Andreas Jaeger  <aj@suse.de>
79414         [BZ #10153]
79415         * manual/startup.texi (Environment Access): Describe return value
79416         for putenv and setenv.
79418         [BZ #6895]
79419         * manual/filesys.texi (Directory Entries): Add description for
79420         DT_LNK.
79422         [BZ #6890]
79423         * manual/filesys.texi (Directory Entries): Clarify that it's file
79424         system not operating system in the description of DT_UNKNOWN.
79426         [BZ #6578]
79427         * manual/syslog.texi (closelog): Fix reference, it's openlog.
79429 2012-04-08  Stephen Compall  <s11@member.fsf.org>
79431         [BZ #6649]
79432         * manual/llio.texi (Opening and Closing Files): Add cross
79433         reference to explain mode argument.
79435 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
79437         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
79438         * sysdeps/x86_64/memset_chk.S: Likewise.
79440 2012-04-07  David S. Miller  <davem@davemloft.net>
79442         * elf/elf.h (R_SPARC_WDISP10): Define.
79443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
79444         R_SPARC_SIZE32.
79445         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
79446         R_SPARC_SIZE64 and R_SPARC_H34.
79448 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
79450         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
79451         conditions and remove no longer applicable assertion.
79453 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79455         * bits/byteswap.h: Include <features.h>.
79456         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
79457         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
79459 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
79461         * bits/byteswap.h (__bswap_16): Removed.
79462         Include <bits/byteswap-16.h> to get __bswap_16.
79463         * sysdeps/i386/bits/byteswap.h: Likewise.
79464         * sysdeps/s390/bits/byteswap.h: Likewise.
79465         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79466         * bits/byteswap-16.h: New file.
79467         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79468         * sysdeps/s390/bits/byteswap-16.h: Likewise.
79469         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
79470         * string/Makefile (headers): Add bits/byteswap-16.h.
79472 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79474         [BZ #13895]
79475         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
79476         extra indirection.
79477         * nss/Makefile (tests-static, tests): Add tst-nss-static.
79478         * nss/tst-nss-static.c: New.
79480 2012-04-06  Robert Millan  <rmh@gnu.org>
79482         [BZ #6486]
79483         * manual/llio.texi (File Position Primitive): lseek
79484         refers to WHENCE when it really means OFFSET.
79486 2012-04-06  Andreas Jaeger  <aj@suse.de>
79488         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
79489         strncmp declarations.
79491         * abilist/libc.abilist: Add __poll and __ppoll.
79493 2012-04-05  David S. Miller  <davem@davemloft.net>
79495         * scripts/check-local-headers.sh: Accept a host triplet in the
79496         path matched by the exclude regexp.
79498         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
79499         definition.
79500         * sysdeps/powerpc/powerpc32/dl-machine.h
79501         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
79502         * sysdeps/s390/s390-32/dl-machine.h
79503         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79504         * sysdeps/sparc/sparc32/dl-machine.h
79505         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79506         * sysdeps/sparc/sparc64/dl-machine.h
79507         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
79509         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
79510         lazy binding.
79511         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
79512         undefined symbol errors.
79514         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
79515         DT_NEEDED entries.
79517 2012-04-05  Michael Matz  <matz@suse.de>
79519         [BZ #13592]
79520         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
79522 2012-04-05  Andreas Jaeger  <aj@suse.de>
79524         [BZ #13908]
79525         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
79526         comment.
79528 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79530         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
79531         which ROUND is no valid rounding mode.
79533 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79535         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
79536         read again.
79537         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
79539 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79541         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
79542         an exception using FPU order intentionally.
79544 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79546         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
79547         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
79548         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
79549         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
79551 2012-04-05  Simon Josefsson  <simon@josefsson.org>
79553         [BZ #12340]
79554         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
79555         EINVAL when BUFLEN is too smal.
79557 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
79559         [BZ #13553]
79560         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
79561         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
79563 2012-04-03  Andreas Jaeger  <aj@suse.de>
79565         [BZ #13938]
79566         * manual/setjmp.texi (System V contexts): Fix sentence.
79568         [BZ #13926]
79569         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
79570         New macro for this case.
79571         [!__GNUC__] (__bswap_64): New inline function for this case.
79572         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79573         * bits/byteswap.h: Likewise.
79574         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
79575         ull, guard with __GLIBC_HAVE_LONG_LONG.
79577         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
79578         __GLIBC_HAVE_LONG_LONG.
79580         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
79581         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
79583 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
79585         [BZ #13691]
79586         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
79587         inptr and inend, rather than using last_ch.
79589 2012-04-02  David S. Miller  <davem@davemloft.net>
79591         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
79592         * stdio-common/printf-parse.h (read_int): Change return type to
79593         'int', return -1 on INT_MAX overflow.
79594         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
79595         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
79596         overflows INT_MAX.  Check for overflow of in-format-string precision
79597         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
79598         SIZE_MAX not INT_MAX for integer overflow test.
79599         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
79600         skip the construct in the format string but do not record anything.
79601         * stdio-common/bug22.c: Adjust to test both width/prevision
79602         INT_MAX overflow as well as total length INT_MAX overflow.  Check
79603         explicitly for proper errno values.
79605 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
79607         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
79608         CHAR_MAX.
79609         * string/test-strcmp.c [! WIDE]: Likewise.
79610         * time/tst-mktime2.c: Likewise for INT_MAX.
79611         * string/test-string.h: #include <sys/param.h> for MIN.
79613         * csu/init-first.c (__libc_init_first): Call __ctype_init.
79614         * sysdeps/i386/init-first.c (init): Likewise.
79615         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
79616         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
79617         * sysdeps/sh/init-first.c (init): Likewise.
79619 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
79621         * po/ru.po: Update from translation team.
79622         * po/vi.po: Likewise.
79624 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
79626         * resolv/nss_dns/dns-host.c: Merge copyright years.
79628 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79630         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
79631         Optimize memcpy with prefetch if
79632         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
79633         src, dst pointers have unequal 16 byte alignments.
79635 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
79637         [BZ #13928]
79638         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
79639         from a CNAME entry and return the minimum ttl for the query.
79640         (gaih_getanswer_slice): Likewise.
79642 2012-03-30  Jeff Law  <law@redhat.com>
79644         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
79645         due to long keys.
79646         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
79647         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
79649         * resolv/nss_dns/dns-host.c: Update copyright year.
79651 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
79653         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
79654         requests to save a system call.  Fix check that all bytes are sent.
79656         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
79657         comments for sendmmsg.
79659 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79661         [BZ #13691]
79662         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
79663         with only 1 character between 0x0041 and 0x01b0.
79664         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
79665         * wcsmbs/tst-mbsnrtowcs.c: New file.
79667 2012-03-29  David S. Miller  <davem@davemloft.net>
79669         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
79670         small copies by hand.
79672 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
79674         [BZ #13761]
79675         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
79676         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
79677         group memberships.
79679 2012-03-28  David S. Miller  <davem@davemloft.net>
79681         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
79682         that branches into memcpy.
79683         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
79684         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
79685         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79686         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
79687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
79688         bits.
79689         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
79690         implementation too.
79691         * sysdeps/sparc/mempcpy.S: New file.
79693         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
79694         the IFUNC routine in the libc case.
79695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
79697         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
79698         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
79699         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
79700         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
79701         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
79702         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
79703         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
79704         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
79706         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
79707         loop to 256 bytes instead of 64 bytes and fix test signedness.
79709         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
79710         * sysdeps/sparc/sparc32/Makefile: rather than here...
79711         * sysdeps/sparc/sparc64/Makefile: and here.
79713 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
79715         * malloc/mallocbug.c: Avoid warnings about unused variables.
79717 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
79719         [BZ #13760]
79720         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
79721         in the right place. Discard and retry query if response is
79722         larger than input buffer size.
79724 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
79726         [BZ #369]
79727         [BZ #2678]
79728         [BZ #3866]
79729         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
79730         x for large integer exponent.
79731         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
79732         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
79733         sign of result as needed afterwards.
79734         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
79735         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
79736         result for underflowing pow the same as for overflow.
79737         (__kernel_standard_l): Handle powl overflow and underflow here
79738         rather than calling __kernel_standard.
79739         * math/libm-test.inc (pow_test): Add more tests.
79741         [BZ #3868]
79742         [BZ #13879]
79743         [BZ #13910]
79744         [BZ #13911]
79745         [BZ #13912]
79746         [BZ #13913]
79747         [BZ #13915]
79748         [BZ #13916]
79749         [BZ #13917]
79750         [BZ #13918]
79751         [BZ #13919]
79752         [BZ #13920]
79753         [BZ #13921]
79754         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
79755         * sysdeps/ieee754/k_standard.c: Include <float.h>.
79756         (__kernel_standard_l): New function.
79757         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
79758         __kernel_standard.
79759         * math/w_acosl.c (__acosl): Likewise.
79760         * math/w_asinl.c (__asinl): Likewise.
79761         * math/w_atan2l.c (__atan2l): Likewise.
79762         * math/w_atanhl.c (__atanhl): Likewise.
79763         * math/w_coshl.c (__coshl): Likewise.
79764         * math/w_exp10l.c (__exp10l): Likewise.
79765         * math/w_exp2l.c (__exp2l): Likewise.
79766         * math/w_fmodl.c (__fmodl): Likewise.
79767         * math/w_hypotl.c (__hypotl): Likewise.
79768         * math/w_j0l.c (__j0l, __y0l): Likewise.
79769         * math/w_j1l.c (__j1l, __y1l): Likewise.
79770         * math/w_jnl.c (__jnl, __ynl): Likewise.
79771         * math/w_lgammal.c (__lgammal): Likewise.
79772         * math/w_log10l.c (__log10l): Likewise.
79773         * math/w_log2l.c (__log2l): Likewise.
79774         * math/w_logl.c (__logl): Likewise.
79775         * math/w_powl.c (__powl): Likewise.
79776         * math/w_remainderl.c (__remainderl): Likewise.
79777         * math/w_scalbl.c (sysv_scalbl): Likewise.
79778         * math/w_sinhl.c (__sinhl): Likewise.
79779         * math/w_sqrtl.c (__sqrtl): Likewise.
79780         * math/w_tgammal.c (__tgammal): Likewise.
79781         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
79782         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
79783         * math/libm-test.inc (acos_test): Add more tests.
79784         (acosh_test): Likewise.
79785         (asin_test): Likewise.
79786         (atanh_test): Likewise.
79787         (exp_test): Likewise.
79788         (exp10_test): Likewise.
79789         (exp2_test): Likewise.
79790         (expm1_test): Likewise.
79791         (lgamma_test): Likewise.
79792         (log_test): Likewise.
79793         (log10_test): Likewise.
79794         (log1p_test): Likewise.
79795         (log2_test): Likewise.
79796         (pow_test): Do not allow some spurious overflow exceptions.
79797         (sqrt_test): Add more tests.
79798         (tgamma_test): Likewise.
79799         (y0_test): Likewise.
79800         (y1_test): Likewise.
79801         (yn_test): Likewise.
79803 2012-03-27  Anton Blanchard  <anton@samba.org>
79805         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
79806         MAP_HUGETLB.
79807         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
79808         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
79809         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
79811 2012-03-27  David S. Miller  <davem@davemloft.net>
79813         * conform/Makefile: Run run-conformtest.sh using $(BASH).
79815         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
79816         have-as-vis3 check.
79818 2012-03-27  Andreas Jaeger  <aj@suse.de>
79820         * sysdeps/x86_64/elf/configure.in: Moved to ...
79821         * sysdeps/x86_64/configure.in: ... here.
79822         * sysdeps/x86_64/elf/start.S: Moved to ...
79823         * sysdeps/x86_64/start.S: ... here.
79824         * sysdeps/x86_64/elf/configure: Delete.
79826         * sysdeps/x86_64/configure.in: Merge contents from
79827         sysdeps/i386/configure.in (without i686 check).
79829         * sysdeps/i386/elf/Versions: Merge into ...
79830         * sysdeps/i386/Versions: ... this.
79831         * sysdeps/i386/elf/Versions: Delete file.
79832         * sysdeps/i386/elf/start.S: Moved to ...
79833         * sysdeps/i386/start.S: ...here.
79834         * sysdeps/i386/elf/configure.in: Merge into...
79835         * sysdeps/i386/configure.in: ...here.
79836         * sysdeps/i386/elf/configure.in: Delete file.
79837         * sysdeps/i386/elf/configure: Delete file.
79839         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
79840         * debug/backtracesyms.c: ... here.
79841         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
79842         * debug/backtracesymsfd.c: ... here.
79843         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
79844         * sysdeps/generic/ifunc-sel.h: ... here.
79846         * sysdeps/unix/i386/start.c: Delete file.
79847         * sysdeps/unix/sparc/start.c: Delete file.
79848         * sysdeps/unix/start.c: Delete file.
79850         * sysdeps/sh/elf/configure.in: Moved to ...
79851         * sysdeps/sh/configure.in: ... here.
79852         * sysdeps/sh/elf/start.S: Moved to ...
79853         * sysdeps/sh/start.S: ... here.
79854         * sysdeps/sh/elf/configure: Delete file.
79856         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
79857         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
79858         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
79859         * sysdeps/powerpc/powerpc64/entry.h: ... here.
79860         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
79861         * sysdeps/powerpc/powerpc64/start.S: here.
79862         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
79863         * sysdeps/powerpc/powerpc64/Makefile: ... this.
79864         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
79865         * sysdeps/powerpc/powerpc64/configure.in: ... this.
79866         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
79868         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
79869         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
79870         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
79871         * sysdeps/powerpc/powerpc32/start.S: ... here.
79872         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
79873         * sysdeps/powerpc/powerpc32/configure.in: ... this.
79874         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
79876         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
79877         * sysdeps/powerpc/ifunc-sel.h: ... here.
79878         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
79879         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
79881         * sysdeps/sparc/elf/configure.in: Moved to ...
79882         * sysdeps/sparc/configure.in: ... here.
79883         * sysdeps/sparc/elf/configure: Delete file.
79884         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
79885         * sysdeps/sparc/sparc32/start.S: ... here.
79886         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
79887         * sysdeps/sparc/sparc64/start.S: ... here.
79888         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
79889         * sysdeps/sparc/sparc32/Makefile: ... this.
79890         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
79891         * sysdeps/sparc/sparc64/Makefile: ... this.
79893         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
79894         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
79895         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
79896         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
79897         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
79898         * sysdeps/s390/s390-32/setjmp.S: ... here.
79899         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
79900         * sysdeps/s390/s390-32/configure.in: ... here.
79901         * sysdeps/s390/s390-32/elf/configure: Delete file.
79902         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
79903         * sysdeps/s390/s390-32/start.S: ... here.
79905         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
79906         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
79907         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
79908         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
79909         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
79910         * sysdeps/s390/s390-64/setjmp.S: ... here.
79911         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
79912         * sysdeps/s390/s390-64/configure.in: ... here
79913         * sysdeps/s390/s390-64/elf/configure: Delete file.
79914         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
79915         * sysdeps/s390/s390-64/start.S: ... here.
79916         * sysdeps/s390/s390-64/elf/configure: Delete.
79918         * configure.in: Remove support for elf directories in sysdeps.
79920         * configure: Regenerated.
79921         * sysdeps/i386/configure: Regenerated.
79922         * sysdeps/powerpc/powerpc32/configure: Regenerated.
79923         * sysdeps/powerpc/powerpc64/configure: Regenerated.
79924         * sysdeps/s390/s390-32/configure: Regenerated.
79925         * sysdeps/s390/s390-64/configure: Regenerated.
79926         * sysdeps/sh/configure: Regenerated.
79927         * sysdeps/sparc/configure: Regenerated.
79928         * sysdeps/x86_64/configure: Regenerated.
79930 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
79932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
79935         denormal result into account.
79937 2012-03-25  Roland McGrath  <roland@hack.frob.com>
79939         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
79940         Reported by Allan McRae <allan@archlinux.org>.
79942 2012-03-23  Jeff Law  <law@redhat.com>
79944         * nss/getnssent.c (__nss_getent): Fix typo.
79946 2012-03-23  David S. Miller  <davem@davemloft.net>
79948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79950 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
79952         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
79953         to pad to uint64_t for each field.
79954         (dl_tls_index): Replace unsigned long with uint64_t.
79956 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
79957         Paul Pluzhnikov  <ppluzhnikov@google.com>
79959         [BZ #6528]
79960         * grp/Makefile (otherlibs): Don't set it.
79961         * inet/Makefile (otherlibs): Likewise.
79962         * login/Makefile (otherlibs): Likewise.
79963         * nscd/Makefile (otherlibs): Likewise.
79964         * posix/Makefile (otherlibs): Likewise.
79965         * pwd/Makefile (otherlibs): Likewise.
79966         * rt/Makefile (otherlibs): Likewise.
79967         * sunrpc/Makefile (otherlibs): Likewise.
79968         * nss/Makefile (otherlibs): Likewise.
79969         Add libnss_files to routines and static-only-routines.
79970         ($(objpfx)getent): Remove rule.
79971         * resolv/Makefile: Add libnss_dns and libresolv to routines and
79972         static-only-routines.
79974 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
79976         [BZ #13892]
79977         * math/s_cexp.c: Include <float.h>.
79978         (__cexp): Handle exp result overflowing not necessarily
79979         overflowing both real and imaginary parts of result.
79980         * math/s_cexpf.c: Likewise.
79981         * math/s_cexpl.c: Likewise.
79982         * math/libm-test.inc (cexp_test): Add more tests.
79983         * sysdeps/i386/fpu/libm-test-ulps: Update.
79984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79986 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79988         * include/link.h (ELFW): New macro.
79989         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
79990         Replace ELF64_R_TYPE with ELFW(R_TYPE).
79992 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79994         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
79995         with uint64_t.
79997 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
79999         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
80000         declaration.
80001         (struct La_x32_retval): Likewise.
80003 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
80005         * sysdeps/x86_64/preconfigure.in: New file.
80006         * sysdeps/x86_64/preconfigure: New generated file.
80008 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
80010         [BZ #13824]
80011         * math/e_exp2l.c: Include <float.h>.
80012         (__ieee754_exp2l): Handle overflow and underflow cases
80013         separately.  Only pass fractional part of argument to
80014         __ieee754_expl.
80015         * math/libm-test.inc (exp2_test): Add more tests.
80017         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
80018         negating x to take absolute value.
80019         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
80020         Likewise.
80021         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
80022         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
80023         Likewise.
80024         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
80025         computing low part if x was negated.
80026         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
80028 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80030         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
80031         la_x32_gnu_pltexit.
80032         (pltexit): Cast int_retval to ptrdiff_t.
80033         * elf/tst-auditmod3b.c: Likewise.
80034         * elf/tst-auditmod4b.c: Likewise.
80035         * elf/tst-auditmod5b.c: Likewise.
80036         * elf/tst-auditmod6b.c: Likewise.
80037         * elf/tst-auditmod6c.c: Likewise.
80038         * elf/tst-auditmod7b.c: Likewise.
80040         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
80041         and x32_gnu_pltexit.
80043         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
80044         __ELF_NATIVE_CLASS.
80045         (La_x32_regs): New macro.
80046         (La_x32_retval): Likewise.
80047         (la_x32_gnu_pltenter): New function prototype.
80048         (la_x32_gnu_pltexit): Likewise.
80050 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
80052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
80053         exponent.
80055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80057         * configure.in (libc_cv_cc_nofma): Check for option to disable
80058         generation of FMA instructions.
80059         * configure: Regenerate.
80060         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
80061         * sysdeps/ieee754/dbl-64/Makefile: New file.
80062         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
80063         Remove brandred-fma4.
80064         (CFLAGS-brandred-fma4.c): Remove.
80065         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
80066         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
80067         define.
80068         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
80069         define.
80071 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80073         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
80074         LLONG_MAX != LONG_MAX.
80075         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80076         (_fitoa_word): Likewise.
80077         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
80078         LLONG_MAX != LONG_MAX.
80079         * stdio-common/_itowa.h: Include <_itoa.h>.
80080         (_itowa_word): Use _ITOA_WORD_TYPE on value.
80081         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
80082         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
80083         only if not defined.
80084         (_ITOA_WORD_TYPE): Likewise.
80085         (_itoa_word): Use _ITOA_WORD_TYPE on value.
80086         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
80088 2012-03-21  David S. Miller  <davem@davemloft.net>
80090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80092 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
80094         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
80095         of x86_64 when setting libc_cv_slibdir, libdir and
80096         libc_cv_localedir.
80097         * sysdeps/unix/sysv/linux/configure: Regenerated.
80099 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80101         * manual/lang.texi (Old Varargs): Remove section.
80102         (How Variadic): Update menu.
80103         (va_start): Do not mention varargs.h.
80105 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80106             Joseph Myers  <joseph@codesourcery.com>
80108         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
80109         link test.
80110         * configure: Regenerated.
80112 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
80114         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
80115         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
80116         conformtest.pl
80118 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80120         * NOTES: Remove.
80121         * Makefile (files-for-dist): Remove NOTES.
80122         (NOTES): Remove rule.
80123         * README: Don't refer to NOTES.
80124         * manual/creature.texi: Don't include macros.texi.
80125         * manual/intro.texi (creature.texi): Remove comment referring to
80126         NOTES.
80128         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
80129         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
80130         * configure: Regenerated.
80131         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
80132         LIBC_TRY_CC_OPTION.
80133         (libc_cv_as_i686): Likewise.
80134         (libc_cv_cc_avx): Likewise.
80135         (libc_cv_cc_sse2avx): Likewise.
80136         (libc_cv_cc_fma4): Likewise.
80137         (libc_cv_cc_novzeroupper): Likewise.
80138         * sysdeps/i386/configure: Regenerated.
80140         [BZ #13883]
80141         * sysdeps/i386/fpu/s_cexp.S: Remove.
80142         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
80143         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
80144         * math/libm-test.inc (cexp_test): Add more tests.
80145         * sysdeps/i386/fpu/libm-test-ulps: Update.
80146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80148 2012-03-21  Allan McRae  <allan@archlinux.org>
80150         * timezone/Makefile: Do not install iso3166.tab and zone.tab
80152 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
80154         [BZ #13871]
80155         * math/w_exp2.c: Do not include <float.h>.
80156         (o_threshold, u_threshold): Remove.
80157         (__exp2): Calculate result before checking finiteness and calling
80158         __kernel_standard.
80159         * math/w_exp2f.c: Likewise.
80160         * math/w_exp2l.c: Likewise.
80161         * math/libm-test.inc (exp2_test): Require overflow exception for
80162         1e6 input.
80164         [BZ #3866]
80165         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
80166         range of signed 64-bit integers before using fistpll.  Remove
80167         checks for whether integers fit in mantissa bits.
80168         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
80169         the range of signed 32-bit integers before using fistpl.  Remove
80170         checks for whether integers fit in mantissa bits.
80171         * sysdeps/i386/fpu/e_powl.S (p64): New object.
80172         (__ieee754_powl): Test for y outside the range of signed 64-bit
80173         integers before using fistpll.  Reduce 64-bit values to 63-bit
80174         ones as needed.
80175         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
80176         divide-by-zero is raised for zero to large negative powers.
80177         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
80178         (__ieee754_powl): Test for y outside the range of signed 64-bit
80179         integers before using fistpll.  Reduce 64-bit values to 63-bit
80180         ones as needed.
80181         * math/libm-test.inc (pow_test): Add more tests.
80183 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80185         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
80186         <stdio-common/_itoa.h>.
80187         * debug/segfault.c: Likewise.
80188         * elf/dl-cache.c: Likewise.
80189         * elf/dl-minimal.c: Likewise.
80190         * elf/dl-misc.c: Likewise.
80191         * elf/dl-sysdep.c: Likewise.
80192         * elf/dl-version.c: Likewise.
80193         * elf/rtld.c: Likewise.
80194         * hurd/hurdsock.c: Likewise.
80195         * hurd/lookup-retry.c: Likewise.
80196         * malloc/malloc.c: Likewise.
80197         * malloc/mtrace.c: Likewise.
80198         * nscd/nscd_getgr_r.c: Likewise.
80199         * nscd/nscd_getpw_r.c: Likewise.
80200         * nscd/nscd_getserv_r.c: Likewise.
80201         * posix/getopt_init.c: Likewise.
80202         * posix/wordexp.c: Likewise.
80203         * stdio-common/_itoa.c: Likewise.
80204         * stdio-common/printf_fphex.c: Likewise.
80205         * stdio-common/vfprintf.c: Likewise.
80206         * string/_strerror.c: Likewise.
80207         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
80208         * sysdeps/i386/i686/hp-timing.h: Likewise.
80209         * sysdeps/mach/_strerror.c: Likewise.
80210         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
80211         * sysdeps/mach/hurd/sethostid.c: Likewise.
80212         * sysdeps/mach/hurd/xmknodat.c: Likewise.
80213         * sysdeps/mach/xpg-strerror.c: Likewise.
80214         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
80215         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
80216         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
80217         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
80218         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
80219         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
80220         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
80221         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
80222         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
80223         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
80224         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
80225         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
80226         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
80227         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
80228         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
80229         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
80230         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
80231         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
80232         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
80233         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
80234         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
80236         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
80238         * stdio-common/_itoa.h: Moved to ...
80239         * sysdeps/generic/_itoa.h: Here.
80241         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
80243         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
80244         instead of "_itoa.h" and "_itowa.h".
80245         * stdio-common/vfprintf.: Likewise.
80247 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80249         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
80250         <bits/wordsize.h>.
80251         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
80252         (__signbit): Likewise.
80253         (llrintf): Likewise.
80254         (llrint): Likewise.
80256 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
80258         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
80259         __WORDSIZE != 64.
80261 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
80263         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
80264         OVERFLOW_EXCEPTION_OK.
80265         * math/libm-test.inc ("Philosophy"): Update comment about
80266         exception testing.
80267         (OVERFLOW_EXCEPTION): Define.
80268         (OVERFLOW_EXCEPTION_OK): Likewise.
80269         (INVALID_EXCEPTION_OK): Renumber.
80270         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80271         (IGNORE_ZERO_INF_SIGN): Likewise.
80272         (test_exceptions): Handle FE_OVERFLOW.
80273         (exp10_test): Expect overflow exceptions.
80274         (exp2_test): Likewise.
80275         (expm1_test): Likewise.
80276         (nextafter_test): Likewise.
80277         (pow_test): Likewise.
80278         (scalbn_test): Likewise.
80279         (scalbln_test): Likewise.
80281 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80283         * sysdeps/x86_64/bits/atomic.h
80284         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
80285         64bit integer.
80286         (atomic_exchange_acq): Likewise.
80287         (__arch_exchange_and_add_body): Likewise.
80288         (__arch_add_body): Likewise.
80289         (atomic_add_negative): Likewise.
80290         (atomic_add_zero): Likewise.
80292 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80294         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
80295         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
80297 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80299         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
80300         Check __x86_64__ instead of __WORDSIZE.
80302 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80304         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
80306 2012-03-19  David S. Miller  <davem@davemloft.net>
80308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80310         * sysdeps/sparc/fpu/fenv_private.h: New file.
80311         * sysdeps/sparc/fpu/math_private.h: Use it.
80312         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
80313         Remove.
80314         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
80315         (libc_feholdexcept_setroundl): Remove.
80316         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
80317         Remove.
80318         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
80319         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
80321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80323         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
80324         int64_t instead of long int.
80325         (INSERT_WORDS64): Likewise.
80327 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
80329         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
80330         _Unwind_GetCFA return to _Unwind_Ptr first.
80332 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
80334         [BZ #13629]
80335         * math/s_clog.c: Include <float.h>.
80336         (__clog): Scale large or subnormal inputs.
80337         * math/s_clogf.c: Likewise.
80338         * math/s_clogl.c: Likewise.
80339         * math/s_clog10.c: Include <float.h>.
80340         (M_LOG10_2): Define.
80341         (__clog10): Scale large or subnormal inputs.
80342         * math/s_clog10f.c: Likewise.
80343         * math/s_clog10l.c: Likewise.
80344         * math/libm-test.inc (clog_test): Add more tests.
80345         (clog10_test): Likewise.
80346         * sysdeps/i386/fpu/libm-test-ulps: Update.
80347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80349         [BZ #11451]
80350         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
80351         x and y.
80352         * math/libm-test.inc (atan2_test): Add another test.
80354         * Makerules (common-objdir-compile): Remove.
80355         * sysdeps/unix/Makefile (config-generated): Do not add
80356         $(unix-generated) to variable.
80357         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
80358         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
80359         Remove rule.
80360         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
80361         Likewise.
80362         [generic bits/local_lim.h] (before-compile): Do not append to
80363         variable.
80364         [generic bits/local_lim.h] (common-generated): Likewise.
80365         [generic sys/param.h] (before-compile): Do not append to variable.
80366         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
80367         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
80368         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
80369         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
80370         include.
80371         [generic sys/param.h] (sys/param.h-includes): Remove variable.
80372         [generic sys/param.h] (sys/param.h-includes): Remove rule.
80373         [generic sys/param.h] ($(addprefix
80374         $(common-objpfx),$(sys/param.h-includes))): Likewise.
80375         [generic sys/param.h] (common-generated): Do not append to
80376         variable.
80377         [generic sys/param.h] (sysdep_headers): Likewise.
80378         [generic bits/errno.h] (before-compile): Do not append to
80379         variable.
80380         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
80381         rule.
80382         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
80383         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
80384         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
80385         [generic bits/errno.h] (common-generated): Do not append to
80386         variable.
80387         [generic bits/ioctls.h] (before-compile): Do not append to
80388         variable.
80389         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
80390         rule.
80391         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
80392         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
80393         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
80394         rule.
80395         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
80396         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
80397         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
80398         [generic bits/ioctls.h] (common-generated): Do not append to
80399         variable.
80400         [generic sys/syscall.h] (syscall.h): Remove variable.
80401         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
80402         rule.
80403         [generic sys/syscall.h] (before-compile): Do not append to
80404         variable.
80405         [generic sys/syscall.h] (common-generated): Likewise.
80406         * sysdeps/unix/errnos-tmpl.c: Remove file.
80407         * sysdeps/unix/errnos.awk: Likewise.
80408         * sysdeps/unix/ioctls-tmpl.c: Likewise.
80409         * sysdeps/unix/ioctls.awk: Likewise.
80410         * sysdeps/unix/mk-local_lim.c: Likewise.
80411         * sysdeps/unix/snarf-ioctls: Likewise.
80413 2012-03-19  Richard Henderson  <rth@twiddle.net>
80415         * sysdeps/i386/fpu/fenv_private.h: New file.
80416         * sysdeps/i386/fpu/math_private.h: Use it.
80417         (math_opt_barrier, math_force_eval): Remove.
80418         (libc_feholdexcept_setround_53bit): Remove.
80419         (libc_feupdateenv_53bit): Remove.
80420         * sysdeps/x86_64/fpu/math_private.h: Likewise.
80421         (math_opt_barrier, math_force_eval): Remove.
80422         (libc_feholdexcept): Remove.
80423         (libc_feholdexcept_setround): Remove.
80424         (libc_fetestexcept, libc_fesetenv): Remove.
80425         (libc_feupdateenv_test): Remove.
80426         (libc_feupdateenv, libc_feholdsetround): Remove.
80427         (libc_feresetround): Remove.
80429         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
80430         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
80432         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
80433         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
80434         (libc_feupdateenv_testl): New.
80435         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
80436         (libc_feupdateenv_testf): New.
80437         (libc_feupdateenv): Use libc_feupdateenv_test.
80438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
80439         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
80441         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
80442         (libc_feholdsetroundf, libc_feholdsetroundl): New.
80443         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
80444         (libc_feresetround_noex): New.
80445         (libc_feresetround_noexf): New.
80446         (libc_feresetround_noexl): New.
80447         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
80448         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
80449         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
80450         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
80451         SET_RESTORE_ROUND.
80452         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
80453         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
80454         (__cos): Likewise.
80455         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
80456         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
80457         SET_RESTORE_ROUND_NOEX.
80458         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
80459         SET_RESTORE_ROUND_NOEXF.
80460         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
80461         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
80462         (libc_feholdsetroundf): New.
80463         (libc_feresetround, libc_feresetroundf): New.
80465         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
80466         (libc_feholdexcept_setround_53bit): Convert from macro to function.
80467         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
80469         * sysdeps/generic/math_private.h: Include <fenv.h>.
80470         (default_libc_feholdexcept): New.
80471         (default_libc_feholdexcept_setround): New.
80472         (default_libc_fesetenv, default_libc_feupdateenv): New.
80473         (libc_feholdexcept): Only define if undefined.
80474         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
80475         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
80476         (libc_feholdexcept_setroundl): Likewise.
80477         (libc_feholdexcept_setround_53bit): Likewise.
80478         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
80479         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
80480         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
80481         (libc_feupdateenv_53bit): Likewise.
80482         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
80483         (libc_feholdexcept): Convert from macro to inline function.
80484         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
80485         (libc_fesetenv, libc_feupdateenv): Likewise.
80487         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
80488         not previously defined.
80489         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
80490         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
80491         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
80492         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
80493         * sysdeps/ieee754/flt-32/math_private.h: New file.
80494         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
80495         math_private.h below SET_FLOAT_WORD.
80496         (__isnan, __isinf_ns, __finite): Remove.
80497         (__isnanf, __isinf_nsf, __finitef): Remove.
80499 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
80501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80503 2012-03-17  David S. Miller  <davem@davemloft.net>
80505         [BZ #6471]
80506         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
80507         for 2.16.
80509 2012-03-16  David S. Miller  <davem@davemloft.net>
80511         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
80512         warnings.
80514         [BZ #6471]
80515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
80516         properly.
80517         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
80518         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
80519         sysdep_routines when subdir is sysvipc.
80520         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
80521         __getshmlba helper.
80523         * sysdeps/sparc/fpu/libm-test/ulps: Update.
80525 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80527         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
80528         [__LP64__].
80530 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80532         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
80533         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
80534         (__lround): Renamed to ...
80535         (__llround): This.  Replace long int with long long int.
80536         Define lround functions as aliases of llround functions.
80537         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
80539 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80541         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
80542         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
80543         adresses to uintptr_t.  Replace "long int" and "unsigned long
80544         int" with "greg_t" on va_arg.
80546 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80548         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
80549         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
80551         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
80552         Move e_machine check before EI_CLASS check.  Handle x32
80553         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
80554         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
80555         SKIP_EM_IA_64 and include
80556         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
80558         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
80559         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
80560         (add_system_dir): New macro.
80562         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
80563         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
80565 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80567         [BZ #2551]
80568         [BZ #2552]
80569         [BZ #2553]
80570         [BZ #2554]
80571         [BZ #2562]
80572         [BZ #2563]
80573         [BZ #2565]
80574         [BZ #2566]
80575         [BZ #2576]
80576         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
80577         (y0): Likewise.
80578         * math/w_j0f.c (j0f): Likewise.
80579         (y0f): Likewise.
80580         * math/w_j0l.c (__j0l): Likewise.
80581         (__y0l): Likewise.
80582         * math/w_j1.c (j1): Likewise.
80583         (y1): Likewise.
80584         * math/w_j1f.c (j1f): Likewise.
80585         (y1f): Likewise.
80586         * math/w_j1l.c (__j1l): Likewise.
80587         (__y1l): Likewise.
80588         * math/w_jn.c (jn): Likewise.
80589         (yn): Likewise.
80590         * math/w_jnf.c (jnf): Likewise.
80591         (ynf): Likewise.
80592         * math/w_jnl.c (__jnl): Likewise.
80593         (__ynl): Likewise.
80594         * math/libm-test.inc (j0_test): Add more tests.
80595         (j1_test): Likewise.
80596         (jn_test): Likewise.  Add trailing semicolon to existing test.
80597         (y0_test): Likewise.
80598         (y1_test): Likewise.
80599         * sysdeps/i386/fpu/libm-test-ulps: Update.
80600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80602         [BZ #13851]
80603         [BZ #13854]
80604         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
80605         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
80606         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
80607         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
80608         (__tanl): Set errno for infinite argument.
80609         * sysdeps/i386/fpu/mptan.c: Remove.
80610         * sysdeps/i386/fpu/s_tan.S: Likewise.
80611         * sysdeps/i386/fpu/s_tanl.S: Likewise.
80612         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
80613         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
80614         * math/libm-test.inc (tan_test): Add more tests and enable more
80615         tests for double and long double.
80616         * sysdeps/i386/fpu/libm-test-ulps: Update.
80617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80619 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
80621         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
80622         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
80624 2012-03-16  Roland McGrath  <roland@hack.frob.com>
80626         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
80627         * configure.in: Use it for both main tree and add-ons.
80628         * configure: Regenerated.
80630 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
80632         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
80634 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
80636         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
80637         in comment.
80639         [BZ #13851]
80640         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
80641         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
80642         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
80643         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
80644         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
80645         infinite argument.
80646         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
80647         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
80648         != 0 for prec == 2.
80649         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
80650         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
80651         * sysdeps/i386/fpu/s_cosl.S: Likewise.
80652         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
80653         * sysdeps/i386/fpu/s_sinl.S: Likewise.
80654         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
80655         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
80656         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
80657         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
80658         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
80659         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
80660         * math/libm-test.inc (cos_test): Add more tests and enable more
80661         tests for long double.
80662         (sin_test): Likewise.
80663         (sincos_test): Likewise.
80664         * sysdeps/i386/fpu/libm-test-ulps: Update.
80665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80667 2012-03-16  David S. Miller  <davem@davemloft.net>
80669         * sysdeps/sparc/fpu/math_private.h: New file.
80671 2012-03-15  David S. Miller  <davem@davemloft.net>
80673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
80674         file.
80675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
80676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
80677         file.
80678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
80679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
80680         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
80681         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
80682         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
80683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
80684         sysdep routines.
80685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80687         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
80688         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
80690         * sysdeps/sparc/sparc-ifunc.h: New file.
80691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
80692         sparc-ifunc.h
80693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
80694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
80695         Likewise.
80696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
80697         Likewise.
80698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
80699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
80700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
80701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
80702         Likewise.
80703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
80704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
80705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
80706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
80707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
80708         Likewise.
80709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
80710         Likewise.
80711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
80712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
80713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
80714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
80715         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
80716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
80717         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
80718         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
80719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
80720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
80721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
80722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
80723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
80724         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
80725         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
80726         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
80727         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
80728         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
80729         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
80730         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
80731         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
80732         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
80733         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
80734         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
80736 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80738         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
80739         scaling.
80740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80742 2012-03-15  Andreas Jaeger  <aj@suse.de>
80744         [BZ #13852]
80745         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
80746         ieee754/flt-32 implementation for sin, cos and sincos.
80747         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
80748         * sysdeps/i386/fpu/s_cosf.S: Likewise.
80749         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
80750         * sysdeps/i386/fpu/s_sinf.S: Likewise.
80751         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
80752         ieee754/flt-32 implementation for tan.
80754         * math/libm-test.inc (cos_test): Enable some large input tests for
80755         float as well
80756         (sin_test): Likewise.
80757         (sincos_test): Likewise.
80758         (tan_test): Add tests for large input.
80760         * sysdeps/i386/fpu/libm-test-ulps: Update.
80762 2012-03-15  Andreas Jaeger  <aj@suse.de>
80764         [BZ #13658]
80765         * math/libm-test.inc (cos_test): Add more test cases.
80766         (sin_test): Likewise.
80767         (sincos_test): Likewise.
80769 2012-03-15  Andreas Jaeger  <aj@suse.de>
80771         [BZ #13837]
80772         * math/libm-test.inc (cos_test): Add a test case for large input
80773         value.
80774         (sin_test): Likewise.
80775         (sincos_test): Likewise.
80777 2012-03-15  Andreas Jaeger  <aj@suse.de>
80778             Joseph Myers  <joseph@codesourcery.com>
80780         [BZ #13658]
80781         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
80782         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
80783         * sysdeps/i386/fpu/branred.c: Likewise.
80784         * sysdeps/i386/fpu/dosincos.c: Likewise.
80785         * sysdeps/i386/fpu/mpa.c: Likewise.
80786         * sysdeps/i386/fpu/s_cos.S: Likewise.
80787         * sysdeps/i386/fpu/s_sin.S: Likewise.
80788         * sysdeps/i386/fpu/s_sincos.S: Likewise.
80789         * sysdeps/i386/fpu/sincos32.c: Likewise.
80791         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
80792         Define.
80793         (libc_feupdateenv_53bit): Define.
80794         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
80795         Define.
80796         (libc_feupdateenv_53bit): Define.
80798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
80799         53 bit (without extend i386 double precision).
80801         * math/libm-test.inc (sincos_test): Add tests for large input.
80802         (sin): Likewise.
80803         (cos): Likewise.
80805         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
80807 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
80809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80811 2012-03-15  David S. Miller  <davem@davemloft.net>
80813         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
80814         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
80815         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
80816         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
80817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
80818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
80819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
80820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
80821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
80822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
80823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
80824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
80825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
80826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
80827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
80828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
80829         file.
80830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
80831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
80832         file.
80833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
80834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
80835         file.
80836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
80837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
80838         file.
80839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
80840         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
80841         fmin/fmax sysdep routines.
80842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
80844 2012-03-14  David S. Miller  <davem@davemloft.net>
80846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
80847         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
80848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
80849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
80850         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
80851         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
80852         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
80853         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
80854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
80855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
80856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
80857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
80858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
80859         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
80860         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
80861         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
80862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
80863         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
80864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
80865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
80866         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
80867         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
80868         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
80869         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
80870         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
80871         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
80872         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
80873         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
80874         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
80875         routines.
80876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
80877         file.
80878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
80879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
80880         file.
80881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
80882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
80883         file.
80884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
80885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
80886         file.
80887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
80888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
80889         file.
80890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
80891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
80892         file.
80893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
80894         file.
80895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
80896         file.
80897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
80898         file.
80899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
80900         New file.
80901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
80902         file.
80903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
80904         file.
80905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
80906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
80907         file.
80908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
80909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
80910         file.
80911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
80912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
80913         file.
80914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
80915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
80916         VIS3 routines.
80918         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
80919         New file.
80921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80923         * sysdeps/sparc/configure.in: New file.
80924         * sysdeps/sparc/configure: Generate.
80925         * configure.in (libc_cv_sparc_as_vis3): Substitute.
80926         * configure: Regenerate.
80927         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
80928         * config.make.in (have-as-vis3): New.
80929         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
80930         available use -Av9d instead of -Av9a.
80931         * sysdeps/sparc/sparc64/Makefile: Likewise.
80932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
80933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
80934         New file.
80935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
80936         file.
80937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
80938         New file.
80939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
80940         file.
80941         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
80942         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
80943         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
80944         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
80945         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
80947         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
80948         fzeros/fnegs to load 0x80000000 into a float register instead of
80949         using the stack.
80950         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
80952 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80955         bits/syscall.h.
80956         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
80957         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
80958         ($(inst_includedir)/bits/syscall.h): Remove rule.
80959         ($(objpfx)bits/syscall.d): Include instead of
80960         $(objpfx)syscall-list.d.
80961         (generated): Change syscall-list.h and syscall-list.d to
80962         bits/syscall.h and bits/syscall.d.
80964 2012-03-14  Roland McGrath  <roland@hack.frob.com>
80966         [BZ #13846]
80967         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
80969 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
80971         [BZ #13841]
80972         * math/s_csqrt.c: Include <float.h>.
80973         (__csqrt): Scale large or subnormal inputs.
80974         * math/s_csqrtf.c: Likewise.
80975         * math/s_csqrtl.c: Likewise.
80976         * math/libm-test.inc (csqrt_test): Add more tests.
80977         * sysdeps/i386/fpu/libm-test-ulps: Update.
80978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80980         [BZ #13840]
80981         * math/libm-test.inc (hypot_test): Add more tests.
80983 2012-03-13  David S. Miller  <davem@davemloft.net>
80985         [BZ #13840]
80986         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
80987         double-precision for the calculation instead of scaling.
80989 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
80991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
80992         manipulate bits before adding and subtracting TWO52[sx].
80993         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
80994         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
80995         Likewise.
80996         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
80998 2012-03-13  David S. Miller  <davem@davemloft.net>
81000         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
81001         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
81002         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
81003         rtld-global-offsets.h
81004         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
81006         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
81007         large parameters.
81009         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
81011         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
81012         'err' in the ifdef scope in which it is actually used.
81014         * nss/nss_db/db-init.c: Include string.h
81016 2012-03-12  David S. Miller  <davem@davemloft.net>
81018         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
81019         masking out of the most significant byte of random value used.
81020         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81021         Fix coding style in previous change.
81023         * sysdeps/unix/sysv/linux/kernel-features.h
81024         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
81025         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
81026         expression.
81027         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
81028         later.
81030 2012-03-11  David S. Miller  <davem@davemloft.net>
81032         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
81033         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
81034         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
81035         for 'resultvar' otherwise things get truncated on 64-bit.
81037         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
81038         Fix masking out of the most significant byte of random value used.
81040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81042 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
81044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81046 2012-03-09  David S. Miller  <davem@davemloft.net>
81048         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
81049         variables with appropriate CPP guards.
81050         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
81051         from the frame pointer, not the stack pointer.  Correct layout
81052         comments.  Fix test on resulting framesize and the management of
81053         the outregs buffer for pltexit.  Preserve floating point return
81054         values across _dl_call_pltexit call.
81055         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
81056         framesize and the management of the outregs buffer for pltexit.
81057         Preserve floating point return values across _dl_call_pltexit
81058         call.
81059         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
81060         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
81061         (la_sparc64_gnu_pltexit): New functions.
81062         (print_exit): Fix format string for return register value.
81064 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
81066         * sunrpc/Makefile (others): Add rpcgen.
81067         ($(objpfx)rpcgen): Remove special build rule and dependency on
81068         libc.
81069         * sunrpc/rpcgen.c: New file.
81071 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
81073         [BZ #13673]
81074         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
81075         * stdio-common/bug-vfprintf-nargs.c: Likewise.
81076         * sysdeps/i386/crti.S: Likewise.
81077         * sysdeps/i386/crtn.S: Likewise.
81078         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
81079         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
81080         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
81081         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
81082         * sysdeps/sh/crti.S: Likewise.
81083         * sysdeps/sh/crtn.S: Likewise.
81084         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
81086         [BZ #13673]
81087         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
81088         with URL.
81089         * locale/programs/locfile-kw.gperf: Likewise.
81090         * locale/programs/charmap-kw.h: Regenerated.
81091         * locale/programs/locfile-kw.h: Likewise.
81093         [BZ #13673]
81094         * intl/plural.y: Replace FSF snail mail address with URL.
81095         * intl/plural.c: Regenerated.
81097 2012-03-09  Richard Henderson  <rth@twiddle.net>
81099         * include/math_private.h: Remove file.
81100         * math/math_private.h: Move file ...
81101         * sysdeps/generic/math_private.h: ... here.
81103         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
81104         * sysdeps/powerpc/fpu/math_private.h: Likewise.
81105         * sysdeps/x86_64/fpu/math_private.h: Likewise.
81107         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
81108         and <math_private.h>.
81109         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
81110         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
81111         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
81112         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
81113         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
81114         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
81115         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
81116         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
81117         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81118         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81121         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81122         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
81123         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81124         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81125         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81126         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81127         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81128         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81130         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81131         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81132         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81133         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
81134         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81135         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81136         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
81139         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81140         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
81141         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
81142         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
81143         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
81144         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
81145         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
81146         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
81147         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
81148         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
81149         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
81150         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
81151         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
81152         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
81153         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
81154         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
81155         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
81156         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
81157         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
81158         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
81159         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
81160         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
81161         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
81162         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
81163         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
81164         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
81165         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
81166         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
81167         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
81168         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
81169         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
81170         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
81171         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
81172         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
81173         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
81174         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
81175         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
81176         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
81177         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
81178         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
81179         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
81180         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
81181         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
81182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
81183         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
81184         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
81185         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
81186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
81187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
81188         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
81189         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
81190         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
81191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
81192         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
81193         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
81194         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
81195         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
81196         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
81197         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81198         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81199         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81200         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81201         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81202         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81203         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81204         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81205         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81206         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81207         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81208         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81209         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81210         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81211         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81212         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81213         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
81214         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81215         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81216         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81217         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
81218         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
81219         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
81220         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
81221         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81222         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
81223         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
81224         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
81225         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
81226         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
81227         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
81228         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
81229         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
81230         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
81231         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
81232         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
81233         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
81234         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
81235         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81236         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
81237         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
81238         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
81239         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
81240         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
81241         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
81242         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
81243         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
81244         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
81245         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
81246         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
81247         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
81248         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
81249         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
81250         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
81251         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
81252         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
81253         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
81254         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
81255         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
81256         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
81257         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
81258         * sysdeps/ieee754/k_standard.c: Likewise.
81259         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81260         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81261         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81262         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81263         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81264         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81265         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81266         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81267         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81268         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81269         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81270         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81271         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81272         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81273         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81274         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81275         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
81276         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81277         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81278         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
81279         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
81280         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
81281         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
81282         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
81283         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
81284         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
81285         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
81286         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
81287         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
81288         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
81289         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
81290         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
81291         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
81292         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
81293         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
81294         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
81295         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
81296         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
81297         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
81298         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
81299         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
81300         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
81301         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
81302         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
81303         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
81304         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
81305         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
81306         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
81307         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
81308         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
81309         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
81310         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
81311         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
81312         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
81313         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
81314         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
81315         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
81316         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
81317         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
81318         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
81319         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
81320         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
81321         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
81322         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81323         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81325         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81327         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81329         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81331         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81332         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81333         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81335         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
81336         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81337         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81338         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
81339         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
81340         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
81341         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
81342         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
81343         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
81344         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
81345         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
81346         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
81347         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
81348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
81349         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
81350         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
81351         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
81352         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
81353         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
81354         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
81355         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
81356         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
81357         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
81358         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
81359         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
81360         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
81361         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
81362         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
81363         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
81364         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
81365         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
81366         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
81367         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
81368         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
81369         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
81370         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
81371         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81372         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81373         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81374         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81375         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81377         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81378         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81379         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81380         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81381         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81382         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81383         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81384         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
81385         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
81386         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
81387         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
81388         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
81389         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
81390         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
81391         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
81392         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
81393         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
81394         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
81395         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
81396         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
81397         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
81398         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
81399         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
81400         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
81401         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
81402         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
81403         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
81404         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
81405         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
81406         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
81407         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
81408         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
81409         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
81410         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
81411         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
81412         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
81413         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
81414         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
81415         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
81416         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
81417         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
81418         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
81419         * sysdeps/ieee754/s_lib_version.c: Likewise.
81420         * sysdeps/ieee754/s_matherr.c: Likewise.
81421         * sysdeps/ieee754/s_signgam.c: Likewise.
81422         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81423         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81424         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
81425         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
81426         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
81427         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
81428         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
81429         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
81430         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
81431         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
81432         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
81433         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
81434         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
81435         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
81436         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
81437         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
81438         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
81439         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
81440         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
81441         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
81442         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
81444 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81446         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
81447         * sunrpc/rpc_main.c: Likewise.
81448         * sunrpc/rpc_svcout.c: Likewise.
81450 2012-03-09  David S. Miller  <davem@davemloft.net>
81452         * include/math_private.h: New file.
81454 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
81456         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
81457         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
81458         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
81459         from <bits/socket_type.h>.
81460         (enum __socket_type): Don't define here.
81461         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
81462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81463         bits/socket_type.h.
81465         [BZ #13566]
81466         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
81467         checking __USE_GNU.
81469         * Makerules ($(inst_includedir)/%.h): New rule.
81470         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
81471         (install-others): Remove variable setting.
81472         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
81474 2012-03-08  Richard Henderson  <rth@twiddle.net>
81476         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
81477         from macro to inline function; merge with the
81478         !__LIBC_INTERNAL_MATH_INLINES version.
81479         (__ieee754_sqrtf): Likewise.
81481         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
81482         to inline function.
81483         (__rintf, __floor, __floorf): Likewise.
81485         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
81486         macro to inline function.
81487         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
81489         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
81490         not <math/math_private.h>.
81492 2012-03-08  David S. Miller  <davem@davemloft.net>
81494         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
81495         copyright year.
81496         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
81498 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
81500         * resolv/gai_misc.c (handle_requests): Fix struct timespec
81501         normalization.
81502         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
81503         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
81505 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
81507         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
81508         be defined individually, they must be defined as a block.  Define
81509         S for printing a string instead of hidint the different by using a
81510         macro for adding the 'l'.
81511         * stdio-common/tst-fphex-wide.c: Adjust.
81513 2012-03-07  Marek Polacek  <polacek@redhat.com>
81515         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
81517 2012-03-08  Marek Polacek  <polacek@redhat.com>
81519         [BZ #13806]
81520         * stdio-common/Makefile (tests): Add tst-fphex-wide.
81521         * stdio-common/tst-fphex.c: Define a few macros to make the
81522         test reusable.  Use them.
81523         * stdio-common/tst-fphex-wide.c: New file.
81525 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
81527         [BZ #6911]
81528         * manual/macros.texi (gnusystems): New macro.
81529         (nongnusystems): Likewise.
81530         (gnulinuxhurdsystems): Likewise.
81531         (gnuhurdsystems): Likewise..
81532         (gnulinuxsystems): Likewise.
81533         * manual/charset.texi: Use new macros or @theglibc{} to refer to
81534         variants of the GNU system, not "GNU system".
81535         * manual/conf.texi: Likewise.
81536         * manual/errno.texi: Likewise.  Update example of errno macro
81537         expansion.
81538         * manual/filesys.texi: Likewise.
81539         (getumask): Document as specific to GNU/Hurd.
81540         * manual/install.texi: Likewise.  Reword some references to
81541         GNU/Linux.
81542         * manual/intro.texi: Likewise.
81543         * manual/io.texi: Likewise.
81544         (File Name Portability): Detail which constraints are inapplicable
81545         to all GNU systems and which are only inapplicable to GNU/Hurd.
81546         * manual/job.texi: Likewise.
81547         * manual/llio.texi: Likewise.
81548         (O_NOCTTY): Document as present on GNU/Linux.
81549         * manual/maint.texi: Likewise.
81550         * manual/memory.texi: Likewise.
81551         * manual/pattern.texi: Likewise.
81552         * manual/pipe.texi: Likewise.
81553         * manual/process.texi: Likewise.
81554         * manual/resource.texi: Likewise.
81555         (RUSAGE_CHILDREN): Remove statement about specifying a particular
81556         child on GNU/Hurd.
81557         * manual/setjmp.texi: Likewise.
81558         * manual/signal.texi: Likewise.
81559         * manual/startup.texi: Likewise.
81560         * manual/stdio.texi: Likewise.
81561         * manual/terminal.texi: Likewise.
81562         (ONLCR): Document as POSIX.
81563         (OXTABS): Document availability on GNU/Linux as XTABS.
81564         (ONOEOT): Document availability separately from other bits.
81565         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
81566         * manual/time.texi: Likewise.
81567         * manual/users.texi: Likewise.
81568         * INSTALL: Regenerated.
81569         * sysdeps/gnu/errlist.c: Regenerated.
81571         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
81572         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
81573         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
81574         puts.
81575         * configure: Regenerated.
81577 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
81579         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
81580         default includes instead of AC_HEADER_CHECK.
81581         * sysdeps/i386/configure: Regenerated.
81583         [BZ #10716]
81584         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
81585         * math/s_cacoshf.c (__cacoshf): Likewise.
81586         * math/s_cacoshl.c (__cacoshl): Likewise.
81587         * math/s_casinh.c (__casinh): Set signs of result from argument.
81588         * math/s_casinhf.c (__casinhf): Likewise.
81589         * math/s_casinhl.c (__casinhl): Likewise.
81590         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
81591         (casinh_test): Add more tests.
81592         * sysdeps/i386/fpu/libm-test-ulps: Update.
81593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81595 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
81597         * po/zh_TW.po: Update from translation team.
81599         * login/Makefile (distribute): Remove variable.
81600         * catgets/Makefile: Likewise.
81601         * mach/Makefile: Likewise.
81602         * malloc/Makefile: Likewise.
81603         * misc/Makefile: Likewise.
81604         * iconv/Makefile: Likewise.
81605         * nscd/Makefile: Likewise.
81606         * hurd/Makefile: Likewise.
81607         * manual/Makefile: Likewise.
81608         * locale/Makefile: Likewise.
81609         * intl/Makefile: Likewise.
81610         * conform/Makefile: Likewise.
81611         * nss/Makefile: Likewise.
81612         * time/Makefile: Likewise.
81613         * soft-fp/Makefile: Likewise.
81614         * dirent/Makefile: Likewise.
81615         * gmon/Makefile: Likewise.
81616         * po/Makefile: Likewise.
81617         * rt/Makefile: Likewise.
81618         * socket/Makefile: Likewise.
81619         * math/Makefile: Likewise.
81620         * signal/Makefile: Likewise.
81621         * debug/Makefile: Likewise.
81622         * elf/Makefile: Likewise.
81623         * timezone/Makefile: Likewise.
81624         * stdlib/Makefile: Likewise.
81625         * iconvdata/Makefile: Likewise.
81626         * sunrpc/Makefile: Likewise.
81627         * io/Makefile: Likewise.
81628         * argp/Makefile: Likewise.
81629         * inet/Makefile: Likewise.
81630         * hesiod/Makefile: Likewise.
81631         * grp/Makefile: Likewise.
81632         * csu/Makefile: Likewise.
81633         * wctype/Makefile: Likewise.
81634         * crypt/Makefile: Likewise.
81635         * libio/Makefile: Likewise.
81636         * string/Makefile: Likewise.
81637         * nis/Makefile: Likewise.
81638         * resolv/Makefile: Likewise.
81639         * stdio-common/Makefile: Likewise.
81640         * wcsmbs/Makefile: Likewise.
81641         * dlfcn/Makefile: Likewise.
81642         * posix/Makefile: Likewise.
81644         [BZ #6959]
81645         * timezone/Makefile: Don't install timezone files, just the programs
81646         and scripts.
81648 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
81650         * nss/databases.def: Add missing gshadow entry.
81652         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
81654 2012-03-06  Marek Polacek  <polacek@redhat.com>
81656         [BZ #13726]
81657         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
81658         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
81659         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
81660         * stdio-common/tst-long-dbl-fphex.c: New file.
81662 2012-03-06  David S. Miller  <davem@davemloft.net>
81664         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81665         (set_obp_int): New function.
81666         (get_obp_int): New function.
81667         (__get_clockfreq_via_dev_openprom): Likewise.
81668         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
81669         Avoid unused variable warnings on 'val' and use builtin_expect.
81670         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
81671         __builtin_expect.
81672         (INLINE_CLONE_SYSCALL): Likewise.
81674 2012-03-05  David S. Miller  <davem@davemloft.net>
81676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81678 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
81680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81682         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
81683         only for |x| >= 40.
81684         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81686 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
81688         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
81689         Replace gettimeofday with __vdso_gettimeofday.
81691         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81692         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
81693         __vdso_clock_gettime and __vdso_getcpu.
81695         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
81696         time with __vdso_time.
81698 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81700         * manual/lang.texi (size_t): Note types to which size_t may be
81701         equivalent with the GNU C Library, but do not describe when
81702         differences between them are significant.
81704 2012-03-05  Andreas Jaeger  <aj@suse.de>
81706         * sysdeps/i386/fpu/libm-test-ulps: Update.
81708 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
81710         [BZ #3976]
81711         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
81712         (__ieee754_pow): Save and restore rounding mode and use
81713         round-to-nearest for main computations.
81714         * math/libm-test.inc (pow_test_tonearest): New function.
81715         (pow_test_towardzero): Likewise.
81716         (pow_test_downward): Likewise.
81717         (pow_test_upward): Likewise.
81718         (main): Call the new functions.
81719         * sysdeps/i386/fpu/libm-test-ulps: Update.
81720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81722         [BZ #3976]
81723         * math/libm-test.inc (cosh_test_tonearest): New function.
81724         (cosh_test_towardzero): Likewise.
81725         (cosh_test_downward): Likewise.
81726         (cosh_test_upward): Likewise.
81727         (sinh_test_tonearest): Likewise.
81728         (sinh_test_towardzero): Likewise.
81729         (sinh_test_downward): Likewise.
81730         (sinh_test_upward): Likewise.
81731         (main): Call the new functions.
81732         * sysdeps/i386/fpu/libm-test-ulps: Update.
81733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81735 2012-03-05  Tom de Vries  <tom@codesourcery.com>
81737         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
81738         default stack guard is set in last bytes.
81739         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
81741 2012-03-05  Kees Cook  <keescook@chromium.org>
81743         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
81745         [BZ #13656]
81746         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
81747         possibly allocate from heap instead of stack.
81748         * stdio-common/bug-vfprintf-nargs.c: New file.
81749         * stdio-common/Makefile (tests): Add nargs overflow test.
81751 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
81753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81755 2012-03-03  Marek Polacek  <polacek@redhat.com>
81757         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
81758         * math/math_private.h: Likewise.
81759         * stdlib/tst-strtod.c: Likewise.
81760         * sysdeps/i386/i486/bits/atomic.h: Likewise.
81761         * sysdeps/x86_64/bits/atomic.h: Likewise.
81763 2012-03-02  David S. Miller  <davem@davemloft.net>
81765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
81766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
81767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
81768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
81769         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
81770         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
81771         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
81772         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
81774 2012-03-02  Roland McGrath  <roland@hack.frob.com>
81776         [BZ #13792]
81777         * manual/examples/README: New file, says the example source files
81778         can be used under GPL>=2.
81779         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
81780         line containing just "*/".
81781         * manual/examples/add.c: Add copyright header (GPL>=2).
81782         * manual/examples/argp-ex1.c: Likewise.
81783         * manual/examples/argp-ex2.c: Likewise.
81784         * manual/examples/argp-ex3.c: Likewise.
81785         * manual/examples/argp-ex4.c: Likewise.
81786         * manual/examples/atexit.c: Likewise.
81787         * manual/examples/db.c: Likewise.
81788         * manual/examples/dir.c: Likewise.
81789         * manual/examples/dir2.c: Likewise.
81790         * manual/examples/execinfo.c: Likewise.
81791         * manual/examples/filecli.c: Likewise.
81792         * manual/examples/filesrv.c: Likewise.
81793         * manual/examples/fmtmsgexpl.c: Likewise.
81794         * manual/examples/genpass.c: Likewise.
81795         * manual/examples/inetcli.c: Likewise.
81796         * manual/examples/inetsrv.c: Likewise.
81797         * manual/examples/isockad.c: Likewise.
81798         * manual/examples/longopt.c: Likewise.
81799         * manual/examples/memopen.c: Likewise.
81800         * manual/examples/memstrm.c: Likewise.
81801         * manual/examples/mkfsock.c: Likewise.
81802         * manual/examples/mkisock.c: Likewise.
81803         * manual/examples/mygetpass.c: Likewise.
81804         * manual/examples/pipe.c: Likewise.
81805         * manual/examples/popen.c: Likewise.
81806         * manual/examples/rprintf.c: Likewise.
81807         * manual/examples/search.c: Likewise.
81808         * manual/examples/select.c: Likewise.
81809         * manual/examples/setjmp.c: Likewise.
81810         * manual/examples/sigh1.c: Likewise.
81811         * manual/examples/sigusr.c: Likewise.
81812         * manual/examples/stpcpy.c: Likewise.
81813         * manual/examples/strdupa.c: Likewise.
81814         * manual/examples/strftim.c: Likewise.
81815         * manual/examples/strncat.c: Likewise.
81816         * manual/examples/subopt.c: Likewise.
81817         * manual/examples/swapcontext.c: Likewise.
81818         * manual/examples/termios.c: Likewise.
81819         * manual/examples/testopt.c: Likewise.
81820         * manual/examples/testpass.c: Likewise.
81821         * manual/examples/timeval_subtract.c: Likewise.
81823         [BZ #13792]
81824         * manual/time.texi (Elapsed Time): Move timeval_subtract example
81825         function to ...
81826         * manual/timeval_subtract.c.texi: ... here, new file.
81828 2012-03-02  David S. Miller  <davem@davemloft.net>
81830         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
81832 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
81834         [BZ #3976]
81835         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
81836         (__sin): Save and restore rounding mode and use round-to-nearest
81837         for all computations.
81838         (__cos): Save and restore rounding mode and use round-to-nearest
81839         for all computations.
81840         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
81841         <fenv.h>.
81842         (tan): Save and restore rounding mode and use round-to-nearest for
81843         all computations.
81844         * math/libm-test.inc (cos_test_tonearest): New function.
81845         (cos_test_towardzero): Likewise.
81846         (cos_test_downward): Likewise.
81847         (cos_test_upward): Likewise.
81848         (sin_test_tonearest): Likewise.
81849         (sin_test_towardzero): Likewise.
81850         (sin_test_downward): Likewise.
81851         (sin_test_upward): Likewise.
81852         (tan_test_tonearest): Likewise.
81853         (tan_test_towardzero): Likewise.
81854         (tan_test_downward): Likewise.
81855         (tan_test_upward): Likewise.
81856         (main): Call the new functions.
81857         * sysdeps/i386/fpu/libm-test-ulps: Update.
81858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81860         [BZ #10135]
81861         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
81862         small n, then large n, before computing and testing k+n.
81863         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
81864         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
81865         Likewise.
81866         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
81867         Likewise.
81868         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
81869         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
81870         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
81871         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
81872         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
81873         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
81874         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
81875         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
81876         * math/libm-test.inc (scalbn_test): Add more tests.
81877         (scalbln_test): Likewise.
81879         * manual/filesys.texi (mode_t): Describe constraints on size and
81880         signedness, not exact equivalence to a particular type.
81881         (ino_t): Likewise.
81882         (ino64_t): Likewise.
81883         (dev_t): Likewise.
81884         (nlink_t): Likewise.
81885         (blkcnt_t): Likewise.
81886         (blkcnt64_t): Likewise.
81887         * manual/llio.texi (off_t): Likewise.
81889         [BZ #3976]
81890         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
81891         (__ieee754_exp): Save and restore rounding mode and use
81892         round-to-nearest for all computations.
81893         * math/libm-test.inc (exp_test_tonearest): New function.
81894         (exp_test_towardzero): Likewise.
81895         (exp_test_downward): Likewise.
81896         (exp_test_upward): Likewise.
81897         (main): Call the new functions.
81898         * sysdeps/i386/fpu/libm-test-ulps: Update.
81899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81901 2012-03-01  Chris Demetriou  <cgd@google.com>
81903         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
81904         have predictable order.
81906 2012-03-01  David S. Miller  <davem@davemloft.net>
81908         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
81910         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
81911         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
81912         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
81913         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
81915         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
81916         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
81917         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
81918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
81919         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
81920         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
81921         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
81922         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
81923         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
81925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81927         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
81928         * sysdeps/sparc/fpu/libm-test-ulps: to here.
81929         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
81931         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
81932         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81933         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
81934         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
81935         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
81936         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
81937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
81938         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81939         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
81940         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
81941         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
81942         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
81943         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81944         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
81945         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
81946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81947         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
81948         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
81949         * sysdeps/sparc/elf/configure: Regenerated.
81951 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
81953         * configure.in (AS, LD): Require binutils 2.20 or later.
81954         * configure: Regenerated.
81955         * manual/install.texi (Tools for Compilation): Give binutils 2.20
81956         as required minimum version.
81957         * INSTALL: Regenerated.
81959         [BZ #2541]
81960         [BZ #4108]
81961         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
81962         before squaring exponent.
81963         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
81964         bottom long double and 27 bits of top long double before squaring
81965         exponent.
81966         * math/libm-test.inc (erfc_test): Add more tests.
81967         * sysdeps/i386/fpu/libm-test-ulps: Update.
81968         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81971 2012-03-01  Kai Tietz  <ktietz@redhat.com>
81973         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
81974         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
81975         containing bit-fields.
81976         * soft-fp/extended.h (_FP_UNION_E): Likewise.
81977         * soft-fp/single.h (_FP_UNION_S): Likewise.
81978         * soft-fp/double.h (_FP_UNION_D): Likewise.
81980 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
81982         [BZ #13786]
81983         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
81984         not include ../strcmp.S.
81985         [USE_AS_STRNCASECMP_L]: Likewise.
81986         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
81987         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
81988         * sysdeps/i386/i686/multiarch/strncase_l-c.c
81989         (__strncasecmp_l_ia32): Define as alias to
81990         __strncasecmp_l_nonascii.
81992         [BZ #5794]
81993         * math/libm-test.inc (expm1_test): Add test for bug 5794.
81994         * sysdeps/i386/fpu/libm-test-ulps: Update.
81995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81997         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
81998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82000 2012-02-29  Jeff Law  <law@redhat.com>
82002         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
82003         out of bounds read.
82005 2012-02-29  Marek Polacek  <polacek@redhat.com>
82007         [BZ #13706]
82008         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
82009         * elf/Makefile: Add rules to run tst-unused-dep.out.
82011 2012-02-28  David S. Miller  <davem@davemloft.net>
82013         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
82014         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
82015         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
82016         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
82017         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
82018         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
82020 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
82022         * math/libm-test.inc (llround_test): Move one test from
82023         lround_test.  Use TEST_f_L in moved test.
82024         (lround_test): Move misplaced test to llround_test.  Add testcase
82025         from bug 2561.
82027 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
82029         * sysdeps/x86_64/fpu/e_expf.S: New file.
82030         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
82032 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
82034         [BZ #13637]
82035         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
82036         of remain_len that may cause incomplete multi-byte character and
82037         false match.
82038         * posix/bug-regex33.c: New file.
82039         * posix/Makefile (tests): Add bug-regex33.
82041 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
82043         * manual/macros.texi: New file.
82044         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
82045         * manual/libc.texinfo: Include macros.texi.
82046         * manual/creatute.texi: Likewise.
82047         * manual/install.texi: Likewise.
82048         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
82049         @glibcadj{} in references to the GNU C Library.
82050         * manual/charset.texi: Likewise.
82051         * manual/conf.texi: Likewise.
82052         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
82053         when not using those macros.
82054         * manual/creature.texi: Likewise.
82055         * manual/crypt.texi: Likewise.
82056         * manual/errno.texi: Likewise.
82057         * manual/filesys.texi: Likewise.
82058         * manual/header.texi: Likewise.
82059         * manual/install.texi: Likewise.
82060         * manual/intro.texi: Likewise.
82061         * manual/io.texi: Likewise.
82062         * manual/job.texi: Likewise.
82063         * manual/lang.texi: Likewise.
82064         * manual/libc.texiinfo: Likewise.
82065         * manual/llio.texi: Likewise.
82066         * manual/locale.texi: Likewise.
82067         * manual/maint.texi: Likewise.
82068         * manual/math.texi: Likewise.
82069         * manual/memory.texi: Likewise.
82070         * manual/message.texi: Likewise.
82071         * manual/nss.texi: Likewise.
82072         * manual/pattern.texi: Likewise.
82073         * manual/process.texi: Likewise.
82074         * manual/resource.texi: Likewise.
82075         * manual/search.texi: Likewise.
82076         * manual/setjmp.texi: Likewise.
82077         * manual/signal.texi: Likewise.
82078         * manual/socket.texi: Likewise.
82079         * manual/startup.texi: Likewise.
82080         * manual/stdio.texi: Likewise.
82081         * manual/string.texi: Likewise.
82082         * manual/sysinfo.texi: Likewise.
82083         * manual/syslog.texi: Likewise.
82084         * manual/terminal.texi: Likewise.
82085         * manual/time.texi: Likewise.
82086         * manual/users.texi: Likewise.
82087         * INSTALL: Regenerated.
82088         * NOTES: Regenerated.
82089         * sysdeps/gnu/errlist.c: Regenerated.
82091 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
82093         * include/dirent.h: Include <dirstream.h> before
82094         <dirent/dirent.h>.
82096 2012-02-28  David S. Miller  <davem@davemloft.net>
82098         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
82099         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
82100         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
82101         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
82103 2012-02-27  David S. Miller  <davem@davemloft.net>
82105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
82106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
82107         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
82108         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
82110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
82111         frame pointer instead of stack pointer relative arg slot.
82112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82113         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82114         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82116 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
82118         [BZ #3992]
82119         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
82121 2012-02-27  David S. Miller  <davem@davemloft.net>
82123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
82124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
82125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
82126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
82127         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
82128         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
82129         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
82130         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
82132 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82134         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
82135         later.  Allow versions 5-9.
82136         * configure: Regenerated.
82137         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
82138         required minimum version and 4.6 as recommended version.  Do not
82139         mention bugs in GCC 2.7 and 2.8.
82140         * INSTALL: Regenerated.
82142 2012-02-27  David S. Miller  <davem@davemloft.net>
82144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
82145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
82146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
82147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
82148         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
82149         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
82150         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
82151         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
82153         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
82154         manipulate bits before adding and subtracting TWO112[sx].
82155         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
82157 2012-02-27  Roland McGrath  <roland@hack.frob.com>
82159         [BZ #13775]
82160         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
82161         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
82162         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
82163         being in POSIX, because they are in 1003.1-2008.
82165         * rt/tst-aio.c: Include <fcntl.h>.
82166         * rt/tst-aio7.c: Likewise.
82167         * rt/tst-aio64.c: Likewise.
82169         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
82171 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
82173         * manual/install.texi (--with-headers): Describe headers as
82174         interface headers, not private headers.
82175         (Specific advice for GNU/Linux systems): Describe use of headers
82176         from "make headers_install", not private headers from older
82177         kernels.
82178         * INSTALL: Regenerated.
82179         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
82180         Change to 2.6.19.
82181         * sysdeps/unix/sysv/linux/configure: Regenerated.
82183         * manual/llio.texi (fclean): Remove documentation.
82185         * manual/Makefile (libc-texi-generated): New variable.  Include
82186         version.texi.
82187         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
82188         $(libc-texi-generated), not duplicated list of files.
82189         (version.texi, stamp-version): New rules.
82190         (realclean): Remove $(libc-texi-generated), not individual files
82191         from that list.  Do not remove dir-add.texinfo.
82192         * manual/libc.texinfo: Comment out uses of edition numbers and
82193         references to printed manual.  Remove last-updated dates.
82194         (EDITION): Comment out.
82195         (ISBN): Likewise.
82196         (VERSION, UPDATED): Remove.
82197         (version.texi): Include.
82199 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
82201         * sysdeps/posix/spawni.c: Include <signal.h>.
82202         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
82203         * sysdeps/pthread/aio_fsync.c: Likewise.
82205 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
82207         * conform/Makefile (tests): Run only when not cross-compiling and
82208         when fast-check is not defined.
82210         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
82211         * conform/data/limits.h-data: Fixes for POSIX2008.
82212         * conform/run-conformtest.sh: Run all tests.
82213         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
82214         headers.
82215         * include/bits/dlfcn.h: Likewise.
82216         * include/langinfo.h: Likewise.
82217         * include/monetary.h: Likewise.
82218         * include/sys/poll.h: Likewise.
82220         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
82221         for __USE_GNU.
82222         * posix/spawn.h: Define __need_sigset_t.
82223         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
82224         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
82225         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
82226         to get sigevent_t only.
82227         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
82228         only for __USE_GNU.
82229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82230         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
82231         process_vm_writev only for __USE_GNU.
82232         * termios/termios.h: Declare tcgetsid also for POSIX2008.
82234         * conform/Makefile: For now ignore errors from run-conformtest.
82235         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
82236         POSIX to avoid namespace pollution.  Don't prepend headers.
82237         * conform/data/aio.h-data: Fixes for POSIX testing.
82238         * conform/data/fcntl.h-data: Likewise.
82239         * conform/data/glob.h-data: Likewise.
82240         * conform/data/grp.h-data: Likewise.
82241         * conform/data/pthread.h-data: Likewise.
82242         * conform/data/pwd.h-data: Likewise.
82243         * conform/data/signal.h-data: Likewise.
82244         * conform/data/spawn.h-data: Likewise.
82245         * conform/data/stdio.h-data: Likewise.
82246         * conform/data/stdlib.h-data: Likewise.
82247         * conform/data/stropts.h-data: Likewise.
82248         * conform/data/sys/mman.h-data: Likewise.
82249         * conform/data/sys/stat.h-data: Likewise.
82250         * conform/data/sys/types.h-data: Likewise.
82251         * conform/data/sys/wait.h-data: Likewise.
82252         * conform/data/time.h-data: Likewise.
82253         * conform/data/unistd.h-data: Likewise.
82254         * conform/data/utime.h-data: Likewise.
82256         * io/sys/stat.h: fchmod was always in POSIX.
82257         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
82258         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
82259         * rt/aio.h: Define __need_timespec before including <time.h>.
82260         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
82261         struct.  Add forward declaration of pthread_attr_t and use it in
82262         sigevent.
82263         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
82264         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
82265         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
82266         always remove CLK_TCK definition.
82268 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
82270         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
82272 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
82274         * conform/run-conformtest.sh: New file.
82275         * conform/Makefile: Run run-conformtest for tests.
82276         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
82277         support.
82279         * conform/data/uchar.h-data: New file.
82280         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
82281         * conform/data/arpa/inet.h-data: Likewise.
82282         * conform/data/assert.h-data: Likewise.
82283         * conform/data/complex.h-data: Likewise.
82284         * conform/data/cpio.h-data: Likewise.
82285         * conform/data/ctype.h-data: Likewise.
82286         * conform/data/dirent.h-data: Likewise.
82287         * conform/data/dlfcn.h-data: Likewise.
82288         * conform/data/errno.h-data: Likewise.
82289         * conform/data/fcntl.h-data: Likewise.
82290         * conform/data/float.h-data: Likewise.
82291         * conform/data/fmtmsg.h-data: Likewise.
82292         * conform/data/fnmatch.h-data: Likewise.
82293         * conform/data/ftw.h-data: Likewise.
82294         * conform/data/glob.h-data: Likewise.
82295         * conform/data/grp.h-data: Likewise.
82296         * conform/data/iconv.h-data: Likewise.
82297         * conform/data/inttypes.h-data: Likewise.
82298         * conform/data/langinfo.h-data: Likewise.
82299         * conform/data/libgen.h-data: Likewise.
82300         * conform/data/limits.h-data: Likewise.
82301         * conform/data/locale.h-data: Likewise.
82302         * conform/data/math.h-data: Likewise.
82303         * conform/data/monetary.h-data: Likewise.
82304         * conform/data/mqueue.h-data: Likewise.
82305         * conform/data/ndbm.h-data: Likewise.
82306         * conform/data/net/if.h-data: Likewise.
82307         * conform/data/netdb.h-data: Likewise.
82308         * conform/data/netinet/in.h-data: Likewise.
82309         * conform/data/nl_types.h-data: Likewise.
82310         * conform/data/poll.h-data: Likewise.
82311         * conform/data/pthread.h-data: Likewise.
82312         * conform/data/pwd.h-data: Likewise.
82313         * conform/data/regex.h-data: Likewise.
82314         * conform/data/sched.h-data: Likewise.
82315         * conform/data/search.h-data: Likewise.
82316         * conform/data/semaphore.h-data: Likewise.
82317         * conform/data/setjmp.h-data: Likewise.
82318         * conform/data/signal.h-data: Likewise.
82319         * conform/data/spawn.h-data: Likewise.
82320         * conform/data/stdarg.h-data: Likewise.
82321         * conform/data/stdio.h-data: Likewise.
82322         * conform/data/stdlib.h-data: Likewise.
82323         * conform/data/string.h-data: Likewise.
82324         * conform/data/strings.h-data: Likewise.
82325         * conform/data/stropts.h-data: Likewise.
82326         * conform/data/sys/ipc.h-data: Likewise.
82327         * conform/data/sys/mman.h-data: Likewise.
82328         * conform/data/sys/msg.h-data: Likewise.
82329         * conform/data/sys/resource.h-data: Likewise.
82330         * conform/data/sys/select.h-data: Likewise.
82331         * conform/data/sys/sem.h-data: Likewise.
82332         * conform/data/sys/shm.h-data: Likewise.
82333         * conform/data/sys/socket.h-data: Likewise.
82334         * conform/data/sys/stat.h-data: Likewise.
82335         * conform/data/sys/statvfs.h-data: Likewise.
82336         * conform/data/sys/time.h-data: Likewise.
82337         * conform/data/sys/timeb.h-data: Likewise.
82338         * conform/data/sys/times.h-data: Likewise.
82339         * conform/data/sys/types.h-data: Likewise.
82340         * conform/data/sys/uio.h-data: Likewise.
82341         * conform/data/sys/un.h-data: Likewise.
82342         * conform/data/sys/utsname.h-data: Likewise.
82343         * conform/data/sys/wait.h-data: Likewise.
82344         * conform/data/syslog.h-data: Likewise.
82345         * conform/data/tar.h-data: Likewise.
82346         * conform/data/termios.h-data: Likewise.
82347         * conform/data/utime.h-data: Likewise.
82348         * conform/data/utmpx.h-data: Likewise.
82349         * conform/data/varargs.h-data: Likewise.
82350         * conform/data/wchar.h-data: Likewise.
82351         * conform/data/wctype.h-data: Likewise.
82352         * conform/data/wordexp.h-data: Likewise.
82354         * include/stropts.h: New file.
82355         * include/uchar.h: New file.
82356         * include/aio.h: Changes to allow conformtest.pl to use the headers.
82357         * include/assert.h: Likewise.
82358         * include/ctype.h: Likewise.
82359         * include/dirent.h: Likewise.
82360         * include/dlfcn.h: Likewise.
82361         * include/fcntl.h: Likewise.
82362         * include/fnmatch.h: Likewise.
82363         * include/glob.h: Likewise.
82364         * include/grp.h: Likewise.
82365         * include/libio.h: Likewise.
82366         * include/locale.h: Likewise.
82367         * include/math.h: Likewise.
82368         * include/net/if.h: Likewise.
82369         * include/netdb.h: Likewise.
82370         * include/netinet/in.h: Likewise.
82371         * include/pthread.h: Likewise.
82372         * include/pwd.h: Likewise.
82373         * include/regex.h: Likewise.
82374         * include/sched.h: Likewise.
82375         * include/search.h: Likewise.
82376         * include/setjmp.h: Likewise.
82377         * include/signal.h: Likewise.
82378         * include/stdio.h: Likewise.
82379         * include/stdlib.h: Likewise.
82380         * include/string.h: Likewise.
82381         * include/sys/cdefs.h: Likewise.
82382         * include/sys/mman.h: Likewise.
82383         * include/sys/msg.h: Likewise.
82384         * include/sys/resource.h: Likewise.
82385         * include/sys/select.h: Likewise.
82386         * include/sys/socket.h: Likewise.
82387         * include/sys/stat.h: Likewise.
82388         * include/sys/statvfs.h: Likewise.
82389         * include/sys/time.h: Likewise.
82390         * include/sys/times.h: Likewise.
82391         * include/sys/uio.h: Likewise.
82392         * include/sys/utsname.h: Likewise.
82393         * include/sys/wait.h: Likewise.
82394         * include/termios.h: Likewise.
82395         * include/time.h: Likewise.
82396         * include/ulimit.h: Likewise.
82397         * include/unistd.h: Likewise.
82398         * include/utime.h: Likewise.
82399         * include/wchar.h: Likewise.
82400         * include/wctype.h: Likewise.
82401         * include/wordexp.h: Likewise.
82403         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
82405         * time/time.h: TIME_UTC must be a macro.
82406         Make timespec_get available for ISO C11 only as well.
82408 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
82410         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
82411         Reported by Peng Haitao <penght@cn.fujitsu.com>.
82413 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82415         * configure.in: Use -o not -a in test for unsupported multi-arch.
82417 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82419         * manual/texinfo.tex: Update to version 2012-01-19.16.
82421 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
82423         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
82425 2012-02-24  Roland McGrath  <roland@hack.frob.com>
82427         [BZ #13738]
82428         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
82429         * manual/fdl-1.3.texi: New file.
82430         * manual/fdl-1.1.texi: File removed.
82432         [BZ #13738]
82433         * manual/libc.texinfo (FDL_VERSION): New @set.
82434         Use it for mention of FDL in cover text.
82435         (Documentation License): Use it in @include file name.
82437 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82438             Roland McGrath  <roland@hack.frob.com>
82440         [BZ #5461]
82441         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
82442         (not LONG_LONG_MAX and LONG_LONG_MIN.
82443         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
82444         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
82445         name.
82446         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
82448 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82450         [BZ #2547]
82451         [BZ #11365]
82452         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
82453         manipulate bits before adding and subtracting TWO23[sx].
82454         * math/libm-test.inc (nearbyint_test): Add more tests.
82456 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82458         [BZ #2548]
82459         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
82460         bits before adding and subtracting TWO23[sx].
82461         * math/libm-test.inc (rint_test): Add more tests.
82462         (rint_test_tonearest): Likewise.
82463         (rint_test_towardzero): Likewise.
82464         (rint_test_downward): Likewise.
82465         (rint_test_upward: Likewise.
82467 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82469         [BZ #10110]
82470         * include/stdc-predef.h: New file.  Extracted from features.h.
82471         * include/features.h: Include stdc-predef.h.
82472         * Makefile (headers): Add stdc-predef.h.
82473         * CONFORMANCE (Compiler limitations): Update.
82475 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
82477         * manual/libc.texinfo (VERSION, UPDATED): Revert.
82479 2012-02-21  David S. Miller  <davem@davemloft.net>
82481         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
82482         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82484 2012-02-20  David S. Miller  <davem@davemloft.net>
82486         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
82487         using a normal save/restore sequence, rather than allocating a
82488         dummy stack frame just to store a frame pointer and restore.
82489         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82491 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82493         * manual/install.texi: Fix stray word in line-wrapped comment.
82495 2012-02-20  David S. Miller  <davem@davemloft.net>
82497         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
82498         both binutils and gcc support GOTDATA.
82500         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
82501         "rd %pc" in the PIC register setup sequences.
82503         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
82504         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
82505         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
82506         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
82507         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
82508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82509         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82510         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
82511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
82512         (SYSCALL_ERROR_HANDLER): Likewise.
82513         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
82514         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
82515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
82516         (SYSCALL_ERROR_HANDLER): Likewise.
82518         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
82519         (HAVE_GCC_GOTDATA): New.
82520         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
82521         relocation support in both binutils and gcc.
82522         * sysdeps/sparc/elf/configure: Regenerate.
82524         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
82525         * sysdeps/sparc/sparc32/elf/configure: Delete.
82526         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
82527         * sysdeps/sparc/sparc64/elf/configure: Delete.
82528         * sysdeps/sparc/elf/configure.in: New file.
82529         * sysdeps/sparc/elf/configure: Generate.
82531         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
82532         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
82533         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
82534         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
82535         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
82537 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82539         * manual/install.texi: Do not mention specific glibc version
82540         numbers.
82541         * manual/libc.texinfo (VERSION, UPDATED): Update.
82542         (@copying): Use @copyright{} and range of years.
82544 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
82546         [BZ #13695]
82547         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
82548         [crti.S not in sysdirs] (generated): Do not append.
82549         [crti.S not in sysdirs] (omit-deps): Likewise.
82550         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
82551         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
82552         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
82553         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
82554         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
82555         Likewise.
82556         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
82557         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
82558         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
82559         * csu/defs.awk: Remove file.
82560         * sysdeps/generic/initfini.c: Likewise.
82561         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
82562         variable.
82563         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
82564         Likewise.
82566 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82568         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
82569         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
82570         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
82571         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
82572         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
82573         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
82574         <bits/epoll.h>.
82575         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
82576         (__EPOLL_PACKED): Define to empty if not defined by
82577         <bits/epoll.h>.
82578         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
82579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82580         bits/epoll.h.
82582 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82584         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
82585         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
82586         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
82587         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
82588         <bits/timerfd.h>.
82589         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
82590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82591         bits/timerfd.h.
82593 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
82595         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
82596         in C locale.
82597         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
82598         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
82599         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
82600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82602 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
82604         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82605         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
82607 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
82609         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
82610         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
82611         defined.
82612         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
82613         Likewise.
82614         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
82615         entry for 2.16.
82617 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
82619         * math/w_acos.c: Use non-signaling floating-point comparisons.
82620         * math/w_acosf.c: Likewise.
82621         * math/w_acosh.c: Likewise.
82622         * math/w_acoshf.c: Likewise.
82623         * math/w_acoshl.c: Likewise.
82624         * math/w_acosl.c: Likewise.
82625         * math/w_asin.c: Likewise.
82626         * math/w_asinf.c: Likewise.
82627         * math/w_asinl.c: Likewise.
82628         * math/w_atanh.c: Likewise.
82629         * math/w_atanhf.c: Likewise.
82630         * math/w_atanhl.c: Likewise.
82631         * math/w_exp2.c: Likewise.
82632         * math/w_exp2f.c: Likewise.
82633         * math/w_exp2l.c: Likewise.
82634         * math/w_j0.c: Likewise.
82635         * math/w_j0f.c: Likewise.
82636         * math/w_j0l.c: Likewise.
82637         * math/w_j1.c: Likewise.
82638         * math/w_j1f.c: Likewise.
82639         * math/w_j1l.c: Likewise.
82640         * math/w_jn.c: Likewise.
82641         * math/w_jnf.c: Likewise.
82642         * math/w_log.c: Likewise.
82643         * math/w_log10.c: Likewise.
82644         * math/w_log10f.c: Likewise.
82645         * math/w_log10l.c: Likewise.
82646         * math/w_log2.c: Likewise.
82647         * math/w_log2f.c: Likewise.
82648         * math/w_log2l.c: Likewise.
82649         * math/w_logf.c: Likewise.
82650         * math/w_logl.c: Likewise.
82651         * math/w_sqrt.c: Likewise.
82652         * math/w_sqrtf.c: Likewise.
82653         * math/w_sqrtl.c: Likewise.
82654         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
82655         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
82656         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
82657         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
82658         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
82660 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82662         [BZ #9739]
82663         * manual/string.texi (strnlen): Use correct parameter name in
82664         equivalent expression.
82666 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82668         [BZ #11174]
82669         * manual/users.texi (seteuid): Consistently use neweuid for
82670         argument name.
82672 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
82674         [BZ #13704]
82675         * manual/nss.texi (Services in the NSS configuration): Correct
82676         list of services in example configuration file.
82678 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
82680         [BZ #11322]
82681         * manual/arith.texi: Remove statements about negative zero
82682         behaving identically to zero.
82684 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82686         [BZ #5993]
82687         * manual/install.texi: Do not document upgrading from libc5.
82689 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
82691         [BZ #4596]
82692         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
82694 2012-02-18  David S. Miller  <davem@davemloft.net>
82696         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
82697         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
82698         %o7 across the call.
82699         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
82700         instead.
82701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
82702         SETUP_PIC_REG_LEAF.
82703         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
82704         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
82705         * sysdeps/sparc/crtn.S: Likewise.
82707 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
82709         * aout/Makefile: Remove.
82711 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
82713         [BZ #13058]
82714         * manual/examples/argp-ex1.c (main): Format definition in GNU
82715         style.
82716         * manual/examples/argp-ex2.c (main): Likewise.
82717         * manual/examples/argp-ex3.c (main): Likewise.
82718         * manual/examples/argp-ex4.c (main): Likewise.
82719         * manual/examples/longopt.c (main): Use new-style prototype
82720         definition.
82721         * manual/examples/strncat.c (main): Specify return type and use
82722         (void) for arguments.
82723         * manual/examples/subopt.c (main): Use char **argv argument.
82725 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82727         [BZ #5077]
82728         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
82729         rounding modes.
82731 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
82733         [BZ #6907]
82734         * manual/string.texi (strchr): Change when strchrnul is
82735         recommended.
82737 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
82739         [BZ #174]
82740         * manual/locale.texi (setlocale): Document LOCPATH.
82742 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82744         [BZ #10210]
82745         * manual/process.texi (execle): Move @dots{} before last argument.
82747 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
82749         [BZ #12047]
82750         * manual/charset.texi (Generic Charset Conversion): Fix typo
82751         (LC_TYPE -> LC_CTYPE).
82753 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
82755         [BZ #5805]
82756         * manual/arith.texi (scalbn): Use @var{} on parameter names.
82757         (scalbnf): Likewise.
82758         (scalbnl): Likewise.
82759         (scalbln): Likewise.
82760         (scalblnf): Likewise.
82761         (scalblnl): Likewise.
82762         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
82763         (vwarnx): Likewise.
82764         (verr): Likewise.
82765         (verrx): Likewise.
82766         * manual/filesys.texi (telldir): Use braces around return type.
82767         * manual/llio.texi (mmap): Add space after comma.
82768         (mmap64): Likewise.
82769         * manual/math.texi (jn): Use @var{} on parameter names.
82770         (jnf): Likewise.
82771         (jnl): Likewise.
82772         (yn): Likewise.
82773         (ynf): Likewise.
82774         (ynl): Likewise.
82775         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
82776         line.
82777         * manual/resource.texi (ulimit): Use @dots{} instead of literal
82778         "...".
82779         (sched_get_priority_min): Remove semicolon on @deftypefun line.
82780         (sched_get_priority_max): Likewise.
82781         * manual/signal.texi (sigvec): Add space after comma.
82782         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
82783         names.
82784         (if_indextoname): Likewise.
82785         (if_freenameindex): Likewise.
82786         (sendto): Use ',' instead of '.' in prototype.
82787         * manual/startup.texi (syscall): Use @dots{} instead of literal
82788         "...".
82789         * manual/stdio.texi (__fpending): Separate initial words of
82790         paragraph from @deftypefun line.
82791         * manual/syslog.texi (syslog): Use @dots{} instead of literal
82792         "...".
82793         (vsyslog): Use @var{} on parameter names.
82794         * manual/terminal.texi (stty): Use @var{} on parameter names.
82795         * manual/users.texi (getutmp): Use @var{} on parameter names.
82796         (getutmpx): Likewise.
82798 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82800         [BZ #6884]
82801         * manual/stdio.texi (fopen): Fix typos in description of
82802         ",ccs=STRING".
82804 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
82806         [BZ #4026]
82807         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
82808         get clock_id definition.
82810 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
82812         [BZ #4822]
82813         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
82814         (madvise): Cast every argument to void on its own.
82816 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82818         [BZ #9902]
82819         * manual/startup.texi (Exit Status): Fix typo.
82821 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
82823         [BZ #10140]
82824         * manual/examples/argp-ex1.c: Include <stdlib.h>.
82825         * manual/examples/argp-ex2.c: Likewise.
82826         * manual/examples/argp-ex3.c: Likewise.
82828 2012-02-16  Richard Henderson  <rth@redhat.com>
82830         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
82831         * sysdeps/s390/s390-32/initfini.c: Remove.
82832         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
82833         * sysdeps/s390/s390-64/initfini.c: Remove.
82835 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
82837         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
82838         compiler output for sysdeps/generic/initfini.c.
82839         * sysdeps/sh/elf/initfini.c: Remove file.
82841 2012-02-16  David S. Miller  <davem@davemloft.net>
82843         [BZ #11494]
82844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
82846         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
82847         * sysdeps/sparc/crti.S: New file.
82848         * sysdeps/sparc/crtn.S: New file.
82849         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
82850         * sysdeps/sparc/sparc64/Makefile: Likewise.
82852 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
82854         [BZ #3335]
82855         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
82857 2012-02-15  Roland McGrath  <roland@hack.frob.com>
82859         [BZ #4822]
82860         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
82862         * mach/devstream.c (cookie_io_functions_t): Macro removed.
82863         (write, read, close): Likewise.
82864         Patch by Aurelien Jarno <aurelien@aurel32.net>.
82866 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
82868         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
82869         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
82870         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
82871         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
82872         <bits/signalfd.h>.
82873         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
82874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82875         bits/signalfd.h.
82877 2012-02-14  Marek Polacek  <polacek@redhat.com>
82879         * sysdeps/x86_64/crti.S: New file.
82880         * sysdeps/x86_64/crtn.S: New file.
82881         * sysdeps/x86_64/elf/initfini.c: Remove file.
82883 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82885         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
82886         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
82887         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
82888         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
82889         <bits/inotify.h>.
82890         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
82891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82892         bits/inotify.h.
82894 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
82896         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
82897         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
82898         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
82899         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
82900         <bits/eventfd.h>.
82901         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
82902         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
82903         bits/eventfd.h.
82905 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
82907         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
82908         __feraiseexcept instead of feraiseexcept.
82910         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
82911         nanosleep invocations.
82912         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
82913         strings, and add error checking for a nanosleep invocations.
82915 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
82917         Replace FSF snail mail address with URLs, as per GNU coding standards.
82918         Most of the snail mail addresses were wrong anyway, and omitting
82919         them makes the source code easier to maintain.  Almost all of the
82920         changes are to license notices and to locale LC_IDENTIFICATION
82921         addresses, except for this one:
82922         * manual/libc.texinfo: In "Published by", give the FSF's URL,
82923         not its snail mail address.
82925 2012-02-09  Richard Henderson  <rth@twiddle.net>
82927         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
82928         of kernel-features.h.
82930         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
82932 2012-02-08  Marek Polacek  <polacek@redhat.com>
82934         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
82935         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
82936         * sysdeps/gnu/_G_config.h: Likewise.
82937         * sysdeps/generic/_G_config.h: Likewise.
82939 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
82941         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
82942         tests.
82943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82945         * sysdeps/powerpc/powerpc32/crti.S: New file.
82946         * sysdeps/powerpc/powerpc32/crtn.S: New file.
82947         * sysdeps/powerpc/powerpc64/crti.S: New file.
82948         * sysdeps/powerpc/powerpc64/crtn.S: New file.
82950         * Makeconfig (have-initfini): Don't set.
82951         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
82952         * configure.in (nopic_initfini): Don't substitute.
82953         * config.h.in (HAVE_INITFINI): Don't #undef.
82954         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
82955         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
82957 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
82959         Support crti.S and crtn.S provided directly by architectures.
82960         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
82961         [crti.S in sysdirs] (omit-deps): Likewise.
82962         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
82963         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
82964         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
82965         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
82966         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
82967         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
82968         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
82969         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
82970         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
82971         compiler output for sysdeps/generic/initfini.c.
82972         * sysdeps/i386/elf/Makefile: Remove file.
82973         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
82975 2012-02-07  Marek Polacek  <polacek@redhat.com>
82977         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
82978         * sysdeps/gnu/_G_config.h: Likewise.
82979         * sysdeps/mach/hurd/_G_config.h: Likewise.
82981 2012-02-07  Marek Polacek  <polacek@redhat.com>
82983         * math/Makefile (tests): Add tst-CMPLX2.
82984         * math/tst-CMPLX2.c: New file.
82986 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
82988         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82990         * math/libm-test.inc (jn_test): Add missing L suffix.
82992 2012-02-06  Marek Polacek  <polacek@redhat.com>
82994         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
82995         * sysdeps/i386/fpu/e_powf.S: Likewise.
82996         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
82997         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82998         * sysdeps/i386/fpu/e_acosh.S: Likewise.
82999         * sysdeps/i386/fpu/e_pow.S: Likewise.
83000         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
83001         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
83002         * sysdeps/i386/fpu/s_expm1.S: Likewise.
83003         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
83004         * sysdeps/i386/fpu/e_log2.S: Likewise.
83005         * sysdeps/i386/fpu/e_log2l.S: Likewise.
83006         * sysdeps/i386/fpu/e_scalb.S: Likewise.
83007         * sysdeps/i386/fpu/e_powl.S: Likewise.
83008         * sysdeps/i386/fpu/s_log1p.S: Likewise.
83009         * sysdeps/i386/fpu/e_log10f.S: Likewise.
83010         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
83011         * sysdeps/i386/fpu/e_logl.S: Likewise.
83012         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
83013         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
83014         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
83015         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
83016         * sysdeps/i386/fpu/e_log2f.S: Likewise.
83017         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
83018         * sysdeps/i386/fpu/e_log.S: Likewise.
83019         * sysdeps/i386/fpu/s_cexp.S: Likewise.
83020         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
83021         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
83022         * sysdeps/i386/fpu/e_logf.S: Likewise.
83023         * sysdeps/i386/fpu/e_log10l.S: Likewise.
83024         * sysdeps/i386/fpu/e_atanh.S: Likewise.
83025         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
83026         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
83027         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
83028         * sysdeps/i386/fpu/e_log10.S: Likewise.
83029         * sysdeps/i386/fpu/s_frexp.S: Likewise.
83030         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
83031         * sysdeps/i386/fpu/s_asinh.S: Likewise.
83032         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
83033         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
83034         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
83035         * sysdeps/i386/asm-syntax.h: Likewise.
83036         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
83037         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
83038         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
83039         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
83040         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
83041         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
83042         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
83043         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
83044         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
83045         * sysdeps/powerpc/sysdep.h: Likewise.
83046         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
83047         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
83049 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83051         [BZ #411]
83052         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
83054 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
83056         * sysdeps/i386/sysdep.h: Include <features.h>.
83057         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
83058         version.
83060 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
83062         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
83063         Define.
83064         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
83065         LOAD_PIC_REG_STR.
83067 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83069         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
83070         (SETUP_PIC_REG): Use GET_PC_THUNK.
83071         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
83072         macro.
83074 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83076         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
83077         for non-PIC compilation.
83078         (SETUP_PIC_REG): Add .p2align directive.
83079         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
83080         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
83081         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
83082         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
83083         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
83084         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
83085         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
83086         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83087         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
83088         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
83089         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
83090         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
83091         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
83092         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
83093         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
83094         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
83095         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
83096         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
83097         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
83098         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
83099         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
83100         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
83101         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
83102         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
83103         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
83104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
83105         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
83106         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
83107         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
83108         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
83109         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
83110         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
83111         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
83112         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
83113         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
83114         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
83115         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
83116         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
83117         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
83118         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
83119         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
83121 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
83123         * math/tst-CMPLX.c: Include <stdio.h>.
83125 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
83127         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
83128         float.
83129         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83130         * sysdeps/sparc/bits/mathdef.h: Likewise.
83132 2012-01-31  Marek Polacek  <polacek@redhat.com>
83134         * libio/libio.h: Don't define _PARAMS.
83135         * locale/programs/config.h: Don't define PARAMS.
83136         * stdlib/strtol_l.c: Likewise.
83137         (__strtol_l): Remove PARAMS from the prototype.
83139 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
83141         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
83142         names.  Just use the correct names.  Remove unnecessary wrapper
83143         functions.
83144         * malloc/arena.c: Likewise.
83145         * malloc/hooks.c: Likewise.
83147         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
83148         ARENA_TEST says not to.  Simplify test for creation of a new arena.
83149         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
83151 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
83153         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
83154         into tail calls.
83155         (update_get_addr): New function.
83156         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
83157         GET_ADDR_MODULE parameter.
83159 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83161         * crypt/cert.c: Remove __STDC__ conditionals.
83162         * crypt/crypt-entry.c: Likewise.
83163         * crypt/crypt_util.c: Likewise.
83164         * libio/filedoalloc.c: Likewise.
83165         * libio/fileops.c: Likewise.
83166         * libio/genops.c: Likewise.
83167         * libio/iofclose.c: Likewise.
83168         * libio/iofdopen.c: Likewise.
83169         * libio/iofopen.c: Likewise.
83170         * libio/iofopen64.c: Likewise.
83171         * libio/iogetdelim.c: Likewise.
83172         * libio/iopopen.c: Likewise.
83173         * libio/obprintf.c: Likewise.
83174         * libio/oldfileops.c: Likewise.
83175         * libio/oldiofclose.c: Likewise.
83176         * libio/oldiofdopen.c: Likewise.
83177         * libio/oldiofopen.c: Likewise.
83178         * libio/oldiopopen.c: Likewise.
83179         * libio/wfiledoalloc.c: Likewise.
83180         * libio/wgenops.c: Likewise.
83181         * locale/programs/xmalloc.c: Likewise.
83182         * misc/syslog.c: Likewise.
83183         * stdio-common/xbug.c: Likewise.
83184         * string/memchr.c: Likewise.
83185         * string/memcmp.c: Likewise.
83186         * string/memrchr.c: Likewise.
83187         * string/rawmemchr.c: Likewise.
83188         * sysdeps/posix/getcwd.c: Likewise.
83189         * time/strftime_l.c: Likewise.
83191 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
83193         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
83194         * config.make.in (config-cflags-sse2avx): Define.
83195         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
83196         Fix typo.
83198 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
83200         * scripts/config.guess: Update from upstream config git repository.
83201         * scripts/config.sub: Likewise.
83203 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
83205         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
83206         (EM_NUM): Update.
83207         (R_TILEPRO_*, R_TILEGX_*): New macros.
83209         * scripts/firstversions.awk: Fix bug in version range handling.
83211         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
83213         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
83215         * include/sys/epoll.h: New file.
83216         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
83217         libc_hidden_def.
83219 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
83221         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
83222         Avoid unnecessary __WORDSIZE == 64 test.
83223         (fmaxf): Use VEX format if possible.
83224         (fmax): Likewise.
83225         (fminf): Likewise.
83226         (fmin): Likewise.
83228         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
83229         * math/math_private.h: Remove libc_fegetround* and
83230         libc_fesetround*.
83231         * sysdeps/i386/configure.in: Check for -msse2avx.
83232         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
83233         also if SSE2AVX is defined.
83234         Remove libc_fegetround* and libc_fesetround*.
83235         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
83236         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
83237         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
83238         of HAS_YMM_USABLE.
83239         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83240         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83241         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83242         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83243         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83245         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
83247 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83249         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
83250         size is not set.
83251         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
83253 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
83255         [BZ #13618]
83256         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
83257         relocation.
83258         * Makeconfig (libm): Define.
83259         * elf/Makefile: Add rules to build and run tst-relsort1.
83260         * elf/tst-relsort1.c: New file.
83261         * elf/tst-relsort1mod1.c: New file.
83262         * elf/tst-relsort1mod2.c: New file.
83264 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
83266         * math/s_ldexp.c: Remove __STDC__ conditionals.
83267         * math/s_ldexpf.c: Likewise.
83268         * math/s_ldexpl.c: Likewise.
83269         * math/s_nextafter.c: Likewise.
83270         * math/s_nexttowardf.c: Likewise.
83271         * math/s_significand.c: Likewise.
83272         * math/s_significandf.c: Likewise.
83273         * math/s_significandl.c: Likewise.
83274         * math/w_jnl.c: Likewise.
83275         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83276         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83277         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83278         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83279         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83280         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83281         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
83282         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83283         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83284         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83285         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83286         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83287         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83288         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83289         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83290         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83291         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83292         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83293         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83294         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83295         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83296         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83297         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83298         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83299         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83300         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83301         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83302         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83303         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83304         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83305         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83306         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83307         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83308         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83309         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83310         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83311         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83312         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83313         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83314         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83315         * sysdeps/ieee754/k_standard.c: Likewise.
83316         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83317         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83318         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83319         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83320         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83321         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83322         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83323         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83324         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83325         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83326         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83327         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83328         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83329         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83330         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83331         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83332         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83333         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83334         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83335         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83336         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83337         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83338         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83339         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83340         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83341         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83342         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83343         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
83346         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
83347         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
83348         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
83349         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
83350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
83351         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
83352         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
83353         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
83354         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
83355         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
83356         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
83357         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
83358         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
83359         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
83360         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
83361         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
83362         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
83363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
83364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
83365         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
83366         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
83367         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
83368         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
83369         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
83370         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
83371         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
83372         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
83373         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
83374         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
83375         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
83376         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
83377         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
83378         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
83379         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
83380         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
83381         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
83382         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
83383         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
83384         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
83385         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
83386         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
83387         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
83388         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
83389         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
83390         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
83391         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
83392         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
83393         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
83394         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
83395         * sysdeps/ieee754/s_matherr.c: Likewise.
83396         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
83397         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
83398         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
83399         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
83401 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83403         * crypt/md5.h: Remove __STDC__ conditionals.
83404         * libio/libioP.h: Likewise.
83405         * locale/programs/config.h: Likewise.
83406         * sysdeps/generic/sysdep.h: Likewise.
83407         * sysdeps/i386/asm-syntax.h: Likewise.
83408         * sysdeps/s390/asm-syntax.h: Likewise.
83409         * sysdeps/unix/sysdep.h: Likewise.
83410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
83411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
83413 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
83415         * libio/libio.h: Remove __STDC__ conditionals.
83416         * malloc/obstack.h: Likewise.
83417         * math/complex.h: Likewise.
83418         * math/math.h: Likewise.
83419         * sysdeps/generic/_G_config.h: Likewise.
83420         * sysdeps/gnu/_G_config.h: Likewise.
83421         * sysdeps/mach/hurd/_G_config.h: Likewise.
83422         * sysdeps/powerpc/bits/mathdef.h: Likewise.
83423         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
83424         * sysdeps/sparc/bits/mathdef.h: Likewise.
83426 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
83428         [BZ #13583]
83429         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
83430         Clean up HAS_* macros.
83431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
83432         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
83433         possible.
83434         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
83435         HAS_AVX.
83436         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
83437         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
83438         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
83439         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
83440         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
83442 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
83444         * elf/tst-unique3.cc (gets): Remove declaration.
83445         * elf/tst-unique3lib.cc (gets): Likewise.
83446         * elf/tst-unique3lib2.cc (gets): Likewise.
83447         * elf/tst-unique4.cc (gets): Likewise.
83449 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
83451         * include/stdio.h: Add C++ protection.  Add gets declarations and
83452         definitions.
83453         * debug/tst-chk1.c: Don't declare gets here.
83454         * stdio-common/tst-gets.c: Likewise.
83456 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83458         * posix/glob: Remove directory.
83460 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
83462         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
83464 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
83466         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
83467         of the non-standard EPFNOSUPPORT.
83469 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83471         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
83472         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
83473         ANYWHERE set to 1 only on KERN_NO_SPACE error.
83475 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
83477         * wcsmbs/uchar.h: Test __STDC_VERSION__.
83479 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
83481         * nscd/aicache.c (addhstaiX): Do not cache negative results of
83482         transient errors.
83483         * nscd/grpcache.c (cache_addgr): Likewise.
83484         * nscd/hstcache.c (cache_addhst): Likewise.
83485         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83486         * nscd/pwdcache.c (cache_addpw): Likewise.
83487         * nscd/servicescache.c (cache_addserv): Likewise.
83489 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
83491         * malloc/malloc.c: Various cleanups.
83492         * malloc/hooks.c: Likewise.
83494         * stdlib/Makefile (tests): Add bug-fmtmsg1.
83495         * stdlib/bug-fmtmsg1.c: New file.
83497         * stdlib/fmtmsg.c (init): Add missing unlock.
83498         Patch by Peng Haitao <penght@cn.fujitsu.com>.
83500 2012-01-12  Marek Polacek  <polacek@redhat.com>
83502         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
83503         and _GNU_SOURCE.
83505 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
83507         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
83508         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
83509         macro to ensure uniqueness of label name.
83510         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
83511         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
83513 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
83515         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
83517         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
83518         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83519         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
83520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
83522 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
83524         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
83526         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
83527         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83528         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
83530         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
83532         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
83533         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83534         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
83535         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
83537         * math/bits/math-finite.h: Add ldexp support.
83539 2012-01-10  Marek Polacek  <polacek@redhat.com>
83541         * locale/programs/localedef.h (show_archive_content): Add noreturn
83542         attribute.
83544 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
83546         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
83548 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83550         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
83552         * io/Makefile (headers): Add bits/poll2.h.
83554 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
83556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
83557         typo #include statement.
83559 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83561         * include/sys/cdefs.h: Define __attribute_alloc_size.
83562         * catgets/gencat.c: Add alloc_size attribute and apply consistently
83563         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
83564         * elf/pldd.c: Likewise.
83565         * iconv/iconv_charmap.c: Likewise.
83566         * iconv/iconvconfig.c: Likewise.
83567         * iconv/strtab.c: Likewise.
83568         * locale/programs/locale.c: Likewise.
83569         * locale/programs/localedef.h: Likewise.
83570         * locale/programs/simple-hash.c: Likewise.
83571         * nscd/nscd.h: Likewise.
83572         * nss/makedb.c: Likewise.
83573         * sysdeps/generic/ldconfig.h: Likewise.
83574         * locale/programs/localedef.c: Remove xmalloc prototype.
83575         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
83577 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83579         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
83580         appropriate.
83582 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
83584         * math/Makefile (tests): Add tst-CMPLX.
83585         * math/tst-CMPLX.c: New file.
83587         * math/complex.h (CMPLXL): Fix typo.
83589         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
83590         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
83591         GLIBC_2.16.
83592         * debug/tst-chk1.c: Add poll and ppoll tests.
83593         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
83594         * include/sys/poll.h: Add hidden proto for ppoll.
83595         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
83596         * sysdeps/mach/hurd/ppoll.c: Likewise.
83597         * io/ppoll.c: Likewise.
83598         * debug/poll_chk.c: New file.
83599         * debug/ppoll_chk.c: New file.
83600         * include/bits/poll2.h: New file.
83601         * io/bits/poll2.h: New file.
83603         [BZ #1350]
83604         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
83606         * configure.in: static is always set to yes.  Remove.
83607         * config.make.in: Don't set build-static.
83608         * Makeconfig: Remove use of build-static.
83609         * dlfcn/Makefile: Likewise.
83610         * elf/Makefile: Likewise.
83611         * math/Makefile: Likewise.
83612         * misc/Makefile: Likewise.
83613         * nptl/Makefile: Likewise.
83614         * sysdeps/mach/hurd/Makefile: Likewise.
83616         * configure.in: PWD_P is not used anymore.
83617         * config.make.in: Remove PWD_P entry.
83619         * configure.in: Remove last remnants of RANLIB.
83620         No need to check for signed size_t anymore.
83621         Don't set libc_commonpagesize and libc_relro_required here for Alpha
83622         and IA-64.
83623         Remove __builtin_expect test because we require at least gcc 3.4.
83624         * aclocal.m4: Likewise.
83626         * wcsmbs/mbrtoc16.c: Implement using towc function.
83627         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
83628         * wcsmbs/wcsmbsload.c: Likewise.
83629         * iconv/gconv_simple.c: Likewise.
83630         * iconv/gconv_int.h: Likewise.
83631         * iconv/gconv_builtin.h: Likewise.
83632         * iconv/iconv_prog.c: Remove CHAR16 handling.
83634         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
83636         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
83638         * configure.in: Remove --with-elf and --enable-bounded options.
83639         Dont set base_machine for ia64.  More non-ELF conditions removed.
83640         Remove testing and setting of leading underscore information.
83641         * config.make.in (build-bounded): Set to no.
83642         * config.h.in: Remove NO_UNDERSCORES entry.
83643         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
83644         them.
83645         * csu/start.c: Remove !NO_UNDERSCORE code.
83646         * locale/localeinfo.h: Likewise.
83647         * sysdeps/generic/machine-gmon.h: Likewise.
83648         * sysdeps/generic/sysdep.h: Likewise.
83649         * sysdeps/i386/sysdep.h: Likewise.
83650         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83651         * sysdeps/mach/sysdep.h: Likewise.
83652         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83653         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83654         * sysdeps/sh/sysdep.h: Likewise.
83655         * sysdeps/sparc/sparc32/alloca.S: Likewise.
83656         * sysdeps/unix/i386/sysdep.S: Likewise.
83657         * sysdeps/unix/sparc/start.c: Likewise.
83658         * sysdeps/unix/sparc/sysdep.S: Likewise.
83659         * sysdeps/unix/sparc/sysdep.h: Likewise.
83660         * sysdeps/unix/start.c: Likewise.
83661         * sysdeps/unix/x86_64/sysdep.S: Likewise.
83662         * sysdeps/x86_64/sysdep.h: Likewise.
83664 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
83666         [BZ #13553]
83667         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
83668         for non-gcc.
83669         * argp/argp-fmtstream.h: Use const instead __const.
83670         * argp/argp.h: Likewise.
83671         * assert/assert.h: Likewise.
83672         * bits/fenv.h: Likewise.
83673         * bits/sched.h: Likewise.
83674         * bits/sigset.h: Likewise.
83675         * bits/sigthread.h: Likewise.
83676         * catgets/nl_types.h: Likewise.
83677         * conform/data/pthread.h-data: Likewise.
83678         * crypt/crypt-private.h: Likewise.
83679         * crypt/crypt.h: Likewise.
83680         * crypt/crypt_util.c: Likewise.
83681         * ctype/ctype.h: Likewise.
83682         * debug/execinfo.h: Likewise.
83683         * debug/mbsnrtowcs_chk.c: Likewise.
83684         * debug/mbsrtowcs_chk.c: Likewise.
83685         * debug/wcsnrtombs_chk.c: Likewise.
83686         * debug/wcsrtombs_chk.c: Likewise.
83687         * debug/wcstombs_chk.c: Likewise.
83688         * dirent/dirent.h: Likewise.
83689         * dlfcn/dlfcn.h: Likewise.
83690         * elf/neededtest4.c: Likewise.
83691         * grp/grp.h: Likewise.
83692         * gshadow/gshadow.h: Likewise.
83693         * iconv/gconv.h: Likewise.
83694         * iconv/gconv_int.h: Likewise.
83695         * iconv/gconv_simple.c: Likewise.
83696         * iconv/iconv.h: Likewise.
83697         * iconv/loop.c: Likewise.
83698         * iconv/skeleton.c: Likewise.
83699         * include/aio.h: Likewise.
83700         * include/aliases.h: Likewise.
83701         * include/argz.h: Likewise.
83702         * include/arpa/inet.h: Likewise.
83703         * include/assert.h: Likewise.
83704         * include/dirent.h: Likewise.
83705         * include/dlfcn.h: Likewise.
83706         * include/execinfo.h: Likewise.
83707         * include/fcntl.h: Likewise.
83708         * include/fenv.h: Likewise.
83709         * include/glob.h: Likewise.
83710         * include/grp.h: Likewise.
83711         * include/libintl.h: Likewise.
83712         * include/mntent.h: Likewise.
83713         * include/netdb.h: Likewise.
83714         * include/pwd.h: Likewise.
83715         * include/rpc/netdb.h: Likewise.
83716         * include/sched.h: Likewise.
83717         * include/search.h: Likewise.
83718         * include/shadow.h: Likewise.
83719         * include/signal.h: Likewise.
83720         * include/stdio.h: Likewise.
83721         * include/stdlib.h: Likewise.
83722         * include/string.h: Likewise.
83723         * include/sys/socket.h: Likewise.
83724         * include/sys/stat.h: Likewise.
83725         * include/sys/statfs.h: Likewise.
83726         * include/sys/statvfs.h: Likewise.
83727         * include/sys/syslog.h: Likewise.
83728         * include/sys/time.h: Likewise.
83729         * include/sys/uio.h: Likewise.
83730         * include/time.h: Likewise.
83731         * include/unistd.h: Likewise.
83732         * include/utmp.h: Likewise.
83733         * include/wchar.h: Likewise.
83734         * include/wctype.h: Likewise.
83735         * inet/aliases.h: Likewise.
83736         * inet/arpa/inet.h: Likewise.
83737         * inet/netinet/ether.h: Likewise.
83738         * inet/netinet/in.h: Likewise.
83739         * intl/libintl.h: Likewise.
83740         * io/bits/fcntl2.h: Likewise.
83741         * io/fcntl.h: Likewise.
83742         * io/ftw.h: Likewise.
83743         * io/sys/poll.h: Likewise.
83744         * io/sys/stat.h: Likewise.
83745         * io/sys/statfs.h: Likewise.
83746         * io/sys/statvfs.h: Likewise.
83747         * io/utime.h: Likewise.
83748         * libio/bits/stdio.h: Likewise.
83749         * libio/bits/stdio2.h: Likewise.
83750         * libio/libio.h: Likewise.
83751         * libio/libioP.h: Likewise.
83752         * libio/stdio.h: Likewise.
83753         * locale/lc-ctype.c: Likewise.
83754         * locale/locale.h: Likewise.
83755         * login/utmp.h: Likewise.
83756         * malloc/arena.c: Likewise.
83757         * malloc/malloc.c: Likewise.
83758         * malloc/malloc.h: Likewise.
83759         * malloc/mcheck.c: Likewise.
83760         * malloc/mtrace.c: Likewise.
83761         * math/bits/mathcalls.h: Likewise.
83762         * math/fenv.h: Likewise.
83763         * math/math_private.h: Likewise.
83764         * misc/bits/error.h: Likewise.
83765         * misc/bits/syslog.h: Likewise.
83766         * misc/err.h: Likewise.
83767         * misc/error.h: Likewise.
83768         * misc/fstab.h: Likewise.
83769         * misc/mntent.h: Likewise.
83770         * misc/regexp.h: Likewise.
83771         * misc/search.h: Likewise.
83772         * misc/sgtty.h: Likewise.
83773         * misc/sys/mman.h: Likewise.
83774         * misc/sys/syslog.h: Likewise.
83775         * misc/sys/uio.h: Likewise.
83776         * misc/sys/xattr.h: Likewise.
83777         * misc/ttyent.h: Likewise.
83778         * nis/rpcsvc/ypclnt.h: Likewise.
83779         * nss/nss.h: Likewise.
83780         * posix/bits/unistd.h: Likewise.
83781         * posix/fnmatch.h: Likewise.
83782         * posix/glob.h: Likewise.
83783         * posix/sched.h: Likewise.
83784         * posix/spawn.h: Likewise.
83785         * posix/sys/wait.h: Likewise.
83786         * posix/unistd.h: Likewise.
83787         * posix/wordexp.h: Likewise.
83788         * pwd/pwd.h: Likewise.
83789         * resolv/netdb.h: Likewise.
83790         * resource/sys/resource.h: Likewise.
83791         * rt/aio.h: Likewise.
83792         * rt/bits/mqueue2.h: Likewise.
83793         * rt/mqueue.h: Likewise.
83794         * shadow/shadow.h: Likewise.
83795         * signal/signal.h: Likewise.
83796         * socket/send.c: Likewise.
83797         * socket/sendto.c: Likewise.
83798         * socket/sys/socket.h: Likewise.
83799         * stdio-common/printf.h: Likewise.
83800         * stdlib/bits/stdlib.h: Likewise.
83801         * stdlib/fmtmsg.h: Likewise.
83802         * stdlib/monetary.h: Likewise.
83803         * stdlib/stdlib.h: Likewise.
83804         * stdlib/ucontext.h: Likewise.
83805         * streams/stropts.h: Likewise.
83806         * string/argz.h: Likewise.
83807         * string/bits/string2.h: Likewise.
83808         * string/string.h: Likewise.
83809         * string/strings.h: Likewise.
83810         * sunrpc/rpc/auth.h: Likewise.
83811         * sunrpc/rpc/auth_des.h: Likewise.
83812         * sunrpc/rpc/clnt.h: Likewise.
83813         * sunrpc/rpc/netdb.h: Likewise.
83814         * sunrpc/rpc/pmap_clnt.h: Likewise.
83815         * sunrpc/rpc/xdr.h: Likewise.
83816         * sysdeps/generic/inttypes.h: Likewise.
83817         * sysdeps/generic/net/if.h: Likewise.
83818         * sysdeps/generic/sys/swap.h: Likewise.
83819         * sysdeps/gnu/net/if.h: Likewise.
83820         * sysdeps/gnu/utmpx.h: Likewise.
83821         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
83822         * sysdeps/i386/i486/bits/string.h: Likewise.
83823         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
83824         * sysdeps/s390/bits/string.h: Likewise.
83825         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
83826         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
83827         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
83828         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
83829         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
83830         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
83831         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
83832         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
83833         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
83834         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
83835         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
83836         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
83837         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
83838         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
83839         * sysdeps/unix/sysv/linux/readv.c: Likewise.
83840         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
83841         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
83842         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
83843         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
83844         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
83845         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
83846         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
83847         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
83848         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
83849         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
83850         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
83851         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
83852         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
83853         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
83854         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
83855         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
83856         * sysvipc/sys/ipc.h: Likewise.
83857         * sysvipc/sys/msg.h: Likewise.
83858         * sysvipc/sys/sem.h: Likewise.
83859         * sysvipc/sys/shm.h: Likewise.
83860         * termios/termios.h: Likewise.
83861         * time/sys/time.h: Likewise.
83862         * time/time.h: Likewise.
83863         * wcsmbs/bits/wchar2.h: Likewise.
83864         * wcsmbs/uchar.h: Likewise.
83865         * wcsmbs/wchar.h: Likewise.
83866         * wctype/wctype.h: Likewise.
83868         [BZ #13551]
83869         * Makeconfig: Remove all but ELF support including AIX support.
83870         * Makerules: Likewise.
83871         * config.h.in: Likewise.
83872         * config.make.in: Likewise.
83873         * configure: Likewise.
83874         * configure.in: Likewise.
83875         * csu/Makefile: Likewise.
83876         * csu/version.c: Likewise.
83877         * debug/Makefile: Likewise.
83878         * dlfcn/Makefile: Likewise.
83879         * elf/Makefile: Likewise.
83880         * extra-lib.mk: Likewise.
83881         * iconv/Makefile: Likewise.
83882         * include/libc-symbols.h: Likewise.
83883         * include/shlib-compat.h: Likewise.
83884         * resolv/Makefile: Likewise.
83885         * resolv/res_libc.c: Likewise.
83886         * rt/Makefile: Likewise.
83887         * sysdeps/i386/asm-syntax.h: Likewise.
83888         * sysdeps/i386/sysdep.h: Likewise.
83889         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
83890         * sysdeps/mach/sysdep.h: Likewise.
83891         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
83892         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
83893         * sysdeps/s390/asm-syntax.h: Likewise.
83894         * sysdeps/s390/s390-32/sysdep.h: Likewise.
83895         * sysdeps/s390/s390-64/sysdep.h: Likewise.
83896         * sysdeps/sh/sysdep.h: Likewise.
83897         * sysdeps/unix/sparc/sysdep.h: Likewise.
83898         * sysdeps/wordsize-32/divdi3.c: Likewise.
83899         * sysdeps/x86_64/sysdep.h: Likewise.
83901         * argp/Versions: Remove _argp_unlock_xxx.
83903         [BZ #13559]
83904         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
83905         * abilist/libBrokenLocale.abilist: Likewise.
83906         * abilist/libanl.abilist: Likewise.
83907         * abilist/libc.abilist: Likewise.
83908         * abilist/libcrypt.abilist: Likewise.
83909         * abilist/libdl.abilist: Likewise.
83910         * abilist/libm.abilist: Likewise.
83911         * abilist/libnsl.abilist: Likewise.
83912         * abilist/libpthread.abilist: Likewise.
83913         * abilist/libresolv.abilist: Likewise.
83914         * abilist/librt.abilist: Likewise.
83915         * abilist/libthread_db.abilist: Likewise.
83916         * abilist/libutil.abilist: Likewise.
83917         * abilist/libnss_db.abilist: New file.
83919         * scripts/abilist.awk: Add support for indirect functions.
83921         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
83923         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
83925         * shlib-versions: Remove entries for ports architectures.
83927         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
83928         files in ports.
83929         * elf/stackguard-macros.h: Remove support for IA-64.
83930         * elf/tst-auditmod1.c: Likewise.
83931         * sysdeps/generic/ldsodefs.h: Likewise.
83933         * sysdeps/unix/sysv/linux/configure.in: Ports should define
83934         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
83935         configure files.
83937         [BZ #13552]
83938         * configure.in: Remove --enable-omitfp support.
83939         * FAQ.in: Adjust.
83940         * config.make.in: Likewise.
83941         * Makeconfig: Likewise.
83942         * manual/install.texi: Likewise.
83944         In case anyone cares, the IA-64 architecture could move to ports.
83945         * sysdeps/ia64/*: Removed.
83946         * sysdeps/unix/sysv/linux/ia64/*: Removed.
83947         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
83949         [BZ #13555]
83950         * configure.in: Remove entries for unsupported architectures.
83952         [BZ #13533]
83953         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
83954         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
83955         routines.
83956         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
83957         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
83958         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
83959         fall back to using wcrtomb.
83960         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
83961         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
83962         renaming.
83963         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
83964         * wcsmbs/tst-c16c32-1.c: New file.
83966         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
83967         local variable.
83969         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
83971         * elf/tst-unique3.cc: Add explicit declaration of gets.
83972         * elf/tst-unique3lib.cc: Likewise.
83973         * elf/tst-unique3lib2.cc: Likewise.
83974         * elf/tst-unique4.cc: Likewise.
83976         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
83978 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
83980         [BZ #13566]
83981         * assert/assert.h (static_assert): Don't define for C++.
83982         * libio/stdio.h (gets): Do declare for C++ <= C++11.
83983         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
83985 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
83987         * iconv/loop.c (single loop): Fix assertion in storing of
83988         remaining bytes.
83990         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
83992 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
83994         * posix/getconf.c: Update copyright year.
83995         * nss/getent.c: Likewise.
83996         * nss/makedb.c: Likewise.
83997         * iconv/iconvconfig.c: Likewise.
83998         * iconv/iconv_prog.c: Likewise.
83999         * elf/ldconfig.c: Likewise.
84000         * elf/pldd.c: Likewise.
84001         * elf/sotruss.ksh: Likewise.
84002         * catgets/gencat.c: Likewise.
84003         * csu/version.c: Likewise.
84004         * elf/ldd.bash.in: Likewise.
84005         * elf/sprof.c (print_version): Likewise.
84006         * locale/programs/locale.c: Likewise.
84007         * locale/programs/localedef.c: Likewise.
84008         * login/programs/pt_chown.c: Likewise.
84009         * nscd/nscd.c (print_version): Likewise.
84010         * debug/xtrace.sh: Likewise.
84011         * malloc/memusage.sh: Likewise.
84012         * malloc/mtrace.pl: Likewise.
84013         * debug/catchsegv.sh: Likewise.
84015 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
84017         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
84018         pure attribute.
84020 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
84022         [BZ #13533]
84023         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
84024         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
84025         transformations.
84026         * iconv/gconv_int.h: Likewise.
84027         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
84028         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
84029         from libc for GLIBC_2.16.
84030         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
84031         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
84032         * wcsmbs/uchar.h: Really define mbstate_t.
84033         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
84034         * wcsmbs/c16rtomb.c: New file.
84035         * wcsmbs/mbrtoc16.c: New file.
84036         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
84037         for C/POSIX locale.
84038         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
84039         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
84041         * wcsmbs/wchar.h: Add missing __restrict.
84043 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84045         [BZ #13532]
84046         * time/Makefile (routines): Add timespec_get.
84047         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
84048         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
84049         timespec for ISO C11.
84050         * time/timespec_get.c: New file.
84051         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
84052         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
84054         [BZ #13531]
84055         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
84056         * stdlib/stdlib.h: Declare aligned_alloc.
84057         * Versions.def: Add GLIBC_2.16 for libc.
84058         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
84060         [BZ 13527]
84061         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
84062         ISO C11.
84064         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
84065         code.
84067         [BZ #13528]
84068         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
84070         [BZ #13529]
84071         * assert/assert.h (static_assert): Define.
84073         * version.h: Update for 2.16 development version.
84075         [BZ #13526]
84076         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
84077         _ISOC11_SOURCE.
84079         * version.h (RELEASE): Bump for 2.15 release.
84080         * include/features.h (__GLIBC_MINOR__): Bump to 15.
84082         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
84083         Patch by Marek Polacek <mpolacek@redhat.com>.
84085         * bits/byteswap.h: Protect long long constants with __extension__.
84086         * sysdeps/i386/bits/byteswap.h: Likewise.
84087         * sysdeps/ia64/bits/byteswap.h: Likewise.
84088         * sysdeps/s390/bits/byteswap.h: Likewise.
84089         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84091 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84093         [BZ #13540]
84094         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
84095         destination buffer.
84096         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
84098 2011-12-23  Marek Polacek  <polacek@redhat.com>
84100         * elf/dl-addr.c (determine_info): Add inline keyword.
84101         * elf/tst-auditmod4b.c (check_avx): Likewise.
84102         * elf/tst-auditmod6b.c (check_avx): Likewise.
84103         * elf/tst-auditmod6c.c (check_avx): Likewise.
84104         * elf/tst-auditmod7b.c (check_avx): Likewise.
84106 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
84108         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
84109         !__SSE_MATH__.
84111 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84113         [BZ #13540]
84114         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
84115         processing for last bytes.
84117 2011-08-06  Bruno Haible  <bruno@clisp.org>
84119         [BZ #13061]
84120         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
84121         U+0385, not to U+1FEE.
84123         [BZ #13062]
84124         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
84125         entry for U+00A5 U+0301.
84127 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84129         [BZ #13166]
84130         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
84131         buffer for the output is too small.
84133         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
84134         optimization.
84136         [BZ #13185]
84137         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
84138         SSE flags if possible.
84140 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84142         [BZ #13540]
84143         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
84144         processing for last bytes.
84146 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
84148         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
84149         (syscall-list-default-options, syscall-list-default-condition)
84150         (syscall-list-includes): Define.
84151         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
84152         list of ABIs and options and #if conditions for each ABI.  Do not
84153         handle common syscalls between ABIs specially.
84154         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
84155         Remove.
84156         (syscall-list-variants, syscall-list-32bit-options)
84157         (syscall-list-32bit-condition, syscall-list-64bit-options)
84158         (syscall-list-64bit-condition): Define.
84159         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
84160         (syscall-list-variants, syscall-list-32bit-options)
84161         (syscall-list-32bit-condition, syscall-list-64bit-options)
84162         (syscall-list-64bit-condition): Define.
84163         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
84164         Remove.
84165         (syscall-list-variants, syscall-list-32bit-options)
84166         (syscall-list-32bit-condition, syscall-list-64bit-options)
84167         (syscall-list-64bit-condition): Define.
84168         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
84169         Remove.
84170         (syscall-list-variants, syscall-list-32bit-options)
84171         (syscall-list-32bit-condition, syscall-list-64bit-options)
84172         (syscall-list-64bit-condition): Define.
84174 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
84176         * locale/iso-639.def: Add brx entry.
84178         [BZ #13328]
84179         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
84180         Proposed by Mariusz_Cukr <marcukr@op.pl>.
84182         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
84183         __feraiseexcept_renamed.
84185 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84187         [BZ #13538]
84188         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
84189         EPOLLET with unsigned values.
84190         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
84191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
84193         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
84194         to large cancellation.
84195         * math/s_cacoshf.c: Likewise.
84196         * math/s_cacoshl.c: Likewise.
84198 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
84200         [BZ #13305]
84201         [BZ #12786]
84202         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
84203         * math/s_cacoshf.c: Likewise.
84204         * math/s_cacoshl.c: Likewise.
84206 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
84208         [BZ #13439]
84209         * iconv/gconv.h: Define __GCONV_SWAP.
84210         * iconvdata/unicode.c: The swap bit must be stored in __flags.
84211         * iconvdata/utf-16.c: Likewise.
84212         * iconvdata/utf-32.c: Likewise.
84214 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
84216         [BZ #13524]
84217         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
84218         numerator after shifting it by one limb.
84220 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
84222         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
84223         under [__USE_EXTERN_INLINES].
84225 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84227         [BZ #13446]
84228         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
84230 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84232         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
84233         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
84234         optimized code.
84235         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
84236         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
84237         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
84238         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
84239         for strncasecmp/strncasecmp_l compilation.
84240         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
84241         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
84243 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
84245         [BZ #13484]
84246         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
84247         of __asm__.
84249 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
84251         [BZ #13506]
84252         * time/tzfile.c (__tzfile_read): Check values from file header.
84254 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
84256         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
84257         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
84258         * powerpc/powerpc32/dl-start.S: Likewise.
84259         * powerpc/powerpc32/elf/start.S: Likewise.
84260         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
84261         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
84262         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
84263         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
84264         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
84265         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
84266         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
84267         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
84268         * powerpc/powerpc32/fpu/s_round.S: Likewise.
84269         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
84270         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
84271         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
84272         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
84273         * powerpc/powerpc32/memset.S: Likewise.
84274         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
84275         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
84276         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
84277         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
84278         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
84279         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
84280         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
84281         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
84282         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
84283         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
84284         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
84285         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
84286         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
84288 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84290         * math/libm-test.inc: Added more nearbyint tests.
84291         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
84292         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
84293         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
84294         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
84296 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
84298         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
84299         FD_CLOEXEC.
84301 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84303         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
84304         Add wcscpy-ssse3 wcscpy-c.
84305         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
84306         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
84307         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
84308         * sysdeps/x86_64/wcschr.S: New file.
84309         * sysdeps/x86_64/wcsrchr.S: New file.
84310         * string/test-strcmp.c: Remove checking of wcscmp function for
84311         wrong alignments.
84312         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
84313         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
84314         wcsrchr-sse2 wcsrchr-c.
84315         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
84316         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
84317         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
84318         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
84319         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
84320         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
84321         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
84322         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
84323         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
84324         * wcsmbc/wcschr.c (WCSCHR): New macro.
84326 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84328         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
84329         * wcsmbs/test-wcsrchr.c: New file.
84330         * string/test-strrchr.c: Add wcsrchr support.
84331         (WIDE): New macro.
84332         * wcsmbs/test-wcscpy.c: New file.
84333         * string/test-strcpy.c: Add wcscpy support.
84334         (WIDE): New macro.
84336 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
84338         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
84339         the inner loop.
84341 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
84343         [BZ #13472]
84344         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
84346 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
84348         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
84349         Minor optimizations.
84351         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
84352         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
84353         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
84355 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
84357         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
84358         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
84359         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
84360         for gcc to avoid warnings.
84361         * inet/Makefile (tests): Add tst-checks.
84362         * inet/tst-checks.c: New file.
84364         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
84365         warning.
84367         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
84368         __wmemcmp_sse2.
84370         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
84371         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
84373         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
84375 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
84377         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
84378         problem.
84380         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
84382 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
84384         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
84385         conditional on GCC version.
84386         (__arch_compare_and_exchange_val_8_acq)
84387         (__arch_compare_and_exchange_val_16_acq)
84388         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
84389         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
84390         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
84392 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
84394         * sysdeps/sh/backtrace.c: New file.
84396 2011-12-02  Andreas Schwab  <schwab@redhat.com>
84398         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
84399         parenthesis.
84401 2011-12-01  Andreas Schwab  <schwab@redhat.com>
84403         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
84404         falling back to utime.
84406 2011-11-30  Andreas Schwab  <schwab@redhat.com>
84408         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
84409         expectations for float.
84411 2011-11-29  Andreas Schwab  <schwab@redhat.com>
84413         * locale/weight.h (findidx): Add parameter len.
84414         * locale/weightwc.h (findidx): Likewise.
84415         * posix/fnmatch_loop.c (FCT): Adjust caller.
84416         * posix/regcomp.c (build_equiv_class): Likewise.
84417         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
84418         * posix/regexec.c (check_node_accept_bytes): Likewise.
84419         * string/strcoll_l.c (STRCOLL): Likewise.
84420         * string/strxfrm_l.c (STRXFRM): Likewise.
84422 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
84424         * Makefile.in: Remove CVSOPT handling.
84425         * configure.in: Remove use of AC_REVISION.
84426         * iconvdata/Makefile (distribute): No need to filter out CVS.
84427         * scripts/list-sources.sh: Remove CVS, subversion and monotone
84428         handling.
84430 2011-11-16  Andreas Schwab  <schwab@redhat.com>
84432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
84433         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
84434         [USE_AS_STRNCASECMP_L]: Likewise.
84435         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
84436         NO_TLS_DIRECT_SEG_REFS.
84437         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
84438         Fix argument offsets for non-PIC.
84439         [USE_AS_STRNCASECMP_L]: Likewise.
84440         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
84441         NO_TLS_DIRECT_SEG_REFS.
84443 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84445         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
84446         O_CLOEXEC.
84447         * locale/loadlocale.c (_nl_load_locale): Likewise.
84449 2011-11-15  Andreas Schwab  <schwab@redhat.com>
84451         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
84452         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
84453         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
84454         (SYSCALL_GETTIME): Set errno on error.
84456         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
84457         count references to noai6ai_cached.
84459 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
84461         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
84463         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
84464         FD_CLOEXEC for /proc/self/maps.
84466         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
84467         FD_CLOEXEC for /proc/meminfo.
84469         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
84470         gai.conf.
84472         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
84473         FD_CLOEXEC for given file.
84475         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
84477         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
84478         FD_CLOEXEC for /etc/hosts.
84479         (_gethtent): Likewise.
84481         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
84483         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
84484         cancellation and set FD_CLOEXEC for /etc/netgroup.
84486         * nss/nss_files/files-key.c (search): Don't allow cancellation when
84487         reading /etc/publickey.
84489         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
84490         allow cancellation when reading /etc/group.
84492         * nss/nss_files/files-alias.c (internal_setent): Don't allow
84493         cancellation.
84494         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
84496         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
84497         when using data file.
84499         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
84501         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
84502         (write_nis_obj): Use "c" and "e" in fopen.
84504         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
84506         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
84508         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
84510         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
84512         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
84513         locale.alias.
84515         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
84517         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
84519         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
84521         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
84522         file parsing and set FD_CLOEXEC.
84524 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84526         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
84528 2011-11-14  Andreas Schwab  <schwab@redhat.com>
84530         * malloc/arena.c (arena_get2): Don't call reused_arena when
84531         _int_new_arena failed.
84533 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
84535         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
84536         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
84537         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
84538         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
84539         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
84540         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
84541         to compile strcasecmp and strncasecmp.
84542         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
84543         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
84545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
84547 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
84549         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
84550         locale-defines.sym to gen-as-const-headers.
84551         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
84552         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
84553         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
84554         to compile strcasecmp and strncasecmp.
84555         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
84556         strcasecmp_l and strncasecmp_l.
84557         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
84558         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
84559         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
84560         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
84561         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
84562         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
84563         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
84564         * sysdeps/i386/i686/multiarch/strncase.S: New file.
84565         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
84566         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
84567         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
84569 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
84571         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
84572         result of SYSDEP_GETTIME_CPU to retval.
84573         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
84574         parameter list to macro.  Remove trailing semicolon.  Adjust users.
84576         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
84577         variable.
84579         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
84580         mantissa words.
84581         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
84583         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
84584         from unused variable.
84586         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
84587         DWARF definitions.
84588         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
84589         for assembling.
84591         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
84592         over namespaces.
84594         * sunrpc/rpc_prot.c (rejected): Fix case value.
84596         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
84597         unsigned long long int to avoid warnings in shift.
84599         * posix/regex_internal.c (re_string_reconstruct): Actually use result
84600         of use of trans.
84601         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
84602         variable tmp.
84604         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
84605         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
84606         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
84608         * nis/nis_table.c (nis_list): Use variable of correct type for
84609         result of __follow_path call.
84611 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84613         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
84614         of math functions ceil, trunc, floor, round, and sqrt, when
84615         avaliable on the platform.
84616         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
84617         name clash.
84618         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
84619         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
84620         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
84622 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
84624         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
84625         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
84627 2011-11-11  Roland McGrath  <roland@hack.frob.com>
84629         * include/unistd.h: Fix __readlink return type.
84630         Reported by Chris Metcalf <cmetcalf@tilera.com>.
84632 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
84634         * stdlib/ucontext.h: Undo last change for makecontext.
84636 2011-11-11  Andreas Schwab  <schwab@redhat.com>
84638         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
84640         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
84641         * setjmp/setjmp.h: Mark functions as non-leaf.
84642         * setjmp/bits/setjmp2.h: Likewise.
84643         * stdlib/ucontext.h: Likewise.
84645 2011-11-10  Andreas Schwab  <schwab@redhat.com>
84647         * malloc/arena.c (_int_new_arena): Don't increment narenas.
84648         (reused_arena): Don't check arena limit.
84649         (arena_get2): Atomically check arena limit.
84651 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
84653         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
84654         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
84656         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
84657         instructions.
84659 2011-11-07  Andreas Schwab  <schwab@redhat.com>
84661         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
84662         handler when locking.
84664         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
84665         Fix size of allocated buffer.
84667 2011-11-04  Andreas Schwab  <schwab@redhat.com>
84669         [BZ #10103]
84670         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
84671         declarations for long double functions.
84672         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
84674         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
84676 2011-11-03  Andreas Schwab  <schwab@redhat.com>
84678         * nscd/nscd.c (main): Don't start AVC thread until credentials are
84679         installed.
84681         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
84682         is disabled.
84684 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84686         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
84688 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
84690         * include/alloca.h (stackinfo_alloca_round): Define.
84691         (extend_alloca): Use it.
84692         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
84693         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
84694         here.
84696         * scripts/check-local-headers.sh: Ignore libaudit.h.
84698         * nscd/Makefile (extra-objs): Make recursively expanded.
84700 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
84702         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
84703         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
84705         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
84706         * posix/tst-rfc3484-2.c: Likewise.
84707         * posix/tst-rfc3484-3.c: Likewise.
84709         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84710         process_vm_writev.
84711         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
84712         process_vm_writev.
84713         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
84714         process_vm_writev from libc using GLIBC_2.15 version.
84716         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
84718 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
84720         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
84721         stack usage.
84723 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
84725         [BZ #13367]
84726         * nss/getent.c (initgroups_keys): Show error message in case no group
84727         names are given.
84729         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
84730         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
84731         __bump_nl_timestamp.
84732         * nscd/connections (nscd_init): When host database is served open
84733         netlink socket and request notification about configuration changes.
84734         (main_loop_poll): Track netlink file descriptor and bump timestamp
84735         in case data becomes available.
84736         (main_loop_epoll): Likewise.
84737         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
84738         (database_pers_head): Add extra_data fileds.
84739         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
84740         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
84741         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
84742         Adjust caller.
84743         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
84744         in6ai data, call __free_in6ai.
84745         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
84746         Add -DHAVE_NETLINK.
84747         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
84748         interface information.  Reuse previous data if netlink timestamp
84749         is not changed.
84750         (__bump_nl_timestamp): New function.
84751         (__free_in6ai): New function.
84753 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
84755         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
84756         close_not_cancel_no_status here.
84757         (__check_pf): Reorganize code a bit to not call close twice if OOM.
84759 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84761         [BZ #13276]
84762         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
84763         return value.
84765         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
84766         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
84767         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
84769 2011-07-03  Andreas Jaeger  <aj@suse.de>
84771         [BZ #10709]
84772         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
84773         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
84774         * math/libm-test.inc (sin_test): Add test case.
84776 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
84778         [BZ #13337]
84779         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
84780         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84782         * elf/chroot_canon.c (chroot_canon): Cleanups.
84784         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
84786         [BZ #13335]
84787         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
84788         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
84790         * string/test-strchr.c: Make usable for strchrnul testing.
84791         * string/test-strchrnul.c: New file.
84792         * string/Makefile (strop-tests): Add strchrnul.
84794         * po/it.po: Update from translation team.
84795         * po/es.po: Likewise.
84797 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
84799         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
84800         the three constants needed as parameters.  Drop the others.
84801         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
84802         __m128i_strloadu_tolower.
84803         Create and initialize variable zero and use it in all the places
84804         where _mm_setzero_si128 was used.
84806         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
84807         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
84808         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
84809         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
84810         anymore.
84811         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
84812         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
84813         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
84814         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
84815         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
84816         __mpranred, __mptan.
84817         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
84818         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
84819         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
84820         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
84821         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
84822         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
84823         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
84824         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
84825         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
84827 2011-10-28  Andreas Schwab  <schwab@redhat.com>
84829         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
84830         redefine if SHARED.
84831         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
84833         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
84834         wide char related routines to wcsmbs subdir.
84836 2011-10-27  Andreas Schwab  <schwab@redhat.com>
84838         [BZ #13344]
84839         * misc/sys/cdefs.h (__THROWNL): Define.
84840         * posix/unistd.h: Use __THREADNL instead of __THREAD
84841         for memory synchronization functions.
84843 2011-10-26  Roland McGrath  <roland@hack.frob.com>
84845         [BZ #13349]
84846         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
84847         doesn't exist.
84848         * manual/stdio.texi (Obstack Streams): Node removed.
84850 2011-10-26  Andreas Schwab  <schwab@redhat.com>
84852         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
84853         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84854         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84856         * math/math_private.h (math_force_eval): Allow non-addressable
84857         arguments.
84858         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
84860 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84862         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
84863         file is not needed.
84865         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
84866         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
84867         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
84868         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
84869         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
84870         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
84871         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
84872         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
84873         Add AVX variants.
84874         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
84875         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
84876         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
84877         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
84878         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
84879         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
84880         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
84881         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
84882         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
84883         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
84884         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
84885         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
84886         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
84887         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
84888         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
84889         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
84890         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
84891         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
84892         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
84894         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
84895         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
84897         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
84898         place.  Use VEX encoding when compiling for AVX.
84900 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84902         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
84903         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
84905         * string/test-strchr.c (do_test): Don't generate NUL bytes.
84907 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84909         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
84910         useless if() expression.
84911         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
84912         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
84913         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
84914         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
84915         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
84916         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
84917         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
84918         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
84919         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
84920         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
84921         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
84922         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
84923         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
84924         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
84925         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
84926         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
84927         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84928         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84929         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84931         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
84933 2011-10-25  Andreas Schwab  <schwab@redhat.com>
84935         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
84936         condition.
84937         * elf/dl-fini.c (_dl_sort_fini): Likewise.
84939 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
84941         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
84942         .text section.  Avoid duplicate constants.
84943         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
84944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
84945         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
84946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
84947         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
84948         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
84949         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
84950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
84951         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
84952         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
84953         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
84954         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
84955         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
84956         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
84957         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
84958         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
84959         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
84960         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
84961         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
84962         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
84963         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
84964         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
84965         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
84966         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
84967         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
84968         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
84969         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
84970         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
84971         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
84972         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
84973         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
84974         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
84975         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
84976         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
84977         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
84978         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
84979         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
84980         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
84981         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
84982         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
84983         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
84984         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
84985         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
84986         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
84987         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
84989 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
84991         * sysdeps/x86_64/dla.h: Move to ...
84992         * sysdeps/x86_64/fpu/dla.h: ...here.
84993         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
84994         situations.  Use __builtin_fma only for gcc 4.6 and up.
84996         * config.make.in: Add have-mfma4 entry.
84997         * configure.in: Substitute libc_cv_cc_fma4.
84998         * math/Makefile (dbl-only-routines): Add sincostab.
84999         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
85000         Use __sincostab not sincos.
85001         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
85002         name is a macro.
85003         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85006         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
85007         using __copysign.
85008         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
85009         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
85010         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
85011         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
85012         and __inv.
85013         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
85014         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
85015         __copysign.
85016         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
85017         define aliases when function name is a macro.
85018         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
85019         sysdeps/ieee754/dbl-64/sincos.tbl.
85020         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
85021         fma4-enabled routines.
85022         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
85023         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
85024         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
85025         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
85026         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
85027         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
85028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
85029         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
85030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
85031         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
85032         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
85033         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
85034         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
85035         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
85036         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
85037         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
85038         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
85039         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
85040         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
85041         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
85042         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
85043         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
85044         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
85045         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
85046         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
85047         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
85048         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
85049         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
85050         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
85051         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
85053         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
85054         rename.
85055         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85056         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85061         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85062         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85064 2011-10-24  Andreas Schwab  <schwab@redhat.com>
85066         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
85068 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85070         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
85072         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
85073         prediction.
85074         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
85076         * string/strnlen.c: Don't define STRNLEN, reverse logic.
85077         Remove unused variable magic_bits.
85078         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
85080         * string/strnlen.c: Define and use STRNLEN macro.
85081         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
85082         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
85083         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
85084         * wcsmbs/wcslen.c: Define and use WCSLEN.
85085         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
85086         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
85087         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
85088         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
85089         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
85090         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
85091         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
85093 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85096         strnlen-sse2-no-bsf.
85097         Rename strlen-no-bsf to strlen-sse2-no-bsf.
85098         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
85099         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
85100         Add strnlen support.
85101         (USE_AS_STRNLEN): New macro.
85102         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
85103         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
85104         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
85105         * sysdeps/x86_64/wcslen.S: New file.
85107 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
85109         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85110         XMM-moves are used for copying on small sizes.
85112 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85114         * wcsmbs/Makefile (strop-tests): Add wcschr.
85115         * wcsmbs/test-wcschr.c: New file.
85116         * string/test-strchr.c: Update.
85117         Add wcschr support.
85118         (WIDE): New macro.
85120 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85122         * wcsmbs/Makefile (strop-tests): Add wcslen.
85123         * wcsmbs/test-wcslen.c: New file.
85124         * string/test-strlen.c: Update.
85125         Add wcslen support.
85126         (WIDE): New macro.
85128 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85130         * po/it.po: Update from translation team.
85132 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85134         * sysdeps/x86_64/wcscmp.S: Update.
85135         Fix wrong comparison semantics.
85136         wcscmp shall use signed comparison not unsigned.
85137         Don't use substraction to avoid overflow bug.
85138         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
85139         * wcsmbc/wcscmp.c: Likewise.
85140         * string/test-strcmp.c: Likewise.
85141         Add new tests to check cases with negative values.
85143 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
85145         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
85146         * sysdeps/x86_64/dla.h: ...here.  New file.
85147         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
85148         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85150         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85152         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85154         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85155         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85157 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
85159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
85160         __ynl_finite aliases.
85162 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85166         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
85167         define DLA_FMA.
85168         [DLA_FMA] (EMULV): Use DLA_FMA.
85169         [DLA_FMA] (MUL12): Use EMULV.
85170         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
85171         that are not needed.
85172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
85173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85174         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85175         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85177         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
85178         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
85180 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
85182         * math/s_nan.c: Undef __nan.
85183         * math/s_nanf.c: Undef __nanf.
85184         * math/s_nanl.c: Undef __nanl.
85185         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
85186         "math_private.h".
85188 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
85190         * math/s_catan.c: Add branch predictions.
85191         * math/s_catanf.c: Likewise.
85192         * math/s_catanh.c: Likewise.
85193         * math/s_catanhf.c: Likewise.
85194         * math/s_catanhl.c: Likewise.
85195         * math/s_catanl.c: Likewise.
85196         * math/s_cexp.c: Likewise.
85197         * math/s_cexpf.c: Likewise.
85198         * math/s_cexpl.c: Likewise.
85199         * math/s_clog.c: Likewise.
85200         * math/s_clog10.c: Likewise.
85201         * math/s_clog10f.c: Likewise.
85202         * math/s_clog10l.c: Likewise.
85203         * math/s_clogf.c: Likewise.
85204         * math/s_clogl.c: Likewise.
85205         * math/s_csqrt.c: Likewise.
85206         * math/s_csqrtf.c: Likewise.
85207         * math/s_csqrtl.c: Likewise.
85208         * math/s_ctanf.c: Likewise.
85209         * math/s_ctanh.c: Likewise.
85210         * math/s_ctanhf.c: Likewise.
85211         * math/s_ctanhl.c: Likewise.
85212         * math/s_ctanl.c: Likewise.
85214         * math/math_private.h: Define __nan, __nanf, __nanl.
85215         * math/s_cacosh.c: Include <math_private.h>.
85216         * math/s_cacoshl.c: Likewise.
85217         * math/s_casinh.c: Likewise.
85218         * math/s_casinhf.c: Likewise.
85219         * math/s_casinhl.c: Likewise.
85220         * math/s_ccos.c: Rely entire on ccosh.
85221         * math/s_ccosf.c: Rely entire on ccoshf.
85222         * math/s_ccosl.c: Rely entirely on ccoshl.
85223         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
85224         Remove tests for FE_INVALID.
85225         * math/s_ccoshf.c: Likewise.
85226         * math/s_ccoshl.c: Likewise.
85227         * math/s_csin.c: Likewise.
85228         * math/s_csinf.c: Likewise.
85229         * math/s_csinh.c Likewise.
85230         * math/s_csinhf.c: Likewise.
85231         * math/s_csinhl.c: Likewise.
85232         * math/s_csinl.c: Likewise.
85233         * math/s_ctan.c: Likewise.
85234         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
85235         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
85236         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
85238 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
85240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
85241         compilation problems.
85243         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
85244         __builtin_expect.
85246 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
85248         * sysdeps/i386/configure.in: Test for -mfma4 option.
85249         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
85250         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
85251         COMMON_CPUID_INDEX_80000001.
85252         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
85253         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
85254         use it if FMA3 is not supported.
85255         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
85257         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
85258         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85260 2011-10-20  Andreas Schwab  <schwab@redhat.com>
85262         [BZ #12892]
85263         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
85264         it would create a cycle with a link time dependency.
85266 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
85268         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
85269         instruction.
85270         * string/Makefile (strop-tests): Add rawmemchr.
85271         * string/test-rawmemchr.c: New file.
85273         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
85274         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
85275         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
85276         when compiling str{,n}casecmp and when AVX is available.  Hook up
85277         new optimized code in initializers.
85279 2011-10-19  Andreas Schwab  <schwab@redhat.com>
85281         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
85282         __feraiseexcept instead of feraiseexcept.
85284 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
85286         * math/math_private.h: Define defaults for libc_fetestexcept and
85287         libc_feupdateenv.
85288         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
85289         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
85290         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85291         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85292         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
85293         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85294         libc_fetestexcept and libc_feupdateenv.
85296         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
85297         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
85298         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
85299         * sysdeps/x86_64/fpu/math_private.h: Define special version of
85300         libc_feholdexcept_setround.
85302         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
85303         Add s_nearbyint-c and s_nearbyintf-c.
85304         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
85305         nearbyintf inlines.
85306         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
85307         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
85308         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
85309         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
85311         * math/math_private.h: Define defaults for libc_fegetround,
85312         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
85313         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
85314         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
85315         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
85316         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
85317         standard functions.
85318         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85319         Remove comments and hacks for old compiler versions.
85320         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
85321         libc_fegetround, libc_fesetround, libc_feholdexcept, and
85322         libc_feholdexceptl.
85324 2011-10-18  Andreas Schwab  <schwab@redhat.com>
85326         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
85327         (__feraiseexcept_renamed): Add __NTH.
85328         (feraiseexcept): Add __NTH.  Rename local variables to fix
85329         namespace violations.
85331 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
85333         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
85335         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
85337         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
85338         recently added interfaces.
85339         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
85341         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
85342         about macro parameter expansion.
85344         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
85345         __NO_MATH_INLINES is defined.  Cleanups.
85347         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
85348         and __floorf is target has SSE4.1.
85349         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
85350         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
85351         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
85352         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
85354         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
85355         name.
85356         (floorf): Likewise.
85358         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
85360 2011-10-17  Andreas Schwab  <schwab@redhat.com>
85362         * misc/sys/cdefs.h: Fix last change.
85364         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
85365         database lookup.
85367 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
85369         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
85371         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
85372         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85373         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
85374         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
85375         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
85376         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
85377         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
85378         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
85379         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
85380         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
85381         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
85382         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
85383         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
85384         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
85385         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
85386         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
85387         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
85388         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
85389         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
85390         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
85391         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
85392         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
85394         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
85395         ceil, ceilf, floor, floorf.
85397         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
85398         Perform IRELATIVE relocations last.
85400         * elf/do-rel.h: Add another parameter nrelative, replacing the
85401         local variable with the same name.  Change name of the function
85402         to end in Rel or Rela (uppercase).
85403         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
85404         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
85405         elf_dynamic_do_##reloc function.
85407 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85409         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
85410         is sufficient, at least on modern CPUs.
85412         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
85414         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
85415         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
85417         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
85418         __expl_finite.
85419         * math/bits/math-finite.h: Add entries for exp.
85420         * math/e_expl.c: Add __*_finite alias.
85421         * sysdeps/i386/fpu/e_exp.S: Likewise.
85422         * sysdeps/i386/fpu/e_expf.S: Likewise.
85423         * sysdeps/i386/fpu/e_expl.c: Likewise.
85424         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
85425         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
85426         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
85427         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
85428         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
85429         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85430         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85432         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
85433         is sufficient, at least on modern CPUs.
85435         * ctype/ctype-info.c (__ctype_init): Define.
85436         * include/ctype.h (__ctype_init): Declare.
85437         (__ctype_b_loc): The variable is always initialized.
85438         (__ctype_toupper_loc): Likewise.
85439         (__ctype_tolower_loc): Likewise.
85440         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
85441         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
85443 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
85445         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
85447         * configure.in: Also look in $cxxmachine/include for C++ system
85448         headers.
85450 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85452         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
85453         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
85454         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
85455         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
85456         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
85457         (USE_AS_WMEMCMP): New macro.
85458         Fixing indents.
85459         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
85460         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
85461         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
85462         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
85463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85464         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
85465         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
85466         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
85467         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
85468         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
85469         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
85470         (USE_AS_WMEMCMP): New macro.
85471         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
85472         * sysdeps/string/test-memcmp.c: Update.
85473         Fix simple_wmemcmp.
85474         Add new tests.
85475         * wcsmbs/wmemcmp.c: Update.
85476         (WMEMCMP): New macro.
85477         Fix overflow bug.
85479 2011-10-12  Andreas Jaeger  <aj@suse.de>
85481         [BZ #13268]
85482         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
85484 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
85486         * libio/iofwide.c (do_length): Avoid warning.
85488         * ctype/ctype.h (__isctype_f): Add missing __THROW.
85490 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
85492         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
85494         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
85495         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
85496         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
85497         * sysdeps/i386/i686/fpu/e_log.S: New file.
85498         * sysdeps/i386/i686/fpu/e_logf.S: New file.
85499         * sysdeps/i386/i686/fpu/e_logl.S: New file.
85501         * ctype/ctype.h: Add support for inlined isXXX functions when
85502         compiling C++ code.
85504 2011-10-14  Andreas Schwab  <schwab@redhat.com>
85506         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85508         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
85510 2011-10-13  Roland McGrath  <roland@hack.frob.com>
85512         [BZ #13291]
85513         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
85515 2011-10-13  Andreas Schwab  <schwab@redhat.com>
85517         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
85518         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
85519         feraiseexcept.
85521         * sysdeps/x86_64/memrchr.S: Check for zero size.
85523         * string/stratcliff.c: Add memrchr tests.
85525 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85527         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85528         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
85529         rawmemchr-sse2 rawmemchr-sse2-bsf.
85530         * sysdeps/i386/i686/multiarch/memchr.S: New file.
85531         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
85532         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
85533         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
85534         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
85535         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
85536         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
85537         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
85538         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
85539         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
85540         * string/memrchr.c (MEMRCHR): New macro.
85542 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
85544         Add integration with gcc's -ffinite-math-only and optimize wrapper
85545         functions in libm.
85546         * Versions.def: Define GLIBC_2.15 version for libm.
85547         * math/Makefile (headers): Add bits/math-finite.h.
85548         * math/bits/math-finite.h: New file.
85549         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
85550         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
85551         * math/e_acoshl.c: Add __*_finite alias.
85552         * math/e_acosl.c: Likewise.
85553         * math/e_asinl.c: Likewise.
85554         * math/e_atan2l.c: Likewise.
85555         * math/e_atanhl.c: Likewise.
85556         * math/e_coshl.c: Likewise.
85557         * math/e_exp10.c: Likewise.
85558         * math/e_exp10f.c: Likewise.
85559         * math/e_exp10l.c: Likewise.
85560         * math/e_exp2l.c: Likewise.
85561         * math/e_fmodl.c: Likewise.
85562         * math/e_gammal_r.c: Likewise.
85563         * math/e_hypotl.c: Likewise.
85564         * math/e_j0l.c: Likewise.
85565         * math/e_j1l.c: Likewise.
85566         * math/e_jnl.c: Likewise.
85567         * math/e_lgammal_r.c: Likewise.
85568         * math/e_log10l.c: Likewise.
85569         * math/e_log2l.c: Likewise.
85570         * math/e_logl.c: Likewise.
85571         * math/e_powl.c: Likewise.
85572         * math/e_sinhl.c: Likewise.
85573         * math/e_sqrtl.c: Likewise.
85574         * math/e_scalb.c: Completely rewritten and optimized.
85575         * math/e_scalbf.c: Likewise.
85576         * math/e_scalbl.c: Likewise.
85577         * math/w_acos.c: Likewise.
85578         * math/w_acosf.c: Likewise.
85579         * math/w_acosl.c: Likewise.
85580         * math/w_acosh.c: Likewise.
85581         * math/w_acoshf.c: Likewise.
85582         * math/w_acoshl.c: Likewise.
85583         * math/w_asin.c: Likewise.
85584         * math/w_asinf.c: Likewise.
85585         * math/w_asinl.c: Likewise.
85586         * math/w_atan2.c: Likewise.
85587         * math/w_atan2f.c: Likewise.
85588         * math/w_atan2l.c: Likewise.
85589         * math/w_atanh.c: Likewise.
85590         * math/w_atanhf.c: Likewise.
85591         * math/w_atanhl.c: Likewise.
85592         * math/w_exp10.c: Likewise.
85593         * math/w_exp10f.c: Likewise.
85594         * math/w_exp10l.c: Likewise.
85595         * math/w_fmod.c: Likewise.
85596         * math/w_fmodf.c: Likewise.
85597         * math/w_fmodl.c: Likewise.
85598         * math/w_j0.c: Likewise.
85599         * math/w_j0f.c: Likewise.
85600         * math/w_j0l.c: Likewise.
85601         * math/w_j1.c: Likewise.
85602         * math/w_j1f.c: Likewise.
85603         * math/w_j1l.c: Likewise.
85604         * math/w_jn.c: Likewise.
85605         * math/w_jnf.c: Likewise.
85606         * math/w_log.c: Likewise.
85607         * math/w_logf.c: Likewise.
85608         * math/w_logl.c: Likewise.
85609         * math/w_log10.c: Likewise.
85610         * math/w_log10f.c: Likewise.
85611         * math/w_log10l.c: Likewise.
85612         * math/w_log2.c: Likewise.
85613         * math/w_log2f.c: Likewise.
85614         * math/w_log2l.c: Likewise.
85615         * math/w_pow.c: Likewise.
85616         * math/w_powf.c: Likewise.
85617         * math/w_powl.c: Likewise.
85618         * math/w_remainder.c: Likewise.
85619         * math/w_remainderf.c: Likewise.
85620         * math/w_remainderl.c: Likewise.
85621         * math/w_scalb.c: Likewise.
85622         * math/w_scalbf.c: Likewise.
85623         * math/w_scalbl.c: Likewise.
85624         * math/w_sqrt.c: Likewise.
85625         * math/w_sqrtf.c: Likewise.
85626         * math/w_sqrtl.c: Likewise.
85627         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
85628         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
85629         used.
85630         * math/math_private.h: Declare __kernel_standard_f.
85631         * math/w_cosh.c: Remove cruft and optimize a bit.
85632         * math/w_coshf.c: Likewise.
85633         * math/w_coshl.c: Likewise.
85634         * math/w_exp2.c: Likewise.
85635         * math/w_exp2f.c: Likewise.
85636         * math/w_exp2l.c: Likewise.
85637         * math/w_hypot.c: Likewise.
85638         * math/w_hypotf.c: Likewise.
85639         * math/w_hypotl.c: Likewise.
85640         * math/w_lgamma.c: Likewise.
85641         * math/w_lgamma_r.c: Likewise.
85642         * math/w_lgammaf.c: Likewise.
85643         * math/w_lgammaf_r.c: Likewise.
85644         * math/w_lgammal.c: Likewise.
85645         * math/w_lgammal_r.c: Likewise.
85646         * math/w_sinh.c: Likewise.
85647         * math/w_sinhf.c: Likewise.
85648         * math/w_sinhl.c: Likewise.
85649         * math/w_tgamma.c: Likewise.
85650         * math/w_tgammaf.c: Likewise.
85651         * math/w_tgammal.c: Likewise.
85652         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85653         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85654         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
85655         Minor optimizations.  Pretty printing.  Remove cruft.
85656         * sysdeps/i386/fpu/e_acosf.S: Likewise.
85657         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85658         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85659         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85660         * sysdeps/i386/fpu/e_acosl.c: Likewise.
85661         * sysdeps/i386/fpu/e_asin.S: Likewise.
85662         * sysdeps/i386/fpu/e_asinf.S: Likewise.
85663         * sysdeps/i386/fpu/e_atan2.S: Likewise.
85664         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
85665         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
85666         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85667         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85668         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85669         * sysdeps/i386/fpu/e_exp10.S: Likewise.
85670         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
85671         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
85672         * sysdeps/i386/fpu/e_exp2.S: Likewise.
85673         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
85674         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
85675         * sysdeps/i386/fpu/e_fmod.S: Likewise.
85676         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
85677         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
85678         * sysdeps/i386/fpu/e_hypot.S: Likewise.
85679         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
85680         * sysdeps/i386/fpu/e_log.S: Likewise.
85681         * sysdeps/i386/fpu/e_log10.S: Likewise.
85682         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85683         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85684         * sysdeps/i386/fpu/e_log2.S: Likewise.
85685         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85686         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85687         * sysdeps/i386/fpu/e_logf.S: Likewise.
85688         * sysdeps/i386/fpu/e_logl.S: Likewise.
85689         * sysdeps/i386/fpu/e_pow.S: Likewise.
85690         * sysdeps/i386/fpu/e_powf.S: Likewise.
85691         * sysdeps/i386/fpu/e_powl.S: Likewise.
85692         * sysdeps/i386/fpu/e_remainder.S: Likewise.
85693         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
85694         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
85695         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85696         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85697         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85698         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
85699         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
85700         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
85701         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
85702         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
85703         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
85704         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
85705         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
85706         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
85707         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
85708         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
85709         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
85710         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
85711         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
85712         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
85713         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
85714         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
85715         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
85716         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
85717         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
85718         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
85719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
85720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
85721         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
85722         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
85723         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85724         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85725         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
85726         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
85727         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
85728         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
85729         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
85730         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
85731         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
85732         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
85733         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
85734         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
85735         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
85736         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
85737         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
85738         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
85739         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
85740         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
85741         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
85742         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
85743         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
85744         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
85745         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85746         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
85747         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
85748         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
85749         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
85750         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
85751         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
85752         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
85753         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
85754         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
85755         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
85756         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
85757         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
85758         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
85759         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
85760         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
85761         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
85762         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
85763         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
85764         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
85765         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
85766         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
85767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
85768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
85769         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
85770         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
85771         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
85772         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
85773         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
85774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
85775         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
85776         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
85777         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
85778         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
85779         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
85780         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
85781         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
85782         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
85783         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
85784         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
85785         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
85786         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
85787         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
85788         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
85789         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
85790         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
85791         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
85792         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
85793         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
85794         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
85795         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
85796         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
85797         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
85798         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
85799         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
85800         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
85801         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
85802         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
85803         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
85804         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
85805         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85806         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85807         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85808         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85809         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
85810         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85811         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
85812         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
85813         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
85814         (__isnanf): Likewise.
85815         (__isinf_ns): Likewise.
85816         (__isinf_nsf): Likewise.
85817         (__finite): Likewise.
85818         (__finitef): Likewise.
85819         (__ieee754_sqrt): Define as macro.
85820         (__ieee754_sqrtf): Define as macro.
85821         (__ieee754_sqrtl): Define as macro.
85822         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
85823         inlined copy.
85824         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
85825         __FINITE_MATH_ONLY__ consistent.
85826         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
85828 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
85830         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
85831         of rawmemchr.
85833         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
85835 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
85837         * po/ja.po: Update from translation team.
85839 2011-10-08  Roland McGrath  <roland@hack.frob.com>
85841         * locale/programs/locarchive.c (prepare_address_space): New function.
85842         (create_archive, enlarge_archive, open_archive): Use it.
85844         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
85845         inside [SHARED], where it is used.
85847         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
85849         * nss/getent.c (netgroup_keys): Remove unused variable.
85850         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
85852 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
85854         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
85855         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
85856         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
85857         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
85858         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
85859         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
85860         * math/Makefile (libm-calls): Add s_isinf_ns.
85861         * math/divtc3.c: Use __isinf_nsl instead of isinf.
85862         * math/multc3.c: Likewise.
85863         * math/s_casin.c: Likewise.
85864         * math/s_casinf.c: Likewise.
85865         * math/s_casinl.c: Likewise.
85866         * math/s_ccos.c: Likewise.
85867         * math/s_ccosf.c: Likewise.
85868         * math/s_ccosl.c: Likewise.
85869         * math/s_ctan.c: Likewise.
85870         * math/s_ctanf.c: Likewise.
85871         * math/s_ctanh.c: Likewise.
85872         * math/s_ctanhf.c: Likewise.
85873         * math/s_ctanhl.c: Likewise.
85874         * math/s_ctanl.c: Likewise.
85875         * math/w_fmod.c: Likewise.
85876         * math/w_fmodf.c: Likewise.
85877         * math/w_fmodl.c: Likewise.
85878         * math/w_remainder.c: Likewise.
85879         * math/w_remainderf.c: Likewise.
85880         * math/w_remainderl.c: Likewise.
85881         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
85882         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
85883         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
85884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
85885         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
85886         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
85887         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
85888         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
85890         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
85891         of the number.
85892         * stdio-common/printf_fphex.c: Likewise.
85893         * stdio-common/printf_size.c: Likewise.
85895         * math/e_exp10.c: Include math_private.h using <...> not "...".
85896         * math/e_exp10f.c: Likewise.
85897         * math/e_exp10l.c: Likewise.
85898         * math/e_exp2l.c: Likewise.
85899         * math/e_j0l.c: Likewise.
85900         * math/e_j1l.c: Likewise.
85901         * math/e_jnl.c: Likewise.
85902         * math/e_lgammal_r.c: Likewise.
85903         * math/e_rem_pio2l.c: Likewise.
85904         * math/e_scalb.c: Likewise.
85905         * math/e_scalbf.c: Likewise.
85906         * math/e_scalbl.c: Likewise.
85907         * math/k_cosl.c: Likewise.
85908         * math/k_sinl.c: Likewise.
85909         * math/k_tanl.c: Likewise.
85910         * math/s_cacoshf.c: Likewise.
85911         * math/s_catan.c: Likewise.
85912         * math/s_catanf.c: Likewise.
85913         * math/s_catanh.c: Likewise.
85914         * math/s_catanhf.c: Likewise.
85915         * math/s_catanhl.c: Likewise.
85916         * math/s_catanl.c: Likewise.
85917         * math/s_ccosh.c: Likewise.
85918         * math/s_ccoshf.c: Likewise.
85919         * math/s_ccoshl.c: Likewise.
85920         * math/s_cexp.c: Likewise.
85921         * math/s_cexpf.c: Likewise.
85922         * math/s_cexpl.c: Likewise.
85923         * math/s_clog.c: Likewise.
85924         * math/s_clog10.c: Likewise.
85925         * math/s_clog10f.c: Likewise.
85926         * math/s_clog10l.c: Likewise.
85927         * math/s_clogf.c: Likewise.
85928         * math/s_clogl.c: Likewise.
85929         * math/s_csin.c: Likewise.
85930         * math/s_csinf.c: Likewise.
85931         * math/s_csinh.c: Likewise.
85932         * math/s_csinhf.c: Likewise.
85933         * math/s_csinhl.c: Likewise.
85934         * math/s_csinl.c: Likewise.
85935         * math/s_csqrt.c: Likewise.
85936         * math/s_csqrtf.c: Likewise.
85937         * math/s_csqrtl.c: Likewise.
85938         * math/s_ctan.c: Likewise.
85939         * math/s_ctanf.c: Likewise.
85940         * math/s_ctanh.c: Likewise.
85941         * math/s_ctanhf.c: Likewise.
85942         * math/s_ctanhl.c: Likewise.
85943         * math/s_ctanl.c: Likewise.
85944         * math/s_ldexp.c: Likewise.
85945         * math/s_ldexpf.c: Likewise.
85946         * math/s_ldexpl.c: Likewise.
85947         * math/s_significand.c: Likewise.
85948         * math/s_significandf.c: Likewise.
85949         * math/s_significandl.c: Likewise.
85950         * math/w_acos.c: Likewise.
85951         * math/w_acosf.c: Likewise.
85952         * math/w_acosh.c: Likewise.
85953         * math/w_acoshf.c: Likewise.
85954         * math/w_acoshl.c: Likewise.
85955         * math/w_acosl.c: Likewise.
85956         * math/w_asin.c: Likewise.
85957         * math/w_asinf.c: Likewise.
85958         * math/w_asinl.c: Likewise.
85959         * math/w_atan2.c: Likewise.
85960         * math/w_atan2f.c: Likewise.
85961         * math/w_atan2l.c: Likewise.
85962         * math/w_atanh.c: Likewise.
85963         * math/w_atanhf.c: Likewise.
85964         * math/w_atanhl.c: Likewise.
85965         * math/w_cosh.c: Likewise.
85966         * math/w_coshf.c: Likewise.
85967         * math/w_coshl.c: Likewise.
85968         * math/w_dremf.c: Likewise.
85969         * math/w_exp10.c: Likewise.
85970         * math/w_exp10f.c: Likewise.
85971         * math/w_exp10l.c: Likewise.
85972         * math/w_exp2.c: Likewise.
85973         * math/w_exp2f.c: Likewise.
85974         * math/w_fmod.c: Likewise.
85975         * math/w_fmodf.c: Likewise.
85976         * math/w_fmodl.c: Likewise.
85977         * math/w_hypot.c: Likewise.
85978         * math/w_hypotf.c: Likewise.
85979         * math/w_hypotl.c: Likewise.
85980         * math/w_j0.c: Likewise.
85981         * math/w_j0f.c: Likewise.
85982         * math/w_j0l.c: Likewise.
85983         * math/w_j1.c: Likewise.
85984         * math/w_j1f.c: Likewise.
85985         * math/w_j1l.c: Likewise.
85986         * math/w_jn.c: Likewise.
85987         * math/w_jnf.c: Likewise.
85988         * math/w_jnl.c: Likewise.
85989         * math/w_lgamma.c: Likewise.
85990         * math/w_lgamma_r.c: Likewise.
85991         * math/w_lgammaf.c: Likewise.
85992         * math/w_lgammaf_r.c: Likewise.
85993         * math/w_lgammal.c: Likewise.
85994         * math/w_lgammal_r.c: Likewise.
85995         * math/w_log.c: Likewise.
85996         * math/w_log10.c: Likewise.
85997         * math/w_log10f.c: Likewise.
85998         * math/w_log10l.c: Likewise.
85999         * math/w_log2.c: Likewise.
86000         * math/w_log2f.c: Likewise.
86001         * math/w_log2l.c: Likewise.
86002         * math/w_logf.c: Likewise.
86003         * math/w_logl.c: Likewise.
86004         * math/w_pow.c: Likewise.
86005         * math/w_powf.c: Likewise.
86006         * math/w_powl.c: Likewise.
86007         * math/w_remainder.c: Likewise.
86008         * math/w_remainderf.c: Likewise.
86009         * math/w_remainderl.c: Likewise.
86010         * math/w_scalb.c: Likewise.
86011         * math/w_scalbf.c: Likewise.
86012         * math/w_scalbl.c: Likewise.
86013         * math/w_sinh.c: Likewise.
86014         * math/w_sinhf.c: Likewise.
86015         * math/w_sinhl.c: Likewise.
86016         * math/w_sqrt.c: Likewise.
86017         * math/w_sqrtf.c: Likewise.
86018         * math/w_sqrtl.c: Likewise.
86019         * math/w_tgamma.c: Likewise.
86020         * math/w_tgammaf.c: Likewise.
86021         * math/w_tgammal.c: Likewise.
86023         * po/ja.po: Update from translation team.
86025 2011-09-29  Andreas Jaeger  <aj@suse.de>
86027         [BZ #13179]
86028         * sunrpc/netname.c (netname2host): Fix logic.
86030         [BZ #6779]
86031         [BZ #6783]
86032         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
86033         correctly.
86034         * math/w_remainder.c (__remainder): Likewise.
86035         * math/w_remainderf.c (__remainderf): Likewise.
86036         * math/libm-test.inc (remainder_test): Add test cases.
86038 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
86040         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
86041         sdiv_qrnnd.
86043 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86045         * string/test-memcmp.c: Avoid unncessary #defines.
86046         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
86048 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86050         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
86051         Use new sse2 version for core i3 - i7 as it's faster
86052         than sse42 version.
86053         (bit_Prefer_PMINUB_for_stringop): New.
86054         * sysdeps/x86_64/rawmemchr.S: Update.
86055         Replace with faster SSE2 version.
86056         * sysdeps/x86_64/memrchr.S: New file.
86057         * sysdeps/x86_64/memchr.S: Update.
86058         Replace with faster SSE2 version.
86060 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
86062         * elf/dl-load.c (lose): Add cast to avoid warning.
86064 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
86066         * po/ca.po: Update from translation team.
86068         * inet/getnetgrent_r.c: Hook up nscd.
86069         * nscd/Makefile (routines): Add nscd_netgroup.
86070         (nscd-modules): Add netgroupcache.
86071         (CFLAGS-netgroupcache.c): Define.
86072         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
86073         (cache_search): Add const to second parameter.
86074         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
86075         INNETGR.
86076         (dbs): Add netgrdb entry.
86077         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
86078         (verify_persistent_db): Handle netgrdb.
86079         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
86080         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
86081         GETFDNETGR.
86082         (netgroup_response_header): Define.
86083         (innetgroup_response_header): Define.
86084         (datahead): Add netgroup_response_header and innetgroup_response_header
86085         elements.
86086         * nscd/nscd.conf: Add entries for netgroup cache.
86087         * nscd/nscd.h (dbtype): Add netgrdb.
86088         (_PATH_NSCD_NETGROUP_DB): Define.
86089         (netgroup_iov_disabled): Declare.
86090         (xmalloc, xcalloc, xrealloc): Move declarations here.
86091         (cache_search): Adjust prototype.
86092         Add netgroup-related prototypes.
86093         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
86094         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
86095         (__nscd_innetgr): Declare.
86096         * nscd/selinux.c (perms): Use access_vector_t as element type and
86097         add netgroup-related initializers.
86098         * nscd/netgroupcache.c: New file.
86099         * nscd/nscd_netgroup.c: New file.
86100         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
86101         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
86102         For four parameters use innetgr.
86103         * nss/nss_files/files-init.c: Add definition and callback for netgr.
86104         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
86105         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
86106         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
86108         * nscd/connections.c (register_traced_file): Don't register file
86109         for disabled databases.
86111 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
86113         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
86115         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
86116         from tree and freeing node.
86118 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
86120         * nss/nsswitch.c (__nss_database_lookup): Handle
86121         nss_parse_service_list out of memory case.
86123 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
86125         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
86126         out of memory case.
86128 2011-10-04  Andreas Schwab  <schwab@redhat.com>
86130         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
86131         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
86132         pass it down.
86133         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
86134         elf_machine_rela, elf_machine_lazy_rel.
86135         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
86136         (ELF_DYNAMIC_DO_REL): Likewise.
86137         (ELF_DYNAMIC_DO_RELA): Likewise.
86138         (ELF_DYNAMIC_RELOCATE): Likewise.
86139         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
86140         to ELF_DYNAMIC_DO_REL.
86141         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
86142         (dl_main): In trace mode always set __RTLD_NOIFUNC.
86143         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
86144         elf_machine_rela.
86145         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
86146         skip_ifunc, don't call ifunc function if non-zero.
86147         (elf_machine_rela): Likewise.
86148         (elf_machine_lazy_rel): Likewise.
86149         (elf_machine_lazy_rela): Likewise.
86150         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
86151         (elf_machine_lazy_rel): Likewise.
86152         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
86153         Likewise.
86154         (elf_machine_lazy_rel): Likewise.
86155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86156         Likewise.
86157         (elf_machine_lazy_rel): Likewise.
86158         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
86159         (elf_machine_lazy_rel): Likewise.
86160         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
86161         (elf_machine_lazy_rel): Likewise.
86162         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
86163         (elf_machine_lazy_rel): Likewise.
86164         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
86165         (elf_machine_lazy_rel): Likewise.
86166         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
86167         (elf_machine_lazy_rel): Likewise.
86168         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
86169         (elf_machine_lazy_rel): Likewise.
86171 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
86173         * nss/nss_files/files-init.c (_nss_files_init): Use static
86174         initialization for all the *_traced_file variables.
86176 2011-09-28  Andreas Schwab  <schwab@redhat.com>
86178         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86180 2011-09-27  Roland McGrath  <roland@hack.frob.com>
86182         [BZ #13226]
86183         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
86185 2011-09-27  Andreas Schwab  <schwab@redhat.com>
86187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
86188         Reread the line before reparsing it.
86190 2011-09-26  Andreas Schwab  <schwab@redhat.com>
86192         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
86194 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
86195             Maxim Kuvyrkov  <maxim@codesourcery.com>
86196             Joseph Myers  <joseph@codesourcery.com>
86198         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
86199         if needed for __stack_chk_guard.
86201 2011-09-19  Roland McGrath  <roland@hack.frob.com>
86203         * sysdeps/posix/spawni.c (script_execute): Always define it.
86204         It will be optimized away if unused.
86205         (maybe_script_execute): New function.
86206         (__spawni): Call it.
86208         * Makerules: Don't include tls.make.
86209         (config-tls): Always set to thread.
86210         * tls.make.c: File removed.
86212 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
86214         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
86215         * config.make.in (CPPFLAGS-config): New substituted variable.
86217 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
86221         [BZ #13192]
86222         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
86223         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
86225 2011-09-15  Roland McGrath  <roland@hack.frob.com>
86227         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
86228         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
86229         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
86230         (CALL_FAIL): Likewise.
86231         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
86232         (CALL_FAIL): Macro removed.
86233         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
86235 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
86237         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
86238         for __FINITE_MATH_ONLY__ == 1.
86240 2011-09-15  Andreas Schwab  <schwab@redhat.com>
86242         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
86243         __ieee754_sqrt instead of sqrt.
86244         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
86245         __ieee754_sqrtf instead of sqrtf.
86246         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
86247         __floorf instead of floorf.
86248         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
86249         __floorf, __truncf instead of floorf, truncf.
86251 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
86253         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
86255         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
86256         __extern_always_inline.
86257         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
86258         32-bit.
86260 2011-09-14  Andreas Schwab  <schwab@redhat.com>
86262         * elf/rtld.c (dl_main): Also relocate in dependency order when
86263         doing symbol dependency testing.
86265 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
86267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
86268         Always define `refsym'.
86270 2011-09-13  Andreas Schwab  <schwab@redhat.com>
86272         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
86273         (__FD_ELT): Renamed from __FDELT.
86274         * misc/bits/select2.h (__FD_ELT): Likewise.
86275         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
86276         __FD_MASK instead of __FDELT, __FDMASK.
86277         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86278         Likewise.
86279         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
86280         Likewise.
86282         * elf/Makefile (gen-ldd): Fix pattern.
86284         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
86285         (init_tls): Likewise.
86287 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
86289         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
86291 2011-09-12  Andreas Schwab  <schwab@redhat.com>
86293         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
86294         `struct cmsghdr *' instead of `void *'.
86295         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
86296         Likewise.
86298 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
86300         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
86301         if non-absolute.
86302         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
86303         ldd_rewrite_script.
86305 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
86307         * configure.in: Remove --with-tls option.
86308         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
86309         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
86310         out in case it is missing.
86311         * sysdeps/ia64/elf/configure.in: Likewise.
86312         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
86313         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
86314         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
86315         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
86316         * sysdeps/sh/elf/configure.in: Likewise.
86317         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
86318         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
86319         * sysdeps/x86_64/elf/configure.in: Likewise.
86320         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
86321         * sysdeps/mach/hurd/tls.h: Likewise.
86323         [BZ #13067]
86324         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
86326         [BZ #13090]
86327         * configure.in: Fix use of AC_INIT.
86329         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
86331 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
86333         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
86334         __set_errno.
86335         * malloc/hooks.c: Likewise.
86337         [BZ #11929]
86338         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
86339         variables statically.
86340         (narenas): Initialize.
86341         (list_lock): Initialize.
86342         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
86343         initializtion of main_arena and list_lock.  Small cleanups.
86344         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
86345         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
86346         Add initializers to main_arena and mp_.
86347         (malloc_state): Remove pagesize member.  Change all users to use
86348         GLRO(dl_pagesize).
86350         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
86351         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
86352         is always initialized.
86354         * malloc/malloc.c: Removed unused configurations and dead code.
86355         * malloc/arena.c: Likewise.
86356         * malloc/hooks.c: Likewise.
86357         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
86359         * include/tls.h: Removed.  USE___THREAD must always be defined.
86360         * bits/libc-tsd.h: Don't handle !USE___THREAD.
86361         * elf/dl-libc.c: Likewise.
86362         * elf/dl-tsd.c: Likewise.
86363         * include/errno.h: Likewise.
86364         * include/netdb.h: Likewise.
86365         * include/resolv.h: Likewise.
86366         * inet/herrno-loc.c: Likewise.
86367         * inet/herrno.c: Likewise.
86368         * malloc/arena.c: Likewise.
86369         * malloc/hooks.c: Likewise.
86370         * malloc/malloc.c: Likewise.
86371         * resolv/res-state.c: Likewise.
86372         * resolv/res_libc.c: Likewise.
86373         * sysdeps/i386/dl-machine.h: Likewise.
86374         * sysdeps/ia64/dl-machine.h: Likewise.
86375         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
86376         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
86377         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
86378         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
86379         * sysdeps/sh/dl-machine.h: Likewise.
86380         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86381         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
86382         * sysdeps/unix/i386/sysdep.S: Likewise.
86383         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
86384         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
86385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
86386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
86387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
86388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
86389         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
86390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
86391         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
86392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
86393         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86394         * sysdeps/x86_64/dl-machine.h: Likewise.
86395         * tls.make.c: Likewise.
86397         * configure.in: Remove --with-__thread option.  Make tests for
86398         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
86399         tls_model attribute fail if no support is available.  Remove
86400         USE_IN_LIBIO.
86401         * Makeconfig: Adjust for dropped configure option.  All features are
86402         now mandatory.
86403         * Makerules: Likewise.
86404         * Versions.def: Likewise.
86405         * argp/argp-fmtstream.c: Likewise.
86406         * argp/argp-fmtstream.h: Likewise.
86407         * argp/argp-help.c: Likewise.
86408         * assert/assert.c: Likewise.
86409         * config.h.in: Likewise.
86410         * config.make.in: Likewise.
86411         * configure: Likewise.
86412         * configure.in: Likewise.
86413         * csu/Versions: Likewise.
86414         * csu/init.c: Likewise.
86415         * elf/tst-audit2.c: Likewise.
86416         * elf/tst-tls10.c: Likewise.
86417         * elf/tst-tls10.h: Likewise.
86418         * elf/tst-tls11.c: Likewise.
86419         * elf/tst-tls12.c: Likewise.
86420         * elf/tst-tls14.c: Likewise.
86421         * elf/tst-tlsmod11.c: Likewise.
86422         * elf/tst-tlsmod12.c: Likewise.
86423         * elf/tst-tlsmod13.c: Likewise.
86424         * elf/tst-tlsmod13a.c: Likewise.
86425         * elf/tst-tlsmod14a.c: Likewise.
86426         * elf/tst-tlsmod15b.c: Likewise.
86427         * elf/tst-tlsmod16a.c: Likewise.
86428         * elf/tst-tlsmod16b.c: Likewise.
86429         * elf/tst-tlsmod7.c: Likewise.
86430         * elf/tst-tlsmod8.c: Likewise.
86431         * elf/tst-tlsmod9.c: Likewise.
86432         * gmon/gmon.c: Likewise.
86433         * grp/fgetgrent_r.c: Likewise.
86434         * grp/putgrent.c: Likewise.
86435         * hurd/fopenport.c: Likewise.
86436         * include/libc-symbols.h: Likewise.
86437         * include/tls.h: Likewise.
86438         * intl/gettextP.h: Likewise.
86439         * intl/loadinfo.h: Likewise.
86440         * locale/global-locale.c: Likewise.
86441         * locale/localeinfo.h: Likewise.
86442         * mach/devstream.c: Likewise.
86443         * malloc/arena.c: Likewise.
86444         * malloc/set-freeres.c: Likewise.
86445         * misc/err.c: Likewise.
86446         * misc/getttyent.c: Likewise.
86447         * misc/mntent_r.c: Likewise.
86448         * posix/getopt.c: Likewise.
86449         * posix/wordexp.c: Likewise.
86450         * pwd/fgetpwent_r.c: Likewise.
86451         * resolv/Versions: Likewise.
86452         * resolv/res_hconf.c: Likewise.
86453         * shadow/fgetspent_r.c: Likewise.
86454         * shadow/putspent.c: Likewise.
86455         * stdio-common/printf_fphex.c: Likewise.
86456         * stdio-common/tmpfile.c: Likewise.
86457         * stdlib/abort.c: Likewise.
86458         * stdlib/fmtmsg.c: Likewise.
86459         * sunrpc/auth_unix.c: Likewise.
86460         * sunrpc/clnt_perr.c: Likewise.
86461         * sunrpc/clnt_tcp.c: Likewise.
86462         * sunrpc/clnt_udp.c: Likewise.
86463         * sunrpc/clnt_unix.c: Likewise.
86464         * sunrpc/openchild.c: Likewise.
86465         * sunrpc/svc_simple.c: Likewise.
86466         * sunrpc/svc_tcp.c: Likewise.
86467         * sunrpc/svc_udp.c: Likewise.
86468         * sunrpc/svc_unix.c: Likewise.
86469         * sunrpc/xdr.c: Likewise.
86470         * sunrpc/xdr_array.c: Likewise.
86471         * sunrpc/xdr_rec.c: Likewise.
86472         * sunrpc/xdr_ref.c: Likewise.
86473         * sunrpc/xdr_stdio.c: Likewise.
86475 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86477         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
86479 2011-07-03  Andreas Jaeger  <aj@suse.de>
86481         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
86482         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
86483         regenerate with gen-libm-tests.pl.
86485 2010-05-12  Petr Baudis  <pasky@suse.cz>
86487         [BZ #11589]
86488         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
86489         around j0() zero points by switching to j1().
86490         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86491         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86493         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86495 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86497         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
86498         instead of 0.
86499         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
86500         instead of 0.
86501         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86502         Patch in part by Pavel Roskin <proski@gnu.org>.
86504         [BZ #13138]
86505         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
86506         realloc.
86507         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
86508         Free memory block if necessary.
86510         [BZ #12847]
86511         * libio/genops.c (INTDEF): For string streams the _lock pointer can
86512         be NULL.  Don't lock in this case.
86514 2011-09-09  Roland McGrath  <roland@hack.frob.com>
86516         * elf/elf.h (ELFOSABI_GNU): New macro.
86517         (ELFOSABI_LINUX): Define to that.
86519 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
86521         * string/strncat.c (strncat): Undef the symbol in case it has been
86522         defined in bits/string.h.
86524 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
86526         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
86528         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
86529         link map.
86531 2011-08-17  Andreas Jaeger  <aj@suse.de>
86533         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
86535 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
86536             Ian Lance Taylor  <iant@google.com>
86538         * math/libm-test.inc (lround_test): New testcase.
86539         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
86541 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
86543         * Makefile: Remove support for automatic cvs check-ins.
86544         * Makerules: Likewise.
86545         * config.make.in: Likewise.
86546         * configure.in: Likewise.
86547         * intl/Makefile: Likewise.
86548         * locale/Makefile: Likewise.
86549         * po/Makefile: Likewise.
86550         * posix/Makefile: Likewise.
86551         * sysdeps/gnu/Makefile: Likewise.
86552         * sysdeps/mach/hurd/Makefile: Likewise.
86553         * sysdeps/sparc/sparc32/Makefile: Likewise.
86555         [BZ #13118]
86556         * posix/Makefile (bug-regex32-ENV): Define.
86557         Patch by John Stanley <jpsinthemix@verizon.net>.
86559         * misc/Makefile (headers): Add bits/select2.h.
86560         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
86561         * misc/bits/select2.h: New file.
86562         * include/bits/select2.h: New file.
86563         * debug/Makefile (routines): Add fdelt_chk.
86564         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
86565         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
86566         FD_ISSET.
86567         * debug/fdelt_chk.c: New file.
86569         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
86570         * wcsmbs/test-wmemcmp.c: Likewise.
86571         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
86572         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
86574 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86576         * string/Makefile (strop-tests): Add memcmp.
86577         * string/test-wmemcmp.c: New file.
86578         * string/test-memcmp.c: Add wmemcmp support.
86580 2011-09-08  Roland McGrath  <roland@hack.frob.com>
86582         [BZ #13153]
86583         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
86584         2011-07-19 change.
86586         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
86587         garbage value in a __mach_port_mod_refs call in the cases of the
86588         task-self and thread-self ports.
86590 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86592         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
86594 2011-09-08  Andreas Schwab  <schwab@redhat.com>
86596         * elf/dl-load.c (lose): Check for non-null L.
86598 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86600         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
86602         * elf/dl-libc.c (dlerror_run): Pass back error code from
86603         dl_catch_error.
86605         [BZ #13123]
86606         * elf/dl-load.c (lose): Free l_origin if it is valid.
86608         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
86609         names.
86610         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
86611         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86612         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
86613         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86614         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
86615         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
86617 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86619         * sysdeps/powerpc/fpu/e_hypot.c: New file.
86620         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
86621         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
86622         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
86623         * sysdeps/powerpc/fpu/k_cosf.c: New file.
86624         * sysdeps/powerpc/fpu/k_sinf.c: New file.
86625         * sysdeps/powerpc/fpu/s_cosf.c: New file.
86626         * sysdeps/powerpc/fpu/s_sinf.c: New file.
86627         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
86628         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
86630 2011-08-15  Alan Modra  <amodra@gmail.com>
86632         [BZ #13092]
86633         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
86634         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
86635         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
86636         ppc_mcount to static-only-routines.
86637         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
86638         __mcount_internal.
86639         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
86640         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
86642 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
86644         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
86645         for finite and infinity parameters.
86647 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
86650         and add nop instructions for throughput optimization.
86651         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
86653 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
86655         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
86656         aligned copy for power7 with vector-scalar instructions.
86657         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
86659 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
86661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
86662         AVX check.
86664 2011-09-07  Andreas Schwab  <schwab@redhat.com>
86666         [BZ #13144]
86667         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
86668         last change.
86670 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
86672         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86673         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
86674         syscall wrapper around clock_gettime in __vdso_clock_gettime.
86675         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
86676         clock_gettime.
86678 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86680         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
86681         Forgot to demangle the pointer.
86683         * sysdeps/i386/sysdep.h: Define atom_text_section.
86684         * sysdeps/x86_64/sysdep.h: Likewise.
86685         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
86686         section with atom_text_section.
86687         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
86688         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
86689         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
86690         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
86691         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
86693         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
86694         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
86695         already be defined.  Change to take two parameters and don't assign
86696         result to variable.  Adjust all users.
86697         Define INTERNAL_GETTIME if not already defined.
86698         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
86699         call.
86700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
86701         HAVE_CLOCK_GETTIME_VSYSCALL.
86702         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
86704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
86705         gettimeofday vsyscall, just use time.
86707 2011-09-06  Andreas Schwab  <schwab@redhat.com>
86709         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
86710         <errno.h>.
86712 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
86714         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
86715         syscall on x86-64.
86716         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
86717         syscall.
86718         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
86719         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
86720         syscall if possible.
86722 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86724         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
86725         e_ident.  Don't pass to find_mapsXX.
86726         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
86728 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86731         strchr-sse2-no-bsf strrchr-sse2-no-bsf
86732         * sysdeps/x86_64/multiarch/strchr.S: Update.
86733         Check bit_slow_BSF bit.
86734         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
86735         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
86736         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
86738 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86740         [BZ #13134]
86741         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
86742         before glibc 2.15.
86743         (tryshell): Define.
86744         (__spawni): Change last parameter to be flag.  Test
86745         SPAWN_XFLAGS_USE_PATH flag to use path or not.
86746         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
86747         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
86748         * posix/spawni.c: Likewise.
86749         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
86750         * posix/spawnp.c: Likewise.  Change normal version to use
86751         SPAWN_XFLAGS_USE_PATH.
86752         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
86753         SPAWN_XFLAGS_TRY_SHELL.
86755         [BZ #13150]
86756         * posix/glob.h: Remove gcc 1.x support.
86758         [BZ #13068]
86759         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
86761 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
86763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86764         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
86765         strrchr-sse2-bsf
86766         * sysdeps/i386/i686/multiarch/strchr.S: New file.
86767         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
86768         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
86769         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
86770         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
86771         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
86773 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86775         * sysdeps/x86_64/wcscmp.S: New file.
86777         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
86778         wcscmp-c wcscmp-sse2
86779         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
86780         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
86781         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
86782         * wcsmbs/wcscmp.c: Allow renaming.
86784 2011-09-05  David S. Miller  <davem@davemloft.net>
86786         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
86787         stack slot, rather than the struct return pointer slot.
86788         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
86789         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
86790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
86791         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
86793 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
86795         * po/ja.po: Update from translation team.
86797         [BZ #13144]
86798         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
86799         kernel in 64-bit binaries.
86801 2011-09-01  David S. Miller  <davem@davemloft.net>
86803         * elf/elf.h (HWCAP_SPARC_*): Move to..
86804         * sysdeps/sparc/sysdep.h: this new file and add new values.
86805         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
86806         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
86807         _DL_HWCAP_COUNT to 24.
86808         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
86809         entries.
86810         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
86811         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
86812         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
86813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
86814         instead of magic constants.
86815         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86817 2011-08-31  David S. Miller  <davem@davemloft.net>
86819         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
86820         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
86821         Reimplement to do errno handling inline.
86822         (SYSCALL_ERROR_HANDLER): New macro.
86823         (__SYSCALL_STRING): Do not do errno handling in asm.
86824         (__CLONE_SYSCALL_STRING): Delete.
86825         (__INTERNAL_SYSCALL_STRING): Delete.
86826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
86827         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
86828         (PSEUDO): Reimplement to do errno handling inline.
86829         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
86830         (SYSCALL_ERROR_HANDLER): New macro.
86831         (__SYSCALL_STRING): Do not do errno handling in asm.
86832         (__CLONE_SYSCALL_STRING): Delete.
86833         (__INTERNAL_SYSCALL_STRING): Delete.
86834         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
86835         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
86836         i386.
86837         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
86838         (inline_syscall*): Add 'err' argument.
86839         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
86840         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
86841         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
86842         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
86844         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
86845         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
86847 2011-08-30  Andreas Schwab  <schwab@redhat.com>
86849         * elf/rtld.c (dl_main): Relocate objects in dependency order.
86851 2011-08-29  Jiri Olsa <jolsa@redhat.com>
86853         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
86854         directive.
86856 2011-08-24  David S. Miller  <davem@davemloft.net>
86858         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
86860 2011-08-24  Andreas Schwab  <schwab@redhat.com>
86862         * elf/Makefile: Add rules to build and run unload8 test.
86863         * elf/unload8.c: New file.
86864         * elf/unload8mod1.c: New file.
86865         * elf/unload8mod1x.c: New file.
86866         * elf/unload8mod2.c: New file.
86867         * elf/unload8mod3.c: New file.
86869         * elf/dl-close.c (_dl_close_worker): Reset private search list if
86870         it wasn't used.
86872 2011-08-23  David S. Miller  <davem@davemloft.net>
86874         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
86875         subtract stack bias.
86876         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
86877         %sp not %fp in calculations.
86878         (_JMPBUF_UNWINDS_ADJ): Likewise.
86880         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
86881         (aio_suspend): Call it to force an exception region around the
86882         AIO_MISC_WAIT() invocation.
86884 2011-08-23  Andreas Schwab  <schwab@redhat.com>
86886         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
86887         backslash.
86889 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
86891         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
86892         protection macro.
86893         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
86894         and <dl-machine.h>.
86895         (Elf64_FuncDesc): Remove.
86897 2011-08-22  David S. Miller  <davem@davemloft.net>
86899         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
86900         sigaltstack check, add missing cfi directives.
86901         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
86902         missing cfi directives, and sigaltstack handling.
86904 2011-08-16  Andreas Schwab  <schwab@redhat.com>
86906         [BZ #11724]
86907         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
86908         object is seen twice.
86909         * elf/dl-fini.c (_dl_sort_fini): Likewise.
86911         * elf/Makefile (distribute): Add tst-initorder2.c.
86912         (tests): Add tst-initorder2.
86913         (modules-names): Add tst-initorder2a tst-initorder2b
86914         tst-initorder2c tst-initorder2d.  Add rules to build them.
86915         ($(objpfx)tst-initorder2.out): New rule.
86916         * elf/tst-initorder2.c: New file.
86917         * elf/tst-initorder2.exp: New file.
86919 2011-08-22  Andreas Schwab  <schwab@redhat.com>
86921         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
86923         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
86924         dependencies back to end of function.
86926         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86927         $(elfobjdir)/ld.so.
86929 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
86931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
86932         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
86933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
86934         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
86935         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
86936         of __vdso_gettimeofday.
86937         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
86938         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
86939         attribute_hidden.
86940         (_libc_vdso_platform_setup): Remove initialization of
86941         __vdso_gettimeofday and __vdso_time.
86943 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86945         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
86946         and fgetc_unlocked.
86947         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
86948         getc_unlocked.
86950         * elf/dl-open.c (add_to_global): Report additions to the global scope
86951         for LD_DEBUG=scopes.
86952         (dl_open_worker): Also print scope of newly loaded dependencies.
86953         (_dl_show_scope): Indicate if there is no scope.
86955         [BZ #13114]
86956         * stdio-common/Makefile (tests): Add bug24.
86957         * stdio-common/bug24.c: New file.
86959 2011-08-19  Andreas Jaeger  <aj@suse.de>
86961         [BZ #13114]
86962         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
86963         non-existant file when using close-on-exec mode.
86965 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
86967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
86968         the very first instruction.
86970         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
86971         the CFI state in the end.
86972         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
86973         inclusion of dl-trampoline.h.
86974         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
86976 2011-08-19  Andreas Schwab  <schwab@redhat.com>
86978         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
86979         expectations for long double.
86981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
86982         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
86984 2011-08-14  David S. Miller  <davem@davemloft.net>
86986         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
86987         artificual limit depends upon the system page size.
86989 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
86991         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
86992         * resolv/Makefile: Define CFLAGS-libresolv.
86994 2011-08-17  Andreas Schwab  <schwab@redhat.com>
86996         * nss/makedb.c (compute_tables): Make variables used in nested
86997         function static.
86999 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
87001         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
87002         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
87003         if buffer was too small.
87005         * elf/pldd.c (main): Attach to all threads in the process.
87006         Rewrite /proc handling to use *at functions.
87008 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
87010         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
87011         specifies first scope to show.
87012         (dl_open_worker): Update callers.  Move printing scope of new
87013         object to before the relocation.
87014         * elf/rtld.c (dl_main): Update _dl_show_scope call.
87015         * sysdeps/generic/ldsodefs.h: Update declaration.
87017         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
87018         string for the scope number.
87020 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
87022         * nscd/servicescache.c (cache_addserv): Make sure written is always
87023         initialized.
87025 2011-08-14  Roland McGrath  <roland@hack.frob.com>
87027         * sysdeps/i386/i486/bits/atomic.h
87028         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
87029         statement expression, so as to suppress "set but not used" warning.
87030         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
87032         * string/strncat.c (STRNCAT): Use prototype definition.
87034         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
87035         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
87036         -Iprograms here.
87037         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
87038         (localedef-modules): Add localedef.
87039         (locale-modules): Add locale.
87041         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
87042         * elf/rtld.c (dl_main): Invert order of assignment in last change,
87043         to avoid a warning.
87045 2011-08-14  David S. Miller  <davem@davemloft.net>
87047         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
87048         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
87050 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
87052         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
87053         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
87054         * elf/rtld.c (dl_main): Set l_name of vDSO.
87055         Call _dl_show_scope when DL_DEBUG_SCOPES.
87056         (process_dl_debug): Recognize scopes flag and also set it for all.
87057         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
87058         Declare _dl_show_scope.
87060         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
87061         (do_dlopen): Pass caller_dlopen to dl_open.
87062         (__libc_dlopen_mode): Initialize caller_dlopen.
87064         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
87065         of libc.  Make tolower call locale-independent.  Optimize a bit by
87066         using isdigit instead of isalnum.
87067         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
87069 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
87071         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
87072         was a dependency or dynamically loaded.
87074 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
87076         * intl/l10nflist.c: Allow architecture-specific pop function.
87077         * sysdeps/x86_64/l10nflist.c: New file.
87079         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
87080         classification.
87082 2011-08-10  Andreas Schwab  <schwab@redhat.com>
87084         * include/dirent.h: Add libc_hidden_proto for scandirat and
87085         scandirat64.  Don't declare __scandirat64.
87086         * dirent/scandirat.c: Add libc_hidden_def.
87087         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
87088         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
87090 2011-08-10  David S. Miller  <davem@davemloft.net>
87092         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
87093         enum.
87094         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87095         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87096         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87098 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
87100         * Versions.def [libc]: Add GLIBC_2.15.
87101         * dirent/Makefile (routines): Add scandirat and scandirat64.
87102         * dirent/Versions [libc]: Export scandirat and scandirat64 for
87103         GLIBC_2.15.
87104         * dirent/dirent.h: Declare scandirat and scandirat64.
87105         * dirent/scandirat.c: New file.
87106         * dirent/scandirat64.c: New file.
87107         * sysdeps/wordsize-64/scandirat.c: New file.
87108         * sysdeps/wordsize-64/scandirat64.c: New file.
87109         * dirent/opendir.c: Define opendirat.
87110         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
87111         using scandirat.
87112         * dirent/scandir64.c: Adjust for scandir.c change.
87113         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
87114         __scandirat64, and __scandir_cancel_handler.
87115         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
87116         additional parameter and use openat instead of open (outside of ld.so).
87117         Add new __opendir as wrapper around __opendirat.
87118         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
87119         here without requiring old scandirat implementation.
87121 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
87123         * dirent/scandir.c (cancel_handler): Renamed to
87124         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
87125         defined.  Adjust users.
87126         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
87127         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
87129 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
87131         * string/test-string.h (IMPL): Use __STRING to expand name and then
87132         stringify it.
87134         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
87135         of cleanups.
87137 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87139         * string/Makefile: Update.
87140         (strop-tests): Append strncat.
87141         * string/test-wcscmp.c: New file.
87142         New comprehensive test for wcscmp.
87143         * string/test-strcmp.c: Update.
87144         (WIDE): New define.
87146 2011-07-22  Andreas Schwab  <schwab@redhat.com>
87148         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
87149         line.
87151 2011-07-26  Andreas Schwab  <schwab@redhat.com>
87153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
87154         encoding to ACE if AI_IDN.
87156 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
87158         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
87159         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
87161 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87163         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
87164         Fix overflow bug in strncat.
87165         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
87167         * string/test-strncat.c: Update.
87168         Add new tests for checking overflow bugs.
87170 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87173         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
87174         * sysdeps/i386/i686/multiarch/strcat.S: New file.
87175         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
87176         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
87177         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
87178         * sysdeps/i386/i686/multiarch/strncat.S: New file.
87179         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
87180         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
87182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
87183         (USE_AS_STRCAT): Define.
87184         Add strcat and strncat support.
87185         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
87187 2011-07-25  Andreas Schwab  <schwab@redhat.com>
87189         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
87190         __n bigger than INT_MAX+1.
87191         (__strncmp_g): Likewise.
87193 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
87195         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
87196         * libio/stido.h: Likewise.
87198         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
87199         (AF_NFC): Define.
87200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
87201         (AF_NFC): Define.
87203         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
87204         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
87205         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
87206         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
87207         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
87209         [BZ #13021]
87210         * scripts/test-installation.pl: Don't expect libnss_test1 to be
87211         installed.
87213         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
87214         typo.
87215         (_dl_x86_64_save_sse): Likewise.
87217 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
87219         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
87220         OSXSAVE.
87221         (_dl_x86_64_save_sse): Likewise.
87223         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
87225         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
87227 2011-07-21  Andreas Schwab  <schwab@redhat.com>
87229         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
87230         change.
87231         (_dl_x86_64_save_sse): Use correct AVX check.
87233 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87235         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
87236         bug in strncpy/strncat.
87237         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
87239 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
87241         * string/tester.c (test_strcat): Add tests for different alignments
87242         of source and destination.
87243         (test_strncat): Likewise.
87245 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87247         [BZ #12852]
87248         * posix/glob.c (glob): Check passed in values before using them in
87249         expressions to avoid some overflows.
87250         (glob_in_dir): Likewise.
87252         [BZ #13007]
87253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
87254         check for AVX enablement so that we don't crash with old kernels and
87255         new hardware.
87256         * elf/tst-audit4.c: Add same checks here.
87257         * elf/tst-audit6.c: Likewise.
87259         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
87261 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
87263         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
87265 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
87267         * po/cs.po: Update from translation team.
87268         * po/bg.po: Likewise.
87270 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
87272         * misc/sys/cdefs.h: Add support for const attribute.
87273         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
87274         to gnu_dev_{major,minor,makedev} functions.
87276 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
87278         * intl/dcigettext.c (get_output_charset): Add missing bracket.
87280 2011-07-20  Andreas Schwab  <schwab@redhat.com>
87282         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
87283         strlen results.
87285 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87287         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
87288         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
87289         register in order to avoid conflicts with the soft frame pointer
87290         being held in r11 when necessary.
87291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
87292         (INTERNAL_VSYSCALL_NCS): Likewise.
87294 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
87296         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
87297         * elf/dl-fini.c (_dl_fini): Adjust caller.
87298         * elf/dl-close.c (_dl_close_worker): Likewise.
87299         * sysdeps/generic/ldsodefs.h: Adjust declaration.
87301 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87303         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
87304         "aux_cache->nlibs < 0".
87306         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
87307         in the reload-count case.
87309 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
87311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87312         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
87313         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
87314         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
87315         * sysdeps/x86_64/multiarch/strcat.S: New file.
87316         * sysdeps/x86_64/multiarch/strncat.S: New file.
87317         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
87318         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
87319         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
87320         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
87321         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
87322         (USE_AS_STRCAT): Define.
87323         Add strcat and strncat support.
87324         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
87325         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
87326         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
87327         * string/strncat.c: Update.
87328         (USE_AS_STRNCAT): Define.
87329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87330         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
87331         and i7.
87332         * sysdeps/x86_64/multiarch/init-arch.h
87333         (bit_Prefer_PMINUB_for_stringop): New.
87334         (index_Prefer_PMINUB_for_stringop): Likewise.
87335         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
87336         bit_Prefer_PMINUB_for_stringop.
87338 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87340         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
87341         buffer64.
87342         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
87343         of casting of buffer.
87344         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
87345         buffer32 and buffer64.
87346         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
87347         writes instead of casting of buffer.
87348         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
87349         buffer32.
87350         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
87351         casting of buffer.
87353 2011-07-19  Andreas Schwab  <schwab@redhat.com>
87355         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
87357 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
87359         * nscd/nscd.c (termination_handler): Don't do anything for a database
87360         if it has not yet been initialized.
87362 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87364         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87366 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
87368         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
87370 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
87372         * po/nl.po: Update from translation team.
87373         * po/sv.po: Likewise.
87375 2011-07-16  Roland McGrath  <roland@hack.frob.com>
87377         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
87378         now disallowed by GCC.
87380         * configure.in (use-default-link): Default to yes if a test -shared
87381         link meets our qualifications.
87382         * configure: Regenerated.
87384         * config.make.in (output-format): New variable.
87385         * configure.in: Check for ld --print-output-format support.
87386         * configure: Regenerated.
87387         * Makerules ($(common-objpfx)format.lds)
87388         [$(output-format) != unknown]: Just use $(output-format),
87389         instead of the linker-script munging.
87391 2011-07-14  Roland McGrath  <roland@hack.frob.com>
87393         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
87394         of $(common-objpfx)shlib.lds.
87395         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
87397         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
87398         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
87400         * configure.in (-z relro check): Adjust test code to add a large
87401         writable data section after it.
87402         * configure: Regenerated.
87404 2011-07-11  Roland McGrath  <roland@hack.frob.com>
87406         * configure.in (-z relro check): Fix test code to make the variable
87407         truly const.
87408         * configure: Regenerated.
87410 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
87412         * nscd/nscd.h (struct traced_file): Define.
87413         (struct database_dyn): Remove inotify_descr, reset_res, and filename
87414         elements.  Add traced_files.
87415         (inotify_fd): Declare.
87416         (register_traced_file): Declare.
87417         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
87418         (inotify_fd): Export.
87419         (resolv_conf_descr): Remove.
87420         (nscd_init): Move inotify descriptor creation to main.
87421         Don't register files for notification here.
87422         (register_traced_file): New function.
87423         (invalidate_cache): Don't use reset_res to determine whether to call
87424         res_init, go through the list of registered files.
87425         (main_loop_poll): The inotify descriptors are now stored in the
87426         structures for the traced files.
87427         (main_loop_epoll): Likewise.
87428         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
87429         to __nss_disable_nscd.
87430         * nscd/cache.c (prune_cache): There is no single inotify descriptor
87431         for a database anymore.  Check the records for all the registered
87432         files instead.
87433         * nss/Makefile (libnss_files-routines): Add files-init.
87434         (libnss_db-routines): Add db-init.
87435         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
87436         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
87437         * nss/nss_db/db-init.c: New file.
87438         * nss/nss_files/files-init.c: New file.
87439         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
87440         __nss_lookup_function.
87441         (__nss_lookup_function): Call nss_load_library.
87442         (nss_load_all_libraries): New function.
87443         (__nss_disable_nscd): Take parameter with callback function for files
87444         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
87445         used for the cached services.
87446         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
87447         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
87448         options for features to all the files in nscd.
87450         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
87452 2011-07-10  Roland McGrath  <roland@hack.frob.com>
87454         * csu/elf-init.c (__libc_csu_init): Comment typo.
87456 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
87458         * po/pl.po: Update from translation team.
87459         * po/ja.po: Likewise.
87460         * po/ru.po: Likewise.
87461         * po/ko.po: Likewise.
87462         * po/fr.po: Likewise.
87464 2011-07-09  Roland McGrath  <roland@hack.frob.com>
87466         * configure.in (.ctors/.dtors header and trailer check):
87467         Use an empirical test on a built program.
87468         * configure: Regenerated.
87470         * configure.in (-z relro check): Use an empirical test on a built DSO.
87471         Detect, but do not require, on ia64.
87472         * configure: Regenerated.
87474         * configure.in (READELF): Find it with AC_CHECK_TOOL.
87475         Update tests that use readelf to use $READELF instead.
87476         * configure: Regenerated.
87478 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
87480         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
87481         if the result is not used.
87483 2011-07-05  Andreas Jaeger  <aj@suse.de>
87485         [BZ #9696]
87486         * stdlib/tst-strtod.c: Add testcase.
87488 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
87490         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
87491         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
87492         The latter has a higher limit.  Take additional parameter to pass to
87493         the new function.
87494         (__pathconf): Pass file to __statfs_link_max.
87495         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
87496         __statfs_link_max.
87497         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
87498         __statfs_link_max.
87500         [BZ #12868]
87501         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
87502         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
87503         Handle Lustre.
87504         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
87505         (__statfs_filesize_max): Likewise.
87506         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
87508 2011-07-05  Andreas Jaeger  <aj@suse.de>
87510         * resolv/res_comp.c (dn_skipname): Remove unused variable.
87512 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
87514         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
87515         `status' variable.
87516         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
87517         Likewise.
87519 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
87521         * Makefile (strop-tests): Add strncat.
87522         * string/test-strncat.c: New file.
87524 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
87526         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
87528 2011-06-21  Andreas Jaeger  <aj@suse.de>
87530         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
87531         Copy rule from iconvdata/Makefile.
87533 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87535         [BZ #12922]
87536         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
87537         but no long options are defined, just return 'W'.
87539 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
87541         [BZ #9696]
87542         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
87544 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
87546         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
87547         netgroups to read.
87548         (innetgr): Likewise.
87550 2011-07-05  Roland McGrath  <roland@hack.frob.com>
87552         * config.make.in (install_root): Default to $(DESTDIR).
87554 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
87556         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
87558 2011-07-02  Roland McGrath  <roland@hack.frob.com>
87560         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
87562         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
87563         containing directory rather than embedding absolute directory names.
87565         * scripts/check-local-headers.sh: Rewritten using awk.
87566         Match by word, not by line.  Print error messages for matches.
87567         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
87569         * Makerules [shlib-lds-flags empty]:
87570         ($(common-objpfx)libc_pic.opts): New target.
87571         ($(common-objpfx)libc_pic.os.clean): New target.
87572         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
87574         * config.make.in (OBJCOPY): New variable.
87575         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
87576         * configure: Regenerated.
87578         * config.make.in (use-default-link): New variable.
87579         * configure.in (use_default_link): Grok --with-default-link to set it.
87580         * configure: Regenerated.
87581         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
87582         (shlib-lds, shlib-lds-flags): Define to empty.
87584         * Makerules (shlib-lds): New variable.
87585         (shlib-lds-flags): New variable.
87586         (build-shlib, build-moduile, build-module-asneeded): Use it.
87587         ($(common-objpfx)libc.so): Use $(shlib-lds).
87588         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
87589         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
87591         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
87592         DT_FLAGS/DT_FLAGS_1 with zero flags.
87594         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
87595         linker script munging.
87597 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
87599         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
87600         as 128-bit value.
87601         * crypt/sha512.c (sha512_process_block): Perform total addition using
87602         128-bit if possible.
87603         (__sha512_finish_ctx): Likewise.
87604         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
87605         as 64-bit value.
87606         * crypt/sha256.c (SWAP64): Define.
87607         (sha256_process_block): Perform total addition using 64-bit if
87608         possible.
87609         (__sha256_finish_ctx): Likewise.
87611 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
87613         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
87614         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87615         * nscd/hstcache.c (cache_addhst): Likewise.
87616         * nscd/grpcache.c (cache_addgr): Likewise.
87617         * nscd/aicache.c (addhstaiX): Likewise.
87618         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
87620 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
87622         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
87623         * nscd/initgrcache.c (addinitgroupsX): Likewise.
87624         * nscd/hstcache.c (cache_addhst): Likewise.
87625         * nscd/grpcache.c (cache_addgr): Likewise.
87626         * nscd/aicache.c (addhstaiX): Likewise.
87628 2011-07-01  Andreas Schwab  <schwab@redhat.com>
87630         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
87631         domain only when needed.
87633 2011-06-30  Andreas Schwab  <schwab@redhat.com>
87635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
87636         is always restored.
87638 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
87640         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
87641         are re-adding the entry.
87642         * nscd/servicescache.c (cache_addserv): Likewise.
87644 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
87646         * sysdeps/generic/dl-irel.h: fix protection against multiple
87647         inclusions.
87648         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
87650 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
87652         [BZ #12935]
87653         * malloc/memusage.sh: Fix quoting in message.
87654         * debug/xtrace.sh: Likewise.
87656         * configure.in: Remove support for --experimental-malloc option, make
87657         it the default.
87658         * config.make.in: Likewise.
87659         * malloc/Makefile: Likewise.
87661 2011-06-27  Andreas Schwab  <schwab@redhat.com>
87663         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
87664         two-byte characters.
87666 2011-06-27  Roland McGrath  <roland@hack.frob.com>
87668         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
87669         AC_CACHE_CHECK invocation.
87670         * configure: Regenerated.
87672         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
87674 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
87676         [BZ #12350]
87677         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
87678         bit from old_res_options.
87680         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
87682         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
87683         value type for setfct.
87685 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
87687         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87688         __gettimeofday instead of gettimeofday.
87690 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
87692         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
87694 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
87696         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
87698         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
87699         info.
87701 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87704         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87705         strcpy-sse2-unaligned strncpy-sse2-unaligned
87706         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
87707         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
87708         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
87709         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
87710         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
87711         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
87712         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
87713         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
87714         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
87715         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
87716         (STRCPY): Support SSE2 and SSSE3 versions.
87718 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
87720         [BZ #12874]
87721         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
87722         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
87723         kernels which artificially limit size of requests.
87725 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
87727         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
87728         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
87729         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
87730         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
87731         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
87732         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
87733         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
87734         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
87735         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
87736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
87737         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
87738         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
87739         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
87740         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
87741         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
87742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
87743         Enable unaligned load optimization for Intel Core i3, i5 and i7
87744         processors.
87745         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
87746         Define.
87747         (index_Fast_Unaligned_Load): Define.
87748         (HAS_FAST_UNALIGNED_LOAD): Define.
87750 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
87752         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
87754 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87756         [BZ #12907]
87757         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
87758         until it is clear that the information is realy needed.
87759         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
87761 2011-06-22  Andreas Schwab  <schwab@redhat.com>
87763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
87765 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
87767         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
87768         /sys/devices/system/cpu/online if it is usable.
87770         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
87771         reading the information from the /proc filesystem to once a second.
87773 2011-06-21  Andreas Jaeger  <aj@suse.de>
87775         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
87776         NULL after inclusion of kernel headers.
87778 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
87780         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
87781         calls to internal_setent.
87783         [BZ #12885]
87784         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
87785         addresses using gethostbyname4_r ignore IPv4 addresses.
87787         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
87788         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
87790         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
87792 2011-06-20  David S. Miller  <davem@davemloft.net>
87794         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
87795         inclusions.
87796         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
87798         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
87799         (elf_irel): Use it.
87800         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
87801         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
87802         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
87803         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
87804         * sysdeps/x86_64/dl-irel.h: Likewise.
87806         * elf/dl-runtime.c: Use elf_ifunc_invoke.
87807         * elf/dl-sym.c: Likewise.
87809 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87811         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
87812         need to dereference resplen2.
87814 2011-06-14  Andreas Schwab  <schwab@redhat.com>
87816         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
87818 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
87820         * Makeconfig: Define vardbdir and inst_vardbdir.
87821         * nss/Makefile: Add rules to install db-Makefile.
87823         * nss/nss_db/db-XXX.c: Cleanup.
87825         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
87826         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
87827         GLIBC_PRIVATE.
87828         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
87829         * nss/makedb.c: Implement -g option to specify that value strings
87830         are generated and should not be added to table iterated over for
87831         get*ent calls.
87832         * nss/nss_db/db-initgroups.c: New file.
87834         * nss/getent.c: Add support for initgroups lookups through getgrouplist
87835         interface.
87837         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
87838         (internal_getgrouplist): Adjust to name change.
87839         Update use_initgroups_entry if this is not the first call.
87840         * nss/databases.def: Add initgroups entry.
87842         * nss/makedb.c (compute_tables): Check result of multiple hash table
87843         sizes to minimize maximum chain length.
87845 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
87847         * Versions.def: Add entry for libnss_db.
87848         * shlib-versions: Likewise.
87849         * nss/Makefile: Add rules to build libnss_db.
87850         * nss/Versions: Add libnss_db information.  Organize libnss_files
87851         entries better.
87852         * nss/db-Makefile: Add gshadow support.  Change rules for the new
87853         makedb progra.  Some minor improvements to generate smaller files.
87854         * nss/nss_db/nss_db.h: Move NSS database header data structures to
87855         here from...
87856         * nss/makedb.c: ...here.
87857         Improve database format to be smaller and require less memory at
87858         runtime.
87859         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
87860         db anymore.
87861         * nss/nss_db/db-netgrp.c: Likewise.
87862         * nss/nss_db/db-open.c: Likewise.
87863         * nss/nss_files/flies-XXX.x: Adjust comments.
87864         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
87865         * nss/nss_files/files-grp.c: Likewise.
87866         * nss/nss_files/files-hosts.c: Likewise.
87867         * nss/nss_files/files-network.c: Likewise.
87868         * nss/nss_files/files-proto.c: Likewise.
87869         * nss/nss_files/files-pwd.c: Likewise.
87870         * nss/nss_files/files-rpc.c: Likewise.
87871         * nss/nss_files/files-service.c: Likewise.
87872         * nss/nss_files/files-sgrp.c: Likewise.
87873         * nss/nss_files/files-spwd.c: Likewise.
87874         * nss/nss_db/db-alias.c: Removed.
87875         * nss/nss_db/dummy-db.h: Removed.
87877 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
87879         * nss/makedb.c: Rewritten to not use database library.
87880         * nss/Makefile: Update to build new makedb program.
87882 2011-06-14  Andreas Jaeger  <aj@suse.de>
87884         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
87885         memset declaration.
87887 2011-06-10  Andreas Schwab  <schwab@redhat.com>
87889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
87890         tmpbuf.
87892 2011-06-10  Roland McGrath  <roland@hack.frob.com>
87894         * Makerules (shlib.lds): Fail if the linker script comes out empty.
87895         * elf/Makefile ($(objpfx)ld.so): Likewise.
87897         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
87898         Don't list ld.so twice in dependencies.
87900         * posix/bug-regex31.c: Include <stdlib.h>.
87902         * nscd/hstcache.c (cache_addhst): Remove unused variable.
87904         * nis/nss_compat/compat-spwd.c
87905         (getspent_next_nss_netgr): Remove unused variable.
87906         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
87908         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
87909         nonmembers" output to use the right array.
87911         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
87913         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
87915         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
87916         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
87917         * catgets/gencat.c (read_input_file): Likewise.
87918         * locale/programs/locarchive.c (enlarge_archive): Likewise.
87920         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
87921         variable definition inside #if's controlling its use.
87923         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
87925         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
87927         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
87929         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
87930         unreachable code.
87932         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
87934         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
87935         * configure: Regenerated.
87937         * Makerules: Revert last change.
87938         * elf/Makefile: Likewise.
87940 2011-06-09  Roland McGrath  <roland@hack.frob.com>
87942         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
87943         * elf/Makefile ($(objpfx)librtld.os): Likewise.
87944         (reloc-link): Likewise.
87946 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
87948         * elf/Makefile: Add rules to build pldd.
87949         * elf/pldd.c: New file.
87950         * elf/pldd-xx.c: New file.
87952 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
87954         * version.h: Update for 2.15 development version.
87956 2011-06-07  David S. Miller  <davem@davemloft.net>
87958         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
87959         ifuncs.
87960         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
87961         elf_machine_lazy_rel): Likewise.
87962         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
87963         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
87964         elf_machine_lazy_rel): Likewise.
87965         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
87966         dl_hwcap via passed in argument.
87967         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
87968         Likewise.
87970 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
87972         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
87974 2011-06-06  Roland McGrath  <roland@hack.frob.com>
87976         [BZ #12849]
87977         * manual/fdl-1.1.texi: New file, verbatim from:
87978         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
87979         * manual/lgpl-2.1.texi: New file, verbatim from:
87980         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
87981         * manual/Makefile (licenses): New variable, list those new file names.
87982         (texis): Use it.
87983         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
87985         * manual/fdl.texi: File removed.
87986         * manual/lesser.texi: File removed.
87987         * manual/libc.texinfo (Copying, Documentation License):
87988         Use new @include file names, put @appendix directive before @include.
87990 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
87992         [BZ #12841]
87993         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
87994         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
87995         (mq_open): Add __NTH.
87997 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
87999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
88000         Assume Intel Core i3/i5/i7 processor if AVX is available.
88002 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
88005         typo.
88007 2011-05-31  Andreas Schwab  <schwab@redhat.com>
88009         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
88010         memory.  Use alloca_account.  Fix memory leak when retrying.
88012 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
88014         * version.h (RELEASE): Bump for 2.14 release.
88015         * include/features.h (__GLIBC_MINOR__): Bump to 14.
88017         * config.make.in (RANLIB): Remove entry.
88019 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
88021         * po/Makefile (po-sed-cmd): Add ksh to extensions.
88022         (libc.pot): Work around missing support for .ksh extension in xgettext.
88024         [BZ #12684]
88025         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
88026         if both request failed.
88027         (send_dg): In case of server errors clear resplen or *resplen2.
88029         [BZ #12454]
88030         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
88031         when there are multiple maps.
88032         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
88033         (_dl_fini): Remove test here.
88035         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
88037 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
88039         [BZ #12350]
88040         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
88041         bit from old_res_options.
88042         (gaih_inet): Likewise.
88044         [BZ #11099]
88045         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
88046         as signed.
88048         * resolv/res_init.c (res_setoptions): Make the code more compact.
88050         [BZ #11558]
88051         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
88052         set RES_USEVC.
88054         [BZ #11634]
88055         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
88057         * malloc/malloc.h: Mark malloc hook variables as deprecated.
88059         [BZ #11781]
88060         * malloc/malloc.h: Declare malloc hook variables as volatile.
88062         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
88063         in last patch.
88065         [BZ #11799]
88066         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
88067         raise in the comment.
88068         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88069         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88070         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
88072 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
88074         [BZ #12811]
88075         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
88076         grow the buffers more if it already has to be sufficient.
88077         (build_wcs_upper_buffer): Likewise.
88078         * posix/regexec.c (check_matching): Likewise.
88079         (clean_state_log_if_needed): Likewise.
88080         (extend_buffers): Don't enlarge buffers beyond size of the input
88081         buffer.
88082         Patches mostly by Emil Wojak <emil@wojak.eu>.
88083         * posix/bug-regex32.c: New file.
88084         * posix/Makefile (tests): Add bug-regex32.
88086         * locale/findlocale.c (_nl_find_locale): Return right away if
88087         _nl_explode_name failed.
88088         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
88090         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
88092         * debug/xtrace.sh: Unify messages.
88093         * malloc/memusage.sh: Likewise.
88095         [BZ #12813]
88096         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
88097         time symbol from vDSO.  Substitute with vsyscall if not available.
88098         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
88099         __vdso_time.
88101         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
88102         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
88103         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
88104         Add sendmmsg and internal_sendmmsg.
88105         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
88106         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
88107         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
88109         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
88110         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
88111         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
88113 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
88115         [BZ #12813]
88116         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
88117         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
88118         available.
88119         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
88120         __vdso_getcpu.
88122         [BZ #12814]
88123         * iconvdata/Makefile (tests): Add bug-iconv9.
88124         * iconvdata/bug-iconv9.c: New file.
88126 2011-05-27  Andreas Schwab  <schwab@redhat.com>
88128         [BZ #12814]
88129         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
88131 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
88133         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88134         (struct user_regs_struct): Change intcs field back to cs.
88136 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
88138         * po/ja.po: Update from translation team.
88140 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
88142         [BZ #12795]
88143         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
88144         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
88146 2011-05-20  Andreas Schwab  <schwab@redhat.com>
88148         * stdlib/longlong.h: Update from GCC.
88150 2011-05-23  Andreas Schwab  <schwab@redhat.com>
88152         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
88153         parameter name.
88154         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
88155         Add parameter name.
88156         (__sysconf): Pass it down.
88158 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
88160         [BZ #12671]
88161         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
88162         some situations.
88163         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
88164         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
88165         add in in __libc_use_alloca calls.  Adjust callers.
88166         (glob): Use malloc in some situations.
88168         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
88169         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
88170         pltexit.
88172 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
88174         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
88175         and CLOCK_BOOTTIME_ALARM.
88177         [BZ #12782]
88178         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
88179         is returned.
88181         * string/_strerror.c (__strerror_r): Print negative errors as signed
88182         numbers.
88184         [BZ #12777]
88185         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
88186         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
88187         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
88189         * configure.in: Fix typo in redirection and correct removal of test
88190         files in two cases.
88192         [BZ #12788]
88193         * locale/setlocale.c (new_composite_name): Fix test to check for
88194         identical name of all categories.
88196         [BZ #12792]
88197         * libio/filedoalloc.c (local_isatty): New function.
88198         (_IO_file_doallocate): Use local_isatty.
88199         * stdio-common/perror.c (perror): In case a new stream is used
88200         forward the stream error.
88201         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
88202         error flag.
88204 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
88206         [BZ #11884]
88207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
88208         alloca.
88209         * include/alloca.h (extend_alloca_account): Define.
88211         [BZ #11857]
88212         * posix/regex.h: Fix comments with documentation of user-accessible
88213         fields after compilation and describe correct free'ing of pattern
88214         after re_compile_pattern.
88215         Patch by Reuben Thomas <rrt@sc3d.org>.
88217 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
88219         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
88220         and -mno-altivec to prevent the compiler from using Altivec and/or
88221         VSX instructions when the corresponding registers are not available.
88223 2011-05-19  Andreas Schwab  <schwab@redhat.com>
88225         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
88227 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
88229         * libio/freopen.c (freopen): Use __dup2, not dup2.
88230         * libio/freopen64.c (freopen64): Likewise.
88232 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
88234         [BZ #12775]
88235         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
88236         * math/Makefile (tests): Add test-powl.
88237         (CFLAGS-test-powl.c): Define.
88238         * math/test-powl.c: New file.
88240 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
88242         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
88244 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
88246         [BZ #11837]
88247         * iconvdata/gb18030.c: Update to GB18020-2005.
88249 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
88251         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
88252         RE_SYNTAX_POSIX_AWK): Update to match recent development.
88253         Patch by Aharon Robbins <arnold@skeeve.com>.
88255         [BZ #11892]
88256         * stdlib/putenv.c (putenv): Don't always create copy of the variable
88257         on the stack.
88259         [BZ #11895]
88260         * misc/pselect.c (__pselect): Handle timeout value errors hidden
88261         through underflows.
88263         [BZ #12766]
88264         * misc/error.c (error_at_line): Ensure file_name and old_file_name
88265         point to strings before performing equality test for error_one_per_line
88266         mode.
88268         [BZ #11697]
88269         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
88271         [BZ #11820]
88272         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
88273         (struct user_fpregs_struct): Avoid __uint*_t types.
88275         [BZ #6420]
88276         * malloc/mtrace.c (tr_where): Add additional parameter to point to
88277         symbol info.  Use it instead of calling _dl_addr locally.
88278         (lock_and_info): New function.
88279         (tr_freehook): Call lock_and_info and pass symbol info as additional
88280         parameter to tr_where.
88281         (tr_mallochook): Likewise.
88282         (tr_reallochook): Likewise.
88283         (tr_memalignhook): Likewise.
88285         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
88286         used and couldn't be at all thread-safe.
88288 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
88290         * libio/freopen.c (freopen): Don't close old file descriptor
88291         before the new one is opened.  Instead dup the new file descriptor
88292         to the old one after the new stream is created.
88293         * libio/freopen64.c (freopen64): Likewise.
88294         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
88295         * libio/fileops.c (_IO_new_file_close_it): Handle new
88296         _IO_FLAGS2_NOCLOSE flag.
88297         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
88298         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
88299         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
88300         _IO_FLAGS2_NOCLOSE flag.
88301         * include/unistd.h: Add hidden_proto for dup3.
88302         Define __have_dup3.
88303         * io/dup3.c: Define hidden symbol.
88304         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
88306         [BZ #7101]
88307         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
88308         when an incomplete long option is used.
88309         * posix/tst-getopt_long1.c: New file.
88310         * posix/Makefile (tests): Add tst-getopt_long1.
88312         [BZ #10138]
88313         * scripts/config.guess: Update from autoconf-2.68.
88314         * scripts/config.sub: Likewise.
88316         [BZ #10157]
88317         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
88318         tests into ...
88319         (has_cpuclock): ...this.  New function.
88320         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
88321         macro here based on has_cpuclock code.
88323         [BZ #10149]
88324         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88325         First byte (not low byte) is now always NUL.
88326         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
88328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
88329         Use non-cancelable interfaces.
88331         [BZ #9809]
88332         * locale/iso-639.def: Add entry for Sorani.
88334         [BZ #11901]
88335         * include/stdlib.h: Move include protection to the right place.
88336         Define abort_msg_s.  Declare __abort_msg with it.
88337         * stdlib/abort.c (__abort_msg): Adjust type.
88338         * assert/assert.c (__assert_fail_base): New function.  Majority
88339         of code from __assert_fail.  Allocate memory for __abort_msg with
88340         mmap.
88341         (__assert_fail): Now call __assert_fail_base.
88342         * assert/assert-perr.c: Remove bulk of implementation.  Use
88343         __assert_fail_base.
88344         * include/assert.hL Declare __assert_fail_base.
88345         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
88346         mmap.
88347         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
88349 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
88351         [BZ #11952]
88352         [BZ #12453]
88353         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
88354         until all modules are registered in the DTV.
88355         * elf/Makefile: Add rules to build and run tst-tls19.
88356         * elf/tst-tls19.c: New file.
88357         * elf/tst-tls19mod1.c: New file.
88358         * elf/tst-tls19mod2.c: New file.
88359         * elf/tst-tls19mod3.c: New file.
88360         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
88362         [BZ #12083]
88363         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
88364         correctly.
88366         [BZ #12601]
88367         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
88368         two-byte sequence errors.
88369         * iconvdata/Makefile (tests): Add bug-iconv8.
88370         * iconvdata/bug-iconv8.c: New file.
88372         [BZ #12626]
88373         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
88374         buf2 definition.
88376         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
88378         [BZ #12432]
88379         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
88380         (dummy_getcfa): New function.
88381         (init): Get _Unwind_GetCFA address, use dummy if not found.
88382         (backtrace_helper): In recursion check, also check whether CFA changes.
88383         (__backtrace): Completely initialize arg.
88385         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
88386         storing incomplete byte sequence in state object.  Avoid testing for
88387         guaranteed too small input if we know there is enough data available.
88389 2011-05-11  Andreas Schwab  <schwab@redhat.com>
88391         * Makeconfig (+link-pie): Indent.
88392         * Rules (binaries-pie): Define if $(have-fpie) and
88393         $(build-shared).
88394         (binaries-shared): Also filter out $(binaries-pie).
88395         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
88396         * nscd/Makefile (others-pie): Add nscd.
88397         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
88398         ($(objpfx)nscd): Remove command override.
88399         * login/Makefile (others-pie): Add pt_chown.
88400         ($(objpfx)pt_chown): Remove command override.
88401         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
88402         remove command overrides.
88404 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
88406         * libio/tst_putwc.c: Fix error messages.
88408         [BZ #12724]
88409         * libio/fileops.c (_IO_new_file_close_it): Always flush when
88410         currently writing and seek to current position when not.
88411         * libio/Makefile (tests): Add bug-fclose1.
88412         * libio/bug-fclose1.c: New file.
88414 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
88416         [BZ #12511]
88417         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
88418         don't set DF_1_NODELETE here.
88419         (do_lookup_x): When entering new entry test for copy relocation
88420         and if necessary set DF_1_NODELETE flag.
88421         * elf/tst-unique4.cc: New file.
88422         * elf/tst-unique4.h: New file.
88423         * elf/tst-unique4lib.cc: New file.
88424         * elf/Makefile: Add rules to build and run tst-unique4.
88425         Patch by Piotr Bury <pbury@goahead.com>.
88427 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
88429         [BZ #12052]
88430         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
88432         [BZ #12625]
88433         * misc/mntent_r.c (addmntent): Flush the stream after the output
88435         [BZ #12393]
88436         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
88437         (is_trusted_path_normalize): Skip initial colon.  Append slash
88438         to empty buffer.  Duplicate is_trusted_path code but allow
88439         constructed patch to be prefix.
88440         (is_dst): Allow $ORIGIN followed by /.
88441         (_dl_dst_substitute): Correct clearing of check_for_trusted.
88442         Correct testing of result of is_trusted_path_normalize
88443         (decompose_rpath): Fix warning.
88445 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
88447         [BZ #11257]
88448         * grp/initgroups.c (internal_getgrouplist): When we found the service
88449         list through the initgroups entry in nsswitch.conf do not always
88450         continue on a successful lookup.  Don't always use the
88451         __nss_group_database value if it is set.
88452         * nss/nsswitch.conf (initgroups): Change action for successful db
88453         lookup to continue for compatibility.
88455 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
88457         [BZ #11532]
88458         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
88459         and CP774 modules.
88460         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
88461         and CP774 modules.
88462         * iconvdata/tst-tables.sh: Likewise.
88463         * iconvdata/cp770.c: New file.
88464         * iconvdata/cp771.c: New file.
88465         * iconvdata/cp772.c: New file.
88466         * iconvdata/cp773.c: New file.
88467         * iconvdata/cp774.c: New file.
88468         * iconvdata/testdata/CP770: New file.
88469         * iconvdata/testdata/CP770..UTF8: New file.
88470         * iconvdata/testdata/CP771: New file.
88471         * iconvdata/testdata/CP771..UTF8: New file.
88472         * iconvdata/testdata/CP772: New file.
88473         * iconvdata/testdata/CP772..UTF8: New file.
88474         * iconvdata/testdata/CP773: New file.
88475         * iconvdata/testdata/CP773..UTF8: New file.
88476         * iconvdata/testdata/CP774: New file.
88477         * iconvdata/testdata/CP774..UTF8: New file.
88479         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
88480         END CHARMAP line.
88481         * iconvdata/gen-8bit-gap.sh: Likewise.
88482         * iconvdata/gen-8bit.sh: Likewise.
88484         * locale/iso-639.def: Add ary entry.
88486         [BZ #11258]
88487         * locale/C-translit.h.in: Add U20A1 transliteration.
88489         [BZ #12178]
88490         * locale/iso-639.def: Add wae entry.
88491         Patch by Kevin Bortis <bortis@translate-wae.ch>.
88493         [BZ #12545]
88494         * locale/programs/localedef.c (construct_output_path): Use ssize_t
88495         for n.
88497         [BZ #12711]
88498         * locale/C-translit.h.in: Add entry for U20B9.
88499         Patch by pravin.d.s@gmail.com.
88501 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
88503         [BZ #12713]
88504         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
88505         ENAMETOOLONG use generic getcwd.
88506         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
88507         in rtld.  Use *stat64.
88508         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
88509         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
88510         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
88511         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
88512         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
88513         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
88514         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
88515         __fstatat64 macros.
88516         * include/dirent.h: Add libc_hidden_proto for rewinddir.
88517         * dirent/rewinddir.c: Add libc_hidden_def.
88518         * sysdeps/mach/hurd/rewinddir.c: Likewise.
88519         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
88521         * include/dirent.h (__alloc_dir): Add flags parameter.
88522         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
88523         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
88524         __alloc_dir.
88525         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
88526         from fdopendir if O_CLOEXEC is already set.
88528 2011-03-15  Alan Modra  <amodra@gmail.com>
88530         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
88531         l_tls_firstbyte_offset non-zero.  Save padding offset in
88532         l_tls_firstbyte_offset for later use.
88533         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
88534         freeing static tls block.
88536 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
88538         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
88539         where #ifdef was intended.  The intent is to prevent ARG_MAX from
88540         being defined by the kernel headers.
88542 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
88544         [BZ #12734]
88545         * resolv/resolv.h: Define RES_NOTLDQUERY.
88546         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
88547         no-tld-query and set RES_NOTLDQUERY.
88548         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
88549         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
88550         modern BIND to search name as TLD unless forbidden.
88552 2011-05-07  Petr Baudis  <pasky@suse.cz>
88553             Ulrich Drepper  <drepper@gmail.com>
88555         [BZ #12393]
88556         * elf/dl-load.c (fillin_rpath): Move trusted path check...
88557         (is_trusted_path): ...to here.
88558         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
88559         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
88560         using is_trusted_path_normalize() in setuid scripts.
88562 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
88564         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
88565         __BEGIN/__END_DECLS.
88567 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
88569         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
88570         NSS_STATUS_NOTFOUND if no record was found.
88572 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88574         * sunrpc/Makefile (headers): Add rpc/netdb.h.
88575         (headers-not-in-tirpc): Remove rpc/netdb.h
88576         * resolv/netdb.h: Revert last change.
88578 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88580         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
88581         circular dependency between libgcc.a and libc.a.
88583 2011-05-05  Andreas Schwab  <schwab@redhat.com>
88585         * resolv/netdb.h: Don't include <rpc/netdb.h>.
88586         * nis/Makefile: Don't install rpcsvc/*.
88587         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
88588         instead of <rpc/types.h>.
88589         (MAXHOSTNAMELEN): Define.
88591 2011-05-03  Andreas Schwab  <schwab@redhat.com>
88593         * elf/ldconfig.c (add_dir): Don't crash on empty path.
88595 2011-04-28  Maciej Babinski  <mbabinski@google.com>
88597         [BZ #12714]
88598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
88599         gethostbyname4_r when IPv6 results are possible.
88601 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
88603         [BZ #12723]
88604         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
88605         _PC_PIPE_BUF handling.
88607 2011-04-30  Bruno Haible  <bruno@clisp.org>
88609         [BZ #12717]
88610         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
88611         * resolv/netdb.h (getnameinfo): Change type of flags parameter
88612         to 'int'.
88613         * inet/getnameinfo.c (getnameinfo): Likewise.
88615 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
88617         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
88618         to groups setting in database lookup.
88619         * nss/nsswitch.conf: Add initgroups entry.
88621 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
88623         [BZ #12685]
88624         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
88625         mode string.
88626         Patch by Eric Blake <eblake@redhat.com>.
88628 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
88630         * sunrpc/Makefile (need-export-routines): Add svc_run.
88631         (routines): Remove svc_run.
88632         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
88633         * sunrpc/clnt_perr.c (clnt_perrno): Export.
88634         * sunrpc/svc_run.c (svc_run): Likewise.
88635         * sunrpc/svc_udp.c (svcudp_create): Likewise.
88637 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
88639         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
88640         problem in reallocation in last patch.
88642 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
88644         * sunrpc/Makefile: Move inclusion of Rules.
88646 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88648         * nss/nss_files/files-initgroups.c: New file.
88649         * nss/Makefile (libnss_files-routines): Add files-initgroups.
88650         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
88651         _nss_files_initgroups_dyn.
88653 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
88655         * elf/elf.h (R_ARM_IRELATIVE): Define.
88657 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
88659         * po/ru.po: Update from translation team.
88661 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88663         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
88664         dependencies.
88666 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
88668         [BZ #12653]
88669         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
88670         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
88671         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
88673         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
88675 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
88677         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
88678         differing bytes.
88679         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
88680         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
88681         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
88683 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
88685         [BZ #12420]
88686         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
88687         storing it.
88688         * stdlib/bug-getcontext.c: New file.
88689         * stdlib/Makefile: Add rules to build and run bug-getcontext.
88691 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88693         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
88694         instructions into .machine "z9-109".
88695         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
88696         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
88698 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88700         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
88701         between environment variables and auxiliary vector.
88703 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
88705         * Makefile: Add rules to build linkobj/libc.so.
88706         * include/libc-symbols.h: Define libc_hidden_nolink.
88707         * include/rpc/auth.h: Mark functions which are to be hidden.
88708         * include/rpc/auth_des.h: Likewise.
88709         * include/rpc/auth_unix.h: Likewise.
88710         * include/rpc/clnt.h: Likewise.
88711         * include/rpc/des_crypt.h: Likewise.
88712         * include/rpc/key_prot.h: Likewise.
88713         * include/rpc/pmap_clnt.h: Likewise.
88714         * include/rpc/pmap_prot.h: Likewise.
88715         * include/rpc/pmap_rmt.h: Likewise.
88716         * include/rpc/rpc_msg.h: Likewise.
88717         * include/rpc/svc.h: Likewise.
88718         * include/rpc/svc_auth.h: Likewise.
88719         * include/rpc/xdr.h: Likewise.
88720         * nis/Makefile: Link all DSOs against linkobj/libc.so.
88721         * nss/Makefile: Likewise.
88722         * sunrpc/Makefile: Don't install headers.  Build library with normal
88723         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
88724         * sunrpc/auth_des.c: Hide exported symbols by default, export some
88725         for the compat linking library.  Remove use of INTDEF/INTUSE.
88726         * sunrpc/auth_none.c: Likewise.
88727         * sunrpc/auth_unix.c: Likewise.
88728         * sunrpc/authdes_prot.c: Likewise.
88729         * sunrpc/authuxprot.c: Likewise.
88730         * sunrpc/clnt_gen.c: Likewise.
88731         * sunrpc/clnt_perr.c: Likewise.
88732         * sunrpc/clnt_raw.c: Likewise.
88733         * sunrpc/clnt_simp.c: Likewise.
88734         * sunrpc/clnt_tcp.c: Likewise.
88735         * sunrpc/clnt_udp.c: Likewise.
88736         * sunrpc/clnt_unix.c: Likewise.
88737         * sunrpc/des_crypt.c: Likewise.
88738         * sunrpc/des_soft.c: Likewise.
88739         * sunrpc/get_myaddr.c: Likewise.
88740         * sunrpc/key_call.c: Likewise.
88741         * sunrpc/key_prot.c: Likewise.
88742         * sunrpc/netname.c: Likewise.
88743         * sunrpc/pm_getmaps.c: Likewise.
88744         * sunrpc/pm_getport.c: Likewise.
88745         * sunrpc/pmap_clnt.c: Likewise.
88746         * sunrpc/pmap_prot.c: Likewise.
88747         * sunrpc/pmap_prot2.c: Likewise.
88748         * sunrpc/pmap_rmt.c: Likewise.
88749         * sunrpc/publickey.c: Likewise.
88750         * sunrpc/rpc_cmsg.c: Likewise.
88751         * sunrpc/rpc_common.c: Likewise.
88752         * sunrpc/rpc_dtable.c: Likewise.
88753         * sunrpc/rpc_prot.c: Likewise.
88754         * sunrpc/rpc_thread.c: Likewise.
88755         * sunrpc/rtime.c: Likewise.
88756         * sunrpc/svc.c: Likewise.
88757         * sunrpc/svc_auth.c: Likewise.
88758         * sunrpc/svc_authux.c: Likewise.
88759         * sunrpc/svc_raw.c: Likewise.
88760         * sunrpc/svc_run.c: Likewise.
88761         * sunrpc/svc_simple.c: Likewise.
88762         * sunrpc/svc_tcp.c: Likewise.
88763         * sunrpc/svc_udp.c: Likewise.
88764         * sunrpc/svc_unix.c: Likewise.
88765         * sunrpc/svcauth_des.c: Likewise.
88766         * sunrpc/xcrypt.c: Likewise.
88767         * sunrpc/xdr.c: Likewise.
88768         * sunrpc/xdr_array.c: Likewise.
88769         * sunrpc/xdr_float.c: Likewise.
88770         * sunrpc/xdr_intXX_t.c: Likewise.
88771         * sunrpc/xdr_mem.c: Likewise.
88772         * sunrpc/xdr_rec.c: Likewise.
88773         * sunrpc/xdr_ref.c: Likewise.
88774         * sunrpc/xdr_sizeof.c: Likewise.
88775         * sunrpc/xdr_stdio.c: Likewise.
88777 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
88779         [BZ #12650]
88780         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
88781         * sysdeps/ia64/dl-tls.h: Likewise.
88782         * sysdeps/powerpc/dl-tls.h: Likewise.
88783         * sysdeps/s390/dl-tls.h: Likewise.
88784         * sysdeps/sh/dl-tls.h: Likewise.
88785         * sysdeps/sparc/dl-tls.h: Likewise.
88786         * sysdeps/x86_64/dl-tls.h: Likewise.
88787         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
88789 2011-03-14  Andreas Schwab  <schwab@redhat.com>
88791         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
88792         rpath element also skip the following colon.
88793         (expand_dynamic_string_token): Add is_path parameter and pass
88794         down to DL_DST_REQUIRED and _dl_dst_substitute.
88795         (decompose_rpath): Call expand_dynamic_string_token with
88796         non-zero is_path.  Ignore empty rpaths.
88797         (_dl_map_object_from_fd): Call expand_dynamic_string_token
88798         with zero is_path.
88800 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
88802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
88803         Make cancelable.
88805 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
88807         [BZ #12655]
88808         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
88809         Patch by Filipe David Manana <fdmanana@apache.org>.
88811 2011-04-07  Andreas Schwab  <schwab@redhat.com>
88813         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
88814         Maintain aligned stack.
88815         (CHECK_RSP): Remove unused macro.
88817 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
88819         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
88820         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
88822 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
88824         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
88826         * include/features.h: Mention __USE_XOPEN2K8 in comment.
88828 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
88830         [BZ #12518]
88831         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
88832         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
88833         * sysdeps/x86_64/memmove.c: New file.
88834         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
88835         (memcpy): Renamed to ...
88836         (__new_memcpy): This.
88837         (memcpy): Provide GLIBC_2_14 memcpy.
88838         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
88839         (memcpy): Provide GLIBC_2_2_5 memcpy.
88841 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88843         [BZ #12631]
88844         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
88846 2011-03-30  Andreas Schwab  <schwab@redhat.com>
88848         * misc/syncfs.c: New file.
88849         * misc/Makefile (routines): Add syncfs.
88850         * posix/unistd.h: Declare syncfs.
88851         * sysdeps/unix/syscalls.list: Add syncfs.
88853 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88855         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
88856         open_by_handle_at.
88857         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
88858         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88860         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88862         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
88863         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88865 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
88868         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88869         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
88870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88871         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88873         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88875         * io/Makefile: Compile fallocate.c, fallocate64.c, and
88876         sync_file_range.c with -fexceptions.
88877         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
88878         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
88879         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
88880         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
88881         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
88882         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
88883         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
88884         sync_file_range as cancellation point
88885         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
88886         now a wrapper around __call_sync_file_range with cancellation handling.
88887         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
88888         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
88889         function name to __call_sync_file_range.
88890         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
88891         Add call_sync_file_range.
88893 2011-04-01  Andreas Schwab  <schwab@redhat.com>
88895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88896         bits/timex.h.
88898 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
88900         * iconv/iconv.h: Fix typo in comment.
88901         * io/fcntl.h: Likewise.
88902         * libio/stdio.h: Likewise.
88903         * posix/spawn.h: Likewise.
88904         * posix/unistd.h: Likewise.
88905         * stdlib/stdlib.h: Likewise.
88906         * time/time.h: Likewise.
88907         * wcsmbs/wchar.h: Likewise.
88909         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
88910         open_by_handle): Add.
88911         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
88912         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
88913         Augment a few comments.
88914         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
88915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
88916         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
88917         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
88918         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
88919         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
88920         open_by_handle.
88922         * io/fcntl.h (AT_EMPTY_PATH): Define.
88924 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
88926         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
88927         * sysdeps/unix/sysv/linux/bits/time.h: New file.
88928         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
88929         to...
88930         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
88931         * Versions.def: Add GLIBC_2.14.
88932         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
88933         Export.
88935 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
88937         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
88938         round counter.
88939         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88941 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
88943         [BZ #12597]
88944         * string/test-strncmp.c (do_page_test): New function.
88945         (check2): Likewise.
88946         (test_main): Call check2.
88947         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
88949 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
88951         [BZ #12587]
88952         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
88953         Handle cache information in CPU leaf 4.
88954         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
88956 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
88958         [BZ #12583]
88959         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
88960         character representation.
88961         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
88963 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
88965         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
88966         END(__isnan) to END(__isnanf) to match function entry point/label
88967         EALIGN(__isnanf,...).
88969 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
88971         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
88973 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
88975         [BZ #12510]
88976         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
88977         copy from the symbol referenced in the relocation to initialize the
88978         used variable.
88979         Patch by Piotr Bury <pbury@goahead.com>.
88980         * elf/Makefile: Add rules to build and tst-unique3.
88981         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
88982         * elf/tst-unique3.cc: New file.
88983         * elf/tst-unique3.h: New file.
88984         * elf/tst-unique3lib.cc: New file.
88985         * elf/tst-unique3lib2.cc: New file.
88987         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
88989 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
88991         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
88992         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
88993         to _start.
88995 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
88997         * elf/dl-load.c (_dl_map_object): If we are looking for the first
88998         to-be-loaded object along a path to loader is ld.so.
89000 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89001             Ulrich Drepper  <drepper@gmail.com>
89003         * sysdeps/x86_64/memset.S: After aligning destination, code
89004         branches to different locations depending on the value of
89005         misalignment, when multiarch is enabled. Fix this.
89007 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
89009         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
89010         Set _x86_64_preferred_memory_instruction for AMD processsors.
89011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89012         Set bit_Prefer_SSE_for_memop for AMD processors.
89014 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
89016         * libio/fmemopen.c (fmemopen): Optimize a bit.
89018 2011-03-03  Andreas Schwab  <schwab@redhat.com>
89020         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
89022 2011-03-03  Roland McGrath  <roland@redhat.com>
89024         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
89026 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
89028         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
89029         __bzero_ultra1 instead of __memset_ultra1.
89031 2011-02-23  Andreas Schwab  <schwab@redhat.com>
89032             Ulrich Drepper  <drepper@gmail.com>
89034         [BZ #12509]
89035         * include/link.h (struct link_map): Add l_orig_initfini.
89036         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
89037         returning unsuccessfully.
89038         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
89039         close of a file loaded at startup, restore the original l_initfini
89040         list.
89041         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
89042         list, store the pointer.
89043         * elf/Makefile ($(objpfx)noload-mem): New rule.
89044         (noload-ENV): Define.
89045         (tests): Add $(objpfx)noload-mem.
89046         * elf/noload.c: Include <memcheck.h>.
89047         (main): Call mtrace.  Close all opened handles.
89049 2011-02-17  Andreas Schwab  <schwab@redhat.com>
89051         [BZ #12454]
89052         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
89053         dependencies are missing.
89055 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89057         Fix __if_freereq crash: Unlike the generic version which uses free,
89058         Hurd needs munmap.
89059         * sysdeps/mach/hurd/ifreq.h: New file.
89061 2011-01-27  Petr Baudis  <pasky@suse.cz>
89062             Ulrich Drepper  <drepper@gmail.com>
89064         [BZ 12445]#
89065         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
89066         to extend_alloca().
89067         * stdio-common/bug23.c: New file.
89068         * stdio-common/Makefile (tests): Add bug23.
89070 2010-09-28  Andreas Schwab  <schwab@redhat.com>
89071             Ulrich Drepper  <drepper@gmail.com>
89073         [BZ #12489]
89074         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
89075         before performing relro protection.  At old place add assertion
89076         to make sure nothing changed.
89078 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
89079             Glauber de Oliveira Costa  <glommer@gmail.com>
89081         * elf/elf.h: Add new ARM TLS relocs.
89083 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
89085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
89086         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
89087         cast from r3.
89088         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
89089         'tests' variable.
89090         * sysdeps/wordsize-64/tst-writev.c: New file.
89092 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
89094         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
89095         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
89096         insns in _dl_start to prevent a TOC reference before relocs are
89097         resolved.
89099 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
89101         [BZ #12469]
89102         * Makeconfig: Remove RANLIB definition.
89103         * Makerules: Don't use RANLIB.
89104         * aclocal.m4: Remove ranlib test.
89105         * configure.in: No need to check for ranlib.
89106         * elf/rtld-Rules: Don't use RANLIB.
89108 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89110         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
89111         protection macro.
89112         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
89113         inclusion protection macro.
89115         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
89116         SIGRTMIN and SIGRTMAX and print information in that case only when
89117         SIGRTMIN is defined.
89119 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
89121         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
89122         arginfo fn returning -1.
89124         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
89125         and thousands string is zero terminated.
89127 2011-02-03  Andreas Schwab  <schwab@redhat.com>
89129         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
89130         sysdeps/unix/sysv/linux/bits/socket.h.
89132 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89134         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
89135         (__CPU_COUNT): Remove old macros.
89136         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
89137         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
89138         (__CPU_ALLOC, __CPU_FREE): Add macros.
89139         (__sched_cpualloc, __sched_cpufree): Add declarations.
89141 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
89143         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
89144         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
89145         * nscd/aicache.c (addhstaiX): Return timeout of added value.
89146         (readdhstai): Return value of addhstaiX call.
89147         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
89148         (addgrbyX): Return value returned by cache_addgr.
89149         (readdgrbyname): Return value returned by addgrbyX.
89150         (readdgrbygid): Likewise.
89151         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
89152         (addpwbyX): Return value returned by cache_addpw.
89153         (readdpwbyname): Return value returned by addhstbyX.
89154         (readdpwbyuid): Likewise.
89155         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
89156         (addservbyX): Return value returned by cache_addserv.
89157         (readdservbyname): Return value returned by addservbyX:
89158         (readdservbyport): Likewise.
89159         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
89160         (addhstbyX): Return value returned by cache_addhst.
89161         (readdhstbyname): Return value returned by addhstbyX.
89162         (readdhstbyaddr): Likewise.
89163         (readdhstbynamev6): Likewise.
89164         (readdhstbyaddrv6): Likewise.
89165         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
89166         (readdinitgroups): Return value returned by addinitgroupsX.
89167         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
89168         (prune_cache): Keep track of timeout value of re-added entries.
89169         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
89170         * nscd/nscd.h: Adjust prototypes of readd* functions.
89172 2011-02-04  Roland McGrath  <roland@redhat.com>
89174         * nis/nis_server.c (nis_servstate): Use the right name for 0.
89175         (nis_stats): Likewise.
89176         * nis/nis_modify.c (nis_modify): Likewise.
89177         * nis/nis_remove.c (nis_remove): Likewise.
89178         * nis/nis_add.c (nis_add): Likewise.
89180         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
89182         * posix/fnmatch_loop.c: Add some consts.
89184         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
89186 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
89188         [BZ #12460]
89189         * config.make.in (config-cflags-novzeroupper): Define.
89190         * configure.in: Substitute libc_cv_cc_novzeroupper.
89191         * elf/Makefile (AVX-CFLAGS): Define.
89192         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
89193         (CFLAGS-tst-auditmod4a.c): Likewise.
89194         (CFLAGS-tst-auditmod4b.c): Likewise.
89195         (CFLAGS-tst-auditmod6b.c): Likewise.
89196         (CFLAGS-tst-auditmod6c.c): Likewise.
89197         (CFLAGS-tst-auditmod7b.c): Likewise.
89198         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
89200 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
89202         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
89203         function to the callback.
89204         Patch partly by Jiri Olsa <jolsa@redhat.com>.
89206 2011-02-02  Andreas Schwab  <schwab@redhat.com>
89208         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
89209         of errno.
89211 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
89213         [BZ #11724]
89214         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
89215         of constructors.
89216         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
89217         of destructors.
89218         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
89220         [BZ #11724]
89221         * elf/Makefile: Add rules to build and run new test.
89222         * elf/tst-initorder.c: New file.
89223         * elf/tst-initorder.exp: New file.
89224         * elf/tst-initordera1.c: New file.
89225         * elf/tst-initordera2.c: New file.
89226         * elf/tst-initordera3.c: New file.
89227         * elf/tst-initordera4.c: New file.
89228         * elf/tst-initorderb1.c: New file.
89229         * elf/tst-initorderb2.c: New file.
89230         * elf/tst-order-a1.c: New file.
89231         * elf/tst-order-a2.c: New file.
89232         * elf/tst-order-a3.c: New file.
89233         * elf/tst-order-a4.c: New file.
89234         * elf/tst-order-b1.c: New file.
89235         * elf/tst-order-b2.c: New file.
89236         * elf/tst-order-main.c: New file.
89237         New test case by George Gensure <werkt0@gmail.com>.
89239 2010-10-01  Andreas Schwab  <schwab@redhat.com>
89241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89242         decoding ACE if AI_CANONIDN.
89244 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
89246         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
89248 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
89250         * version.h (RELEASE): Bump for 2.13 release.
89251         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
89253         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
89255         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
89256         MADV_NOHUGEPAGE.
89257         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
89258         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
89259         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
89260         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
89261         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
89262         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89264         * posix/getconf.c: Update copyright year.
89265         * catgets/gencat.c: Likewise.
89266         * csu/version.c: Likewise.
89267         * debug/catchsegv.sh: Likewise.
89268         * debug/xtrace.sh: Likewise.
89269         * elf/ldconfig.c: Likewise.
89270         * elf/ldd.bash.in: Likewise.
89271         * elf/sprof.c (print_version): Likewise.
89272         * iconv/iconv_prog.c: Likewise.
89273         * iconv/iconvconfig.c: Likewise.
89274         * locale/programs/locale.c: Likewise.
89275         * locale/programs/localedef.c: Likewise.
89276         * malloc/memusage.sh: Likewise.
89277         * malloc/mtrace.pl: Likewise.
89278         * nscd/nscd.c (print_version): Likewise.
89279         * nss/getent.c: Likewise.
89281         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
89282         PF_CAIF, and PF_ALG.
89283         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89285 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
89287         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
89288         (modules-names): Use them.
89289         (ifunc-test-modules, ifunc-pie-tests): Define.
89290         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
89291         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
89292         (test-extras): Likewise.
89293         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
89294         $(compile-command.c).
89295         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
89296         (all-built-dso): Define.
89297         (check-textrel.out, check-execstack.out): Depend on it.
89299         * configure.in: Don't override --enable-multi-arch.
89301 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
89303         [BZ #6812]
89304         * nscd/hstcache.c (tryagain): Define.
89305         (cache_addhst): Return tryagain not notfound for temporary errors.
89306         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
89307         failed.
89309 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
89311         [BZ #10563]
89312         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
89313         to make the syscall.
89314         * sysdeps/unix/sysv/linux/setgroups.c: New file.
89316         [BZ #12378]
89317         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
89318         and fall back to matching as normal character if the string ends before
89319         the matching ']' is found.  This is what POSIX requires.
89320         * posix/testfnm.c: Adjust test result.
89321         * posix/globtest.sh: Adjust test result.  Add new test.
89322         * posix/tst-fnmatch.input: Likewise.
89323         * posix/tst-fnmatch2.c: Add new test.
89325 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
89327         * elf/Makefile (check-execstack): Revert last change.  Depend on
89328         check-execstack.h.
89329         (check-execstack.h): New target.
89330         (generated): Add check-execstack.h.
89331         * elf/check-execstack.c: Include "check-execstack.h".
89332         (main): Revert last change.
89333         (handle_file): Return zero if GNU_STACK is absent and
89334         DEFAULT_STACK_PERMS doesn't include PF_X.
89336 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
89338         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
89339         in child fails because the descriptor is already closed.
89340         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
89341         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
89342         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
89344         [BZ #12397]
89345         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
89346         syscall.
89348         [BZ #10484]
89349         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
89350         temporary buffer used to handle multi lookups locally.
89351         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
89353 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89355         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
89356         loader is ld.so.
89358 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
89360         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
89361         alignment for SSE2.
89363 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
89365         [BZ #12394]
89366         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
89367         characters.  When rounding increased number of integer digits recompute
89368         number of groups.
89369         * stdio-common/tst-grouping.c: New file.
89370         * stdio-common/Makefile: Add rules to build and run tst-grouping.
89372 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
89374         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
89375         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
89377         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
89378         void.
89379         * bits/select.h: Likewise.
89381 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
89383         * po/ja.po: Update from translation team.
89385 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
89387         [BZ #11155]
89388         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
89389         implementation just like for lxstat, fxstatat, et al.
89391 2010-12-27  Jim Meyering  <meyering@redhat.com>
89393         [BZ #12348]
89394         * posix/regexec.c (build_trtable): Return failure indication upon
89395         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
89397 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
89399         [BZ #12201]
89400         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
89401         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
89402         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
89403         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
89405         [BZ #12207]
89406         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
89408         [BZ #12204]
89409         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
89410         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
89412 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
89414         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
89415         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
89416         script has SORT_BY_INIT_PRIORITY.
89417         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
89418         NO_CTORS_DTORS_SECTIONS is defined.
89419         * elf/soinit.c: Likewise.
89420         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
89421         NO_CTORS_DTORS_SECTIONS is defined.
89422         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
89423         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
89424         * sysdeps/sh/init-first.c: Likewise.
89425         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
89427 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
89429         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
89430         always use the slow path.
89432 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
89434         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
89435         similar rule which adds the sysdep directories to the header search in
89436         order to pick up the correct platform stackinfo.h.
89437         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
89438         perform test if it is, otherwise return successfully without testing.
89439         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
89440         DEFAULT_STACK_PERMS define in stackinfo.h.
89441         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
89442         defined in stackinfo.h.
89443         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
89444         DEFAULT_STACK_PERMS defined in stackinfo.h.
89445         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
89446         * sysdeps/ia64/stackinfo.h: Likewise.
89447         * sysdeps/s390/stackinfo.h: Likewise.
89448         * sysdeps/sh/stackinfo.h: Likewise.
89449         * sysdeps/sparc/stackinfo.h: Likewise.
89450         * sysdeps/x86_64/stackinfo.h: Likewise.
89451         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
89452         PF_X for powerpc64.  Retain PF_X for powerpc32.
89454 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
89456         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
89457         accurately.
89458         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
89459         GETDENTS_64BIT_ALIGNED.
89461 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
89463         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
89465 2010-12-10  Andreas Schwab  <schwab@redhat.com>
89467         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
89468         _GNU_SOURCE.
89470         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
89471         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
89472         Remove __restrict.
89473         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
89474         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
89476 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
89478         [BZ #11655]
89479         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
89480         are initialized.
89482 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
89484         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
89486 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
89488         * po/it.po: Update from translation team.
89490 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
89492         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
89493         unused codes.
89495 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
89497         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
89499 2010-11-24  Andreas Schwab  <schwab@redhat.com>
89501         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
89502         specially.
89503         (gaih_getanswer_slice): Likewise.
89505 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
89507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
89509 2010-05-31  Petr Baudis  <pasky@suse.cz>
89511         [BZ #11149]
89512         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
89513         silently even in the chroot mode.
89515 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
89517         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
89518         last patch a bit.  Pretty printing
89520 2010-05-31  Petr Baudis <pasky@suse.cz>
89522         [BZ #10085]
89523         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
89524         initialization of skip_initgroups_dyn.
89526 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
89528         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
89529         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
89531 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
89533         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
89535 2010-11-11  Andreas Schwab  <schwab@redhat.com>
89537         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
89538         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
89539         (tst-fnmatch-ENV): Set MALLOC_TRACE.
89540         ($(objpfx)tst-fnmatch-mem): New rule.
89541         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
89542         * posix/tst-fnmatch.c (main): Call mtrace.
89544 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
89546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89547         Support Intel processor model 6 and model 0x2c.
89549 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
89551         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
89552           signed comparison.
89554 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
89556         [BZ #12205]
89557         * string/test-strncasecmp.c (check_result): New function.
89558         (do_one_test): Use it.
89559         (check1): New function.
89560         (test_main): Use it.
89561         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
89562         Support strcasecmp and strncasecmp.
89564 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
89566         [BZ #12194]
89567         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
89568         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89570 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
89572         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
89573         IFUNC support.
89574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89575         memset-x86-64.
89576         * sysdeps/x86_64/multiarch/bzero.S: New file.
89577         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
89578         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
89579         * sysdeps/x86_64/multiarch/memset.S: New file.
89580         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
89581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89582         Set bit_Prefer_SSE_for_memop for Intel processors.
89583         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
89584         Define.
89585         (index_Prefer_SSE_for_memop): Define.
89586         (HAS_PREFER_SSE_FOR_MEMOP): Define.
89588 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
89590         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
89591         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
89593 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
89595         [BZ #12191]
89596         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89597         (__x86_64_raw_data_cache_size_half): Likewise.
89598         (__x86_64_raw_shared_cache_size): Likewise.
89599         (__x86_64_raw_shared_cache_size_half): Likewise.
89601         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
89602         (__x86_64_raw_data_cache_size_half): Likewise.
89603         (__x86_64_raw_shared_cache_size): Likewise.
89604         (__x86_64_raw_shared_cache_size_half): Likewise.
89605         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
89606         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
89607         and __x86_64_raw_shared_cache_size_half.  Round
89608         __x86_64_data_cache_size_half, __x86_64_data_cache_size
89609         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
89610         to multiple of 256 bytes.
89612 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
89614         [BZ #12167]
89615         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
89616         of inacessible symlinks.  Verify result of symlink before returning it.
89617         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
89618         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
89620 2010-10-28  Erich Ritz  <erichritz@gmail.com>
89622         * math/math.h (isinf): Fix typo in comment.
89624 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
89626         * po/da.po: Update from translation team.
89628 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
89630         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
89631         is added to the list.
89633 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89634             Ulrich Drepper  <drepper@gmail.com>
89636         * elf/dl-object.c (_dl_new_object): Don't append the new object to
89637         the global list here.  Move code to...
89638         (_dl_add_to_namespace_list): ...here.  New function.
89639         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
89640         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
89641         * elf/dl-load.c (lose): Don't remove the element from the list.
89642         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
89643         (_dl_map_object): Likewise.
89645 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
89647         [BZ #12159]
89648         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
89649         into all bytes of SSE register.
89650         Patch by Richard Li <richardpku@gmail.com>.
89652 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
89654         [BZ #12140]
89655         * malloc/malloc.c (_int_free): Fill correct number of bytes when
89656         perturbing.
89658 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
89660         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
89661         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
89662         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
89663         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
89665         submachine.
89666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
89668 2010-10-22  Andreas Schwab  <schwab@redhat.com>
89670         * include/dlfcn.h (__RTLD_SECURE): Define.
89671         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
89672         mode & __RTLD_SECURE instead.
89673         (open_path): Rename preloaded parameter to secure.
89674         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
89675         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
89676         * elf/dl-deps.c (openaux): Likewise.
89677         * elf/rtld.c (struct map_args): Remove is_preloaded.
89678         (map_doit): Don't use it.
89679         (dl_main): Likewise.
89680         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
89681         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
89683 2010-09-09  Andreas Schwab  <schwab@redhat.com>
89685         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
89686         (sysd-rules-targets): Remove duplicates.
89687         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
89688         rtld-%.$o dependency.
89690 2010-10-18  Andreas Schwab  <schwab@redhat.com>
89692         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
89693         _dl_map_object do it.
89695 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
89697         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
89698         fast fma builtins, define the macros in the C99 standard.
89699         (FP_FAST_FMAF): Likewise.
89700         (FP_FAST_FMAL): Likewise.
89701         * sysdeps/x86_64/bits/mathdef.h: Likewise.
89703         * bits/mathdef.h: Update copyright year.
89704         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89706 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
89708         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
89709         builtins, define the macros in the C99 standard.
89710         (FP_FAST_FMAF): Likewise.
89711         (FP_FAST_FMAL): Likewise.
89712         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
89713         multiply/add.
89714         (FP_FAST_FMAF): Likewise.
89716 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
89718         [BZ #3268]
89719         * math/libm-test.inc (fma_test): Some new testcases.
89720         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
89721         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
89722         y and infinite z.  Do multiplication by C already in long double.
89723         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
89724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
89725         y and infinite z.  Do bitwise or of inexact bit into u.d.
89726         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
89727         * sysdeps/i386/fpu/s_fmaf.S: Removed.
89728         * sysdeps/i386/fpu/s_fma.S: Removed.
89729         * sysdeps/i386/fpu/s_fmal.S: Removed.
89731 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
89733         [BZ #3268]
89734         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
89735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
89736         computation is not scheduled after fetestexcept.  Fix value
89737         of minimum denormal long double.
89739 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
89741         [BZ #3268]
89742         * math/libm-test.inc (fma_test): Add some more tests.
89743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
89744         correctly.
89746 2010-10-15  Andreas Schwab  <schwab@redhat.com>
89748         * scripts/data/localplt-s390-linux-gnu.data: New file.
89749         * scripts/data/localplt-s390x-linux-gnu.data: New file.
89751 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
89753         [BZ #3268]
89754         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
89755         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
89756         instead of dbl-64.
89757         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
89758         inlines.
89759         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
89760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
89761         if one of x and y is very large and the other is subnormal.
89762         * sysdeps/s390/fpu/s_fmaf.c: New file.
89763         * sysdeps/s390/fpu/s_fma.c: New file.
89764         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
89765         * sysdeps/powerpc/fpu/s_fma.S: New file.
89766         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
89767         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
89768         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
89770 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
89772         [BZ #3268]
89773         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
89774         fma tests.
89775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
89776         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
89777         * sysdeps/i386/i686/multiarch/s_fma.c: Include
89778         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
89779         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
89780         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
89781         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
89783 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
89785         [BZ #12078]
89786         * posix/regcomp.c (parse_branch): One more memory leak plugged.
89787         * posix/bug-regex31.input: Add test case.
89789 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89791         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
89792         * posix/bug-regex31.input: New file.
89794         [BZ #12078]
89795         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
89796         (parse_sub_exp): Fix last change, use postorder.
89798         * posix/bug-regex31.c: New file.
89799         * posix/Makefile: Add rules to build and run bug-regex31.
89801         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
89803         [BZ #12078]
89804         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
89806         [BZ #12108]
89807         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
89808         to have entries in sys_siglist.
89810         [BZ #12093]
89811         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
89812         be NULL.
89814 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
89816         [BZ #3268]
89817         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
89818         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
89819         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
89820         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
89821         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
89822         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
89823         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
89824         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
89825         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
89826         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
89827         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
89828         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
89829         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
89830         * math/ftestexcept.c (fetestexcept): Likewise.
89831         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
89832         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
89833         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
89834         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
89835         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
89836         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
89837         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
89839 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
89841         [BZ #12107]
89842         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
89843         newline.
89845 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
89847         * string/bug-strstr1.c: New file.
89848         * string/Makefile: Add rules to build and run bug-strstr1.
89850 2010-10-05  Eric Blake  <eblake@redhat.com>
89852         [BZ #12092]
89853         * string/str-two-way.h (two_way_long_needle): Always clear memory
89854         when skipping input due to the shift table.
89856 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
89858         [BZ #12005]
89859         * malloc/mcheck.c: Handle large requests.
89861         [BZ #12077]
89862         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
89863         for strncmp and strncasecmp.
89864         * string/stratcliff.c: Add tests for strcmp and strncmp.
89865         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
89867 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
89869         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
89870         __set_fpscr.
89872 2010-09-30  Andreas Jaeger  <aj@suse.de>
89874         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
89875         (CGROUP_SUPER_MAGIC): Define.
89876         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
89877         Handle btrfs and cgroup file systems.
89878         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
89879         Likewise.
89881 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
89883         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
89884         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
89886 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89888         [BZ #12067]
89889         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
89890         trying to locate the ELF header.
89892 2010-09-27  Andreas Schwab  <schwab@redhat.com>
89894         [BZ #11611]
89895         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
89896         Mask out sign-bit copies when constructing f_fsid.
89898 2010-09-24  Petr Baudis <pasky@suse.cz>
89900         * debug/stack_chk_fail_local.c: Add missing licence exception.
89901         * debug/warning-nop.c: Likewise.
89903 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
89905         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
89906         implementing getdents64 using getdents syscall, set d_type if
89907         __ASSUME_GETDENTS32_D_TYPE.
89909 2010-09-16  Andreas Schwab  <schwab@redhat.com>
89911         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
89912         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
89914 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
89916         [BZ #12037]
89917         * posix/unistd.h: Undo change of feature selection for ftruncate from
89918         2010-01-11.
89920 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
89922         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
89923         detection.
89925 2010-09-20  Andreas Schwab  <schwab@redhat.com>
89927         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
89928         fanotify_mark.
89929         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
89931 2010-09-14  Andreas Schwab  <schwab@redhat.com>
89933         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
89934         variables after CHECK_SP call.
89935         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
89937 2010-09-13  Andreas Schwab  <schwab@redhat.com>
89938             Ulrich Drepper  <drepper@redhat.com>
89940         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
89941         re-relocationg ld.so.
89942         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
89943         _dl_init_paths call.
89944         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
89945         here anymore.
89947 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
89949         * resolv/res_init.c (__res_vinit): Count the default server we added.
89951 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
89952             Ulrich Drepper  <drepper@redhat.com>
89954         [BZ #11968]
89955         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
89956         (____longjmp_chk): Use %ebx for saving value across system call.
89957         Add unwind info.
89959 2010-09-06  Andreas Schwab  <schwab@redhat.com>
89961         * manual/Makefile: Don't mix pattern rules with normal rules.
89963 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
89965         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
89966         operation.
89967         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
89968         * libio/iofopncook.c (_IO_cookie_init): Likewise.
89969         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
89970         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
89971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
89972         Likewise.
89974 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
89976         [BZ #11979]
89977         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
89978         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
89980 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
89982         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
89983         * sysdeps/x86_64/addmul_1.S: Likewise.
89984         * sysdeps/x86_64/lshift.S: Likewise.
89985         * sysdeps/x86_64/mul_1.S: Likewise.
89986         * sysdeps/x86_64/rshift.S: Likewise.
89987         * sysdeps/x86_64/sub_n.S: Likewise.
89988         * sysdeps/x86_64/submul_1.S: Likewise.
89990 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89992         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
89993         Define __sched_param instead of SCHED_* and sched_param when
89994         <bits/sched.h> is included with __need_schedparam defined.
89995         * bits/sched.h [__need_schedparam]
89996         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
89997         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
89998         (__defined_schedparam): Define to 1.
89999         (__sched_param): New structure, identical to sched_param.
90000         (__need_schedparam): Undefine.
90002 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
90004         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
90005         (epoll_create1): Declare.
90007         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
90009 2010-08-31  Andreas Schwab  <schwab@redhat.com>
90011         [BZ #7066]
90012         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
90013         shifting retval into place.
90015 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
90017         * nis/rpcsvc/nis.h: Update copyright notice.
90018         * nis/rpcsvc/nis.x: Likewise.
90019         * nis/rpcsvc/nis_callback.h: Likewise.
90020         * nis/rpcsvc/nis_callback.x: Likewise.
90021         * nis/rpcsvc/nis_object.x: Likewise.
90022         * nis/rpcsvc/nis_tags.h: Likewise.
90023         * nis/rpcsvc/yp.h: Likewise.
90024         * nis/rpcsvc/yp.x: Likewise.
90025         * nis/rpcsvc/ypupd.h: Likewise.
90026         * nis/yp_xdr.c: Likewise.
90027         * nis/ypupdate_xdr.c: Likewise.
90029         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
90030         mainly the body of pmap_getport.  Add parameters to specify timeouts.
90031         (pmap_getport): Use __libc_rpc_getport.
90032         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
90033         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
90034         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
90036 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
90038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
90039         fanotify_mark.
90041 2010-08-27  Roland McGrath  <roland@redhat.com>
90043         * sysdeps/i386/i686/multiarch/Makefile
90044         (CFLAGS-varshift.c): New variable.
90046 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
90048         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
90049         * sysdeps/i386/i686/multiarch/varshift.c: New file.
90051         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
90053         * sysdeps/x86_64/strlen.S: Minimal code improvement.
90055 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
90057         * sysdeps/x86_64/strlen.S: Unroll the loop.
90058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90059         strlen-sse2 strlen-sse2-bsf.
90060         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
90061         __strlen_no_bsf if bit_Slow_BSF is set.
90062         (__strlen_sse42): Removed.
90063         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
90064         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
90066 2010-08-25  Roland McGrath  <roland@redhat.com>
90068         * sysdeps/x86_64/multiarch/varshift.S: File removed.
90069         * sysdeps/x86_64/multiarch/varshift.c: New file.
90070         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
90071         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
90072         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
90073         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
90075 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
90077         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90078         strlen-sse2 strlen-sse2-bsf.
90079         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
90080         __strlen_sse2_bsf if bit_Slow_BSF is unset.
90081         (__strlen_sse2): Removed.
90082         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
90083         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
90084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
90085         bit_Slow_BSF for Atom.
90086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
90087         (index_Slow_BSF): Define.
90088         (HAS_SLOW_BSF): Define.
90090 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
90092         [BZ #10851]
90093         * resolv/res_init.c (__res_vinit): When no server address at all
90094         is given default to loopback.
90096 2010-08-24  Roland McGrath  <roland@redhat.com>
90098         * configure.in: Remove config-name.h generation.
90099         * configure: Regenerated.
90100         * config-name.in: File removed.
90101         * scripts/config-uname.sh: New file.
90102         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
90103         ($(objdir)config-name.h): New target.
90105         * sunrpc/rpc_parse.h: Avoid nested comment.
90107 2010-08-24  Richard Henderson  <rth@redhat.com>
90108             Ulrich Drepper  <drepper@redhat.com>
90109             H.J. Lu  <hongjiu.lu@intel.com>
90111         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
90112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
90113         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
90114         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
90115         _mm_alignr_epi8 with _mm_loadu_si128.
90116         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
90117         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
90118         (__m128i_shift_right): Removed.
90119         * sysdeps/i386/i686/multiarch/varshift.h: New file.
90120         * sysdeps/i386/i686/multiarch/varshift.S: New file.
90121         * sysdeps/x86_64/multiarch/varshift.h: New file.
90122         * sysdeps/x86_64/multiarch/varshift.S: New file.
90124 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
90126         * configure.in: Move assembler checks to before sysdep dir checking.
90128 2010-08-20  Petr Baudis  <pasky@suse.cz>
90130         * LICENSES: Sync the sunrpc license.
90132 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
90134         * sunrpc/auth_des.c: Update copyright notice once again.
90135         * sunrpc/auth_none.c: Likewise.
90136         * sunrpc/auth_unix.c: Likewise.
90137         * sunrpc/authdes_prot.c: Likewise.
90138         * sunrpc/authuxprot.c: Likewise.
90139         * sunrpc/bindrsvprt.c: Likewise.
90140         * sunrpc/clnt_gen.c: Likewise.
90141         * sunrpc/clnt_perr.c: Likewise.
90142         * sunrpc/clnt_raw.c: Likewise.
90143         * sunrpc/clnt_simp.c: Likewise.
90144         * sunrpc/clnt_tcp.c: Likewise.
90145         * sunrpc/clnt_udp.c: Likewise.
90146         * sunrpc/clnt_unix.c: Likewise.
90147         * sunrpc/des_crypt.c: Likewise.
90148         * sunrpc/des_soft.c: Likewise.
90149         * sunrpc/get_myaddr.c: Likewise.
90150         * sunrpc/getrpcport.c: Likewise.
90151         * sunrpc/key_call.c: Likewise.
90152         * sunrpc/key_prot.c: Likewise.
90153         * sunrpc/openchild.c: Likewise.
90154         * sunrpc/pm_getmaps.c: Likewise.
90155         * sunrpc/pm_getport.c: Likewise.
90156         * sunrpc/pmap_clnt.c: Likewise.
90157         * sunrpc/pmap_prot.c: Likewise.
90158         * sunrpc/pmap_prot2.c: Likewise.
90159         * sunrpc/pmap_rmt.c: Likewise.
90160         * sunrpc/rpc/auth.h: Likewise.
90161         * sunrpc/rpc/auth_unix.h: Likewise.
90162         * sunrpc/rpc/clnt.h: Likewise.
90163         * sunrpc/rpc/des_crypt.h: Likewise.
90164         * sunrpc/rpc/key_prot.h: Likewise.
90165         * sunrpc/rpc/netdb.h: Likewise.
90166         * sunrpc/rpc/pmap_clnt.h: Likewise.
90167         * sunrpc/rpc/pmap_prot.h: Likewise.
90168         * sunrpc/rpc/pmap_rmt.h: Likewise.
90169         * sunrpc/rpc/rpc.h: Likewise.
90170         * sunrpc/rpc/rpc_des.h: Likewise.
90171         * sunrpc/rpc/rpc_msg.h: Likewise.
90172         * sunrpc/rpc/svc.h: Likewise.
90173         * sunrpc/rpc/svc_auth.h: Likewise.
90174         * sunrpc/rpc/types.h: Likewise.
90175         * sunrpc/rpc/xdr.h: Likewise.
90176         * sunrpc/rpc_clntout.c: Likewise.
90177         * sunrpc/rpc_cmsg.c: Likewise.
90178         * sunrpc/rpc_common.c: Likewise.
90179         * sunrpc/rpc_cout.c: Likewise.
90180         * sunrpc/rpc_dtable.c: Likewise.
90181         * sunrpc/rpc_hout.c: Likewise.
90182         * sunrpc/rpc_main.c: Likewise.
90183         * sunrpc/rpc_parse.c: Likewise.
90184         * sunrpc/rpc_parse.h: Likewise.
90185         * sunrpc/rpc_prot.c: Likewise.
90186         * sunrpc/rpc_sample.c: Likewise.
90187         * sunrpc/rpc_scan.c: Likewise.
90188         * sunrpc/rpc_scan.h: Likewise.
90189         * sunrpc/rpc_svcout.c: Likewise.
90190         * sunrpc/rpc_tblout.c: Likewise.
90191         * sunrpc/rpc_util.c: Likewise.
90192         * sunrpc/rpc_util.h: Likewise.
90193         * sunrpc/rpcinfo.c: Likewise.
90194         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
90195         * sunrpc/rpcsvc/key_prot.x: Likewise.
90196         * sunrpc/rpcsvc/klm_prot.x: Likewise.
90197         * sunrpc/rpcsvc/mount.x: Likewise.
90198         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
90199         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
90200         * sunrpc/rpcsvc/rex.x: Likewise.
90201         * sunrpc/rpcsvc/rstat.x: Likewise.
90202         * sunrpc/rpcsvc/rusers.x: Likewise.
90203         * sunrpc/rpcsvc/sm_inter.x: Likewise.
90204         * sunrpc/rpcsvc/spray.x: Likewise.
90205         * sunrpc/rpcsvc/yppasswd.x: Likewise.
90206         * sunrpc/rtime.c: Likewise.
90207         * sunrpc/svc.c: Likewise.
90208         * sunrpc/svc_auth.c: Likewise.
90209         * sunrpc/svc_authux.c: Likewise.
90210         * sunrpc/svc_raw.c: Likewise.
90211         * sunrpc/svc_run.c: Likewise.
90212         * sunrpc/svc_simple.c: Likewise.
90213         * sunrpc/svc_tcp.c: Likewise.
90214         * sunrpc/svc_udp.c: Likewise.
90215         * sunrpc/svc_unix.c: Likewise.
90216         * sunrpc/svcauth_des.c: Likewise.
90217         * sunrpc/xcrypt.c: Likewise.
90218         * sunrpc/xdr.c: Likewise.
90219         * sunrpc/xdr_array.c: Likewise.
90220         * sunrpc/xdr_float.c: Likewise.
90221         * sunrpc/xdr_mem.c: Likewise.
90222         * sunrpc/xdr_rec.c: Likewise.
90223         * sunrpc/xdr_ref.c: Likewise.
90224         * sunrpc/xdr_sizeof.c: Likewise.
90225         * sunrpc/xdr_stdio.c: Likewise.
90227         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
90228         handling.
90230 2010-08-19  Andreas Schwab  <schwab@redhat.com>
90232         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
90234 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
90236         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
90237         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
90238         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
90239         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
90240         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
90241         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
90242         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
90243         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
90244         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
90245         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
90246         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
90247         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
90248         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
90249         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
90251 2010-07-26  Anton Blanchard  <anton@samba.org>
90253         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
90254         * malloc/arena.c (heap_trim): Likewise.
90256 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
90258         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
90259         here.  Not...
90260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
90261         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
90263 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
90265         * sysdeps/i386/elf/Makefile: New file.
90267 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90269         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
90270         from fanotify_init.
90271         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
90272         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90274 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
90276         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
90277         of strncasecmp_l.
90278         * sysdeps/multiarch/strcmp.S: Likewise.
90280 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
90282         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90283         strncase_l-nonascii.
90284         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90285         Add strncase_l-ssse3.
90286         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
90287         * sysdeps/x86_64/strcmp.S: Likewise.
90288         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
90289         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
90290         * sysdeps/x86_64/strncase.S: New file.
90291         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
90292         * sysdeps/x86_64/strncase_l.S: New file.
90293         * string/Makefile (strop-tests): Add strncasecmp.
90294         * string/test-strncasecmp.c: New file.
90296         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
90297         warning.
90299         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
90300         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
90302 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
90304         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
90306 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
90308         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
90309         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
90310         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
90312 2010-05-01  Alan Modra  <amodra@gmail.com>
90314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
90315         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
90316         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
90317         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
90318         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
90319         tidying.  Don't tail-call __sigjmp_save for static lib.
90320         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
90321         save location.
90322         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
90323         (CALL_MCOUNT): Add eh info, and nop after bl.
90324         (TAIL_CALL_SYSCALL_ERROR): New macro.
90325         (PSEUDO_RET): Use it.
90326         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
90327         Correct save location of integer regs and cr.
90328         (_dl_profile_resolve): Correct cr save location.  Delete nops
90329         after bl when SHARED.  Reduce cfi size a little by better
90330         placement of cfi directives.
90331         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
90332         make a stack frame.  Instead use parm save area as a temp.
90333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
90334         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
90335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
90336         Don't make a stack frame for parent, use parm save area.
90337         Increase child stack frame to 112 bytes.  Don't save unused reg,
90338         and adjust reg usage.  Set up cfi on error recovery and
90339         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
90340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
90341         (__makecontext): Add dummy nop after jump to exit.
90342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
90343         Use correct parm save area and cr save, reduce stack frame.
90344         Correct cfi for possible PSEUDO_RET frame setup.
90345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
90346         Branch to local label emitted by PSEUDO_RET rather than
90347         __syscall_error.
90349 2010-08-12  Andreas Schwab  <schwab@redhat.com>
90351         [BZ #11904]
90352         * locale/programs/locale.c (print_assignment): New function.
90353         (show_locale_vars): Use it.
90355 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
90357         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
90358         field.
90359         (struct statfs64): Likewise.
90360         (_STATFS_F_FLAGS): Define.
90361         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
90362         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90363         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
90364         (ST_VALID): Define locally.
90365         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
90366         __statvfs_getflags, use the provided value.
90367         * sysdeps/unix/sysv/linux/kernel-features.h: Define
90368         __ASSUME_STATFS_F_FLAGS.
90370         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
90372         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
90373         Add sys/fanotify.h.
90374         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
90375         fanotify_mask for GLIBC_2.13.
90376         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
90377         fanotify_init and fanotify_mark.
90378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
90379         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
90381         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
90382         Add prlimit.
90383         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
90384         prlimit64 for GLIBC_2.13.
90385         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
90386         prlimit64.
90387         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
90388         syscall.
90389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
90390         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
90391         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
90392         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
90393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
90394         add prlimit alias.
90395         * sysdeps/unix/sysv/linux/prlimit.c: New file.
90397         [BZ #11903]
90398         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
90399         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
90401         * nss/Makefile: Add rules to build and run tst-nss-test1.
90402         * shlib-versions: Add entry for libnss_test1.
90403         * nss/nss_test1.c: New file.
90404         * nss/tst-nss-test1.c: New file.
90406         * nss/nsswitch.c (__nss_database_custom): Define new variable.
90407         (__nss_configure_lookup): Set appropriate entry in
90408         __nss_configure_lookup to true.
90409         * nss/nsswitch.h: Define enum with indeces of databases in
90410         databases and __nss_database_custom arrays.  Declare
90411         __nss_database_custom.
90412         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
90413         to avoid using nscd when custom rules are installed.
90414         * nss/getXXbyYY_r.c: Likewise.
90415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
90417         * nss/nss_files/files-parse.c: Whitespace fixes.
90419 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
90421         [BZ #11883]
90422         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
90423         * posix/fnmatch_loop.c: Likewise.
90425 2010-07-17  Andi Kleen  <ak@linux.intel.com>
90427         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
90428         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
90429         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
90430         * Versions.def [GLIBC_2.13]: Add.
90432 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
90434         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90435         Also fail if tpwd after pwuid call is NULL.
90437 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90439         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
90440         when converting to ms.
90442 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90444         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
90445         EOPNOTSUPP errors with ENOTTY.
90446         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
90447         EOPNOTSUPP errors with ENOTTY.
90449 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
90451         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
90452         Add strcasecmp_l-ssse3.
90453         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
90454         strcasecmp.
90455         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
90456         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
90457         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
90459 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
90461         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
90463         * string/Makefile (strop-tests): Add strcasecmp.
90464         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
90465         strcasecmp_l-nonascii.
90466         (gen-as-const-headers): Add locale-defines.sym.
90467         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
90468         * sysdeps/x86_64/strcasecmp.S: New file.
90469         * sysdeps/x86_64/strcasecmp_l.S: New file.
90470         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
90471         * sysdeps/x86_64/locale-defines.sym: New file.
90472         * string/test-strcasecmp.c: New file.
90474         * string/test-strcasestr.c: Test both ends of the range of characters.
90475         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
90477 2010-07-29  Roland McGrath  <roland@redhat.com>
90479         [BZ #11856]
90480         * manual/locale.texi (Yes-or-No Questions): Fix example code.
90482 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
90484         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
90485         for ld.so.
90487 2010-07-27  Andreas Schwab  <schwab@redhat.com>
90489         * manual/memory.texi (Malloc Tunable Parameters): Document
90490         M_PERTURB.
90492 2010-07-26  Roland McGrath  <roland@redhat.com>
90494         [BZ #11840]
90495         * configure.in (-fgnu89-inline check): Set and substitute
90496         gnu89_inline, not libc_cv_gnu89_inline.
90497         * configure: Regenerated.
90498         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
90500 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
90502         * string/test-strnlen.c: New file.
90503         * string/Makefile (strop-tests): Add strnlen.
90504         * string/tester.c (test_strnlen): Add a few more test cases.
90505         * string/tst-strlen.c: Better error reporting.
90507         * sysdeps/x86_64/strnlen.S: New file.
90509 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
90511         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
90512         lower-latency instructions.
90514 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
90516         * string/test-strcasestr.c: New file.
90517         * string/test-strstr.c: New file.
90518         * string/Makefile (strop-tests): Add strstr and strcasestr.
90519         * string/str-two-way.h: Don't undefine MAX.
90520         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
90522 2010-07-21  Andreas Schwab  <schwab@redhat.com>
90524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90525         strcasestr-nonascii.
90526         (CFLAGS-strcasestr-nonascii.c): Define.
90527         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
90528         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
90529         Remove unused attribute.
90531 2010-07-20  Roland McGrath  <roland@redhat.com>
90533         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
90534         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
90535         ld.so.cache was broken.  With it, there is no way to disable dsocaps
90536         like LD_HWCAP_MASK can disable hwcaps.
90538 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90540         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
90542 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
90544         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
90545         call in strcasestr.
90546         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
90547         __strcasestr_sse42_nonascii.
90548         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
90549         strcasestr-nonascii.c.
90550         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
90552 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
90554         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
90555         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
90556         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
90557         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
90559 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
90561         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
90562         fcntl.
90564 2010-07-06  Andreas Schwab  <schwab@redhat.com>
90566         [BZ #11577]
90567         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
90568         dl_signal_cerror.
90570 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
90572         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
90573         _PC_PIPE_BUF using F_GETPIPE_SZ.
90575 2010-07-05  Roland McGrath  <roland@redhat.com>
90577         * manual/arith.texi (Rounding Functions): Fix rint description
90578         implicit in round description.
90580 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
90582         * elf/Makefile: Fix linking for a few tests to make recent linker
90583         happy.
90585 2010-06-30  Andreas Schwab  <schwab@redhat.com>
90587         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
90588         $(common-objpfx)libc_nonshared.a.
90590 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
90592         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
90593         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
90594         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90595         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90596         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
90597         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
90598         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90599         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
90601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
90602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
90603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
90604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
90605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
90606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
90607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
90608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
90609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
90610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
90611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
90612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
90613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
90614         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
90615         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
90616         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
90617         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
90618         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
90619         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
90620         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
90621         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
90622         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
90623         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
90624         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
90625         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
90626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
90627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
90628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
90629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
90630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
90631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
90632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
90633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
90634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
90635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
90636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
90637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
90638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
90639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
90641 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
90643         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
90644         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
90645         * string/memmove.c (memmove): Renamed to ...
90646         (MEMMOVE): ...this.  Default to memmove.
90647         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
90648         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
90649         (END_CHK): Define.
90650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90651         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
90652         mempcpy-ssse3-back memmove-ssse3-back.
90653         * sysdeps/x86_64/multiarch/bcopy.S: New file .
90654         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
90655         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
90656         * sysdeps/x86_64/multiarch/memcpy.S: New file.
90657         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
90658         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
90659         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
90660         * sysdeps/x86_64/multiarch/memmove.c: New file.
90661         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
90662         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
90663         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
90664         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
90665         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
90666         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
90667         Define.
90668         (index_Fast_Copy_Backward): Define.
90669         (HAS_ARCH_FEATURE): Define.
90670         (HAS_FAST_REP_STRING): Define.
90671         (HAS_FAST_COPY_BACKWARD): Define.
90673 2010-06-21  Andreas Schwab  <schwab@redhat.com>
90675         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
90676         Restore proper fallback handling.
90678 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
90680         [BZ #11701]
90681         * posix/group_member.c (__group_member): Correct checking loop.
90683         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
90684         OOM in getpwuid_r correctly.  Return error number when the caller
90685         should return, otherwise -1.
90686         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
90687         call returning > 0 value.
90688         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
90690 2010-06-07  Andreas Schwab  <schwab@redhat.com>
90692         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
90693         libc_nonshared.a from targets in modules-names.
90695 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
90697         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
90698         requires it.
90700 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
90702         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
90703         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
90704         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
90705         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
90707 2010-06-02  Andreas Schwab  <schwab@redhat.com>
90709         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
90711 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
90713         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
90714         and F_GETPIPE_SZ.
90715         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
90716         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
90717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
90718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
90719         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
90720         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
90722 2010-06-14  Roland McGrath  <roland@redhat.com>
90724         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
90726 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
90728         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
90729         __REDIRECT followed by __THROW.
90730         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
90731         * posix/getopt.h (getopt): Likewise.
90733 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
90735         * hurd/lookup-at.c (__file_name_lookup_at): Accept
90736         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
90737         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
90738         in AT_FLAGS.
90739         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
90740         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
90742 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
90744         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
90746 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
90748         [BZ #11640]
90749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90750         Properly check family and model.
90752 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
90754         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
90756 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
90758         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
90760 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
90762         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
90763         symbol reference.
90765 2010-05-19  Andreas Schwab  <schwab@redhat.com>
90767         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
90768         symbol reference.
90770 2010-05-21  Andreas Schwab  <schwab@redhat.com>
90772         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
90773         and internal_recvmmsg.
90774         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
90775         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
90776         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
90777         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
90779         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
90780         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
90781         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
90783 2010-05-20  Andreas Schwab  <schwab@redhat.com>
90785         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
90787 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
90789         POWER7 optimizations.
90790         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
90791         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
90793 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
90795         * version.h: Update for 2.13 development version.
90797 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
90799         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
90800         exceptions.  Return 0.
90802 2010-05-07  Roland McGrath  <roland@redhat.com>
90804         * elf/ldconfig.c (main): Add a const.
90806 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
90808         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
90809         (args_options): Add no-idn option.
90810         (ahosts_keys_int): Add idn_flags to ai_flags.
90811         (parse_option): Handle 'i' option to clear idn_flags.
90813         * malloc/malloc.c (_int_free): Possible race in the most recently
90814         added check.  Only act on the data if no current modification
90815         happened.
90817 See ChangeLog.17 for earlier changes.